Marat Dukhan | 079ccbd | 2017-08-09 17:00:32 -0700 | [diff] [blame^] | 1 | struct cpuinfo_mock_file filesystem[] = { |
| 2 | { |
| 3 | .path = "/proc/cpuinfo", |
| 4 | .size = 401, |
| 5 | .content = |
| 6 | "Processor\t: ARMv7 Processor rev 2 (v7l)\n" |
| 7 | "processor\t: 0\n" |
| 8 | "BogoMIPS\t: 13.53\n" |
| 9 | "\n" |
| 10 | "processor\t: 1\n" |
| 11 | "BogoMIPS\t: 13.53\n" |
| 12 | "\n" |
| 13 | "processor\t: 2\n" |
| 14 | "BogoMIPS\t: 13.53\n" |
| 15 | "\n" |
| 16 | "processor\t: 3\n" |
| 17 | "BogoMIPS\t: 13.53\n" |
| 18 | "\n" |
| 19 | "Features\t: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 \n" |
| 20 | "CPU implementer\t: 0x51\n" |
| 21 | "CPU architecture: 7\n" |
| 22 | "CPU variant\t: 0x0\n" |
| 23 | "CPU part\t: 0x06f\n" |
| 24 | "CPU revision\t: 2\n" |
| 25 | "\n" |
| 26 | "Hardware\t: QCT APQ8064 MAKO\n" |
| 27 | "Revision\t: 000b\n" |
| 28 | "Serial\t\t: 0000000000000000\n", |
| 29 | }, |
| 30 | { |
| 31 | .path = "/system/build.prop", |
| 32 | .size = 3069, |
| 33 | .content = |
| 34 | "\n" |
| 35 | "# begin build properties\n" |
| 36 | "# autogenerated by buildinfo.sh\n" |
| 37 | "ro.build.id=LMY48T\n" |
| 38 | "ro.build.display.id=LMY48T\n" |
| 39 | "ro.build.version.incremental=2237560\n" |
| 40 | "ro.build.version.sdk=22\n" |
| 41 | "ro.build.version.codename=REL\n" |
| 42 | "ro.build.version.all_codenames=REL\n" |
| 43 | "ro.build.version.release=5.1.1\n" |
| 44 | "ro.build.date=Tue Sep 8 20:51:21 UTC 2015\n" |
| 45 | "ro.build.date.utc=1441745481\n" |
| 46 | "ro.build.type=user\n" |
| 47 | "ro.build.user=android-build\n" |
| 48 | "ro.build.host=kpfj15.cbf.corp.google.com\n" |
| 49 | "ro.build.tags=release-keys\n" |
| 50 | "ro.build.flavor=occam-user\n" |
| 51 | "ro.product.model=Nexus 4\n" |
| 52 | "ro.product.brand=google\n" |
| 53 | "ro.product.name=occam\n" |
| 54 | "ro.product.device=mako\n" |
| 55 | "ro.product.board=MAKO\n" |
| 56 | "# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,\n" |
| 57 | "# use ro.product.cpu.abilist instead.\n" |
| 58 | "ro.product.cpu.abi=armeabi-v7a\n" |
| 59 | "ro.product.cpu.abi2=armeabi\n" |
| 60 | "ro.product.cpu.abilist=armeabi-v7a,armeabi\n" |
| 61 | "ro.product.cpu.abilist32=armeabi-v7a,armeabi\n" |
| 62 | "ro.product.cpu.abilist64=\n" |
| 63 | "ro.product.manufacturer=LGE\n" |
| 64 | "ro.product.locale.language=en\n" |
| 65 | "ro.product.locale.region=US\n" |
| 66 | "ro.wifi.channels=\n" |
| 67 | "ro.board.platform=msm8960\n" |
| 68 | "# ro.build.product is obsolete; use ro.product.device\n" |
| 69 | "ro.build.product=mako\n" |
| 70 | "# Do not try to parse description, fingerprint, or thumbprint\n" |
| 71 | "ro.build.description=occam-user 5.1.1 LMY48T 2237560 release-keys\n" |
| 72 | "ro.build.fingerprint=google/occam/mako:5.1.1/LMY48T/2237560:user/release-keys\n" |
| 73 | "ro.build.characteristics=nosdcard\n" |
| 74 | "# end build properties\n" |
| 75 | "\n" |
| 76 | "#\n" |
| 77 | "# ADDITIONAL_BUILD_PROPERTIES\n" |
| 78 | "#\n" |
| 79 | "ro.config.ringtone=Themos.ogg\n" |
| 80 | "ro.config.notification_sound=Tejat.ogg\n" |
| 81 | "ro.config.alarm_alert=Oxygen.ogg\n" |
| 82 | "ro.com.android.dateformat=MM-dd-yyyy\n" |
| 83 | "ro.com.android.dataroaming=false\n" |
| 84 | "ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html\n" |
| 85 | "ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html\n" |
| 86 | "ro.com.google.clientidbase=android-google\n" |
| 87 | "ro.carrier=unknown\n" |
| 88 | "ro.com.android.wifi-watchlist=GoogleGuest\n" |
| 89 | "ro.error.receiver.system.apps=com.google.android.gms\n" |
| 90 | "ro.setupwizard.enterprise_mode=1\n" |
| 91 | "ro.opengles.version=196608\n" |
| 92 | "ro.sf.lcd_density=320\n" |
| 93 | "persist.audio.handset.mic.type=digital\n" |
| 94 | "persist.audio.dualmic.config=endfire\n" |
| 95 | "persist.audio.fluence.voicecall=true\n" |
| 96 | "persist.audio.handset.mic=dmic\n" |
| 97 | "persist.audio.fluence.mode=endfire\n" |
| 98 | "persist.audio.lowlatency.rec=false\n" |
| 99 | "persist.radio.apm_sim_not_pwdn=1\n" |
| 100 | "ro.telephony.call_ring.multiple=0\n" |
| 101 | "persist.hwc.mdpcomp.enable=true\n" |
| 102 | "ro.qualcomm.bt.hci_transport=smd\n" |
| 103 | "telephony.lteOnCdmaDevice=0\n" |
| 104 | "drm.service.enabled=true\n" |
| 105 | "wifi.interface=wlan0\n" |
| 106 | "wifi.supplicant_scan_interval=15\n" |
| 107 | "media.aac_51_output_enabled=true\n" |
| 108 | "debug.egl.recordable.rgba8888=1\n" |
| 109 | "ro.qc.sensors.wl_dis=true\n" |
| 110 | "ro.qualcomm.sensors.smd=true\n" |
| 111 | "dalvik.vm.heapstartsize=8m\n" |
| 112 | "dalvik.vm.heapgrowthlimit=192m\n" |
| 113 | "dalvik.vm.heapsize=512m\n" |
| 114 | "dalvik.vm.heaptargetutilization=0.75\n" |
| 115 | "dalvik.vm.heapminfree=512k\n" |
| 116 | "dalvik.vm.heapmaxfree=8m\n" |
| 117 | "keyguard.no_require_sim=true\n" |
| 118 | "ro.facelock.black_timeout=400\n" |
| 119 | "ro.facelock.det_timeout=1500\n" |
| 120 | "ro.facelock.rec_timeout=2500\n" |
| 121 | "ro.facelock.lively_timeout=2500\n" |
| 122 | "ro.facelock.est_max_time=600\n" |
| 123 | "ro.facelock.use_intro_anim=false\n" |
| 124 | "persist.sys.dalvik.vm.lib.2=libart.so\n" |
| 125 | "dalvik.vm.isa.arm.features=div\n" |
| 126 | "dalvik.vm.dexopt-flags=m=y\n" |
| 127 | "net.bt.name=Android\n" |
| 128 | "dalvik.vm.stack-trace-file=/data/anr/traces.txt\n" |
| 129 | "\n", |
| 130 | }, |
| 131 | { |
| 132 | .path = "/sys/devices/system/cpu/kernel_max", |
| 133 | .size = 2, |
| 134 | .content = "3\n", |
| 135 | }, |
| 136 | { |
| 137 | .path = "/sys/devices/system/cpu/possible", |
| 138 | .size = 4, |
| 139 | .content = "0-3\n", |
| 140 | }, |
| 141 | { |
| 142 | .path = "/sys/devices/system/cpu/present", |
| 143 | .size = 4, |
| 144 | .content = "0-3\n", |
| 145 | }, |
| 146 | { |
| 147 | .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", |
| 148 | .size = 8, |
| 149 | .content = "1512000\n", |
| 150 | }, |
| 151 | { |
| 152 | .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq", |
| 153 | .size = 7, |
| 154 | .content = "384000\n", |
| 155 | }, |
| 156 | { |
| 157 | .path = "/sys/devices/system/cpu/cpu0/topology/physical_package_id", |
| 158 | .size = 2, |
| 159 | .content = "0\n", |
| 160 | }, |
| 161 | { |
| 162 | .path = "/sys/devices/system/cpu/cpu0/topology/core_siblings_list", |
| 163 | .size = 4, |
| 164 | .content = "0-3\n", |
| 165 | }, |
| 166 | { |
| 167 | .path = "/sys/devices/system/cpu/cpu0/topology/core_id", |
| 168 | .size = 2, |
| 169 | .content = "0\n", |
| 170 | }, |
| 171 | { |
| 172 | .path = "/sys/devices/system/cpu/cpu0/topology/thread_siblings_list", |
| 173 | .size = 2, |
| 174 | .content = "0\n", |
| 175 | }, |
| 176 | { |
| 177 | .path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq", |
| 178 | .size = 8, |
| 179 | .content = "1512000\n", |
| 180 | }, |
| 181 | { |
| 182 | .path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq", |
| 183 | .size = 7, |
| 184 | .content = "384000\n", |
| 185 | }, |
| 186 | { |
| 187 | .path = "/sys/devices/system/cpu/cpu1/topology/physical_package_id", |
| 188 | .size = 2, |
| 189 | .content = "0\n", |
| 190 | }, |
| 191 | { |
| 192 | .path = "/sys/devices/system/cpu/cpu1/topology/core_siblings_list", |
| 193 | .size = 4, |
| 194 | .content = "0-3\n", |
| 195 | }, |
| 196 | { |
| 197 | .path = "/sys/devices/system/cpu/cpu1/topology/core_id", |
| 198 | .size = 2, |
| 199 | .content = "1\n", |
| 200 | }, |
| 201 | { |
| 202 | .path = "/sys/devices/system/cpu/cpu1/topology/thread_siblings_list", |
| 203 | .size = 2, |
| 204 | .content = "1\n", |
| 205 | }, |
| 206 | { |
| 207 | .path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_max_freq", |
| 208 | .size = 8, |
| 209 | .content = "1512000\n", |
| 210 | }, |
| 211 | { |
| 212 | .path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_min_freq", |
| 213 | .size = 7, |
| 214 | .content = "384000\n", |
| 215 | }, |
| 216 | { |
| 217 | .path = "/sys/devices/system/cpu/cpu2/topology/physical_package_id", |
| 218 | .size = 2, |
| 219 | .content = "0\n", |
| 220 | }, |
| 221 | { |
| 222 | .path = "/sys/devices/system/cpu/cpu2/topology/core_siblings_list", |
| 223 | .size = 4, |
| 224 | .content = "0-3\n", |
| 225 | }, |
| 226 | { |
| 227 | .path = "/sys/devices/system/cpu/cpu2/topology/core_id", |
| 228 | .size = 2, |
| 229 | .content = "2\n", |
| 230 | }, |
| 231 | { |
| 232 | .path = "/sys/devices/system/cpu/cpu2/topology/thread_siblings_list", |
| 233 | .size = 2, |
| 234 | .content = "2\n", |
| 235 | }, |
| 236 | { NULL }, |
| 237 | }; |