Lines Matching defs:T

56 func testApexError(t *testing.T, pattern, bp string, preparers ...android.FixturePreparer) {
66 func testApex(t *testing.T, bp string, preparers ...android.FixturePreparer) *android.TestContext {
215 func ensureEquals(t *testing.T, result string, expected string) {
223 func ensureContains(t *testing.T, result string, expected string) {
231 func ensureContainsOnce(t *testing.T, result string, expected string) {
240 func ensureNotContains(t *testing.T, result string, notExpected string) {
247 func ensureMatches(t *testing.T, result string, expectedRex string) {
259 func ensureListContainsMatch(t *testing.T, result []string, expectedRex string) {
267 func ensureListContains(t *testing.T, result []string, expected string) {
274 func ensureListNotContains(t *testing.T, result []string, notExpected string) {
281 func ensureListEmpty(t *testing.T, result []string) {
288 func ensureListNotEmpty(t *testing.T, result []string) {
296 func TestBasicApex(t *testing.T) {
604 func TestDefaults(t *testing.T) {
688 func TestApexManifest(t *testing.T) {
711 func TestApexManifestMinSdkVersion(t *testing.T) {
785 func TestApexWithDessertSha(t *testing.T) {
859 func TestFileContexts(t *testing.T) {
894 func TestApexWithStubs(t *testing.T) {
1066 func TestApexShouldNotEmbedStubVariant(t *testing.T) {
1093 func TestApexCanUsePrivateApis(t *testing.T) {
1167 func TestApexWithStubsWithMinSdkVersion(t *testing.T) {
1268 func TestApex_PlatformUsesLatestStubFromApex(t *testing.T) {
1344 func TestApexWithExplicitStubsDependency(t *testing.T) {
1431 func TestApexWithRuntimeLibsDependency(t *testing.T) {
1560 func TestRuntimeApexShouldInstallHwasanIfLibcDependsOnIt(t *testing.T) {
1614 func TestRuntimeApexShouldInstallHwasanIfHwaddressSanitized(t *testing.T) {
1670 func TestApexDependsOnLLNDKTransitively(t *testing.T) {
1763 func TestApexWithSystemLibsStubs(t *testing.T) {
1856 func TestApexMinSdkVersion_NativeModulesShouldBeBuiltAgainstStubs(t *testing.T) {
1945 func TestApexMinSdkVersion_SupportsCodeNames(t *testing.T) {
1998 func TestApexMinSdkVersion_SupportsCodeNames_JavaLibs(t *testing.T) {
2030 func TestApexMinSdkVersion_DefaultsToLatest(t *testing.T) {
2078 func TestApexMinSdkVersion_InVendorApex(t *testing.T) {
2132 func TestTrackAllowedDeps(t *testing.T) {
2200 func TestTrackCustomAllowedDepsInvalidDefaultTxt(t *testing.T) {
2273 func TestTrackCustomAllowedDepsWithDefaultTxt(t *testing.T) {
2347 func TestTrackAllowedDeps_SkipWithoutAllowedDepsTxt(t *testing.T) {
2369 func TestPlatformUsesLatestStubsFromApexes(t *testing.T) {
2425 func TestQApexesUseLatestStubsInBundledBuildsAndHWASAN(t *testing.T) {
2465 func TestQTargetApexUsesStaticUnwinder(t *testing.T) {
2496 func TestApexMinSdkVersion_ErrorIfIncompatibleVersion(t *testing.T) {
2604 func TestApexMinSdkVersion_Okay(t *testing.T) {
2666 func TestApexMinSdkVersion_MinApiForArch(t *testing.T) {
2699 func TestJavaStableSdkVersion(t *testing.T) {
2862 func TestApexMinSdkVersion_ErrorIfDepIsNewer(t *testing.T) {
2903 func TestApexMinSdkVersion_ErrorIfDepIsNewer_Java(t *testing.T) {
2940 func TestApexMinSdkVersion_OkayEvenWhenDepIsNewer_IfItSatisfiesApexMinSdkVersion(t *testing.T) {
2993 func TestApexMinSdkVersion_WorksWithSdkCodename(t *testing.T) {
3026 func TestApexMinSdkVersion_WorksWithActiveCodenames(t *testing.T) {
3065 func TestFilesInSubDir(t *testing.T) {
3135 func TestFilesInSubDirWhenNativeBridgeEnabled(t *testing.T) {
3194 func TestVendorApex(t *testing.T) {
3245 func TestProductVariant(t *testing.T) {
3278 func TestApex_withPrebuiltFirmware(t *testing.T) {
3317 func TestAndroidMk_VendorApexRequired(t *testing.T) {
3350 func TestAndroidMkWritesCommonProperties(t *testing.T) {
3380 func TestStaticLinking(t *testing.T) {
3423 func TestKeys(t *testing.T) {
3481 func TestCertificate(t *testing.T) {
3622 func TestMacro(t *testing.T) {
3716 func TestHeaderLibsDependency(t *testing.T) {
3792 func getFiles(t *testing.T, ctx *android.TestContext, moduleName, variant string) []fileInApex {
3839 func assertFileListEquals(t *testing.T, expectedFiles []string, actualFiles []fileInApex) {
3880 func ensureExactContents(t *testing.T, ctx *android.TestContext, moduleName, variant string, files …
3884 func ensureExactDeapexedContents(t *testing.T, ctx *android.TestContext, moduleName string, variant…
3920 func TestVndkApexVersion(t *testing.T) {
3990 func TestVndkApexNameRule(t *testing.T) {
4023 func TestVndkApexDoesntSupportNativeBridgeSupported(t *testing.T) {
4054 func TestVndkApexWithBinder32(t *testing.T) {
4133 func TestDependenciesInApexManifest(t *testing.T) {
4267 func TestOverrideApexManifestDefaultVersion(t *testing.T) {
4302 func TestCompileMultilibProp(t *testing.T) {
4373 func TestNonTestApex(t *testing.T) {
4427 func TestTestApex(t *testing.T) {
4477 func TestLibzVendorIsntStable(t *testing.T) {
4544 func TestApexWithTarget(t *testing.T) {
4636 func TestApexWithArch(t *testing.T) {
4712 func TestApexWithShBinary(t *testing.T) {
4743 func TestApexInVariousPartition(t *testing.T) {
4783 func TestFileContexts_FindInDefaultLocationIfNotSet(t *testing.T) {
4803 func TestFileContexts_ShouldBeUnderSystemSepolicyForSystemApexes(t *testing.T) {
4823 func TestFileContexts_ProductSpecificApexes(t *testing.T) {
4863 func TestFileContexts_SetViaFileGroup(t *testing.T) {
4892 func TestApexKeyFromOtherModule(t *testing.T) {
4926 func TestPrebuilt(t *testing.T) {
4961 func TestPrebuiltMissingSrc(t *testing.T) {
4970 func TestPrebuiltFilenameOverride(t *testing.T) {
4994 func TestApexSetFilenameOverride(t *testing.T) {
5024 func TestPrebuiltOverrides(t *testing.T) {
5051 func TestPrebuiltApexName(t *testing.T) {
5070 func TestPrebuiltApexNameWithPlatformBootclasspath(t *testing.T) {
5121 func TestBootDexJarsFromSourcesAndPrebuilts(t *testing.T) {
5788 func TestApexWithTests(t *testing.T) {
5864 func TestErrorsIfDepsAreNotEnabled(t *testing.T) {
5912 func TestApexWithJavaImport(t *testing.T) {
5941 func TestApexWithApps(t *testing.T) {
6036 func TestApexWithAppImportBuildId(t *testing.T) {
6067 func TestApexWithAppImports(t *testing.T) {
6117 func TestApexWithAppImportsPrefer(t *testing.T) {
6160 func TestApexWithTestHelperApp(t *testing.T) {
6194 func TestApexPropertiesShouldBeDefaultable(t *testing.T) {
6231 func TestApexAvailable_DirectDep(t *testing.T) {
6350 func TestApexAvailable_IndirectDep(t *testing.T) {
6481 func TestApexAvailable_IndirectStaticDep(t *testing.T) {
6548 func TestApexAvailable_InvalidApexName(t *testing.T) {
6610 func TestApexAvailable_ApexAvailableNameWithVersionCodeError(t *testing.T) {
6649 func TestApexAvailable_ApexAvailableNameWithVersionCode(t *testing.T) {
6707 func TestApexAvailable_ApexAvailableName(t *testing.T) {
6831 func TestApexAvailable_ApexAvailableNameWithOverrides(t *testing.T) {
6889 func TestApexAvailable_CheckForPlatform(t *testing.T) {
6953 func TestApexAvailable_CreatedForApex(t *testing.T) {
6989 func TestApexAvailable_PrefixMatch(t *testing.T) {
7084 func TestApexValidation_TestApexCanSkipInitRcCheck(t *testing.T) {
7108 func TestApexValidation_TestApexCheckInitRc(t *testing.T) {
7129 func TestOverrideApex(t *testing.T) {
7280 func TestMinSdkVersionOverride(t *testing.T) {
7340 func TestMinSdkVersionOverrideToLowerVersionNoOp(t *testing.T) {
7400 func TestLegacyAndroid10Support(t *testing.T) {
7460 func TestJavaSDKLibrary(t *testing.T) {
7500 func TestJavaSDKLibraryOverrideApexes(t *testing.T) {
7541 func TestJavaSDKLibrary_WithinApex(t *testing.T) {
7597 func TestJavaSDKLibrary_CrossBoundary(t *testing.T) {
7649 func TestJavaSDKLibrary_ImportPreferred(t *testing.T) {
7743 func TestJavaSDKLibrary_ImportOnly(t *testing.T) {
7771 func TestCompatConfig(t *testing.T) {
7819 func TestNoDupeApexFiles(t *testing.T) {
7856 func TestApexUnwantedTransitiveDeps(t *testing.T) {
7893 func TestRejectNonInstallableJavaLibrary(t *testing.T) {
7920 func TestSymlinksFromApexToSystem(t *testing.T) {
8076 func TestSymlinksFromApexToSystemRequiredModuleNames(t *testing.T) {
8129 func TestApexWithJniLibs(t *testing.T) {
8219 func TestApexMutatorsDontRunIfDisabled(t *testing.T) {
8244 func TestAppBundle(t *testing.T) {
8276 func TestAppSetBundle(t *testing.T) {
8316 func TestAppSetBundlePrebuilt(t *testing.T) {
8344 func TestApexSetApksModuleAssignment(t *testing.T) {
8367 func testDexpreoptWithApexes(t *testing.T, bp, errmsg string, preparer android.FixturePreparer, fra…
8423 func TestUpdatable_should_set_min_sdk_version(t *testing.T) {
8440 func TestUpdatableDefault_should_set_min_sdk_version(t *testing.T) {
8456 func TestUpdatable_should_not_set_generate_classpaths_proto(t *testing.T) {
8501 func TestDexpreoptAccessDexFilesFromPrebuiltApex(t *testing.T) {
8553 func testBootJarPermittedPackagesRules(t *testing.T, errmsg, bp string, bootJars []string, rules []…
8590 func TestApexPermittedPackagesRules(t *testing.T) {
8729 func TestApexSet(t *testing.T) {
8774 func TestApexSet_NativeBridge(t *testing.T) {
8799 func TestNoStaticLinkingToStubsLib(t *testing.T) {
8837 func TestApexKeysTxt(t *testing.T) {
8859 func TestApexKeysTxtOverrides(t *testing.T) {
8904 func TestAllowedFiles(t *testing.T) {
8961 func TestNonPreferredPrebuiltDependency(t *testing.T) {
8998 func TestCompressedApex(t *testing.T) {
9036 func TestCompressedApexIsDisabledWhenUsingErofs(t *testing.T) {
9063 func TestApexSet_ShouldRespectCompressedApexFlag(t *testing.T) {
9089 func TestPreferredPrebuiltSharedLibDep(t *testing.T) {
9142 func TestExcludeDependency(t *testing.T) {
9193 func TestPrebuiltStubLibDep(t *testing.T) {
9360 func TestApexJavaCoverage(t *testing.T) {
9439 func TestProhibitStaticExecutable(t *testing.T) {
9491 func TestAndroidMk_DexpreoptBuiltInstalledForApex(t *testing.T) {
9525 func TestAndroidMk_RequiredModules(t *testing.T) {
9565 func TestAndroidMk_RequiredDeps(t *testing.T) {
9590 func TestApexOutputFileProducer(t *testing.T) {
9640 func TestSdkLibraryCanHaveHigherMinSdkVersion(t *testing.T) {
9835 func ensureContainsRequiredDeps(t *testing.T, ctx *android.TestContext, moduleName, variant string,…
9843 func ensureDoesNotContainRequiredDeps(t *testing.T, ctx *android.TestContext, moduleName, variant s…
9850 func TestApexStrictUpdtabilityLint(t *testing.T) {
9964 func TestApexStrictUpdtabilityLintBcpFragmentDeps(t *testing.T) {
10010 func TestApexLintBcpFragmentSdkLibDeps(t *testing.T) {
10062 func TestUpdatableApexEnforcesAppUpdatability(t *testing.T) {
10092 func TestCannedFsConfig(t *testing.T) {
10113 func TestCannedFsConfig_HasCustomConfig(t *testing.T) {
10136 func TestStubLibrariesMultipleApexViolation(t *testing.T) {
10211 func TestFileSystemShouldSkipApexLibraries(t *testing.T) {
10284 func TestAconfigFilesJavaDeps(t *testing.T) {
10378 func TestAconfigFilesJavaAndCcDeps(t *testing.T) {
10518 func TestAconfigFilesRustDeps(t *testing.T) {
10690 func VerifyAconfigRule(t *testing.T, mod *android.TestingModule, desc string, inputs []string, outp…
10710 func TestAconfigFilesOnlyMatchCurrentApex(t *testing.T) {
10797 func TestAconfigFilesRemoveDuplicates(t *testing.T) {
10879 func TestBootDexJarsMultipleApexPrebuilts(t *testing.T) {
11068 func TestInstallationRulesForMultipleApexPrebuilts(t *testing.T) {
11214 func TestInstallationRulesForMultipleApexPrebuiltsWithoutSource(t *testing.T) {
11322 func TestAconfifDeclarationsValidation(t *testing.T) {
11439 func TestMultiplePrebuiltsWithSameBase(t *testing.T) {
11479 func TestApexMinSdkVersionOverride(t *testing.T) {
11557 func TestOverrideApexWithPrebuiltApexPreferred(t *testing.T) {
11593 func TestUpdatableApexMinSdkVersionCurrent(t *testing.T) {
11611 func TestPrebuiltStubNoinstall(t *testing.T) {
11732 func TestSdkLibraryTransitiveClassLoaderContext(t *testing.T) {
11843 func TestApexSSCPJarMustBeInSamePartitionAsApex(t *testing.T) {
11889 func TestFilesystemWithApexDeps(t *testing.T) {
11927 func TestApexVerifyNativeImplementationLibs(t *testing.T) {