├── .gitignore ├── .idea ├── gradle.xml ├── misc.xml ├── modules.xml ├── runConfigurations.xml └── vcs.xml ├── README.md ├── apks ├── icc_javatonative.apk ├── icc_nativetojava.apk ├── native_complexdata.apk ├── native_complexdata_stringop.apk ├── native_dynamic_register_multiple.apk ├── native_heap_modify.apk ├── native_leak.apk ├── native_leak_array.apk ├── native_leak_dynamic_register.apk ├── native_method_overloading.apk ├── native_multiple_interactions.apk ├── native_multiple_libraries.apk ├── native_noleak.apk ├── native_noleak_array.apk ├── native_nosource.apk ├── native_pure.apk ├── native_pure_direct.apk ├── native_pure_direct_customized.apk ├── native_set_field_from_arg.apk ├── native_set_field_from_arg_field.apk ├── native_set_field_from_native.apk ├── native_source.apk └── native_source_clean.apk ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── icc_javatonative ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── icc_javatonative │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── icc_javatonative │ │ │ └── MainActivity.java │ ├── jni │ │ └── foo.cpp │ └── res │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── icc_javatonative │ └── ExampleUnitTest.java ├── icc_nativetojava ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro ├── release │ ├── native_leak-release │ │ └── lib │ │ │ ├── arm64-v8a │ │ │ └── libleak.so │ │ │ ├── armeabi-v7a │ │ │ └── libleak.so │ │ │ ├── armeabi │ │ │ └── libleak.so │ │ │ ├── mips │ │ │ └── libleak.so │ │ │ ├── mips64 │ │ │ └── libleak.so │ │ │ ├── x86 │ │ │ └── libleak.so │ │ │ └── x86_64 │ │ │ └── libleak.so │ └── output.json └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── icc_nativetojava │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── icc_nativetojava │ │ │ ├── FooActivity.java │ │ │ └── MainActivity.java │ ├── jni │ │ └── intent.cpp │ └── res │ │ ├── layout │ │ ├── activity_foo.xml │ │ └── activity_main.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── icc_nativetojava │ └── ExampleUnitTest.java ├── native_complexdata ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_complexdata │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_complexdata │ │ │ ├── ComplexData.java │ │ │ └── MainActivity.java │ ├── jni │ │ └── data.cpp │ └── res │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_complexdata │ └── ExampleUnitTest.java ├── native_complexdata_stringop ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_complexdata_stringop │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_complexdata_stringop │ │ │ ├── ComplexData.java │ │ │ └── MainActivity.java │ ├── jni │ │ └── data.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_complexdata_stringop │ └── ExampleUnitTest.java ├── native_dynamic_register_multiple ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_dynamic_register_multiple │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_dynamic_register_multiple │ │ │ └── MainActivity.java │ ├── jni │ │ └── dynamic_register_multiple.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_dynamic_register_multiple │ └── ExampleUnitTest.java ├── native_heap_modify ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_heap_modify │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_heap_modify │ │ │ ├── Data.java │ │ │ └── MainActivity.java │ ├── jni │ │ └── heap_modify.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_heap_modify │ └── ExampleUnitTest.java ├── native_leak ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_leak │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_leak │ │ │ └── MainActivity.java │ ├── jni │ │ └── leak.cpp │ └── res │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_leak │ └── ExampleUnitTest.java ├── native_leak_array ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_leak_array │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_leak_array │ │ │ └── MainActivity.java │ ├── jni │ │ └── leak_array.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_leak_array │ └── ExampleUnitTest.java ├── native_leak_dynamic_register ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_leak_dynamic_register │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_leak_dynamic_register │ │ │ └── MainActivity.java │ ├── jni │ │ └── leak_dynamic_register.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_leak_dynamic_register │ └── ExampleUnitTest.java ├── native_method_overloading ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_method_overloading │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_method_overloading │ │ │ └── MainActivity.java │ ├── jni │ │ └── method_overloading.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_method_overloading │ └── ExampleUnitTest.java ├── native_multiple_interactions ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_multiple_interactions │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_multiple_interactions │ │ │ ├── Data.java │ │ │ └── MainActivity.java │ ├── jni │ │ └── multiple_interactions.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_multiple_interactions │ └── ExampleUnitTest.java ├── native_multiple_libraries ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_multiple_libraries │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_multiple_libraries │ │ │ └── MainActivity.java │ ├── jni │ │ ├── foo.cpp │ │ └── master.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_multiple_libraries │ └── ExampleUnitTest.java ├── native_noleak ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_noleak │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_noleak │ │ │ └── MainActivity.java │ ├── jni │ │ └── noleak.cpp │ └── res │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_noleak │ └── ExampleUnitTest.java ├── native_noleak_array ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_noleak_array │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_noleak_array │ │ │ └── MainActivity.java │ ├── jni │ │ └── noleak_array.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_noleak_array │ └── ExampleUnitTest.java ├── native_nosource ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_nosource │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_nosource │ │ │ └── MainActivity.java │ ├── jni │ │ └── nosource.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_nosource │ └── ExampleUnitTest.java ├── native_pure ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_pure │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── jni │ │ └── main.cpp │ └── res │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_pure │ └── ExampleUnitTest.java ├── native_pure_direct ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_pure_direct │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── jni │ │ └── native-activity.cpp │ └── res │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_pure_direct │ └── ExampleUnitTest.java ├── native_pure_direct_customized ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_pure_direct_customized │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── jni │ │ └── native-activity.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_pure_direct_customized │ └── ExampleUnitTest.java ├── native_set_field_from_arg ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro ├── release │ └── output.json └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_set_field_from_arg │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_set_field_from_arg │ │ │ ├── ComplexData.java │ │ │ ├── Foo.java │ │ │ └── MainActivity.java │ ├── jni │ │ └── set_field_from_arg.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_set_field_from_arg │ └── ExampleUnitTest.java ├── native_set_field_from_arg_field ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_set_field_from_arg_field │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_set_field_from_arg_field │ │ │ ├── ComplexData.java │ │ │ ├── Foo.java │ │ │ └── MainActivity.java │ ├── jni │ │ └── set_field_from_arg_field.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_set_field_from_arg_field │ └── ExampleUnitTest.java ├── native_set_field_from_native ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_set_field_from_native │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_set_field_from_native │ │ │ ├── ComplexData.java │ │ │ ├── Foo.java │ │ │ └── MainActivity.java │ ├── jni │ │ └── set_field_from_native.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_set_field_from_native │ └── ExampleUnitTest.java ├── native_source ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_source │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_source │ │ │ └── MainActivity.java │ ├── jni │ │ └── source.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_source │ └── ExampleUnitTest.java ├── native_source_clean ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── org │ │ └── arguslab │ │ └── native_source_clean │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── org │ │ │ └── arguslab │ │ │ └── native_source_clean │ │ │ ├── ComplexData.java │ │ │ └── MainActivity.java │ ├── jni │ │ └── source_clean.cpp │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── org │ └── arguslab │ └── native_source_clean │ └── ExampleUnitTest.java └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | *-release.apk 11 | .idea 12 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # NativeFlowBench 2 | Benchmark apps for static analyzing native world of Android applications. 3 | -------------------------------------------------------------------------------- /apks/icc_javatonative.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/icc_javatonative.apk -------------------------------------------------------------------------------- /apks/icc_nativetojava.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/icc_nativetojava.apk -------------------------------------------------------------------------------- /apks/native_complexdata.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_complexdata.apk -------------------------------------------------------------------------------- /apks/native_complexdata_stringop.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_complexdata_stringop.apk -------------------------------------------------------------------------------- /apks/native_dynamic_register_multiple.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_dynamic_register_multiple.apk -------------------------------------------------------------------------------- /apks/native_heap_modify.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_heap_modify.apk -------------------------------------------------------------------------------- /apks/native_leak.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_leak.apk -------------------------------------------------------------------------------- /apks/native_leak_array.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_leak_array.apk -------------------------------------------------------------------------------- /apks/native_leak_dynamic_register.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_leak_dynamic_register.apk -------------------------------------------------------------------------------- /apks/native_method_overloading.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_method_overloading.apk -------------------------------------------------------------------------------- /apks/native_multiple_interactions.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_multiple_interactions.apk -------------------------------------------------------------------------------- /apks/native_multiple_libraries.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_multiple_libraries.apk -------------------------------------------------------------------------------- /apks/native_noleak.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_noleak.apk -------------------------------------------------------------------------------- /apks/native_noleak_array.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_noleak_array.apk -------------------------------------------------------------------------------- /apks/native_nosource.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_nosource.apk -------------------------------------------------------------------------------- /apks/native_pure.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_pure.apk -------------------------------------------------------------------------------- /apks/native_pure_direct.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_pure_direct.apk -------------------------------------------------------------------------------- /apks/native_pure_direct_customized.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_pure_direct_customized.apk -------------------------------------------------------------------------------- /apks/native_set_field_from_arg.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_set_field_from_arg.apk -------------------------------------------------------------------------------- /apks/native_set_field_from_arg_field.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_set_field_from_arg_field.apk -------------------------------------------------------------------------------- /apks/native_set_field_from_native.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_set_field_from_native.apk -------------------------------------------------------------------------------- /apks/native_source.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_source.apk -------------------------------------------------------------------------------- /apks/native_source_clean.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/apks/native_source_clean.apk -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | maven { 7 | url 'https://maven.google.com/' 8 | name 'Google' 9 | } 10 | google() 11 | } 12 | dependencies { 13 | classpath 'com.android.tools.build:gradle:3.2.1' 14 | 15 | // NOTE: Do not place your application dependencies here; they belong 16 | // in the individual module build.gradle files 17 | } 18 | } 19 | 20 | allprojects { 21 | repositories { 22 | jcenter() 23 | maven { 24 | url 'https://maven.google.com/' 25 | name 'Google' 26 | } 27 | } 28 | } 29 | 30 | task clean(type: Delete) { 31 | delete rootProject.buildDir 32 | } 33 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Oct 04 22:07:49 PDT 2018 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-4.6-all.zip 7 | -------------------------------------------------------------------------------- /icc_javatonative/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /icc_javatonative/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | # build native_app_glue as a static lib 4 | add_library(app-glue STATIC 5 | ${ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c) 6 | 7 | # now build app's shared lib 8 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") 9 | 10 | add_library(native-activity SHARED 11 | src/main/jni/foo.cpp) 12 | 13 | target_include_directories(native-activity PRIVATE 14 | ${ANDROID_NDK}/sources/android/native_app_glue) 15 | 16 | # add lib dependencies 17 | target_link_libraries(native-activity 18 | android 19 | app-glue 20 | EGL 21 | GLESv1_CM 22 | log) -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_javatonative/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_javatonative/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_javatonative/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_javatonative/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_javatonative/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_javatonative/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_javatonative/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_javatonative/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_javatonative/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_javatonative/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ICC_JavaToNative 3 | 4 | -------------------------------------------------------------------------------- /icc_javatonative/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /icc_javatonative/src/test/java/org/arguslab/icc_javatonative/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.icc_javatonative; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /icc_nativetojava/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /icc_nativetojava/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(intent SHARED 4 | src/main/jni/intent.cpp) 5 | 6 | # add lib dependencies 7 | target_link_libraries(intent 8 | android 9 | log) -------------------------------------------------------------------------------- /icc_nativetojava/release/native_leak-release/lib/arm64-v8a/libleak.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/release/native_leak-release/lib/arm64-v8a/libleak.so -------------------------------------------------------------------------------- /icc_nativetojava/release/native_leak-release/lib/armeabi-v7a/libleak.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/release/native_leak-release/lib/armeabi-v7a/libleak.so -------------------------------------------------------------------------------- /icc_nativetojava/release/native_leak-release/lib/armeabi/libleak.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/release/native_leak-release/lib/armeabi/libleak.so -------------------------------------------------------------------------------- /icc_nativetojava/release/native_leak-release/lib/mips/libleak.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/release/native_leak-release/lib/mips/libleak.so -------------------------------------------------------------------------------- /icc_nativetojava/release/native_leak-release/lib/mips64/libleak.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/release/native_leak-release/lib/mips64/libleak.so -------------------------------------------------------------------------------- /icc_nativetojava/release/native_leak-release/lib/x86/libleak.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/release/native_leak-release/lib/x86/libleak.so -------------------------------------------------------------------------------- /icc_nativetojava/release/native_leak-release/lib/x86_64/libleak.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/release/native_leak-release/lib/x86_64/libleak.so -------------------------------------------------------------------------------- /icc_nativetojava/release/output.json: -------------------------------------------------------------------------------- 1 | [{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"native_leak-release.apk","properties":{"packageId":"org.arguslab.native_leak","split":"","minSdkVersion":"23"}}] -------------------------------------------------------------------------------- /icc_nativetojava/src/main/java/org/arguslab/icc_nativetojava/FooActivity.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.icc_nativetojava; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | import android.util.Log; 6 | 7 | public class FooActivity extends Activity { 8 | 9 | @Override 10 | protected void onCreate(Bundle savedInstanceState) { 11 | super.onCreate(savedInstanceState); 12 | setContentView(R.layout.activity_foo); 13 | String data = getIntent().getStringExtra("data") + ""; 14 | Log.i("imei", data); // leak 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/layout/activity_foo.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/icc_nativetojava/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ICC_NativeToJava 3 | 4 | -------------------------------------------------------------------------------- /icc_nativetojava/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /icc_nativetojava/src/test/java/org/arguslab/icc_nativetojava/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.icc_nativetojava; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_complexdata/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_complexdata/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(data SHARED 4 | src/main/jni/data.cpp) 5 | 6 | target_link_libraries(data 7 | android 8 | log) -------------------------------------------------------------------------------- /native_complexdata/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /native_complexdata/src/main/java/org/arguslab/native_complexdata/ComplexData.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_complexdata; 2 | 3 | public class ComplexData { 4 | private String data; 5 | private int index; 6 | private String other; 7 | 8 | public String getData() { 9 | return data; 10 | } 11 | 12 | public void setData(String data) { 13 | this.data = data; 14 | } 15 | 16 | public int getIndex() { 17 | return index; 18 | } 19 | 20 | public void setIndex(int index) { 21 | this.index = index; 22 | } 23 | 24 | public String getOther() { 25 | return other; 26 | } 27 | 28 | public void setOther(String other) { 29 | this.other = other; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /native_complexdata/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /native_complexdata/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_complexdata/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_complexdata/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_complexdata/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_complexdata/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_complexdata/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_complexdata/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_complexdata/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_complexdata/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_complexdata/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_complexdata/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_complexdata/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Native_ComplexData 3 | 4 | -------------------------------------------------------------------------------- /native_complexdata/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_complexdata/src/test/java/org/arguslab/native_complexdata/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_complexdata; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_complexdata_stringop/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_complexdata_stringop/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(data SHARED 4 | src/main/jni/data.cpp) 5 | 6 | target_link_libraries(data 7 | android 8 | log) -------------------------------------------------------------------------------- /native_complexdata_stringop/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/java/org/arguslab/native_complexdata_stringop/ComplexData.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_complexdata_stringop; 2 | 3 | public class ComplexData { 4 | private String data; 5 | private int index; 6 | private String other; 7 | 8 | public String getData() { 9 | return data; 10 | } 11 | 12 | public void setData(String data) { 13 | this.data = data; 14 | } 15 | 16 | public int getIndex() { 17 | return index; 18 | } 19 | 20 | public void setIndex(int index) { 21 | this.index = index; 22 | } 23 | 24 | public String getOther() { 25 | return other; 26 | } 27 | 28 | public void setOther(String other) { 29 | this.other = other; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata_stringop/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata_stringop/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata_stringop/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata_stringop/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata_stringop/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata_stringop/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata_stringop/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata_stringop/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata_stringop/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_complexdata_stringop/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_complexdata_stringop 3 | 4 | -------------------------------------------------------------------------------- /native_complexdata_stringop/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /native_complexdata_stringop/src/test/java/org/arguslab/native_complexdata_stringop/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_complexdata_stringop; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_dynamic_register_multiple/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_dynamic_register_multiple/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(dynamic_register_multiple SHARED 4 | src/main/jni/dynamic_register_multiple.cpp) 5 | 6 | target_link_libraries(dynamic_register_multiple 7 | android 8 | log) -------------------------------------------------------------------------------- /native_dynamic_register_multiple/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_dynamic_register_multiple/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_dynamic_register_multiple/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_dynamic_register_multiple/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_dynamic_register_multiple/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_dynamic_register_multiple/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_dynamic_register_multiple/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_dynamic_register_multiple/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_dynamic_register_multiple/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_dynamic_register_multiple/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_dynamic_register_multiple/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_dynamic_register_multiple 3 | 4 | -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_dynamic_register_multiple/src/test/java/org/arguslab/native_dynamic_register_multiple/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_dynamic_register_multiple; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_heap_modify/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_heap_modify/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(heap_modify SHARED 4 | src/main/jni/heap_modify.cpp) 5 | 6 | target_link_libraries(heap_modify 7 | android 8 | log) -------------------------------------------------------------------------------- /native_heap_modify/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_heap_modify/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /native_heap_modify/src/main/java/org/arguslab/native_heap_modify/Data.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_heap_modify; 2 | 3 | /** 4 | * Created by fgwei on 3/4/18. 5 | */ 6 | 7 | public class Data { 8 | String str; 9 | } 10 | -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_heap_modify/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_heap_modify/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_heap_modify/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_heap_modify/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_heap_modify/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_heap_modify/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_heap_modify/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_heap_modify/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_heap_modify/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_heap_modify/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_heap_modify 3 | 4 | -------------------------------------------------------------------------------- /native_heap_modify/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /native_heap_modify/src/test/java/org/arguslab/native_heap_modify/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_heap_modify; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_leak/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_leak/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(leak SHARED 4 | src/main/jni/leak.cpp) 5 | 6 | target_link_libraries(leak 7 | android 8 | log) -------------------------------------------------------------------------------- /native_leak/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /native_leak/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /native_leak/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_leak/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Native_Leak 3 | 4 | -------------------------------------------------------------------------------- /native_leak/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_leak/src/test/java/org/arguslab/native_leak/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_leak; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_leak_array/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_leak_array/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(leak_array SHARED 4 | src/main/jni/leak_array.cpp) 5 | 6 | # Include libraries needed for hello-jni lib 7 | target_link_libraries(leak_array 8 | android 9 | log) -------------------------------------------------------------------------------- /native_leak_array/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_leak_array/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /native_leak_array/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_array/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_array/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_array/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_array/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_array/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_array/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_array/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_array/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_array/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak_array/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_array/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak_array/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_leak_array/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_leak_array 3 | 4 | -------------------------------------------------------------------------------- /native_leak_array/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_leak_array/src/test/java/org/arguslab/native_leak_array/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_leak_array; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_leak_dynamic_register/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_leak_dynamic_register/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(leak_dynamic_register SHARED 4 | src/main/jni/leak_dynamic_register.cpp) 5 | 6 | target_link_libraries(leak_dynamic_register 7 | android 8 | log) -------------------------------------------------------------------------------- /native_leak_dynamic_register/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_dynamic_register/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_dynamic_register/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_dynamic_register/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_dynamic_register/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_dynamic_register/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_dynamic_register/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_dynamic_register/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_dynamic_register/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_dynamic_register/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_leak_dynamic_register/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_leak_dynamic_register 3 | 4 | -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_leak_dynamic_register/src/test/java/org/arguslab/native_leak_dynamic_register/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_leak_dynamic_register; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_method_overloading/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_method_overloading/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(method_overloading SHARED 4 | src/main/jni/method_overloading.cpp) 5 | 6 | target_link_libraries(method_overloading 7 | android 8 | log) -------------------------------------------------------------------------------- /native_method_overloading/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_method_overloading/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_method_overloading/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_method_overloading/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_method_overloading/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_method_overloading/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_method_overloading/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_method_overloading/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_method_overloading/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_method_overloading/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_method_overloading/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_method_overloading 3 | 4 | -------------------------------------------------------------------------------- /native_method_overloading/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_method_overloading/src/test/java/org/arguslab/native_method_overloading/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_method_overloading; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_multiple_interactions/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_multiple_interactions/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(multiple_interactions SHARED 4 | src/main/jni/multiple_interactions.cpp) 5 | 6 | target_link_libraries(multiple_interactions 7 | android 8 | log) -------------------------------------------------------------------------------- /native_multiple_interactions/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/java/org/arguslab/native_multiple_interactions/Data.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_multiple_interactions; 2 | 3 | public class Data { 4 | String str; 5 | } 6 | -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_interactions/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_interactions/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_interactions/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_interactions/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_interactions/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_interactions/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_interactions/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_interactions/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_interactions/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_interactions/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_multiple_interactions 3 | 4 | -------------------------------------------------------------------------------- /native_multiple_interactions/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_multiple_interactions/src/test/java/org/arguslab/native_multiple_interactions/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_multiple_interactions; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_multiple_libraries/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_multiple_libraries/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(master SHARED 4 | src/main/jni/master.cpp) 5 | 6 | add_library(foo SHARED 7 | src/main/jni/foo.cpp) 8 | 9 | target_link_libraries(master 10 | android 11 | log) 12 | 13 | target_link_libraries(foo 14 | android 15 | log) -------------------------------------------------------------------------------- /native_multiple_libraries/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_libraries/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_libraries/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_libraries/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_libraries/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_libraries/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_libraries/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_libraries/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_libraries/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_libraries/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_multiple_libraries/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_multiple_libraries 3 | 4 | -------------------------------------------------------------------------------- /native_multiple_libraries/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_multiple_libraries/src/test/java/org/arguslab/native_multiple_libraries/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_multiple_libraries; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_noleak/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_noleak/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(noleak SHARED 4 | src/main/jni/noleak.cpp) 5 | 6 | # Include libraries needed for hello-jni lib 7 | target_link_libraries(noleak 8 | android 9 | log) -------------------------------------------------------------------------------- /native_noleak/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /native_noleak/src/main/jni/noleak.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Fengguo Wei on 3/5/17. 3 | // 4 | 5 | #include 6 | #include 7 | 8 | 9 | #define LOG_TAG "noleak" 10 | #define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__) 11 | #define LOGE(...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__) 12 | #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__) 13 | 14 | extern "C" { 15 | JNIEXPORT void JNICALL 16 | Java_org_arguslab_native_1noleak_MainActivity_send(JNIEnv *env, jobject thisObj, jstring data); 17 | } 18 | 19 | JNIEXPORT void JNICALL 20 | Java_org_arguslab_native_1noleak_MainActivity_send(JNIEnv *env, jobject thisObj, jstring data) { 21 | LOGI("some data"); 22 | return; 23 | } -------------------------------------------------------------------------------- /native_noleak/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /native_noleak/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_noleak/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_noleak/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_noleak/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_noleak/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_noleak/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_noleak/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_noleak/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_noleak/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_noleak/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_noleak/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_noleak/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Native_Noleak 3 | 4 | -------------------------------------------------------------------------------- /native_noleak/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_noleak/src/test/java/org/arguslab/native_noleak/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_noleak; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_noleak_array/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_noleak_array/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(noleak_array SHARED 4 | src/main/jni/noleak_array.cpp) 5 | 6 | # Include libraries needed for hello-jni lib 7 | target_link_libraries(noleak_array 8 | android 9 | log) -------------------------------------------------------------------------------- /native_noleak_array/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_noleak_array/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak_array/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak_array/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak_array/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak_array/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak_array/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak_array/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak_array/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak_array/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak_array/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_noleak_array/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_noleak_array 3 | 4 | -------------------------------------------------------------------------------- /native_noleak_array/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /native_noleak_array/src/test/java/org/arguslab/native_noleak_array/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_noleak_array; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_nosource/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_nosource/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(nosource SHARED 4 | src/main/jni/nosource.cpp) 5 | 6 | target_link_libraries(nosource 7 | android 8 | log) -------------------------------------------------------------------------------- /native_nosource/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_nosource/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /native_nosource/src/main/jni/nosource.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Xingwei Lin on 7/5/18. 3 | // 4 | 5 | #include 6 | 7 | extern "C" { 8 | JNIEXPORT jstring JNICALL 9 | Java_org_arguslab_native_1nosource_MainActivity_getData(JNIEnv *env, jobject thisObj); 10 | 11 | } 12 | 13 | JNIEXPORT jstring JNICALL 14 | Java_org_arguslab_native_1nosource_MainActivity_getData(JNIEnv *env, jobject thisObj) { 15 | jstring nosource = env->NewStringUTF("NO SOURCE"); 16 | return nosource; 17 | } -------------------------------------------------------------------------------- /native_nosource/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_nosource/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_nosource/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_nosource/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_nosource/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_nosource/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_nosource/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_nosource/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_nosource/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_nosource/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_nosource/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_nosource/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_nosource/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_nosource/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_nosource 3 | 4 | -------------------------------------------------------------------------------- /native_nosource/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_nosource/src/test/java/org/arguslab/native_nosource/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_nosource; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_pure/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_pure/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | # build native_app_glue as a static lib 4 | add_library(app-glue STATIC 5 | ${ANDROID_NDK}/sources/android/native_app_glue/android_native_app_glue.c) 6 | 7 | # now build app's shared lib 8 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") 9 | 10 | add_library(native-activity SHARED 11 | src/main/jni/main.cpp) 12 | 13 | target_include_directories(native-activity PRIVATE 14 | ${ANDROID_NDK}/sources/android/native_app_glue) 15 | 16 | # add lib dependencies 17 | target_link_libraries(native-activity 18 | android 19 | app-glue 20 | EGL 21 | GLESv1_CM 22 | log) -------------------------------------------------------------------------------- /native_pure/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_pure/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Native_Pure 3 | 4 | -------------------------------------------------------------------------------- /native_pure/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /native_pure/src/test/java/org/arguslab/native_pure/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_pure; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_pure_direct/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Native_Pure_Direct 3 | 4 | -------------------------------------------------------------------------------- /native_pure_direct/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /native_pure_direct/src/test/java/org/arguslab/native_pure_direct/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_pure_direct; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_pure_direct_customized/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_pure_direct_customized/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct_customized/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct_customized/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct_customized/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct_customized/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct_customized/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct_customized/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct_customized/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct_customized/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct_customized/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_pure_direct_customized/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_pure_direct_customized 3 | 4 | -------------------------------------------------------------------------------- /native_pure_direct_customized/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_pure_direct_customized/src/test/java/org/arguslab/native_pure_direct_customized/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_pure_direct_customized; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_set_field_from_arg/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_set_field_from_arg/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(set_field_from_arg SHARED 4 | src/main/jni/set_field_from_arg.cpp) 5 | 6 | target_link_libraries(set_field_from_arg 7 | android 8 | log) -------------------------------------------------------------------------------- /native_set_field_from_arg/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_set_field_from_arg/release/output.json: -------------------------------------------------------------------------------- 1 | [{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1},"path":"native_pure_direct-release.apk","properties":{"packageId":"org.arguslab.native_pure_direct","split":"","minSdkVersion":"23"}}] -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/java/org/arguslab/native_set_field_from_arg/ComplexData.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_set_field_from_arg; 2 | 3 | /** 4 | * Created by Xingwei Lin 14/01/2018. 5 | */ 6 | 7 | public class ComplexData { 8 | private int index; 9 | private String data; 10 | private Foo foo; 11 | 12 | public int getIndex() { 13 | return index; 14 | } 15 | 16 | public void setIndex(int index) { 17 | this.index = index; 18 | } 19 | 20 | public String getData() { 21 | return data; 22 | } 23 | 24 | public void setData(String data) { 25 | this.data = data; 26 | } 27 | 28 | public Foo getFoo() { 29 | return foo; 30 | } 31 | 32 | public void setFoo(Foo foo) { 33 | this.foo = foo; 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/java/org/arguslab/native_set_field_from_arg/Foo.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_set_field_from_arg; 2 | 3 | /** 4 | * Created by Xingwei Lin on 15/01/2018. 5 | */ 6 | 7 | public class Foo { 8 | private int index; 9 | private String data; 10 | 11 | public int getIndex() { 12 | return index; 13 | } 14 | 15 | public void setIndex(int index) { 16 | this.index = index; 17 | } 18 | 19 | public String getData() { 20 | return data; 21 | } 22 | 23 | public void setData(String data) { 24 | this.data = data; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Summary_Based_Bench 3 | 4 | -------------------------------------------------------------------------------- /native_set_field_from_arg/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_set_field_from_arg/src/test/java/org/arguslab/native_set_field_from_arg/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_set_field_from_arg; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_set_field_from_arg_field/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_set_field_from_arg_field/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(set_field_from_arg_field SHARED 4 | src/main/jni/set_field_from_arg_field.cpp) 5 | 6 | target_link_libraries(set_field_from_arg_field 7 | android 8 | log) -------------------------------------------------------------------------------- /native_set_field_from_arg_field/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/java/org/arguslab/native_set_field_from_arg_field/ComplexData.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_set_field_from_arg_field; 2 | 3 | /** 4 | * Created by Xingwei Lin 14/01/2018. 5 | */ 6 | 7 | public class ComplexData { 8 | private int index; 9 | private String data; 10 | private Foo foo; 11 | 12 | public int getIndex() { 13 | return index; 14 | } 15 | 16 | public void setIndex(int index) { 17 | this.index = index; 18 | } 19 | 20 | public String getData() { 21 | return data; 22 | } 23 | 24 | public void setData(String data) { 25 | this.data = data; 26 | } 27 | 28 | public Foo getFoo() { 29 | return foo; 30 | } 31 | 32 | public void setFoo(Foo foo) { 33 | this.foo = foo; 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/java/org/arguslab/native_set_field_from_arg_field/Foo.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_set_field_from_arg_field; 2 | 3 | /** 4 | * Created by Xingwei Lin on 15/01/2018. 5 | */ 6 | 7 | public class Foo { 8 | private int index; 9 | private String data; 10 | 11 | public int getIndex() { 12 | return index; 13 | } 14 | 15 | public void setIndex(int index) { 16 | this.index = index; 17 | } 18 | 19 | public String getData() { 20 | return data; 21 | } 22 | 23 | public void setData(String data) { 24 | this.data = data; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg_field/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg_field/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg_field/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg_field/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg_field/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg_field/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg_field/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg_field/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg_field/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_arg_field/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_set_field_from_arg_field 3 | 4 | -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_set_field_from_arg_field/src/test/java/org/arguslab/native_set_field_from_arg_field/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_set_field_from_arg_field; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_set_field_from_native/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_set_field_from_native/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(set_field_from_native SHARED 4 | src/main/jni/set_field_from_native.cpp) 5 | 6 | target_link_libraries(set_field_from_native 7 | android 8 | log) -------------------------------------------------------------------------------- /native_set_field_from_native/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/java/org/arguslab/native_set_field_from_native/ComplexData.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_set_field_from_native; 2 | 3 | /** 4 | * Created by Xingwei Lin 1/14/2018. 5 | */ 6 | 7 | public class ComplexData { 8 | private int index; 9 | private String data; 10 | private Foo foo; 11 | 12 | public int getIndex() { 13 | return index; 14 | } 15 | 16 | public void setIndex(int index) { 17 | this.index = index; 18 | } 19 | 20 | public String getData() { 21 | return data; 22 | } 23 | 24 | public void setData(String data) { 25 | this.data = data; 26 | } 27 | 28 | public Foo getFoo() { 29 | return foo; 30 | } 31 | 32 | public void setFoo(Foo foo) { 33 | this.foo = foo; 34 | } 35 | } 36 | 37 | -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/java/org/arguslab/native_set_field_from_native/Foo.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_set_field_from_native; 2 | 3 | /** 4 | * Created by Xingwei Lin on 1/15/2018. 5 | */ 6 | 7 | public class Foo { 8 | private int index; 9 | private String data; 10 | 11 | public int getIndex() { 12 | return index; 13 | } 14 | 15 | public void setIndex(int index) { 16 | this.index = index; 17 | } 18 | 19 | public String getData() { 20 | return data; 21 | } 22 | 23 | public void setData(String data) { 24 | this.data = data; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_native/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_native/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_native/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_native/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_native/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_native/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_native/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_native/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_native/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_set_field_from_native/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_set_field_from_native 3 | 4 | -------------------------------------------------------------------------------- /native_set_field_from_native/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_set_field_from_native/src/test/java/org/arguslab/native_set_field_from_native/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_set_field_from_native; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_source/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_source/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(source SHARED 4 | src/main/jni/source.cpp) 5 | 6 | target_link_libraries(source 7 | android 8 | log) -------------------------------------------------------------------------------- /native_source/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_source/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /native_source/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_source/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_source/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_source/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_source 3 | 4 | -------------------------------------------------------------------------------- /native_source/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /native_source/src/test/java/org/arguslab/native_source/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_source; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /native_source_clean/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /native_source_clean/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.4.1) 2 | 3 | add_library(source_clean SHARED 4 | src/main/jni/source_clean.cpp) 5 | 6 | target_link_libraries(source_clean 7 | android 8 | log) -------------------------------------------------------------------------------- /native_source_clean/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /native_source_clean/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /native_source_clean/src/main/java/org/arguslab/native_source_clean/ComplexData.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_source_clean; 2 | 3 | public class ComplexData { 4 | private String data; 5 | private int index; 6 | private String ohter; 7 | 8 | public String getData() { 9 | return data; 10 | } 11 | 12 | public void setData(String data) { 13 | this.data = data; 14 | } 15 | 16 | public int getIndex() { 17 | return index; 18 | } 19 | 20 | public void setIndex(int index) { 21 | this.index = index; 22 | } 23 | 24 | public String getOhter() { 25 | return ohter; 26 | } 27 | 28 | public void setOhter(String ohter) { 29 | this.ohter = ohter; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /native_source_clean/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source_clean/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source_clean/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source_clean/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source_clean/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source_clean/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source_clean/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source_clean/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source_clean/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source_clean/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /native_source_clean/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arguslab/NativeFlowBench/b92ad62a9a66a24461c043fc248f39a3a3cc1ebb/native_source_clean/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /native_source_clean/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /native_source_clean/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | native_source_clean 3 | 4 | -------------------------------------------------------------------------------- /native_source_clean/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /native_source_clean/src/test/java/org/arguslab/native_source_clean/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package org.arguslab.native_source_clean; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':native_noleak', ':native_leak', ':native_pure', ':icc_javatonative', ':icc_nativetojava', ':native_complexdata', ':native_pure_direct', ':native_leak_dynamic_register', ':native_set_field_from_arg', ':native_heap_modify', ':native_source', ':native_set_field_from_arg_field', ':native_set_field_from_native', ':native_method_overloading', ':native_dynamic_register_multiple', ':native_multiple_libraries', ':native_pure_direct_customized', ':native_multiple_interactions', ':native_source_clean', ':native_nosource', ':native_noleak_array', ':native_complexdata_stringop', ':native_leak_array' --------------------------------------------------------------------------------