Lines Matching refs:ensureContains
290 func ensureContains(t *testing.T, result string, expected string) { func
510 ensureContains(t, androidMk, "LOCAL_MODULE := mylib.myapex\n")
514 ensureContains(t, optFlags, "--pubkey vendor/foo/devkeys/testkey.avbpubkey")
516 …ensureContains(t, optFlags, "--assets_dir "+buildDir+"/.intermediates/myapex/android_common_myapex…
521 ensureContains(t, apexRule.Output.String(), "myapex.apex.unsigned")
533 ensureContains(t, copyCmds, "image.apex/lib64/mylib.so")
534 ensureContains(t, copyCmds, "image.apex/lib64/mylib2.so")
535 ensureContains(t, copyCmds, "image.apex/javalib/myjar_stem.jar")
536 ensureContains(t, copyCmds, "image.apex/javalib/myjar_dex.jar")
716 ensureContains(t, zipApexRule.Output.String(), "myapex.zipapex.unsigned")
725 ensureContains(t, copyCmds, "image.zipapex/lib64/mylib.so")
726 ensureContains(t, copyCmds, "image.zipapex/lib64/mylib2.so")
788 ensureContains(t, copyCmds, "image.apex/lib64/mylib.so")
794 ensureContains(t, copyCmds, "image.apex/lib64/mylib3.so")
799 ensureContains(t, mylibLdFlags, "mylib2/android_arm64_armv8-a_shared_3/mylib2.so")
804 ensureContains(t, mylibLdFlags, "mylib3/android_arm64_armv8-a_shared_myapex/mylib3.so")
813 …ensureContains(t, "--apex", ctx.ModuleForTests("mylib2", "android_arm64_armv8-a_static_3").Rule("g…
878 ensureContains(t, copyCmds, "image.apex/lib64/mylib.so")
889 ensureContains(t, mylibLdFlags, "libfoo/android_arm64_armv8-a_shared_10/libfoo.so")
964 ensureContains(t, copyCmds, "image.apex/lib64/mylib.so")
970 ensureContains(t, copyCmds, "image.apex/lib64/libbar.so")
1034 …ensureContains(t, installed.Output.String(), "/system/lib64/bootstrap/libclang_rt.hwasan-aarch64-a…
1038 ensureContains(t, symlink.Output.String(), "/system/lib64/libclang_rt.hwasan-aarch64-android.so")
1095 …ensureContains(t, installed.Output.String(), "/system/lib64/bootstrap/libclang_rt.hwasan-aarch64-a…
1099 ensureContains(t, symlink.Output.String(), "/system/lib64/libclang_rt.hwasan-aarch64-android.so")
1177 …ensureContains(t, mylibLdFlags, "libbar.llndk/android_vendor.VER_arm64_armv8-a_shared_"+tc.shouldL…
1183 ensureContains(t, mylibCFlags, "__LIBBAR_API__="+tc.shouldLink)
1230 ensureContains(t, copyCmds, "image.apex/lib64/mylib.so")
1231 ensureContains(t, copyCmds, "image.apex/lib64/bionic/libm.so")
1232 ensureContains(t, copyCmds, "image.apex/lib64/bionic/libdl.so")
1243 ensureContains(t, mylibLdFlags, "libc/android_arm64_armv8-a_shared_29/libc.so")
1247 ensureContains(t, mylibCFlags, "__LIBC_API__=29")
1248 ensureContains(t, mylibSharedCFlags, "__LIBC_API__=29")
1252 ensureContains(t, mylibLdFlags, "libm/android_arm64_armv8-a_shared_myapex/libm.so")
1261 ensureContains(t, mylibLdFlags, "libdl/android_arm64_armv8-a_shared_27/libdl.so")
1268 ensureContains(t, mylibCFlags, "__LIBDL_API__=27")
1269 ensureContains(t, mylibSharedCFlags, "__LIBDL_API__=27")
1273 ensureContains(t, libFlags, "libc/android_arm64_armv8-a_shared/libc.so")
1274 ensureContains(t, libFlags, "libm/android_arm64_armv8-a_shared/libm.so")
1275 ensureContains(t, libFlags, "libdl/android_arm64_armv8-a_shared/libdl.so")
1346 ensureContains(t, ldArgs, "android_arm64_armv8-a_"+to_variant+"/"+to+".so")
1402 ensureContains(t, ldArgs, "android_arm64_armv8-a_"+to_variant+"/"+to+".so")
1453 ensureContains(t, ldArgs, "android_arm64_armv8-a_"+to_variant+"/"+to+".so")
1498 ensureContains(t, ldArgs, "android_arm64_armv8-a_"+to_variant+"/"+to+".so")
1543 ensureContains(t, libFlags, "android_arm64_armv8-a_"+to_variant+"/"+to+".so")
1931 ensureContains(t, libFlags, "android_arm64_armv8-a_"+to_variant+"/"+to+".so")
2103 ensureContains(t, inputsString, "android_vendor.VER_arm64_armv8-a_shared_myapex/mylib.so")
2104 ensureContains(t, inputsString, "android_vendor.VER_arm64_armv8-a_shared_myapex/mylib2.so")
2205 ensureContains(t, androidMk, `LOCAL_MODULE_PATH := /tmp/target/product/test_device/vendor/apex`)
2296 ensureContains(t, androidMk, "LOCAL_REQUIRED_MODULES += libc libm libdl\n")
2327 ensureContains(t, androidMk, "LOCAL_REQUIRED_MODULES += libc.vendor libm.vendor libdl.vendor\n")
2355 ensureContains(t, androidMk, "LOCAL_VINTF_FRAGMENTS := fragment.xml\n")
2356 ensureContains(t, androidMk, "LOCAL_INIT_RC := init.rc\n")
2400 ensureContains(t, ldFlags, "mylib/android_arm64_armv8-a_static/mylib.a")
2641 ensureContains(t, mylibCFlags, "-D__ANDROID_APEX__")
2642 ensureContains(t, mylibCFlags, "-D__ANDROID_SDK_VERSION__=10000")
2647 ensureContains(t, mylibCFlags, "-D__ANDROID_APEX__")
2648 ensureContains(t, mylibCFlags, "-D__ANDROID_SDK_VERSION__=29")
2660 ensureContains(t, mylibCFlags, "-D__ANDROID_APEX__")
2661 ensureContains(t, mylibCFlags, "-D__ANDROID_APEX_MYAPEX__")
2666 ensureContains(t, mylibCFlags, "-D__ANDROID_APEX__")
2668 ensureContains(t, mylibCFlags, "-D__ANDROID_APEX_OTHERAPEX__")
2723 ensureContains(t, cFlags, "-Imy_include")
3398 ensureContains(t, apexManifestRule.Args["opt"], "-v name com.android.myapex")
3400 ensureContains(t, apexRule.Args["opt_flags"], "--do_not_check_keyname")
3409 ensureContains(t, androidMk, "LOCAL_MODULE := mylib.myapex\n")
3448 ensureContains(t, apexRule.Output.String(), "myapex.apex.unsigned")
3454 ensureContains(t, copyCmds, "image.apex/lib64/mylib_common.so")
3504 ensureContains(t, apexRule.Output.String(), "myapex.apex.unsigned")
3510 ensureContains(t, copyCmds, "image.apex/lib64/mylib_common_test.so")
3588 ensureContains(t, apexRule.Output.String(), "myapex.apex.unsigned")
3596 ensureContains(t, copyCmds, "image.apex/lib64/mylib.so")
3597 ensureContains(t, copyCmds, "image.apex/lib64/mylib_common.so")
3631 ensureContains(t, copyCmds, "image.apex/bin/script/myscript.sh")
3693 ensureContains(t, rule.RuleParams.Command, "cat system/sepolicy/apex/myapex-file_contexts")
3748 ensureContains(t, rule.RuleParams.Command, "cat product_specific_file_contexts")
3775 ensureContains(t, rule.RuleParams.Command, "cat product_specific_file_contexts")
3946 ensureContains(t, copyCmds, "image.apex/bin/test/mytest")
3947 ensureContains(t, copyCmds, "image.apex/lib64/mylib.so")
3950 ensureContains(t, copyCmds, "image.apex/bin/test/baz")
3951 ensureContains(t, copyCmds, "image.apex/bin/test/bar/baz")
3954 ensureContains(t, copyCmds, "image.apex/bin/test/mytest1")
3955 ensureContains(t, copyCmds, "image.apex/bin/test/mytest2")
3956 ensureContains(t, copyCmds, "image.apex/bin/test/mytest3")
3966 ensureContains(t, androidMk, "LOCAL_MODULE := mytest.myapex\n")
3967 ensureContains(t, androidMk, "LOCAL_MODULE := mytest1.myapex\n")
3968 ensureContains(t, androidMk, "LOCAL_MODULE := mytest2.myapex\n")
3969 ensureContains(t, androidMk, "LOCAL_MODULE := mytest3.myapex\n")
3970 ensureContains(t, androidMk, "LOCAL_MODULE := apex_manifest.pb.myapex\n")
3971 ensureContains(t, androidMk, "LOCAL_MODULE := apex_pubkey.myapex\n")
3972 ensureContains(t, androidMk, "LOCAL_MODULE := myapex\n")
4002 ensureContains(t, androidMk, "LOCAL_REQUIRED_MODULES += myapex.flattened")
4060 ensureContains(t, copyCmds1, "image.apex/lib64/mylib.so")
4061 ensureContains(t, copyCmds2, "image.apex/lib64/libcommon.so")
4236 ensureContains(t, copyCmds, "image.apex/app/AppFoo/AppFoo.apk")
4237 ensureContains(t, copyCmds, "image.apex/priv-app/AppFooPriv/AppFooPriv.apk")
4298 ensureContains(t, copyCmds, "image.apex/app/AppFooPrebuilt/AppFooPrebuilt.apk")
4299 ensureContains(t, copyCmds, "image.apex/priv-app/AppFooPrivPrebuilt/AwesomePrebuiltAppFooPriv.apk")
4371 ensureContains(t, copyCmds, "image.apex/app/TesterHelpAppFoo/TesterHelpAppFoo.apk")
4696 ensureContains(t, copyCmds, "image.apex/app/override_app/override_app.apk")
4709 ensureContains(t, optFlags, "--override_apk_package_name test.overridden.package")
4715 ensureContains(t, androidMk, "LOCAL_MODULE := override_app.override_myapex")
4716 ensureContains(t, androidMk, "LOCAL_MODULE := apex_manifest.pb.override_myapex")
4717 ensureContains(t, androidMk, "LOCAL_MODULE_STEM := override_myapex.apex")
4718 ensureContains(t, androidMk, "LOCAL_OVERRIDES_MODULES := unknownapex myapex")
4752 …ensureContains(t, args["opt_flags"], "--manifest_json "+module.Output("apex_manifest.json").Output…
4809 …ensureContains(t, sdkLibrary.RuleParams.Command, `<library name=\"foo\" file=\"/apex/myapex/javali…
5107 ensureContains(t, androidMk, "LOCAL_REQUIRED_MODULES += a b\n")
5108 ensureContains(t, androidMk, "LOCAL_HOST_REQUIRED_MODULES += c d\n")
5109 ensureContains(t, androidMk, "LOCAL_TARGET_REQUIRED_MODULES += e f\n")
5285 ensureContains(t, androidMk, "LOCAL_MODULE := mylib.myapex\n")
5289 …ensureContains(t, androidMk, "LOCAL_REQUIRED_MODULES += mylib.myapex myotherlib apex_manifest.pb.m…
5403 …ensureContains(t, content, `"compression":{"uncompressed_glob":["apex_payload.img","apex_manifest.…
5404 …ensureContains(t, content, `"apex_config":{"apex_embedded_apk_config":[{"package_name":"com.androi…
5428 …ensureContains(t, content, `"compression":{"uncompressed_glob":["apex_payload.img","apex_manifest.…
5728 ensureContains(t, ldFlags, "mylib/android_arm64_armv8-a_shared/mylib.so")
5846 …ensureContains(t, content, `name="myapex_set.apex" public_key="PRESIGNED" private_key="PRESIGNED" …
5847 …ensureContains(t, content, `name="myapex.apex" public_key="PRESIGNED" private_key="PRESIGNED" cont…