/build/soong/android/ |
D | testing.go | 30 func NewTestContext(config Config) *TestContext { 36 ctx := &TestContext{ 151 FixtureModifyContext(func(ctx *TestContext) { 161 func NewTestArchContext(config Config) *TestContext { 167 type TestContext struct { struct 181 func (ctx *TestContext) PreArchMutators(f RegisterMutatorFunc) { argument 185 func (ctx *TestContext) HardCodedPreArchMutators(f RegisterMutatorFunc) { argument 190 func (ctx *TestContext) PreDepsMutators(f RegisterMutatorFunc) { argument 194 func (ctx *TestContext) PostDepsMutators(f RegisterMutatorFunc) { argument 198 func (ctx *TestContext) FinalDepsMutators(f RegisterMutatorFunc) { argument [all …]
|
D | namespace_test.go | 635 func setupTestFromFiles(t *testing.T, bps MockFS) (ctx *TestContext, errs []error) { 637 FixtureModifyContext(func(ctx *TestContext) { 652 return result.TestContext, result.Errs 655 func setupTestExpectErrs(t *testing.T, bps map[string]string) (ctx *TestContext, errs []error) { 664 func setupTest(t *testing.T, bps map[string]string) (ctx *TestContext) { 671 func dependsOn(ctx *TestContext, module TestingModule, possibleDependency TestingModule) bool { argument 682 func numDeps(ctx *TestContext, module TestingModule) int { argument 691 func getModule(ctx *TestContext, moduleName string) TestingModule { argument 695 func findModuleById(ctx *TestContext, id string) (module TestingModule) { argument
|
D | fixture.go | 224 func FixtureModifyConfigAndContext(mutator func(config Config, ctx *TestContext)) FixturePreparer { argument 231 func FixtureModifyContext(mutator func(ctx *TestContext)) FixturePreparer { argument 238 return FixtureModifyContext(func(ctx *TestContext) { registeringFunc(ctx) }) 602 Context() *TestContext 613 *TestContext anonMember 713 ctx *TestContext 729 func (f *fixture) Context() *TestContext {
|
D | arch_test.go | 347 enabledVariants := func(ctx *TestContext, name string) []string { 367 ctx := result.TestContext 430 enabledVariants := func(ctx *TestContext, name string) []string { 460 ctx := result.TestContext
|
D | androidmk_test.go | 142 func buildContextAndCustomModuleFoo(t *testing.T, bp string) (*TestContext, *customModule) { 154 return result.TestContext, module
|
/build/soong/apex/ |
D | systemserver_classpath_fragment_test.go | 69 ensureExactContents(t, result.TestContext, "myapex", "android_common_myapex_image", []string{ 74 …java.CheckModuleDependencies(t, result.TestContext, "myapex", "android_common_myapex_image", []str…
|
D | bootclasspath_fragment_test.go | 401 …ensureExactContents(t, result.TestContext, "com.android.art", "android_common_com.android.art_imag… 419 …java.CheckModuleDependencies(t, result.TestContext, "com.android.art", "android_common_com.android… 444 …ensureExactContents(t, result.TestContext, "com.android.art", "android_common_com.android.art_imag… 462 …java.CheckModuleDependencies(t, result.TestContext, "com.android.art", "android_common_com.android… 588 …java.CheckModuleDependencies(t, result.TestContext, "com.android.art", "android_common_com.android… 593 …java.CheckModuleDependencies(t, result.TestContext, "mybootclasspathfragment", "android_common_com… 685 ensureExactContents(t, result.TestContext, "myapex", "android_common_myapex_image", []string{ 693 …java.CheckModuleDependencies(t, result.TestContext, "myapex", "android_common_myapex_image", []str… 842 …java.CheckModuleDependencies(t, result.TestContext, "mybootclasspathfragment", "android_common_ape… 1006 …java.CheckModuleDependencies(t, result.TestContext, "mybootclasspathfragment", "android_common_ape… [all …]
|
D | platform_bootclasspath_test.go | 301 …CheckModuleDependencies(t, result.TestContext, "myplatform-bootclasspath", "android_common", []str… 443 …CheckModuleDependencies(t, result.TestContext, "myplatform-bootclasspath", "android_common", []str… 474 func CheckModuleDependencies(t *testing.T, ctx *android.TestContext, name, variant string, expected… argument
|
D | classpath_element_test.go | 31 testContext *android.TestContext 235 return &testClasspathElementContext{testContext: result.TestContext, module: bootclasspath}
|
/build/soong/rust/ |
D | rust_test.go | 59 func testRust(t *testing.T, bp string) *android.TestContext { 66 return result.TestContext 69 func testRustVndk(t *testing.T, bp string) *android.TestContext { 82 return result.TestContext 87 func testRustCov(t *testing.T, bp string) *android.TestContext { 100 return result.TestContext
|
/build/soong/linkerconfig/ |
D | linkerconfig_test.go | 55 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)[0] 83 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)[0]
|
/build/soong/java/ |
D | testing.go | 344 func CheckModuleDependencies(t *testing.T, ctx *android.TestContext, name, variant string, expected… argument 363 pairs := ApexNamePairsFromModules(result.TestContext, platformBootclasspath.configuredModules) 368 func ApexNamePairsFromModules(ctx *android.TestContext, modules []android.Module) []string { argument 376 func apexNamePairFromModule(ctx *android.TestContext, module android.Module) string { argument 394 pairs := ApexNamePairsFromModules(result.TestContext, platformBootclasspath.fragments)
|
D | systemserver_classpath_fragment_test.go | 71 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p) 87 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
|
D | platform_bootclasspath_test.go | 197 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p) 206 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p) 224 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p) 271 entries := android.AndroidMkEntriesForTest(t, result.TestContext, platformBootclasspath)
|
D | rro_test.go | 103 androidMkEntries := android.AndroidMkEntriesForTest(t, result.TestContext, m.Module())[0] 117 androidMkEntries = android.AndroidMkEntriesForTest(t, result.TestContext, m.Module())[0] 336 mkEntries := android.AndroidMkEntriesForTest(t, result.TestContext, module.Module())[0]
|
D | sdk_library_test.go | 313 CheckModuleDependencies(t, result.TestContext, "sdklib", "android_common", []string{ 599 CheckModuleDependencies(t, result.TestContext, "sdklib", "android_common", []string{ 631 CheckModuleDependencies(t, result.TestContext, "sdklib", "android_common", []string{ 640 CheckModuleDependencies(t, result.TestContext, "prebuilt_sdklib", "android_common", []string{ 675 CheckModuleDependencies(t, result.TestContext, "sdklib", "android_common", []string{ 684 CheckModuleDependencies(t, result.TestContext, "prebuilt_sdklib", "android_common", []string{
|
D | androidmk_test.go | 166 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0] 185 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
|
D | java_test.go | 68 func testJavaError(t *testing.T, pattern string, bp string) (*android.TestContext, android.Config) { 74 return result.TestContext, result.Config 82 func testJavaWithFS(t *testing.T, bp string, fs android.MockFS) (*android.TestContext, android.Conf… 86 return result.TestContext, result.Config 100 func testJava(t *testing.T, bp string) (*android.TestContext, android.Config) { 103 return result.TestContext, result.Config 1175 func checkPatchModuleFlag(t *testing.T, ctx *android.TestContext, moduleName string, expected strin… argument 1312 func checkBootClasspathForSystemModule(t *testing.T, ctx *android.TestContext, moduleName string, e… argument
|
D | droidstubs_test.go | 164 func checkSystemModulesUseByDroidstubs(t *testing.T, ctx *android.TestContext, moduleName string, s… argument
|
/build/soong/sh/ |
D | sh_binary_test.go | 37 func testShBinary(t *testing.T, bp string) (*android.TestContext, android.Config) { 40 return result.TestContext, result.Config
|
/build/soong/python/ |
D | python_test.go | 351 …expectModule(t, result.TestContext, e.name, e.actualVersion, e.srcsZip, e.pyRunfiles, e.depsSrcsZi… 358 func expectModule(t *testing.T, ctx *android.TestContext, name, variant, expectedSrcsZip string, ex… argument
|
/build/soong/cc/ |
D | cc_test.go | 47 func testCcWithConfig(t *testing.T, config android.Config) *android.TestContext { 50 return result.TestContext 64 func testCc(t *testing.T, bp string) *android.TestContext { 67 return result.TestContext 75 func testCcNoVndk(t *testing.T, bp string) *android.TestContext { 88 func testCcNoProductVndk(t *testing.T, bp string) *android.TestContext { 247 func checkInstallPartition(t *testing.T, ctx *android.TestContext, name, variant, expected string) { argument 334 `).TestContext 361 func checkVndkModule(t *testing.T, ctx *android.TestContext, name, subDir string, argument 399 func checkSnapshotIncludeExclude(t *testing.T, ctx *android.TestContext, singleton android.TestingS… argument [all …]
|
D | genrule_test.go | 24 func testGenruleContext(config android.Config) *android.TestContext {
|
D | prebuilt_test.go | 30 …esting.T, bp string, fs android.MockFS, handlers ...android.FixturePreparer) *android.TestContext { 37 return result.TestContext
|
/build/soong/genrule/ |
D | genrule_test.go | 455 android.FixtureModifyContext(func(ctx *android.TestContext) { 676 func(config android.Config, ctx *android.TestContext) {
|