1 struct cpuinfo_mock_file filesystem[] = { 2 { 3 .path = "/proc/cpuinfo", 4 .size = 280, 5 .content = 6 "Processor\t: ARMv7 Processor rev 2 (v7l)\n" 7 "BogoMIPS\t: 994.65\n" 8 "Features\t: swp half thumb fastmult vfp edsp thumbee neon vfpv3 \n" 9 "CPU implementer\t: 0x41\n" 10 "CPU architecture: 7\n" 11 "CPU variant\t: 0x2\n" 12 "CPU part\t: 0xc08\n" 13 "CPU revision\t: 2\n" 14 "\n" 15 "Hardware\t: herring\n" 16 "Revision\t: 0022\n" 17 "Serial\t\t: 363581cc0b5f00ec\n", 18 }, 19 { 20 .path = "/system/build.prop", 21 .size = 2223, 22 .content = 23 "# begin build properties\n" 24 "# autogenerated by buildinfo.sh\n" 25 "ro.build.id=IMM76D\n" 26 "ro.build.display.id=IMM76D\n" 27 "ro.build.version.incremental=299849\n" 28 "ro.build.version.sdk=15\n" 29 "ro.build.version.codename=REL\n" 30 "ro.build.version.release=4.0.4\n" 31 "ro.build.date=Sun Mar 25 20:29:26 UTC 2012\n" 32 "ro.build.date.utc=1332707366\n" 33 "ro.build.type=user\n" 34 "ro.build.user=android-build\n" 35 "ro.build.host=vpbs7.mtv.corp.google.com\n" 36 "ro.build.tags=release-keys\n" 37 "ro.product.model=Nexus S 4G\n" 38 "ro.product.brand=google\n" 39 "ro.product.name=sojus\n" 40 "ro.product.device=crespo4g\n" 41 "ro.product.board=herring\n" 42 "ro.product.cpu.abi=armeabi-v7a\n" 43 "ro.product.cpu.abi2=armeabi\n" 44 "ro.product.manufacturer=samsung\n" 45 "ro.product.locale.language=en\n" 46 "ro.product.locale.region=US\n" 47 "ro.wifi.channels=\n" 48 "ro.board.platform=s5pc110\n" 49 "# ro.build.product is obsolete; use ro.product.device\n" 50 "ro.build.product=crespo4g\n" 51 "# Do not try to parse ro.build.description or .fingerprint\n" 52 "ro.build.description=sojus-user 4.0.4 IMM76D 299849 release-keys\n" 53 "ro.build.fingerprint=google/sojus/crespo4g:4.0.4/IMM76D/299849:user/release-keys\n" 54 "ro.build.characteristics=nosdcard\n" 55 "# end build properties\n" 56 "#\n" 57 "# system.prop for smdkc110\n" 58 "#\n" 59 "\n" 60 "rild.libpath=/vendor/lib/libsec-ril.so\n" 61 "rild.libargs=-d /dev/ttyS0\n" 62 "ro.sf.lcd_density=240\n" 63 "ril.ecclist=911,#911,*911\n" 64 "\n" 65 "#\n" 66 "# ADDITIONAL_BUILD_PROPERTIES\n" 67 "#\n" 68 "ro.cdma.home.operator.numeric=310120\n" 69 "ro.cdma.home.operator.alpha=Sprint\n" 70 "ro.telephony.default_network=4\n" 71 "ro.wimax.interface=uwbr0\n" 72 "ro.opengles.version=131072\n" 73 "wifi.interface=wlan0\n" 74 "wifi.supplicant_scan_interval=15\n" 75 "dalvik.vm.heapstartsize=5m\n" 76 "dalvik.vm.heapgrowthlimit=48m\n" 77 "dalvik.vm.heapsize=128m\n" 78 "ro.config.ringtone=Sceptrum.ogg\n" 79 "ro.config.notification_sound=Castor.ogg\n" 80 "ro.com.android.dateformat=MM-dd-yyyy\n" 81 "ro.com.android.dataroaming=false\n" 82 "ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html\n" 83 "ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html\n" 84 "ro.com.google.clientidbase=android-google\n" 85 "ro.config.alarm_alert=Alarm_Classic.ogg\n" 86 "ro.com.android.wifi-watchlist=GoogleGuest\n" 87 "ro.error.receiver.system.apps=com.google.android.feedback\n" 88 "ro.setupwizard.enterprise_mode=1\n" 89 "keyguard.no_require_sim=true\n" 90 "drm.service.enabled=true\n" 91 "dalvik.vm.dexopt-flags=m=y\n" 92 "net.bt.name=Android\n" 93 "dalvik.vm.stack-trace-file=/data/anr/traces.txt\n" 94 "\n", 95 }, 96 { 97 .path = "/sys/devices/system/cpu/kernel_max", 98 .size = 2, 99 .content = "0\n", 100 }, 101 { 102 .path = "/sys/devices/system/cpu/possible", 103 .size = 2, 104 .content = "0\n", 105 }, 106 { 107 .path = "/sys/devices/system/cpu/present", 108 .size = 2, 109 .content = "0\n", 110 }, 111 { 112 .path = "/sys/devices/system/cpu/online", 113 .size = 2, 114 .content = "0\n", 115 }, 116 { 117 .path = "/sys/devices/system/cpu/offline", 118 .size = 1, 119 .content = "\n", 120 }, 121 { 122 .path = "/sys/devices/system/cpu/cpuidle/current_driver", 123 .size = 9, 124 .content = "s5p_idle\n", 125 }, 126 { 127 .path = "/sys/devices/system/cpu/cpuidle/current_governor_ro", 128 .size = 5, 129 .content = "menu\n", 130 }, 131 { 132 .path = "/sys/devices/system/cpu/cpu0/cpufreq/affected_cpus", 133 .size = 2, 134 .content = "0\n", 135 }, 136 { 137 .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq", 138 .size = 8, 139 .content = "1000000\n", 140 }, 141 { 142 .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq", 143 .size = 7, 144 .content = "100000\n", 145 }, 146 { 147 .path = "/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_transition_latency", 148 .size = 6, 149 .content = "40000\n", 150 }, 151 { 152 .path = "/sys/devices/system/cpu/cpu0/cpufreq/related_cpus", 153 .size = 2, 154 .content = "0\n", 155 }, 156 { 157 .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors", 158 .size = 67, 159 .content = "conservative ondemand userspace powersave interactive performance \n", 160 }, 161 { 162 .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq", 163 .size = 8, 164 .content = "1000000\n", 165 }, 166 { 167 .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver", 168 .size = 8, 169 .content = "s5pv210\n", 170 }, 171 { 172 .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", 173 .size = 9, 174 .content = "ondemand\n", 175 }, 176 { 177 .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq", 178 .size = 8, 179 .content = "1000000\n", 180 }, 181 { 182 .path = "/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq", 183 .size = 7, 184 .content = "200000\n", 185 }, 186 { 187 .path = "/sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state", 188 .size = 56, 189 .content = 190 "1000000 2511\n" 191 "800000 211\n" 192 "400000 223\n" 193 "200000 233\n" 194 "100000 28\n", 195 }, 196 { 197 .path = "/sys/devices/system/cpu/cpu0/cpufreq/stats/total_trans", 198 .size = 3, 199 .content = "88\n", 200 }, 201 { NULL }, 202 }; 203 204 #ifdef __ANDROID__ 205 struct cpuinfo_mock_property properties[] = { 206 { 207 .key = "dalvik.vm.dexopt-flags", 208 .value = "m=y", 209 }, 210 { 211 .key = "dalvik.vm.heapgrowthlimit", 212 .value = "48m", 213 }, 214 { 215 .key = "dalvik.vm.heapsize", 216 .value = "128m", 217 }, 218 { 219 .key = "dalvik.vm.heapstartsize", 220 .value = "5m", 221 }, 222 { 223 .key = "dalvik.vm.stack-trace-file", 224 .value = "/data/anr/traces.txt", 225 }, 226 { 227 .key = "dev.bootcomplete", 228 .value = "1", 229 }, 230 { 231 .key = "drm.service.enabled", 232 .value = "true", 233 }, 234 { 235 .key = "gsm.current.phone-type", 236 .value = "2", 237 }, 238 { 239 .key = "gsm.network.type", 240 .value = "EvDo-rev.A:8", 241 }, 242 { 243 .key = "gsm.nitz.time", 244 .value = "1505256706443", 245 }, 246 { 247 .key = "gsm.operator.alpha", 248 .value = "Sprint", 249 }, 250 { 251 .key = "gsm.operator.iso-country", 252 .value = "us", 253 }, 254 { 255 .key = "gsm.operator.isroaming", 256 .value = "false", 257 }, 258 { 259 .key = "gsm.operator.numeric", 260 .value = "310120", 261 }, 262 { 263 .key = "gsm.sim.operator.alpha", 264 .value = "Sprint", 265 }, 266 { 267 .key = "gsm.sim.operator.iso-country", 268 .value = "us", 269 }, 270 { 271 .key = "gsm.sim.operator.numeric", 272 .value = "310120", 273 }, 274 { 275 .key = "gsm.sim.state", 276 .value = "READY", 277 }, 278 { 279 .key = "gsm.version.baseband", 280 .value = "D720SPRLC1 ", 281 }, 282 { 283 .key = "gsm.version.ril-impl", 284 .value = "RIL 980955", 285 }, 286 { 287 .key = "init.svc.adbd", 288 .value = "running", 289 }, 290 { 291 .key = "init.svc.bluetoothd", 292 .value = "running", 293 }, 294 { 295 .key = "init.svc.bootanim", 296 .value = "stopped", 297 }, 298 { 299 .key = "init.svc.dbus", 300 .value = "running", 301 }, 302 { 303 .key = "init.svc.debuggerd", 304 .value = "running", 305 }, 306 { 307 .key = "init.svc.drm", 308 .value = "running", 309 }, 310 { 311 .key = "init.svc.flash_recovery", 312 .value = "stopped", 313 }, 314 { 315 .key = "init.svc.gpsd", 316 .value = "running", 317 }, 318 { 319 .key = "init.svc.hciattach", 320 .value = "running", 321 }, 322 { 323 .key = "init.svc.installd", 324 .value = "running", 325 }, 326 { 327 .key = "init.svc.keystore", 328 .value = "running", 329 }, 330 { 331 .key = "init.svc.media", 332 .value = "running", 333 }, 334 { 335 .key = "init.svc.netd", 336 .value = "running", 337 }, 338 { 339 .key = "init.svc.pvrsrvinit", 340 .value = "stopped", 341 }, 342 { 343 .key = "init.svc.ril-daemon", 344 .value = "running", 345 }, 346 { 347 .key = "init.svc.servicemanager", 348 .value = "running", 349 }, 350 { 351 .key = "init.svc.setup_fs", 352 .value = "stopped", 353 }, 354 { 355 .key = "init.svc.surfaceflinger", 356 .value = "running", 357 }, 358 { 359 .key = "init.svc.vold", 360 .value = "running", 361 }, 362 { 363 .key = "init.svc.zygote", 364 .value = "running", 365 }, 366 { 367 .key = "keyguard.no_require_sim", 368 .value = "true", 369 }, 370 { 371 .key = "net.bt.name", 372 .value = "Android", 373 }, 374 { 375 .key = "net.cdma.configurable.mode", 376 .value = "-1", 377 }, 378 { 379 .key = "net.change", 380 .value = "net.cdma.configurable.mode", 381 }, 382 { 383 .key = "net.hostname", 384 .value = "android-2b040bd45a1b2a33", 385 }, 386 { 387 .key = "net.qtaguid_enabled", 388 .value = "1", 389 }, 390 { 391 .key = "net.tcp.buffersize.default", 392 .value = "4096,87380,110208,4096,16384,110208", 393 }, 394 { 395 .key = "net.tcp.buffersize.edge", 396 .value = "4093,26280,35040,4096,16384,35040", 397 }, 398 { 399 .key = "net.tcp.buffersize.gprs", 400 .value = "4092,8760,11680,4096,8760,11680", 401 }, 402 { 403 .key = "net.tcp.buffersize.hspa", 404 .value = "4094,87380,262144,4096,16384,262144", 405 }, 406 { 407 .key = "net.tcp.buffersize.lte", 408 .value = "524288,1048576,2097152,262144,524288,1048576", 409 }, 410 { 411 .key = "net.tcp.buffersize.umts", 412 .value = "4094,87380,110208,4096,16384,110208", 413 }, 414 { 415 .key = "net.tcp.buffersize.wifi", 416 .value = "524288,1048576,2097152,262144,524288,1048576", 417 }, 418 { 419 .key = "net.tcp.buffersize.wimax", 420 .value = "4096,524288,1048576,4096,16384,110208", 421 }, 422 { 423 .key = "persist.sys.country", 424 .value = "US", 425 }, 426 { 427 .key = "persist.sys.language", 428 .value = "en", 429 }, 430 { 431 .key = "persist.sys.localevar", 432 .value = "", 433 }, 434 { 435 .key = "persist.sys.profiler_ms", 436 .value = "0", 437 }, 438 { 439 .key = "persist.sys.timezone", 440 .value = "America/Los_Angeles", 441 }, 442 { 443 .key = "persist.sys.usb.config", 444 .value = "mass_storage,adb", 445 }, 446 { 447 .key = "ril.MSL", 448 .value = "279803", 449 }, 450 { 451 .key = "ril.OTKSL", 452 .value = "944368", 453 }, 454 { 455 .key = "ril.bt_macaddr", 456 .value = "001247012345", 457 }, 458 { 459 .key = "ril.ecclist", 460 .value = "911,#911,*911", 461 }, 462 { 463 .key = "ril.hw_ver", 464 .value = "H:D720.06 S.Q ", 465 }, 466 { 467 .key = "ril.model_id", 468 .value = "", 469 }, 470 { 471 .key = "ril.otksl_flag", 472 .value = "0", 473 }, 474 { 475 .key = "ril.prl_num", 476 .value = "1", 477 }, 478 { 479 .key = "ril.prl_ver_1", 480 .value = "P:61083 ", 481 }, 482 { 483 .key = "ril.product_code", 484 .value = "", 485 }, 486 { 487 .key = "ril.rfcal_date", 488 .value = "0000.00.00", 489 }, 490 { 491 .key = "ril.sw_ver", 492 .value = "D720SPRLC1 ", 493 }, 494 { 495 .key = "rild.libargs", 496 .value = "-d /dev/ttyS0", 497 }, 498 { 499 .key = "rild.libpath", 500 .value = "/vendor/lib/libsec-ril.so", 501 }, 502 { 503 .key = "ro.allow.mock.location", 504 .value = "0", 505 }, 506 { 507 .key = "ro.baseband", 508 .value = "D720SPRLC1", 509 }, 510 { 511 .key = "ro.board.platform", 512 .value = "s5pc110", 513 }, 514 { 515 .key = "ro.bootloader", 516 .value = "D720SPRKE1", 517 }, 518 { 519 .key = "ro.bootmode", 520 .value = "unknown", 521 }, 522 { 523 .key = "ro.bt.bdaddr_path", 524 .value = "/efs/bluetooth/bt_addr", 525 }, 526 { 527 .key = "ro.build.characteristics", 528 .value = "nosdcard", 529 }, 530 { 531 .key = "ro.build.date.utc", 532 .value = "1332707366", 533 }, 534 { 535 .key = "ro.build.date", 536 .value = "Sun Mar 25 20:29:26 UTC 2012", 537 }, 538 { 539 .key = "ro.build.description", 540 .value = "sojus-user 4.0.4 IMM76D 299849 release-keys", 541 }, 542 { 543 .key = "ro.build.display.id", 544 .value = "IMM76D", 545 }, 546 { 547 .key = "ro.build.fingerprint", 548 .value = "google/sojus/crespo4g:4.0.4/IMM76D/299849:user/release-keys", 549 }, 550 { 551 .key = "ro.build.host", 552 .value = "vpbs7.mtv.corp.google.com", 553 }, 554 { 555 .key = "ro.build.id", 556 .value = "IMM76D", 557 }, 558 { 559 .key = "ro.build.product", 560 .value = "crespo4g", 561 }, 562 { 563 .key = "ro.build.tags", 564 .value = "release-keys", 565 }, 566 { 567 .key = "ro.build.type", 568 .value = "user", 569 }, 570 { 571 .key = "ro.build.user", 572 .value = "android-build", 573 }, 574 { 575 .key = "ro.build.version.codename", 576 .value = "REL", 577 }, 578 { 579 .key = "ro.build.version.incremental", 580 .value = "299849", 581 }, 582 { 583 .key = "ro.build.version.release", 584 .value = "4.0.4", 585 }, 586 { 587 .key = "ro.build.version.sdk", 588 .value = "15", 589 }, 590 { 591 .key = "ro.carrier", 592 .value = "SPR", 593 }, 594 { 595 .key = "ro.cdma.home.operator.alpha", 596 .value = "Sprint", 597 }, 598 { 599 .key = "ro.cdma.home.operator.numeric", 600 .value = "310120", 601 }, 602 { 603 .key = "ro.com.android.dataroaming", 604 .value = "false", 605 }, 606 { 607 .key = "ro.com.android.dateformat", 608 .value = "MM-dd-yyyy", 609 }, 610 { 611 .key = "ro.com.android.wifi-watchlist", 612 .value = "GoogleGuest", 613 }, 614 { 615 .key = "ro.com.google.clientidbase", 616 .value = "android-google", 617 }, 618 { 619 .key = "ro.config.alarm_alert", 620 .value = "Alarm_Classic.ogg", 621 }, 622 { 623 .key = "ro.config.notification_sound", 624 .value = "Castor.ogg", 625 }, 626 { 627 .key = "ro.config.ringtone", 628 .value = "Sceptrum.ogg", 629 }, 630 { 631 .key = "ro.crypto.fs_flags", 632 .value = "0x00000406", 633 }, 634 { 635 .key = "ro.crypto.fs_mnt_point", 636 .value = "/data", 637 }, 638 { 639 .key = "ro.crypto.fs_options", 640 .value = "nomblk_io_submit", 641 }, 642 { 643 .key = "ro.crypto.fs_real_blkdev", 644 .value = "/dev/block/platform/s3c-sdhci.0/by-name/userdata", 645 }, 646 { 647 .key = "ro.crypto.fs_type", 648 .value = "ext4", 649 }, 650 { 651 .key = "ro.crypto.keyfile.userdata", 652 .value = "/efs/userdata_footer", 653 }, 654 { 655 .key = "ro.crypto.state", 656 .value = "unencrypted", 657 }, 658 { 659 .key = "ro.debuggable", 660 .value = "0", 661 }, 662 { 663 .key = "ro.error.receiver.system.apps", 664 .value = "com.google.android.feedback", 665 }, 666 { 667 .key = "ro.factorytest", 668 .value = "0", 669 }, 670 { 671 .key = "ro.hardware", 672 .value = "herring", 673 }, 674 { 675 .key = "ro.nfc.port", 676 .value = "I2C", 677 }, 678 { 679 .key = "ro.opengles.version", 680 .value = "131072", 681 }, 682 { 683 .key = "ro.product.board", 684 .value = "herring", 685 }, 686 { 687 .key = "ro.product.brand", 688 .value = "google", 689 }, 690 { 691 .key = "ro.product.cpu.abi2", 692 .value = "armeabi", 693 }, 694 { 695 .key = "ro.product.cpu.abi", 696 .value = "armeabi-v7a", 697 }, 698 { 699 .key = "ro.product.device", 700 .value = "crespo4g", 701 }, 702 { 703 .key = "ro.product.locale.language", 704 .value = "en", 705 }, 706 { 707 .key = "ro.product.locale.region", 708 .value = "US", 709 }, 710 { 711 .key = "ro.product.manufacturer", 712 .value = "samsung", 713 }, 714 { 715 .key = "ro.product.model", 716 .value = "Nexus S 4G", 717 }, 718 { 719 .key = "ro.product.name", 720 .value = "sojus", 721 }, 722 { 723 .key = "ro.radio.noril", 724 .value = "yes", 725 }, 726 { 727 .key = "ro.revision", 728 .value = "34", 729 }, 730 { 731 .key = "ro.ril.MEID", 732 .value = "A000002A635782", 733 }, 734 { 735 .key = "ro.runtime.firstboot", 736 .value = "1505256709934", 737 }, 738 { 739 .key = "ro.secure", 740 .value = "1", 741 }, 742 { 743 .key = "ro.serialno", 744 .value = "363581CC0B5F00EC", 745 }, 746 { 747 .key = "ro.setupwizard.enterprise_mode", 748 .value = "1", 749 }, 750 { 751 .key = "ro.sf.lcd_density", 752 .value = "240", 753 }, 754 { 755 .key = "ro.telephony.call_ring.multiple", 756 .value = "0", 757 }, 758 { 759 .key = "ro.telephony.default_network", 760 .value = "4", 761 }, 762 { 763 .key = "ro.url.legal.android_privacy", 764 .value = "http://www.google.com/intl/%s/mobile/android/basic/privacy.html", 765 }, 766 { 767 .key = "ro.url.legal", 768 .value = "http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html", 769 }, 770 { 771 .key = "ro.wifi.channels", 772 .value = "", 773 }, 774 { 775 .key = "ro.wimax.interface", 776 .value = "uwbr0", 777 }, 778 { 779 .key = "status.battery.level", 780 .value = "5", 781 }, 782 { 783 .key = "status.battery.level_raw", 784 .value = "50", 785 }, 786 { 787 .key = "status.battery.level_scale", 788 .value = "9", 789 }, 790 { 791 .key = "status.battery.state", 792 .value = "Slow", 793 }, 794 { 795 .key = "sys.boot_completed", 796 .value = "1", 797 }, 798 { 799 .key = "sys.usb.config", 800 .value = "mass_storage,adb", 801 }, 802 { 803 .key = "sys.usb.state", 804 .value = "mass_storage,adb", 805 }, 806 { 807 .key = "system_init.startsurfaceflinger", 808 .value = "0", 809 }, 810 { 811 .key = "vold.post_fs_data_done", 812 .value = "1", 813 }, 814 { 815 .key = "wifi.interface", 816 .value = "wlan0", 817 }, 818 { 819 .key = "wifi.supplicant_scan_interval", 820 .value = "15", 821 }, 822 { NULL }, 823 }; 824 #endif /* __ANDROID__ */ 825