├── binocle ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── styles.xml │ │ │ │ └── strings.xml │ │ │ ├── drawable-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_action_refresh.png │ │ │ ├── drawable-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_action_refresh.png │ │ │ ├── drawable-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_action_refresh.png │ │ │ ├── drawable-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── phone_activated.png │ │ │ ├── layout │ │ │ │ ├── activity_apicall_detail.xml │ │ │ │ ├── activity_apicall_list.xml │ │ │ │ ├── fragment_diskio_sample.xml │ │ │ │ ├── fragment_battery_sample.xml │ │ │ │ ├── fragment_radio_sample.xml │ │ │ │ ├── fragment_phone_sample.xml │ │ │ │ ├── fragment_id_sample.xml │ │ │ │ ├── activity_apicall_twopane.xml │ │ │ │ └── fragment_gps_sample.xml │ │ │ ├── menu │ │ │ │ └── binocle.xml │ │ │ ├── values-large │ │ │ │ └── refs.xml │ │ │ └── values-sw600dp │ │ │ │ └── refs.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── genymotion │ │ │ └── binocle │ │ │ ├── apicalls │ │ │ └── ApiCallSamples.java │ │ │ ├── RadioSampleFragment.java │ │ │ ├── PhoneSampleFragment.java │ │ │ ├── BatterySampleFragment.java │ │ │ ├── ApiCallListActivity.java │ │ │ ├── DiskIOSampleFragment.java │ │ │ ├── SampleActivity.java │ │ │ ├── ApiCallListFragment.java │ │ │ ├── IdSampleFragment.java │ │ │ └── GpsSampleFragment.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── genymotion │ │ └── binocle │ │ └── test │ │ ├── TestRadio.java │ │ ├── TestPhone.java │ │ ├── TestBattery.java │ │ ├── TestGps.java │ │ ├── TestDiskIO.java │ │ └── TestId.java ├── proguard-rules.txt └── build.gradle ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── ci ├── create_diskio_test_file └── run_tests ├── gradle.properties ├── gradlew.bat ├── README.md ├── gradlew └── LICENSE /binocle/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':binocle' 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Genymobile/genymotion-binocle/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /binocle/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #E6195E 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OS 2 | .DS_Store 3 | *~ 4 | 5 | # IDE 6 | .gradle 7 | local.properties 8 | .idea 9 | *.iml 10 | 11 | # Build 12 | tmp 13 | out 14 | build 15 | -------------------------------------------------------------------------------- /binocle/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Genymobile/genymotion-binocle/HEAD/binocle/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /binocle/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Genymobile/genymotion-binocle/HEAD/binocle/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /binocle/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Genymobile/genymotion-binocle/HEAD/binocle/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /binocle/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Genymobile/genymotion-binocle/HEAD/binocle/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /binocle/src/main/res/drawable-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Genymobile/genymotion-binocle/HEAD/binocle/src/main/res/drawable-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /binocle/src/main/res/drawable-hdpi/ic_action_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Genymobile/genymotion-binocle/HEAD/binocle/src/main/res/drawable-hdpi/ic_action_refresh.png -------------------------------------------------------------------------------- /binocle/src/main/res/drawable-mdpi/ic_action_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Genymobile/genymotion-binocle/HEAD/binocle/src/main/res/drawable-mdpi/ic_action_refresh.png -------------------------------------------------------------------------------- /binocle/src/main/res/drawable-xhdpi/ic_action_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Genymobile/genymotion-binocle/HEAD/binocle/src/main/res/drawable-xhdpi/ic_action_refresh.png -------------------------------------------------------------------------------- /binocle/src/main/res/drawable-xxxhdpi/phone_activated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Genymobile/genymotion-binocle/HEAD/binocle/src/main/res/drawable-xxxhdpi/phone_activated.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Apr 12 10:47:45 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /binocle/src/main/res/layout/activity_apicall_detail.xml: -------------------------------------------------------------------------------- 1 | 8 | -------------------------------------------------------------------------------- /binocle/src/main/res/menu/binocle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 10 | -------------------------------------------------------------------------------- /binocle/src/main/res/values-large/refs.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | @layout/activity_apicall_twopane 10 | 11 | -------------------------------------------------------------------------------- /binocle/src/main/res/values-sw600dp/refs.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | @layout/activity_apicall_twopane 10 | 11 | -------------------------------------------------------------------------------- /binocle/src/main/res/layout/activity_apicall_list.xml: -------------------------------------------------------------------------------- 1 | 11 | -------------------------------------------------------------------------------- /binocle/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 11 | 12 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /ci/create_diskio_test_file: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | # This script creates the test file required by the DiskIOSampleFragment. 4 | # The file has to be created from the outside for the DiskIO test to pass: if 5 | # we let the fragment create it manually, then the file content remains cached 6 | # by the OS and we don't hit the DiskIO limitation. 7 | 8 | # Must be kept in sync with DiskIOSampleFragment 9 | TEST_FILE=diskio_test 10 | TEST_FILE_SIZE_MB=200 11 | ONE_MB=1048576 12 | 13 | echo "Creating DiskIO test file" 14 | 15 | # Escape the $ in front of EXTERNAL_STORAGE because this environment variable 16 | # is defined *inside* the device 17 | adb shell "dd if=/dev/zero of=\$EXTERNAL_STORAGE/Download/$TEST_FILE bs=$ONE_MB count=$TEST_FILE_SIZE_MB" 18 | -------------------------------------------------------------------------------- /binocle/proguard-rules.txt: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /home/pascal/bin/android-studio/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the ProGuard 5 | # include property in project.properties. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} -------------------------------------------------------------------------------- /binocle/src/main/res/layout/fragment_diskio_sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 |