| struct cpuinfo_mock_file filesystem[] = { |
| { |
| .path = "/proc/cpuinfo", |
| .size = 327, |
| .content = |
| "Processor\t: AArch64 Processor rev 3 (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" |
| "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: 3\n" |
| "\n" |
| "Hardware\t: Qualcomm Technologies, Inc MSM8992\n", |
| }, |
| { |
| .path = "/system/build.prop", |
| .size = 4905, |
| .content = |
| "\n" |
| "# begin build properties\n" |
| "# autogenerated by buildinfo.sh\n" |
| "ro.build.id=N2G47Z\n" |
| "ro.build.display.id=N2G47Z\n" |
| "ro.build.version.incremental=4045513\n" |
| "ro.build.version.sdk=25\n" |
| "ro.build.version.preview_sdk=0\n" |
| "ro.build.version.codename=REL\n" |
| "ro.build.version.all_codenames=REL\n" |
| "ro.build.version.release=7.1.2\n" |
| "ro.build.version.security_patch=2017-07-05\n" |
| "ro.build.version.base_os=\n" |
| "ro.build.date=Fri May 26 00:04:29 UTC 2017\n" |
| "ro.build.date.utc=1495757069\n" |
| "ro.build.type=user\n" |
| "ro.build.user=android-build\n" |
| "ro.build.host=wphs6.hot.corp.google.com\n" |
| "ro.build.tags=release-keys\n" |
| "ro.build.flavor=bullhead-user\n" |
| "ro.product.model=Nexus 5X\n" |
| "ro.product.brand=google\n" |
| "ro.product.name=bullhead\n" |
| "ro.product.device=bullhead\n" |
| "ro.product.board=bullhead\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=LGE\n" |
| "ro.product.locale=en-US\n" |
| "ro.wifi.channels=\n" |
| "ro.board.platform=msm8992\n" |
| "# ro.build.product is obsolete; use ro.product.device\n" |
| "ro.build.product=bullhead\n" |
| "# Do not try to parse description, fingerprint, or thumbprint\n" |
| "ro.build.description=bullhead-user 7.1.2 N2G47Z 4045513 release-keys\n" |
| "ro.build.fingerprint=google/bullhead/bullhead:7.1.2/N2G47Z/4045513: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.atrace.core.services=com.google.android.gms,com.google.android.gms.ui,com.google.android.gms.persistent\n" |
| "ro.retaildemo.video_path=/data/preloads/demo/retail_demo.mp4\n" |
| "ro.com.android.prov_mobiledata=false\n" |
| "media.aac_51_output_enabled=true\n" |
| "ro.qc.sdk.audio.fluencetype=fluencepro\n" |
| "persist.audio.fluence.voicecall=true\n" |
| "persist.audio.fluence.voicecomm=true\n" |
| "persist.audio.fluence.voicerec=false\n" |
| "persist.audio.fluence.speaker=true\n" |
| "persist.speaker.prot.enable=true\n" |
| "ro.config.vc_call_vol_steps=7\n" |
| "af.fast_track_multiplier=1\n" |
| "audio_hal.period_size=192\n" |
| "wifi.interface=wlan0\n" |
| "wifi.supplicant_scan_interval=15\n" |
| "ro.opengles.version=196610\n" |
| "ro.sf.lcd_density=420\n" |
| "persist.hwc.mdpcomp.enable=true\n" |
| "vidc.debug.perf.mode=2\n" |
| "vidc.enc.dcvs.extra-buff-count=2\n" |
| "ro.hwui.texture_cache_size=56\n" |
| "ro.hwui.layer_cache_size=32\n" |
| "ro.hwui.r_buffer_cache_size=8\n" |
| "ro.hwui.path_cache_size=16\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" |
| "ro.frp.pst=/dev/block/platform/soc.0/f9824900.sdhci/by-name/persistent\n" |
| "drm.service.enabled=true\n" |
| "ro.min_freq_0=384000\n" |
| "ro.vendor.extension_library=libqti-perfd-client.so\n" |
| "rild.libpath=/vendor/lib64/libril-qc-qmi-1.so\n" |
| "ro.telephony.default_cdma_sub=0\n" |
| "persist.qcril.disable_retry=true\n" |
| "ro.telephony.default_network=22\n" |
| "telephony.lteOnCdmaDevice=1\n" |
| "persist.radio.mode_pref_nv10=1\n" |
| "ril.nosim.ecc_list_count=1\n" |
| "ril.nosim.ecc_list_1=111,113,117,122,125\n" |
| "ro.audio.flinger_standbytime_ms=300\n" |
| "persist.radio.apm_sim_not_pwdn=1\n" |
| "persist.radio.custom_ecc=1\n" |
| "persist.data.iwlan.enable=true\n" |
| "persist.radio.always_send_plmn=true\n" |
| "ro.telephony.call_ring.multiple=0\n" |
| "persist.radio.use_cc_names=true\n" |
| "persist.radio.data_no_toggle=1\n" |
| "persist.radio.process_sups_ind=1\n" |
| "persist.radio.eri64_as_home=1\n" |
| "persist.radio.data_con_rprt=true\n" |
| "qcom.bluetooth.soc=rome\n" |
| "bluetooth.enable_timeout_ms=12000\n" |
| "dalvik.vm.boot-dex2oat-threads=4\n" |
| "dalvik.vm.dex2oat-threads=4\n" |
| "dalvik.vm.image-dex2oat-threads=4\n" |
| "persist.camera.tnr.preview=0\n" |
| "persist.camera.tnr.video=0\n" |
| "persist.radio.redir_party_num=0\n" |
| "ro.camera.notify_nfc=1\n" |
| "ro.product.first_api_level=23\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" |
| "ro.setupwizard.rotation_locked=true\n" |
| "ro.facelock.black_timeout=700\n" |
| "ro.facelock.det_timeout=2500\n" |
| "ro.facelock.rec_timeout=3500\n" |
| "ro.facelock.est_max_time=600\n" |
| "persist.sys.dalvik.vm.lib.2=libart.so\n" |
| "dalvik.vm.isa.arm64.variant=cortex-a53\n" |
| "dalvik.vm.isa.arm64.features=default\n" |
| "dalvik.vm.isa.arm.variant=cortex-a53.a57\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=BHZ11m\n" |
| "ro.build.expect.baseband=M8994F-2.6.37.2.21\n" |
| "ro.expect.recovery_id=0xb510fe6f3ed537a05e811038c9bdb98dc8c3933c000000000000000000000000\n" |
| "\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/kernel_max", |
| .size = 2, |
| .content = "5\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/possible", |
| .size = 4, |
| .content = "0-5\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/present", |
| .size = 4, |
| .content = "0-5\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", |
| .size = 8, |
| .content = "1440000\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 = "1440000\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 = "1440000\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 = "1440000\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 = "1824000\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-5\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 = "1824000\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-5\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", |
| }, |
| { NULL }, |
| }; |