| struct cpuinfo_mock_file filesystem[] = { |
| { |
| .path = "/proc/cpuinfo", |
| .size = 1224, |
| .content = |
| "processor\t: 0\n" |
| "model name\t: ARMv7 Processor rev 0 (v7l)\n" |
| "BogoMIPS\t: 38.40\n" |
| "Features\t: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 evtstrm \n" |
| "CPU implementer\t: 0x41\n" |
| "CPU architecture: 7\n" |
| "CPU variant\t: 0x0\n" |
| "CPU part\t: 0xd03\n" |
| "CPU revision\t: 0\n" |
| "\n" |
| "processor\t: 1\n" |
| "model name\t: ARMv7 Processor rev 0 (v7l)\n" |
| "BogoMIPS\t: 38.40\n" |
| "Features\t: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 evtstrm \n" |
| "CPU implementer\t: 0x41\n" |
| "CPU architecture: 7\n" |
| "CPU variant\t: 0x0\n" |
| "CPU part\t: 0xd03\n" |
| "CPU revision\t: 0\n" |
| "\n" |
| "processor\t: 2\n" |
| "model name\t: ARMv7 Processor rev 0 (v7l)\n" |
| "BogoMIPS\t: 38.40\n" |
| "Features\t: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 evtstrm \n" |
| "CPU implementer\t: 0x41\n" |
| "CPU architecture: 7\n" |
| "CPU variant\t: 0x0\n" |
| "CPU part\t: 0xd03\n" |
| "CPU revision\t: 0\n" |
| "\n" |
| "processor\t: 3\n" |
| "model name\t: ARMv7 Processor rev 0 (v7l)\n" |
| "BogoMIPS\t: 38.40\n" |
| "Features\t: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 evtstrm \n" |
| "CPU implementer\t: 0x41\n" |
| "CPU architecture: 7\n" |
| "CPU variant\t: 0x0\n" |
| "CPU part\t: 0xd03\n" |
| "CPU revision\t: 0\n" |
| "\n" |
| "Hardware\t: Qualcomm Technologies, Inc MSM8916\n" |
| "Revision\t: 82b0\n" |
| "Serial\t\t: df3e911500000000\n" |
| "Processor\t: ARMv7 Processor rev 0 (v7l)\n" |
| "Device\t\t: osprey\n" |
| "Radio\t\t: 1\n" |
| "MSM Hardware\t: MSM8916\n", |
| }, |
| { |
| .path = "/system/build.prop", |
| .size = 9105, |
| .content = |
| "\n" |
| "# begin build properties\n" |
| "# autogenerated by buildinfo.sh\n" |
| "ro.build.id=MPIS24.65-25.1-19\n" |
| "ro.build.display.id=MPIS24.65-25.1-19\n" |
| "ro.build.version.incremental=14\n" |
| "ro.build.version.sdk=23\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=6.0\n" |
| "ro.build.version.security_patch=2017-04-01\n" |
| "ro.build.version.base_os=motorola/osprey_retus_2gb/osprey_u2:6.0/MPI24.65-25.1/1:user/release-keys\n" |
| "ro.mot.base_buildid=MPI24.65-25.1/1\n" |
| "ro.build.date=Thu Apr 6 09:22:04 CDT 2017\n" |
| "ro.build.date.utc=1491488524\n" |
| "ro.build.type=user\n" |
| "ro.build.user=hudsoncm\n" |
| "ro.build.host=ilclbld87\n" |
| "ro.build.tags=release-keys\n" |
| "ro.build.flavor=osprey_retus_2gb-user\n" |
| "ro.product.model=MotoG3\n" |
| "ro.product.brand=motorola\n" |
| "ro.product.name=osprey_retus_2gb\n" |
| "ro.product.device=osprey_u2\n" |
| "ro.product.board=msm8916\n" |
| "# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,\n" |
| "# use ro.product.cpu.abilist instead.\n" |
| "ro.product.cpu.abi=armeabi-v7a\n" |
| "ro.product.cpu.abi2=armeabi\n" |
| "ro.product.cpu.abilist=armeabi-v7a,armeabi\n" |
| "ro.product.cpu.abilist32=armeabi-v7a,armeabi\n" |
| "ro.product.cpu.abilist64=\n" |
| "ro.product.manufacturer=motorola\n" |
| "ro.product.locale=en-US\n" |
| "ro.wifi.channels=\n" |
| "ro.board.platform=msm8916\n" |
| "# ro.build.product is obsolete; use ro.product.device\n" |
| "ro.build.product=osprey_u2\n" |
| "# Do not try to parse description, fingerprint, or thumbprint\n" |
| "ro.build.description=osprey_retus_2gb-user 6.0 MPIS24.65-25.1-19 14 release-keys\n" |
| "ro.build.fingerprint=motorola/osprey_retus_2gb/osprey_u2:6.0/MPIS24.65-25.1-19/14:user/release-keys\n" |
| "ro.build.characteristics=default\n" |
| "# end build properties\n" |
| "#\n" |
| "# from device/qcom/msm8916_32/system.prop\n" |
| "#\n" |
| "#\n" |
| "# system.prop for msm8916\n" |
| "#\n" |
| "\n" |
| "#rild.libpath=/system/lib/libreference-ril.so\n" |
| "rild.libpath=/system/vendor/lib/libril-qc-qmi-1.so\n" |
| "rild.libargs=-d /dev/smd0\n" |
| "persist.rild.nitz_plmn=\n" |
| "persist.rild.nitz_long_ons_0=\n" |
| "persist.rild.nitz_long_ons_1=\n" |
| "persist.rild.nitz_long_ons_2=\n" |
| "persist.rild.nitz_long_ons_3=\n" |
| "persist.rild.nitz_short_ons_0=\n" |
| "persist.rild.nitz_short_ons_1=\n" |
| "persist.rild.nitz_short_ons_2=\n" |
| "persist.rild.nitz_short_ons_3=\n" |
| "persist.radio.rat_on=combine\n" |
| "ril.subscription.types=NV,RUIM\n" |
| "DEVICE_PROVISIONED=1\n" |
| "# Start in cdma mode\n" |
| "# Motorola set later\n" |
| "#ro.telephony.default_network=5\n" |
| "\n" |
| "debug.sf.hw=1\n" |
| "debug.egl.hw=1\n" |
| "persist.hwc.mdpcomp.enable=true\n" |
| "debug.mdpcomp.logs=0\n" |
| "dev.pm.dyn_samplingrate=1\n" |
| "persist.demo.hdmirotationlock=false\n" |
| "debug.enable.sglscale=1\n" |
| "\n" |
| "#ro.hdmi.enable=true\n" |
| "#tunnel.decode=true\n" |
| "#tunnel.audiovideo.decode=true\n" |
| "#lpa.decode=false\n" |
| "#lpa.use-stagefright=true\n" |
| "#persist.speaker.prot.enable=false\n" |
| "\n" |
| "#\n" |
| "# system props for the cne module\n" |
| "#\n" |
| "persist.cne.feature=0\n" |
| "\n" |
| "\n" |
| "#\n" |
| "# system props for the iwlan module\n" |
| "#\n" |
| "persist.data.iwlan.enable=false\n" |
| "\n" |
| "#system props for the MM modules\n" |
| "media.stagefright.enable-player=true\n" |
| "media.stagefright.enable-http=true\n" |
| "media.stagefright.enable-aac=true\n" |
| "media.stagefright.enable-qcp=true\n" |
| "media.stagefright.enable-fma2dp=true\n" |
| "media.stagefright.enable-scan=true\n" |
| "media.msm8939hw=0\n" |
| "media.msm8929hw=0\n" |
| "mmp.enable.3g2=true\n" |
| "media.aac_51_output_enabled=true\n" |
| "#codecs: DivX DivXHD AVI AC3 ASF AAC QCP DTS 3G2 MP2TS FLAC\n" |
| "mm.enable.qcom_parser=3314291\n" |
| "\n" |
| "# Default to AwesomePlayer\n" |
| "media.stagefright.use-awesome=false\n" |
| "\n" |
| "#\n" |
| "# system props for the data modules\n" |
| "#\n" |
| "ro.use_data_netmgrd=true\n" |
| "persist.data.netmgrd.qos.enable=true\n" |
| "\n" |
| "#system props for time-services\n" |
| "persist.timed.enable=true\n" |
| "\n" |
| "#\n" |
| "# system prop for opengles version\n" |
| "#\n" |
| "# 196608 is decimal for 0x30000 to report version 3\n" |
| "ro.opengles.version=196608\n" |
| "\n" |
| "# System property for cabl\n" |
| "ro.qualcomm.cabl=0\n" |
| "\n" |
| "#\n" |
| "# System props for telephony\n" |
| "# System prop to turn on CdmaLTEPhone always\n" |
| "# Motorola default to 0\n" |
| "telephony.lteOnCdmaDevice=0\n" |
| "#\n" |
| "# System props for bluetooh\n" |
| "# System prop to turn on hfp client\n" |
| "bluetooth.hfp.client=1\n" |
| "\n" |
| "#Simulate sdcard on /data/media\n" |
| "#\n" |
| "persist.fuse_sdcard=true\n" |
| "\n" |
| "#\n" |
| "#snapdragon value add features\n" |
| "#\n" |
| "ro.qc.sdk.audio.ssr=false\n" |
| "##fluencetype can be \"fluence\" or \"fluencepro\" or \"none\"\n" |
| "ro.qc.sdk.audio.fluencetype=fluence\n" |
| "persist.audio.fluence.voicecall=true\n" |
| "persist.audio.fluence.voicerec=false\n" |
| "persist.audio.fluence.audiorec=false\n" |
| "persist.audio.fluence.speaker=false\n" |
| "persist.audio.fluence.mode=endfire\n" |
| "ro.config.vc_call_vol_steps=8\n" |
| "# Tone generator maximum volume be between 0 and 100 (0dB)\n" |
| "ro.audio.ringbeep_volume=73\n" |
| "#Buffer size in kbytes for compress offload playback\n" |
| "audio.offload.buffer.size.kb=240\n" |
| "#Minimum duration for offload playback in secs\n" |
| "audio.offload.min.duration.secs=30\n" |
| "# Motorola enable offload audio playback\n" |
| "audio.offload.disable=0\n" |
| "#Enable offload audio video playback by default\n" |
| "av.offload.enable=true\n" |
| "#enable voice path for PCM VoIP by default\n" |
| "use.voice.path.for.pcm.voip=false\n" |
| "#\n" |
| "#System property for FM transmitter\n" |
| "#\n" |
| "ro.fm.transmitter=false\n" |
| "#enable dsp gapless mode by default\n" |
| "audio.offload.gapless.enabled=true\n" |
| "\n" |
| "#Audio voice concurrency related flags\n" |
| "voice.playback.conc.disabled=true\n" |
| "voice.record.conc.disabled=true\n" |
| "voice.voip.conc.disabled=true\n" |
| "\n" |
| "#property to enable user to access Google WFD settings\n" |
| "persist.debug.wfd.enable=0\n" |
| "#propery to enable VDS WFD solution\n" |
| "persist.hwc.enable_vds=0\n" |
| "\n" |
| "#selects CoreSight configuration to enable\n" |
| "persist.debug.coresight.config=stm-events\n" |
| "\n" |
| "#property to enable narrow search range for video encoding\n" |
| "vidc.enc.narrow.searchrange=1\n" |
| "\n" |
| "#property to enable DS2 dap\n" |
| "audio.dolby.ds2.enabled=true\n" |
| "\n" |
| "#Trim properties\n" |
| "ro.sys.fw.use_trim_settings=true\n" |
| "ro.sys.fw.empty_app_percent=50\n" |
| "ro.sys.fw.trim_empty_percent=100\n" |
| "ro.sys.fw.trim_cache_percent=100\n" |
| "ro.sys.fw.trim_enable_memory=1073741824\n" |
| "\n" |
| "#Factory Reset Protection\n" |
| "#ro.frp.pst=/dev/block/bootdevice/by-name/config\n" |
| "\n" |
| "#min/max cpu in core control\n" |
| "ro.core_ctl_min_cpu=2\n" |
| "ro.core_ctl_max_cpu=4\n" |
| "\n" |
| "#\n" |
| "# ADDITIONAL_BUILD_PROPERTIES\n" |
| "#\n" |
| "ro.build.version.full=Blur_Version.24.221.19.osprey_retus_2gb.retus.en.US\n" |
| "ro.mot.build.customerid=retus\n" |
| "ro.mot.build.version.sdk_int=24\n" |
| "ro.mot.build.product.increment=221\n" |
| "ro.mot.build.version.release=24.221\n" |
| "ro.product.display=Moto G\n" |
| "ro.persist.qcapb=0\n" |
| "ro.build.version.qcom=AU_LINUX_ANDROID_LA.BR.1.1.3_RB1.05.01.00.032.015\n" |
| "telephony.lteOnCdmaDevice=0\n" |
| "ro.telephony.default_network=9\n" |
| "persist.mot.gps.assisted=false\n" |
| "net.tethering.noprovisioning=true\n" |
| "ro.config.low_ram=false\n" |
| "ro.com.android.dataroaming=false\n" |
| "ro.media.enc.aud.fileformat=amr\n" |
| "ro.media.enc.aud.codec=amrnb\n" |
| "ro.config.ringtone=Moto.ogg\n" |
| "ro.config.notification_sound=Moto.ogg\n" |
| "ro.config.alarm_alert=Oxygen.ogg\n" |
| "ro.partial.display=false\n" |
| "ro.radio.imei.sv=10\n" |
| "persist.camera.video.hdr=record\n" |
| "ro.vendor.extension_library=libqti-perfd-client.so\n" |
| "persist.radio.apm_sim_not_pwdn=1\n" |
| "ro.usb.mtp=2e82\n" |
| "ro.usb.mtp_adb=2e76\n" |
| "ro.usb.ptp=2e83\n" |
| "ro.usb.ptp_adb=2e84\n" |
| "ro.usb.bpt=2ec1\n" |
| "ro.usb.bpt_adb=2ec5\n" |
| "ro.usb.bpteth=2ec3\n" |
| "ro.usb.bpteth_adb=2ec6\n" |
| "ro.bug2go.magickeys=24,26\n" |
| "persist.sys.ssr.restart_level=ALL_ENABLE\n" |
| "persist.sys.qc.sub.rdump.on=1\n" |
| "persist.data.qmi.adb_logmask=0\n" |
| "persist.sys.qc.sub.rdump.max=3\n" |
| "persist.radio.no_wait_for_card=1\n" |
| "persist.radio.relay_oprt_change=1\n" |
| "persist.radio.dfr_mode_set=1\n" |
| "persist.qcril_uim_vcc_feature=1\n" |
| "persist.radio.msgtunnel.start=true\n" |
| "persist.radio.oem_ind_to_both=false\n" |
| "ro.data.large_tcp_window_size=true\n" |
| "persist.esdfs_sdcard=true\n" |
| "persist.mot.gps.conf.from.sim=true\n" |
| "qcom.bt.le_dev_pwr_class=1\n" |
| "ro.bluetooth.hfp.ver=1.6\n" |
| "ro.qualcomm.bt.hci_transport=smd\n" |
| "persist.mot.gps.smart_battery=1\n" |
| "ro.frp.pst=/dev/block/bootdevice/by-name/frp\n" |
| "ro.cpu0.cpu_max_freq=10485760\n" |
| "ro.cpu4.cpu_max_freq=10485760\n" |
| "ro.MAX_HIDDEN_APPS=12\n" |
| "dalvik.vm.heapstartsize=8m\n" |
| "dalvik.vm.heapgrowthlimit=96m\n" |
| "dalvik.vm.heapsize=256m\n" |
| "dalvik.vm.heaptargetutilization=0.75\n" |
| "dalvik.vm.heapminfree=2m\n" |
| "dalvik.vm.heapmaxfree=8m\n" |
| "ro.sf.lcd_density=320\n" |
| "persist.audio.calfile0=/etc/acdbdata/Bluetooth_cal.acdb\n" |
| "persist.audio.calfile1=/etc/acdbdata/General_cal.acdb\n" |
| "persist.audio.calfile2=/etc/acdbdata/Global_cal.acdb\n" |
| "persist.audio.calfile3=/etc/acdbdata/Handset_cal.acdb\n" |
| "persist.audio.calfile4=/etc/acdbdata/Hdmi_cal.acdb\n" |
| "persist.audio.calfile5=/etc/acdbdata/Headset_cal.acdb\n" |
| "persist.audio.calfile6=/etc/acdbdata/Speaker_cal.acdb\n" |
| "ro.audio.fm_max_volume=5169\n" |
| "persist.radio.apn_delay=5000\n" |
| "persist.sys.media.use-awesome=false\n" |
| "audio.offload.disable=0\n" |
| "audio.offload.pcm.16bit.enable=false\n" |
| "audio.offload.pcm.24bit.enable=false\n" |
| "audio.offload.gapless.enabled=false\n" |
| "av.offload.enable=false\n" |
| "mm.enable.qcom_parser=4643\n" |
| "persist.radio.mot_ecc_enabled=1\n" |
| "persist.radio.mot_ecc_custid=common\n" |
| "keyguard.no_require_sim=true\n" |
| "drm.service.enabled=true\n" |
| "mdc_initial_max_retry=10\n" |
| "ro.adb.secure=1\n" |
| "ro.com.google.clientidbase=android-motorola\n" |
| "ro.com.google.clientidbase.ms=android-motorola\n" |
| "ro.com.google.clientidbase.am=android-motorola\n" |
| "ro.com.google.clientidbase.gmm=android-motorola\n" |
| "ro.com.google.clientidbase.yt=android-motorola\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.setupwizard.mode=OPTIONAL\n" |
| "ro.com.google.gmsversion=6.0_r1\n" |
| "ro.carrier=unknown\n" |
| "persist.sys.dalvik.vm.lib.2=libart\n" |
| "dalvik.vm.isa.arm.variant=cortex-a53\n" |
| "dalvik.vm.isa.arm.features=default\n" |
| "net.bt.name=Android\n" |
| "dalvik.vm.stack-trace-file=/data/anr/traces.txt\n" |
| "persist.gps.qc_nlp_in_use=0\n" |
| "ro.gps.agps_provider=1\n" |
| "ro.pip.gated=0\n" |
| "ro.expect.recovery_id=0x75f1b8dce5652228c376ee763ae81364930590e2000000000000000000000000\n" |
| "\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/kernel_max", |
| .size = 2, |
| .content = "7\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/possible", |
| .size = 4, |
| .content = "0-3\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/present", |
| .size = 4, |
| .content = "0-3\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", |
| .size = 8, |
| .content = "1363200\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "200000\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 = "1363200\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "200000\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 = "1363200\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "200000\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 = "1363200\n", |
| }, |
| { |
| .path = "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_min_freq", |
| .size = 7, |
| .content = "200000\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", |
| }, |
| { NULL }, |
| }; |