Loading core/build_id.mk +1 −1 Original line number Diff line number Diff line Loading @@ -18,4 +18,4 @@ # (like "CRB01"). It must be a single word, and is # capitalized by convention. BUILD_ID=RM1A.200528.001 BUILD_ID=RM1A.200529.001 core/instrumentation_test_config_template.xml +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ <configuration description="Runs {LABEL}."> <option name="test-suite-tag" value="apct" /> <option name="test-suite-tag" value="apct-instrumentation" /> {EXTRA_CONFIGS} <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> <option name="cleanup-apks" value="true" /> <option name="test-file-name" value="{MODULE}.apk" /> Loading target/product/gsi/30.txt +2 −2 Original line number Diff line number Diff line Loading @@ -150,11 +150,11 @@ VNDK-core: android.hardware.health.storage@1.0.so VNDK-core: android.hardware.health@1.0.so VNDK-core: android.hardware.health@2.0.so VNDK-core: android.hardware.health@2.1.so VNDK-core: android.hardware.identity-V1-ndk_platform.so VNDK-core: android.hardware.identity-V2-ndk_platform.so VNDK-core: android.hardware.input.classifier@1.0.so VNDK-core: android.hardware.input.common@1.0.so VNDK-core: android.hardware.ir@1.0.so VNDK-core: android.hardware.keymaster-V1-ndk_platform.so VNDK-core: android.hardware.keymaster-V2-ndk_platform.so VNDK-core: android.hardware.keymaster@3.0.so VNDK-core: android.hardware.keymaster@4.0.so VNDK-core: android.hardware.keymaster@4.1.so Loading target/product/gsi/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -150,11 +150,11 @@ VNDK-core: android.hardware.health.storage@1.0.so VNDK-core: android.hardware.health@1.0.so VNDK-core: android.hardware.health@2.0.so VNDK-core: android.hardware.health@2.1.so VNDK-core: android.hardware.identity-V1-ndk_platform.so VNDK-core: android.hardware.identity-V2-ndk_platform.so VNDK-core: android.hardware.input.classifier@1.0.so VNDK-core: android.hardware.input.common@1.0.so VNDK-core: android.hardware.ir@1.0.so VNDK-core: android.hardware.keymaster-V1-ndk_platform.so VNDK-core: android.hardware.keymaster-V2-ndk_platform.so VNDK-core: android.hardware.keymaster@3.0.so VNDK-core: android.hardware.keymaster@4.0.so VNDK-core: android.hardware.keymaster@4.1.so Loading tools/auto_gen_test_config.py +9 −3 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ ATTRIBUTE_RUNNER = 'android:name' ATTRIBUTE_PACKAGE = 'package' PLACEHOLDER_LABEL = '{LABEL}' PLACEHOLDER_EXTRA_CONFIGS = '{EXTRA_CONFIGS}' PLACEHOLDER_MODULE = '{MODULE}' PLACEHOLDER_PACKAGE = '{PACKAGE}' PLACEHOLDER_RUNNER = '{RUNNER}' Loading @@ -41,16 +42,20 @@ def main(argv): Returns: 0 if no error, otherwise 1. """ if len(argv) != 4: if len(argv) != 4 and len(argv) != 6: sys.stderr.write( 'Invalid arguements. The script requires 4 arguments for file paths: ' 'Invalid arguments. The script requires 4 arguments for file paths: ' 'target_config android_manifest empty_config ' 'instrumentation_test_config_template.\n') 'instrumentation_test_config_template ' 'and 2 optional arguments for extra configs: ' '--extra-configs \'EXTRA_CONFIGS\'.\n') return 1 target_config = argv[0] android_manifest = argv[1] empty_config = argv[2] instrumentation_test_config_template = argv[3] extra_configs = '\n'.join(argv[5].split('\\n')) if len(argv) == 6 else '' manifest = parse(android_manifest) instrumentation_elements = manifest.getElementsByTagName('instrumentation') Loading Loading @@ -80,6 +85,7 @@ def main(argv): config = config.replace(PLACEHOLDER_MODULE, module) config = config.replace(PLACEHOLDER_PACKAGE, package) config = config.replace(PLACEHOLDER_TEST_TYPE, test_type) config = config.replace(PLACEHOLDER_EXTRA_CONFIGS, extra_configs) config = config.replace(PLACEHOLDER_RUNNER, runner) with open(target_config, 'w') as config_file: config_file.write(config) Loading Loading
core/build_id.mk +1 −1 Original line number Diff line number Diff line Loading @@ -18,4 +18,4 @@ # (like "CRB01"). It must be a single word, and is # capitalized by convention. BUILD_ID=RM1A.200528.001 BUILD_ID=RM1A.200529.001
core/instrumentation_test_config_template.xml +1 −0 Original line number Diff line number Diff line Loading @@ -17,6 +17,7 @@ <configuration description="Runs {LABEL}."> <option name="test-suite-tag" value="apct" /> <option name="test-suite-tag" value="apct-instrumentation" /> {EXTRA_CONFIGS} <target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller"> <option name="cleanup-apks" value="true" /> <option name="test-file-name" value="{MODULE}.apk" /> Loading
target/product/gsi/30.txt +2 −2 Original line number Diff line number Diff line Loading @@ -150,11 +150,11 @@ VNDK-core: android.hardware.health.storage@1.0.so VNDK-core: android.hardware.health@1.0.so VNDK-core: android.hardware.health@2.0.so VNDK-core: android.hardware.health@2.1.so VNDK-core: android.hardware.identity-V1-ndk_platform.so VNDK-core: android.hardware.identity-V2-ndk_platform.so VNDK-core: android.hardware.input.classifier@1.0.so VNDK-core: android.hardware.input.common@1.0.so VNDK-core: android.hardware.ir@1.0.so VNDK-core: android.hardware.keymaster-V1-ndk_platform.so VNDK-core: android.hardware.keymaster-V2-ndk_platform.so VNDK-core: android.hardware.keymaster@3.0.so VNDK-core: android.hardware.keymaster@4.0.so VNDK-core: android.hardware.keymaster@4.1.so Loading
target/product/gsi/current.txt +2 −2 Original line number Diff line number Diff line Loading @@ -150,11 +150,11 @@ VNDK-core: android.hardware.health.storage@1.0.so VNDK-core: android.hardware.health@1.0.so VNDK-core: android.hardware.health@2.0.so VNDK-core: android.hardware.health@2.1.so VNDK-core: android.hardware.identity-V1-ndk_platform.so VNDK-core: android.hardware.identity-V2-ndk_platform.so VNDK-core: android.hardware.input.classifier@1.0.so VNDK-core: android.hardware.input.common@1.0.so VNDK-core: android.hardware.ir@1.0.so VNDK-core: android.hardware.keymaster-V1-ndk_platform.so VNDK-core: android.hardware.keymaster-V2-ndk_platform.so VNDK-core: android.hardware.keymaster@3.0.so VNDK-core: android.hardware.keymaster@4.0.so VNDK-core: android.hardware.keymaster@4.1.so Loading
tools/auto_gen_test_config.py +9 −3 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ ATTRIBUTE_RUNNER = 'android:name' ATTRIBUTE_PACKAGE = 'package' PLACEHOLDER_LABEL = '{LABEL}' PLACEHOLDER_EXTRA_CONFIGS = '{EXTRA_CONFIGS}' PLACEHOLDER_MODULE = '{MODULE}' PLACEHOLDER_PACKAGE = '{PACKAGE}' PLACEHOLDER_RUNNER = '{RUNNER}' Loading @@ -41,16 +42,20 @@ def main(argv): Returns: 0 if no error, otherwise 1. """ if len(argv) != 4: if len(argv) != 4 and len(argv) != 6: sys.stderr.write( 'Invalid arguements. The script requires 4 arguments for file paths: ' 'Invalid arguments. The script requires 4 arguments for file paths: ' 'target_config android_manifest empty_config ' 'instrumentation_test_config_template.\n') 'instrumentation_test_config_template ' 'and 2 optional arguments for extra configs: ' '--extra-configs \'EXTRA_CONFIGS\'.\n') return 1 target_config = argv[0] android_manifest = argv[1] empty_config = argv[2] instrumentation_test_config_template = argv[3] extra_configs = '\n'.join(argv[5].split('\\n')) if len(argv) == 6 else '' manifest = parse(android_manifest) instrumentation_elements = manifest.getElementsByTagName('instrumentation') Loading Loading @@ -80,6 +85,7 @@ def main(argv): config = config.replace(PLACEHOLDER_MODULE, module) config = config.replace(PLACEHOLDER_PACKAGE, package) config = config.replace(PLACEHOLDER_TEST_TYPE, test_type) config = config.replace(PLACEHOLDER_EXTRA_CONFIGS, extra_configs) config = config.replace(PLACEHOLDER_RUNNER, runner) with open(target_config, 'w') as config_file: config_file.write(config) Loading