| struct cpuinfo_mock_file filesystem[] = { |
| { |
| .path = "/proc/cpuinfo", |
| .size = 355, |
| .content = |
| "Processor\t: AArch64 Processor rev 2 (aarch64)\n" |
| "processor\t: 0\n" |
| "processor\t: 1\n" |
| "processor\t: 2\n" |
| "processor\t: 3\n" |
| "processor\t: 4\n" |
| "processor\t: 5\n" |
| "processor\t: 6\n" |
| "processor\t: 7\n" |
| "Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32 \n" |
| "CPU implementer\t: 0x41\n" |
| "CPU architecture: 8\n" |
| "CPU variant\t: 0x0\n" |
| "CPU part\t: 0xd03\n" |
| "CPU revision\t: 2\n" |
| "\n" |
| "Hardware\t: Qualcomm Technologies, Inc MSM8994\n", |
| }, |
| { |
| .path = "/system/build.prop", |
| .size = 4689, |
| .content = |
| "\n" |
| "#\n" |
| "# PRODUCT_OEM_PROPERTIES\n" |
| "#\n" |
| "import /oem/oem.prop ro.config.ringtone\n" |
| "import /oem/oem.prop ro.config.notification_sound\n" |
| "import /oem/oem.prop ro.config.alarm_alert\n" |
| "import /oem/oem.prop ro.config.wallpaper\n" |
| "import /oem/oem.prop ro.config.wallpaper_component\n" |
| "import /oem/oem.prop ro.oem.*\n" |
| "import /oem/oem.prop oem.*\n" |
| "# begin build properties\n" |
| "# autogenerated by buildinfo.sh\n" |
| "ro.build.id=MTC19X\n" |
| "ro.build.display.id=MTC19X\n" |
| "ro.build.version.incremental=2960136\n" |
| "ro.build.version.sdk=23\n" |
| "ro.build.version.preview_sdk=\n" |
| "ro.build.version.codename=REL\n" |
| "ro.build.version.all_codenames=REL\n" |
| "ro.build.version.release=6.0.1\n" |
| "ro.build.version.security_patch=2016-07-05\n" |
| "ro.build.version.base_os=\n" |
| "ro.build.date=Thu Jun 9 18:58:55 UTC 2016\n" |
| "ro.build.date.utc=1465498735\n" |
| "ro.build.type=user\n" |
| "ro.build.user=android-build\n" |
| "ro.build.host=vpef9.mtv.corp.google.com\n" |
| "ro.build.tags=release-keys\n" |
| "ro.build.flavor=angler-user\n" |
| "ro.product.model=Nexus 6P\n" |
| "ro.product.brand=google\n" |
| "ro.product.name=angler\n" |
| "ro.product.device=angler\n" |
| "ro.product.board=angler\n" |
| "# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,\n" |
| "# use ro.product.cpu.abilist instead.\n" |
| "ro.product.cpu.abi=arm64-v8a\n" |
| "ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi\n" |
| "ro.product.cpu.abilist32=armeabi-v7a,armeabi\n" |
| "ro.product.cpu.abilist64=arm64-v8a\n" |
| "ro.product.manufacturer=Huawei\n" |
| "ro.product.locale=en-US\n" |
| "ro.wifi.channels=\n" |
| "ro.board.platform=msm8994\n" |
| "# ro.build.product is obsolete; use ro.product.device\n" |
| "ro.build.product=angler\n" |
| "# Do not try to parse description, fingerprint, or thumbprint\n" |
| "ro.build.description=angler-user 6.0.1 MTC19X 2960136 release-keys\n" |
| "ro.build.fingerprint=google/angler/angler:6.0.1/MTC19X/2960136:user/release-keys\n" |
| "ro.build.characteristics=nosdcard\n" |
| "# end build properties\n" |
| "\n" |
| "#\n" |
| "# ADDITIONAL_BUILD_PROPERTIES\n" |
| "#\n" |
| "ro.config.ringtone=Titania.ogg\n" |
| "ro.config.notification_sound=Tethys.ogg\n" |
| "ro.config.alarm_alert=Oxygen.ogg\n" |
| "ro.com.android.dataroaming=false\n" |
| "ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html\n" |
| "ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html\n" |
| "ro.com.google.clientidbase=android-google\n" |
| "ro.carrier=unknown\n" |
| "ro.com.android.wifi-watchlist=GoogleGuest\n" |
| "ro.error.receiver.system.apps=com.google.android.gms\n" |
| "ro.setupwizard.enterprise_mode=1\n" |
| "ro.opengles.version=196609\n" |
| "ro.sf.lcd_density=560\n" |
| "persist.hwc.mdpcomp.enable=true\n" |
| "persist.data.mode=concurrent\n" |
| "persist.radio.data_no_toggle=1\n" |
| "persist.radio.data_con_rprt=true\n" |
| "ro.hwui.texture_cache_size=72\n" |
| "ro.hwui.layer_cache_size=48\n" |
| "ro.hwui.r_buffer_cache_size=8\n" |
| "ro.hwui.path_cache_size=32\n" |
| "ro.hwui.gradient_cache_size=1\n" |
| "ro.hwui.drop_shadow_cache_size=6\n" |
| "ro.hwui.texture_cache_flushrate=0.4\n" |
| "ro.hwui.text_small_cache_width=1024\n" |
| "ro.hwui.text_small_cache_height=1024\n" |
| "ro.hwui.text_large_cache_width=2048\n" |
| "ro.hwui.text_large_cache_height=1024\n" |
| "vidc.debug.perf.mode=2\n" |
| "vidc.enc.dcvs.extra-buff-count=2\n" |
| "ro.min_freq_0=384000\n" |
| "ro.vendor.extension_library=libqti-perfd-client.so\n" |
| "rild.libpath=/system/vendor/lib64/libril-qc-qmi-1.so\n" |
| "ro.telephony.default_cdma_sub=0\n" |
| "ro.telephony.default_network=10\n" |
| "telephony.lteOnCdmaDevice=1\n" |
| "persist.radio.mode_pref_nv10=1\n" |
| "persist.radio.apm_sim_not_pwdn=1\n" |
| "persist.radio.custom_ecc=1\n" |
| "persist.data.iwlan.enable=true\n" |
| "ro.frp.pst=/dev/block/platform/soc.0/f9824900.sdhci/by-name/frp\n" |
| "persist.radio.always_send_plmn=true\n" |
| "ro.telephony.call_ring.multiple=0\n" |
| "af.fast_track_multiplier=1\n" |
| "audio_hal.period_size=192\n" |
| "ro.qc.sdk.audio.fluencetype=fluence\n" |
| "persist.audio.fluence.voicecall=true\n" |
| "persist.audio.fluence.voicecomm=true\n" |
| "persist.audio.product.identify=angler\n" |
| "persist.audio.fluence.speaker=true\n" |
| "media.aac_51_output_enabled=true\n" |
| "ro.audio.monitorRotation=true\n" |
| "ro.audio.flinger_standbytime_ms=300\n" |
| "persist.sys.ssr.restart_level=ALL_ENABLE\n" |
| "persist.camera.eis.enable=1\n" |
| "persist.camera.is_type=4\n" |
| "dalvik.vm.boot-dex2oat-threads=4\n" |
| "dalvik.vm.dex2oat-threads=2\n" |
| "dalvik.vm.image-dex2oat-threads=4\n" |
| "persist.radio.redir_party_num=0\n" |
| "dalvik.vm.heapstartsize=8m\n" |
| "dalvik.vm.heapgrowthlimit=192m\n" |
| "dalvik.vm.heapsize=512m\n" |
| "dalvik.vm.heaptargetutilization=0.75\n" |
| "dalvik.vm.heapminfree=512k\n" |
| "dalvik.vm.heapmaxfree=8m\n" |
| "keyguard.no_require_sim=true\n" |
| "drm.service.enabled=true\n" |
| "ro.facelock.black_timeout=400\n" |
| "ro.facelock.det_timeout=1500\n" |
| "ro.facelock.rec_timeout=2500\n" |
| "ro.facelock.lively_timeout=2500\n" |
| "ro.facelock.est_max_time=600\n" |
| "ro.facelock.use_intro_anim=false\n" |
| "persist.sys.dalvik.vm.lib.2=libart\n" |
| "dalvik.vm.isa.arm64.variant=cortex-a53\n" |
| "dalvik.vm.isa.arm64.features=default\n" |
| "dalvik.vm.isa.arm.variant=cortex-a7\n" |
| "dalvik.vm.isa.arm.features=default\n" |
| "net.bt.name=Android\n" |
| "dalvik.vm.stack-trace-file=/data/anr/traces.txt\n" |
| "ro.build.expect.bootloader=angler-03.52\n" |
| "ro.build.expect.baseband=angler-03.61\n" |
| "ro.expect.recovery_id=0x4529b1d7722a656849158a9584ad6193c5d55be0000000000000000000000000\n" |
| "\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/kernel_max", |
| .size = 2, |
| .content = "7\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/possible", |
| .size = 4, |
| .content = "0-7\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/present", |
| .size = 4, |
| .content = "0-7\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", |
| .size = 8, |
| .content = "1555200\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "384000\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu0/topology/physical_package_id", |
| .size = 2, |
| .content = "0\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu0/topology/core_siblings_list", |
| .size = 4, |
| .content = "0-3\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu0/topology/core_id", |
| .size = 2, |
| .content = "0\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu0/topology/thread_siblings_list", |
| .size = 2, |
| .content = "0\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq", |
| .size = 8, |
| .content = "1555200\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "384000\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu1/topology/physical_package_id", |
| .size = 2, |
| .content = "0\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu1/topology/core_siblings_list", |
| .size = 4, |
| .content = "0-3\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu1/topology/core_id", |
| .size = 2, |
| .content = "1\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu1/topology/thread_siblings_list", |
| .size = 2, |
| .content = "1\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_max_freq", |
| .size = 8, |
| .content = "1555200\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "384000\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu2/topology/physical_package_id", |
| .size = 2, |
| .content = "0\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu2/topology/core_siblings_list", |
| .size = 4, |
| .content = "0-3\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu2/topology/core_id", |
| .size = 2, |
| .content = "2\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu2/topology/thread_siblings_list", |
| .size = 2, |
| .content = "2\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_max_freq", |
| .size = 8, |
| .content = "1555200\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "384000\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu3/topology/physical_package_id", |
| .size = 2, |
| .content = "0\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu3/topology/core_siblings_list", |
| .size = 4, |
| .content = "0-3\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu3/topology/core_id", |
| .size = 2, |
| .content = "3\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu3/topology/thread_siblings_list", |
| .size = 2, |
| .content = "3\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_max_freq", |
| .size = 8, |
| .content = "1958400\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "384000\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu4/topology/physical_package_id", |
| .size = 2, |
| .content = "1\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu4/topology/core_siblings_list", |
| .size = 4, |
| .content = "4-7\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu4/topology/core_id", |
| .size = 2, |
| .content = "0\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu4/topology/thread_siblings_list", |
| .size = 2, |
| .content = "4\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_max_freq", |
| .size = 8, |
| .content = "1958400\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "384000\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu5/topology/physical_package_id", |
| .size = 2, |
| .content = "1\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu5/topology/core_siblings_list", |
| .size = 4, |
| .content = "4-7\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu5/topology/core_id", |
| .size = 2, |
| .content = "1\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu5/topology/thread_siblings_list", |
| .size = 2, |
| .content = "5\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_max_freq", |
| .size = 8, |
| .content = "1958400\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "384000\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu6/topology/physical_package_id", |
| .size = 2, |
| .content = "1\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu6/topology/core_siblings_list", |
| .size = 4, |
| .content = "4-7\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu6/topology/core_id", |
| .size = 2, |
| .content = "2\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu6/topology/thread_siblings_list", |
| .size = 2, |
| .content = "6\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_max_freq", |
| .size = 8, |
| .content = "1958400\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "384000\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu7/topology/physical_package_id", |
| .size = 2, |
| .content = "1\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu7/topology/core_siblings_list", |
| .size = 4, |
| .content = "4-7\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu7/topology/core_id", |
| .size = 2, |
| .content = "3\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu7/topology/thread_siblings_list", |
| .size = 2, |
| .content = "7\n", |
| }, |
| { NULL }, |
| }; |