blob: d67e06ae164299ecf9c94f9bddb3c46388b59ff0 [file] [log] [blame]
struct cpuinfo_mock_file filesystem[] = {
{
.path = "/proc/cpuinfo",
.size = 1448,
.content =
"processor\t: 0\n"
"BogoMIPS\t: 52.00\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: 4\n"
"\n"
"processor\t: 1\n"
"BogoMIPS\t: 52.00\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: 4\n"
"\n"
"processor\t: 2\n"
"BogoMIPS\t: 52.00\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: 4\n"
"\n"
"processor\t: 3\n"
"BogoMIPS\t: 52.00\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: 4\n"
"\n"
"processor\t: 4\n"
"BogoMIPS\t: 52.00\n"
"Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n"
"CPU implementer\t: 0x53\n"
"CPU architecture: 8\n"
"CPU variant\t: 0x4\n"
"CPU part\t: 0x001\n"
"CPU revision\t: 0\n"
"\n"
"processor\t: 5\n"
"BogoMIPS\t: 52.00\n"
"Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n"
"CPU implementer\t: 0x53\n"
"CPU architecture: 8\n"
"CPU variant\t: 0x4\n"
"CPU part\t: 0x001\n"
"CPU revision\t: 0\n"
"\n"
"processor\t: 6\n"
"BogoMIPS\t: 52.00\n"
"Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n"
"CPU implementer\t: 0x53\n"
"CPU architecture: 8\n"
"CPU variant\t: 0x4\n"
"CPU part\t: 0x001\n"
"CPU revision\t: 0\n"
"\n"
"processor\t: 7\n"
"BogoMIPS\t: 52.00\n"
"Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32\n"
"CPU implementer\t: 0x53\n"
"CPU architecture: 8\n"
"CPU variant\t: 0x4\n"
"CPU part\t: 0x001\n"
"CPU revision\t: 0\n"
"\n",
},
{
.path = "/system/build.prop",
.size = 5144,
.content =
"\n"
"# begin build properties\n"
"# autogenerated by buildinfo.sh\n"
"ro.build.id=NRD90M\n"
"ro.build.display.id=NRD90M.G950FXXU1AQG5\n"
"ro.build.version.incremental=G950FXXU1AQG5\n"
"ro.build.version.sdk=24\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.0\n"
"ro.build.version.security_patch=2017-07-01\n"
"ro.build.version.base_os=\n"
"ro.build.date=Fri Jul 7 17:49:47 KST 2017\n"
"ro.build.date.utc=1499417387\n"
"ro.build.type=user\n"
"ro.build.user=dpi\n"
"ro.build.host=SWDD6009\n"
"ro.build.tags=release-keys\n"
"ro.build.flavor=dreamltexx-user\n"
"ro.product.model=SM-G950F\n"
"ro.product.brand=samsung\n"
"ro.product.name=dreamltexx\n"
"ro.product.device=dreamlte\n"
"ro.product.board=universal8895\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=samsung\n"
"ro.product.locale=en-GB\n"
"ro.wifi.channels=\n"
"ro.board.platform=exynos5\n"
"# ro.build.product is obsolete; use ro.product.device\n"
"ro.build.product=dreamlte\n"
"# Do not try to parse description, fingerprint, or thumbprint\n"
"ro.build.description=dreamltexx-user 7.0 NRD90M G950FXXU1AQG5 release-keys\n"
"ro.build.fingerprint=samsung/dreamltexx/dreamlte:7.0/NRD90M/G950FXXU1AQG5:user/release-keys\n"
"ro.build.characteristics=phone,emulator\n"
"# Samsung Specific Properties\n"
"ro.build.PDA=G950FXXU1AQG5\n"
"ro.build.official.release=true\n"
"ro.config.rm_preload_enabled=1\n"
"ro.build.changelist=11814589\n"
"ro.product_ship=true\n"
"ro.chipname=exynos8895\n"
"# end build properties\n"
"\n"
"#\n"
"# HWUI_BUILD_PROPERTIES\n"
"#\n"
"ro.hwui.texture_cache_size=88\n"
"ro.hwui.layer_cache_size=58\n"
"ro.hwui.path_cache_size=16\n"
"ro.hwui.texture_cache_flushrate=0.4\n"
"ro.hwui.shape_cache_size=4\n"
"ro.hwui.gradient_cache_size=2\n"
"ro.hwui.drop_shadow_cache_size=6\n"
"ro.hwui.r_buffer_cache_size=8\n"
"ro.hwui.text_small_cache_width=1024\n"
"ro.hwui.text_small_cache_height=1024\n"
"ro.hwui.text_large_cache_width=4096\n"
"ro.hwui.text_large_cache_height=2048\n"
"#\n"
"# from device/samsung/dreamlte/system.prop\n"
"#\n"
"#\n"
"# system.prop for universal8895\n"
"#\n"
"\n"
"ro.sf.lcd_density=480\n"
"ro.sf.init.lcd_density=640\n"
"\n"
"ro.arch=exynos8895\n"
"ro.kernel.qemu=0\n"
"ro.kernel.qemu.gles=0\n"
"persist.demo.hdmirotationlock=false\n"
"\n"
"# read DS/SS property\n"
"import /efs/factory.prop\n"
"\n"
"#\n"
"# ADDITIONAL_BUILD_PROPERTIES\n"
"#\n"
"ro.astcenc.astcsupport=1\n"
"ro.mct.compressiontype=ETC1\n"
"persist.radio.sib16_support=1\n"
"ro.config.dmverity=true\n"
"ro.config.rkp=true\n"
"ro.config.kap_default_on=true\n"
"ro.config.kap=true\n"
"ro.supportmodel.mptcp=1\n"
"rild.libpath=/system/lib64/libsec-ril.so\n"
"rild.libpath2=/system/lib64/libsec-ril-dsds.so\n"
"ro.radio.noril=no\n"
"ro.telephony.default_network=9\n"
"ro.multisim.simslotcount=2\n"
"ro.knox.enhance.zygote.aslr=0\n"
"ro.product.first_api_level=24\n"
"ro.config.ringtone=Over_the_Horizon.ogg\n"
"ro.config.notification_sound=Skyline.ogg\n"
"ro.config.alarm_alert=Morning_Glory.ogg\n"
"ro.config.media_sound=Media_preview_Touch_the_light.ogg\n"
"ro.config.ringtone_2=Basic_Bell.ogg\n"
"ro.config.notification_sound_2=S_Charming_Bell.ogg\n"
"ro.config.systemaudiodebug=abox\n"
"dalvik.vm.heapstartsize=8m\n"
"dalvik.vm.heapgrowthlimit=256m\n"
"dalvik.vm.heapsize=512m\n"
"dalvik.vm.heaptargetutilization=0.75\n"
"dalvik.vm.heapminfree=2m\n"
"dalvik.vm.heapmaxfree=8m\n"
"ro.opengles.version=196610\n"
"ro.sf.lcd_density=480\n"
"debug.slsi_platform=1\n"
"debug.hwc.winupdate=1\n"
"drm.service.enabled=true\n"
"ro.hdcp2.rx=tz\n"
"ro.securestorage.support=true\n"
"af.fast_period_size=192\n"
"af.fast_track_multiplier=1\n"
"ro.error.receiver.default=com.samsung.receiver.error\n"
"ro.build.scafe.version=2017A\n"
"ro.frp.pst=/dev/block/persistent\n"
"security.mdpp.mass=skmm\n"
"ro.security.vpnpp.ver=1.4\n"
"ro.security.vpnpp.release=8.1\n"
"security.mdpp=None\n"
"ro.security.mdpp.ver=3.0\n"
"ro.security.mdpp.release=2\n"
"ro.security.wlan.ver=1.0\n"
"ro.security.wlan.release=2\n"
"security.mdpp.result=None\n"
"ro.hardware.keystore=mdfpp\n"
"ro.security.mdpp.ux=Enabled\n"
"sys.config.amp_perf_enable=true\n"
"ro.config.dha_cached_min=6\n"
"ro.config.dha_cached_max=16\n"
"ro.config.dha_empty_min=8\n"
"ro.config.dha_empty_init=32\n"
"ro.config.dha_empty_max=32\n"
"ro.config.dha_th_rate=2.0\n"
"ro.config.dha_pwhitelist_enable=1\n"
"ro.config.dha_pwhl_key=7938\n"
"ro.config.fall_prevent_enable=true\n"
"ro.config.infinite_bg_enable=true\n"
"sys.use_fifo_ui=0\n"
"ro.wsmd.enable=true\n"
"ro.security.vaultkeeper.feature=1\n"
"keyguard.no_require_sim=true\n"
"ro.carrier=unknown\n"
"ro.security.icd.flagmode=multi\n"
"security.ASKS.policy_version=000000\n"
"ro.com.google.clientidbase=android-samsung\n"
"ro.ril.hsxpa=1\n"
"ro.ril.gprsclass=10\n"
"ro.adb.qemud=1\n"
"ro.gfx.driver.0=com.samsung.gpudriver.S8MaliG71_70\n"
"ro.hardware.egl=mali\n"
"ro.setupwizard.mode=OPTIONAL\n"
"ro.com.google.gmsversion=7.0_r7\n"
"ro.opa.eligible_device=true\n"
"ro.build.selinux=1\n"
"persist.sys.dalvik.vm.lib.2=libart.so\n"
"dalvik.vm.isa.arm64.variant=exynos-m2\n"
"dalvik.vm.isa.arm64.features=default\n"
"dalvik.vm.isa.arm.variant=cortex-a53\n"
"dalvik.vm.isa.arm.features=default\n"
"ro.config.knox=v30\n"
"ro.config.tima=1\n"
"ro.config.timaversion=3.0\n"
"ro.config.iccc_version=1.0\n"
"ro.kernel.qemu=0\n"
"net.bt.name=Android\n"
"dalvik.vm.stack-trace-file=/data/anr/traces.txt\n"
"ro.build.version.sem=2403\n"
"ro.build.version.sep=80100\n"
"ro.expect.recovery_id=0xe9b97455ada4494df3e991d0063d930e5b08d172000000000000000000000000\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 = "1690000\n",
},
{
.path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq",
.size = 7,
.content = "455000\n",
},
{
.path = "/sys/devices/system/cpu/cpu0/topology/physical_package_id",
.size = 2,
.content = "1\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 = "1690000\n",
},
{
.path = "/sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq",
.size = 7,
.content = "455000\n",
},
{
.path = "/sys/devices/system/cpu/cpu1/topology/physical_package_id",
.size = 2,
.content = "1\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 = "1690000\n",
},
{
.path = "/sys/devices/system/cpu/cpu2/cpufreq/cpuinfo_min_freq",
.size = 7,
.content = "455000\n",
},
{
.path = "/sys/devices/system/cpu/cpu2/topology/physical_package_id",
.size = 2,
.content = "1\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 = "1690000\n",
},
{
.path = "/sys/devices/system/cpu/cpu3/cpufreq/cpuinfo_min_freq",
.size = 7,
.content = "455000\n",
},
{
.path = "/sys/devices/system/cpu/cpu3/topology/physical_package_id",
.size = 2,
.content = "1\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 = "2314000\n",
},
{
.path = "/sys/devices/system/cpu/cpu4/cpufreq/cpuinfo_min_freq",
.size = 7,
.content = "741000\n",
},
{
.path = "/sys/devices/system/cpu/cpu4/topology/physical_package_id",
.size = 2,
.content = "0\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 = "2314000\n",
},
{
.path = "/sys/devices/system/cpu/cpu5/cpufreq/cpuinfo_min_freq",
.size = 7,
.content = "741000\n",
},
{
.path = "/sys/devices/system/cpu/cpu5/topology/physical_package_id",
.size = 2,
.content = "0\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 = "2314000\n",
},
{
.path = "/sys/devices/system/cpu/cpu6/cpufreq/cpuinfo_min_freq",
.size = 7,
.content = "741000\n",
},
{
.path = "/sys/devices/system/cpu/cpu6/topology/physical_package_id",
.size = 2,
.content = "0\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 = "2314000\n",
},
{
.path = "/sys/devices/system/cpu/cpu7/cpufreq/cpuinfo_min_freq",
.size = 7,
.content = "741000\n",
},
{
.path = "/sys/devices/system/cpu/cpu7/topology/physical_package_id",
.size = 2,
.content = "0\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 },
};