Lines Matching refs:aapt2Flags
656 aapt2Flags := aapt2link.Args["flags"]
658 android.AssertStringDoesContain(t, "asset flag", aapt2Flags, test.assetFlag)
660 android.AssertStringDoesNotContain(t, "aapt2 link flags", aapt2Flags, " -A ")
1780 aapt2Flags := res.Args["flags"]
1782 if !strings.Contains(aapt2Flags, e) {
1783 t.Errorf("target package renaming flag, %q is missing in aapt2 link flags, %q", e, aapt2Flags)
1958 aapt2Flags := res.Args["flags"]
1959 checkAapt2LinkFlag(t, aapt2Flags, "rename-manifest-package", expected.packageFlag)
1964 checkAapt2LinkFlag(t, aapt2Flags, "rename-resources-package", expectedPackage)
2088 aapt2Flags := res.Args["flags"]
2089 checkAapt2LinkFlag(t, aapt2Flags, "rename-manifest-package", expected.packageFlag)
2090 checkAapt2LinkFlag(t, aapt2Flags, "rename-resources-package", expected.packageFlag)
2091 …checkAapt2LinkFlag(t, aapt2Flags, "rename-instrumentation-target-package", expected.targetPackageF…
2651 aapt2Flags := res.Args["flags"]
2653 android.AssertStringDoesContain(t, "expected.apkPath", aapt2Flags, e)
2658 aapt2Flags = res.Args["flags"]
2660 …id.AssertStringDoesNotContain(t, "bar shouldn't have the asset dir flag for NOTICE", aapt2Flags, e)
2665 aapt2Flags = res.Args["flags"]
2667 if strings.Contains(aapt2Flags, e) {
2782 func checkAapt2LinkFlag(t *testing.T, aapt2Flags, flagName, expectedValue string) { argument
2785 if !strings.Contains(aapt2Flags, expectedFlag) {
2786 t.Errorf("%q is missing in aapt2 link flags, %q", expectedFlag, aapt2Flags)
2790 if strings.Contains(aapt2Flags, unexpectedFlag) {
2791 t.Errorf("unexpected flag, %q is found in aapt2 link flags, %q", unexpectedFlag, aapt2Flags)