Marat Dukhan | b0ad492 | 2017-08-10 14:07:19 -0700 | [diff] [blame] | 1 | struct cpuinfo_mock_file filesystem[] = { |
| 2 | { |
| 3 | .path = "/proc/cpuinfo", |
| 4 | .size = 395, |
| 5 | .content = |
| 6 | "Processor\t: ARMv7 Processor rev 0 (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: 0x1\n" |
| 23 | "CPU part\t: 0x06f\n" |
| 24 | "CPU revision\t: 0\n" |
| 25 | "\n" |
| 26 | "Hardware\t: SAMSUNG JF\n" |
| 27 | "Revision\t: 000a\n" |
| 28 | "Serial\t\t: 000012a70000ac49\n", |
| 29 | }, |
| 30 | { |
| 31 | .path = "/system/build.prop", |
| 32 | .size = 6846, |
| 33 | .content = |
| 34 | "# begin build properties\n" |
| 35 | "# autogenerated by buildinfo.sh\n" |
| 36 | "ro.build.id=KOT49H\n" |
| 37 | "ro.build.display.id=KOT49H.I337UCUFNC1\n" |
| 38 | "ro.build.version.incremental=I337UCUFNC1\n" |
| 39 | "ro.build.version.sdk=19\n" |
| 40 | "ro.build.version.codename=REL\n" |
| 41 | "ro.build.version.release=4.4.2\n" |
| 42 | "ro.build.date=Tue Mar 25 13:32:47 KST 2014\n" |
| 43 | "ro.build.date.utc=1395721967\n" |
| 44 | "ro.build.type=user\n" |
| 45 | "ro.build.user=dpi\n" |
| 46 | "ro.build.host=SWDD5916\n" |
| 47 | "ro.build.tags=release-keys\n" |
| 48 | "ro.product.model=SAMSUNG-SGH-I337\n" |
| 49 | "ro.product.brand=samsung\n" |
| 50 | "ro.product.name=jflteuc\n" |
| 51 | "ro.product.device=jflteatt\n" |
| 52 | "ro.product.board=MSM8960\n" |
| 53 | "ro.product.cpu.abi=armeabi-v7a\n" |
| 54 | "ro.product.cpu.abi2=armeabi\n" |
| 55 | "ro.product.manufacturer=samsung\n" |
| 56 | "ro.product.locale.language=en\n" |
| 57 | "ro.product.locale.region=US\n" |
| 58 | "ro.wifi.channels=\n" |
| 59 | "ro.board.platform=msm8960\n" |
| 60 | "# ro.build.product is obsolete; use ro.product.device\n" |
| 61 | "ro.build.product=jflteatt\n" |
| 62 | "# Do not try to parse ro.build.description or .fingerprint\n" |
| 63 | "ro.build.description=jflteuc-user 4.4.2 KOT49H I337UCUFNC1 release-keys\n" |
| 64 | "ro.build.fingerprint=samsung/jflteuc/jflteatt:4.4.2/KOT49H/I337UCUFNC1:user/release-keys\n" |
| 65 | "ro.build.characteristics=att\n" |
| 66 | "# Samsung Specific Properties\n" |
| 67 | "ro.build.PDA=I337UCUFNC1\n" |
| 68 | "ro.build.hidden_ver=I337UCUFNC1\n" |
| 69 | "ro.build.changelist=1125940\n" |
| 70 | "ro.product_ship=true\n" |
| 71 | "ro.chipname=apq8064\n" |
| 72 | "# end build properties\n" |
| 73 | "#\n" |
| 74 | "# from device/samsung/jflteatt/system.prop\n" |
| 75 | "#\n" |
| 76 | "#\n" |
| 77 | "# system.prop for surf\n" |
| 78 | "#\n" |
| 79 | "\n" |
| 80 | "ro.sf.lcd_density=480\n" |
| 81 | "\n" |
| 82 | "rild.libpath=/system/lib/libsec-ril.so\n" |
| 83 | "rild.libargs=-d /dev/smd0\n" |
| 84 | "persist.rild.nitz_plmn=\n" |
| 85 | "persist.rild.nitz_long_ons_0=\n" |
| 86 | "persist.rild.nitz_long_ons_1=\n" |
| 87 | "persist.rild.nitz_long_ons_2=\n" |
| 88 | "persist.rild.nitz_long_ons_3=\n" |
| 89 | "persist.rild.nitz_short_ons_0=\n" |
| 90 | "persist.rild.nitz_short_ons_1=\n" |
| 91 | "persist.rild.nitz_short_ons_2=\n" |
| 92 | "persist.rild.nitz_short_ons_3=\n" |
| 93 | "ril.subscription.types=NV,RUIM\n" |
| 94 | "DEVICE_PROVISIONED=1\n" |
| 95 | "debug.sf.hw=1\n" |
| 96 | "debug.egl.hw=1\n" |
| 97 | "debug.composition.type=gpu\n" |
| 98 | "dalvik.vm.heapsize=36m\n" |
| 99 | "debug.enable.wl_log=1\n" |
| 100 | "persist.hwc.mdpcomp.enable=true\n" |
| 101 | "debug.mdpcomp.logs=0\n" |
| 102 | "\n" |
| 103 | "#\n" |
| 104 | "# system props for the cne module\n" |
| 105 | "#\n" |
| 106 | "persist.cne.feature=0\n" |
| 107 | "\n" |
| 108 | "lpa.decode=false\n" |
| 109 | "tunnel.decode=true\n" |
| 110 | "tunnel.audiovideo.decode=false\n" |
| 111 | "lpa.use-stagefright=true\n" |
| 112 | "qcom.hw.aac.encoder=true\n" |
| 113 | "\n" |
| 114 | "#system props for the MM modules\n" |
| 115 | "\n" |
| 116 | "media.stagefright.enable-player=true\n" |
| 117 | "media.stagefright.enable-http=true\n" |
| 118 | "media.stagefright.enable-aac=true\n" |
| 119 | "media.stagefright.enable-qcp=true\n" |
| 120 | "media.stagefright.enable-fma2dp=true\n" |
| 121 | "media.stagefright.enable-scan=true\n" |
| 122 | "mmp.enable.3g2=true\n" |
| 123 | "media.aac_51_output_enabled=true\n" |
| 124 | "#33395 is sum of supported format flags in AAL\n" |
| 125 | "#Formats: AVI AC3 ASF AAC QCP DTS 3G2\n" |
| 126 | "mm.enable.qcom_parser=33395\n" |
| 127 | "\n" |
| 128 | "#\n" |
| 129 | "# system props for the data modules\n" |
| 130 | "#\n" |
| 131 | "ro.use_data_netmgrd=true\n" |
| 132 | "persist.data.netmgrd.qos.enable=false\n" |
| 133 | "\n" |
| 134 | "#system props for time-services\n" |
| 135 | "persist.timed.enable=true\n" |
| 136 | "\n" |
| 137 | "# System props for audio\n" |
| 138 | "persist.audio.fluence.mode=endfire\n" |
| 139 | "persist.audio.vr.enable=false\n" |
| 140 | "persist.audio.handset.mic=digital\n" |
| 141 | "persist.audio.lowlatency.rec=false\n" |
| 142 | "\n" |
| 143 | "# System prop to select audio resampler quality\n" |
| 144 | "af.resampler.quality=255\n" |
| 145 | "# System prop to select MPQAudioPlayer by default on mpq8064\n" |
| 146 | "mpq.audio.decode=true\n" |
| 147 | "\n" |
| 148 | "#\n" |
| 149 | "# system prop for opengles version\n" |
| 150 | "#\n" |
| 151 | "# 196608 is decimal for 0x30000 to report version 3\n" |
| 152 | "ro.opengles.version=196608\n" |
| 153 | "\n" |
| 154 | "# system prop for requesting Master role in incoming Bluetooth connection.\n" |
| 155 | "#\n" |
| 156 | "ro.bluetooth.request.master=true\n" |
| 157 | "#\n" |
| 158 | "# system prop for Bluetooth Auto connect for remote initated connections\n" |
| 159 | "#\n" |
| 160 | "ro.bluetooth.remote.autoconnect=true\n" |
| 161 | "# system property for Bluetooth discoverability time out in seconds\n" |
| 162 | "# 0: Always discoverable\n" |
| 163 | "#debug.bt.discoverable_time=0\n" |
| 164 | "\n" |
| 165 | "#system prop for switching gps driver to qmi\n" |
| 166 | "persist.gps.qmienabled=true\n" |
| 167 | "\n" |
| 168 | "#System prop to enable ehrpd capability\n" |
| 169 | "ro.config.ehrpd=true\n" |
| 170 | "\n" |
| 171 | "# System property for cabl\n" |
| 172 | "ro.qualcomm.cabl=0\n" |
| 173 | "\n" |
| 174 | "\n" |
| 175 | "# System prop for sending transmit power request to RIL during WiFi hotspot on/off\n" |
| 176 | "#\n" |
| 177 | "ro.ril.transmitpower=true\n" |
| 178 | "\n" |
| 179 | "\n" |
| 180 | "#Simulate sdcard on /data/media\n" |
| 181 | "#\n" |
| 182 | "persist.fuse_sdcard=true\n" |
| 183 | "ro.hwui.text_cache_width=2048\n" |
| 184 | "\n" |
| 185 | "#\n" |
| 186 | "# Supports warmboot capabilities\n" |
| 187 | "#\n" |
| 188 | "ro.warmboot.capability=1\n" |
| 189 | "\n" |
| 190 | "#\n" |
| 191 | "#snapdragon value add features\n" |
| 192 | "#\n" |
| 193 | "ro.qc.sdk.audio.ssr=false\n" |
| 194 | "##fluencetype can be \"fluence\" or \"fluencepro\" or \"none\"\n" |
| 195 | "ro.qc.sdk.audio.fluencetype=none\n" |
| 196 | "ro.qc.sdk.camera.facialproc=true\n" |
| 197 | "ro.qc.sdk.gestures.camera=false\n" |
| 198 | "ro.qc.sdk.sensors.gestures=false\n" |
| 199 | "#property to check if dynamic resolution change is supported in framework\n" |
| 200 | "ro.streaming.video.drs=true\n" |
| 201 | "#property to enable user to access Google WFD settings.\n" |
| 202 | "persist.debug.wfd.enable=1\n" |
| 203 | "#property to choose between virtual/external wfd display\n" |
| 204 | "persist.sys.wfd.virtual=0\n" |
| 205 | "\n" |
| 206 | "#system prop for setting rmnet mux mode\n" |
| 207 | "persist.rmnet.mux=disabled\n" |
| 208 | "\n" |
| 209 | "#\n" |
| 210 | "# System prop for Tvout/HDMI\n" |
| 211 | "#\n" |
| 212 | "persist.sys.camera.transform=0\n" |
| 213 | "persist.sys.camera.connect=0\n" |
| 214 | "persist.sys.videomode=0\n" |
| 215 | "ro.hdmi.enable=true\n" |
| 216 | "\n" |
| 217 | "\n" |
| 218 | "# System property for Default Brightness\n" |
| 219 | "ro.lcd_min_brightness=10\n" |
| 220 | "ro.lcd_brightness=143\n" |
| 221 | "\n" |
| 222 | "# System proverty for sys info indication\n" |
| 223 | "persist.radio.add_power_save=1\n" |
| 224 | "\n" |
| 225 | "# Keep SIM state on LPM mode\n" |
| 226 | "persist.radio.apm_sim_not_pwdn=1\n" |
| 227 | "\n" |
| 228 | "# use se table when search list\n" |
| 229 | "persist.radio.use_se_table_only=1\n" |
| 230 | "\n" |
| 231 | "# System prop for PLMN\n" |
| 232 | "persist.radio.fill_eons=1\n" |
| 233 | "\n" |
| 234 | "# System prop for SPN\n" |
| 235 | "persist.radio.prefer_spn=0\n" |
| 236 | "\n" |
| 237 | "media.enable-commonsource=true\n" |
| 238 | "\n" |
| 239 | "#\n" |
| 240 | "# ADDITIONAL_BUILD_PROPERTIES\n" |
| 241 | "#\n" |
| 242 | "dalvik.vm.heapstartsize=8m\n" |
| 243 | "dalvik.vm.heapgrowthlimit=128m\n" |
| 244 | "dalvik.vm.heapsize=512m\n" |
| 245 | "dalvik.vm.heaptargetutilization=0.75\n" |
| 246 | "dalvik.vm.heapminfree=2m\n" |
| 247 | "dalvik.vm.heapmaxfree=8m\n" |
| 248 | "keyguard.no_require_sim=true\n" |
| 249 | "ro.com.android.dateformat=MM-dd-yyyy\n" |
| 250 | "ro.carrier=unknown\n" |
| 251 | "ro.vendor.extension_library=/vendor/lib/libqc-opt.so\n" |
| 252 | "ro.build.scafe=americano\n" |
| 253 | "ro.build.scafe.size=short\n" |
| 254 | "ro.build.scafe.shot=single\n" |
| 255 | "ro.hdcp2.rx=tz\n" |
| 256 | "ro.secwvk=144\n" |
| 257 | "ro.securestorage.support=true\n" |
| 258 | "security.mdpp=None\n" |
| 259 | "ro.security.mdpp.ver=1.0\n" |
| 260 | "ro.security.mdpp.release=2\n" |
| 261 | "security.mdpp.result=None\n" |
| 262 | "ro.sec.fle.encryption=true\n" |
| 263 | "ro.hwui.texture_cache_size=48\n" |
| 264 | "ro.hwui.layer_cache_size=32\n" |
| 265 | "ro.hwui.path_cache_size=8\n" |
| 266 | "ro.hwui.shape_cache_size=2\n" |
| 267 | "ro.hwui.gradient_cache_size=1\n" |
| 268 | "ro.hwui.drop_shadow_cache_size=4\n" |
| 269 | "ro.hwui.texture_cache_flush_rate=0.5\n" |
| 270 | "ro.hwui.text_small_cache_width=1024\n" |
| 271 | "ro.hwui.text_small_cache_height=512\n" |
| 272 | "ro.hwui.text_large_cache_width=2048\n" |
| 273 | "ro.hwui.text_large_cache_height=1024\n" |
| 274 | "ro.error.receiver.default=com.samsung.receiver.error\n" |
| 275 | "ro.config.ringtone=ATT_Firefly_Default.ogg\n" |
| 276 | "ro.config.notification_sound=Whisper.ogg\n" |
| 277 | "ro.config.alarm_alert=Alarm_Morning_flower.ogg\n" |
| 278 | "ro.config.media_sound=Media_preview_Touch_the_light.ogg\n" |
| 279 | "ro.security.mdpp.ux=Enabled\n" |
| 280 | "ro.setupwizard.mode=OPTIONAL\n" |
| 281 | "ro.com.google.clientidbase=android-samsung\n" |
| 282 | "ro.com.google.clientidbase.ms=android-att-us\n" |
| 283 | "ro.com.google.clientidbase.am=android-att-us\n" |
| 284 | "ro.com.google.clientidbase.yt=android-samsung\n" |
| 285 | "ro.com.google.clientidbase.gmm=android-samsung\n" |
| 286 | "ro.com.google.gmsversion=4.4.2_r1\n" |
| 287 | "persist.sys.dalvik.vm.lib=libdvm.so\n" |
| 288 | "ro.kernel.qemu=0\n" |
| 289 | "ro.build.selinux=1\n" |
| 290 | "ro.config.knox=1\n" |
| 291 | "ro.config.tima=1\n" |
| 292 | "ro.config.timaversion=2.0\n" |
| 293 | "net.bt.name=Android\n" |
| 294 | "dalvik.vm.stack-trace-file=/data/anr/traces.txt\n" |
| 295 | "ro.qc.sdk.izat.premium_enabled=1\n" |
| 296 | "ro.qc.sdk.izat.service_mask=0x5\n" |
| 297 | "persist.gps.qc_nlp_in_use=0\n" |
| 298 | "ro.gps.agps_provider=1\n" |
| 299 | "\n", |
| 300 | }, |
| 301 | { |
| 302 | .path = "/sys/devices/system/cpu/kernel_max", |
| 303 | .size = 2, |
| 304 | .content = "3\n", |
| 305 | }, |
| 306 | { |
| 307 | .path = "/sys/devices/system/cpu/possible", |
| 308 | .size = 4, |
| 309 | .content = "0-3\n", |
| 310 | }, |
| 311 | { |
| 312 | .path = "/sys/devices/system/cpu/present", |
| 313 | .size = 4, |
| 314 | .content = "0-3\n", |
| 315 | }, |
| 316 | { |
| 317 | .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", |
| 318 | .size = 8, |
| 319 | .content = "1890000\n", |
| 320 | }, |
| 321 | { |
| 322 | .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq", |
| 323 | .size = 7, |
| 324 | .content = "384000\n", |
| 325 | }, |
| 326 | { |
| 327 | .path = "/sys/devices/system/cpu/cpu0/topology/physical_package_id", |
| 328 | .size = 2, |
| 329 | .content = "0\n", |
| 330 | }, |
| 331 | { |
| 332 | .path = "/sys/devices/system/cpu/cpu0/topology/core_siblings_list", |
| 333 | .size = 4, |
| 334 | .content = "0-3\n", |
| 335 | }, |
| 336 | { |
| 337 | .path = "/sys/devices/system/cpu/cpu0/topology/core_id", |
| 338 | .size = 2, |
| 339 | .content = "0\n", |
| 340 | }, |
| 341 | { |
| 342 | .path = "/sys/devices/system/cpu/cpu0/topology/thread_siblings_list", |
| 343 | .size = 2, |
| 344 | .content = "0\n", |
| 345 | }, |
| 346 | { NULL }, |
| 347 | }; |