Home
last modified time | relevance | path

Searched refs:moduleName (Results 1 – 25 of 28) sorted by relevance

12

/build/soong/java/
Ddroidstubs_test.go52 moduleName string
57 moduleName: "bar-stubs",
62 moduleName: "bar-stubs-other",
68 m := ctx.ModuleForTests(c.moduleName, "android_common")
73 …t.Errorf("For %q, expected metalava argument %q, but was not found %q", c.moduleName, expected, ac…
79 t.Errorf("Expected %q high_mem to be %v, was %v", c.moduleName, c.high_mem, actual)
164 func checkSystemModulesUseByDroidstubs(t *testing.T, ctx *android.TestContext, moduleName string, s…
165 metalavaRule := ctx.ModuleForTests(moduleName, "android_common").Rule("metalava")
171 t.Errorf("inputs of %q must be []string{%q}, but was %#v.", moduleName, systemJar, systemJars)
Drro_test.go202 moduleName string
334 for _, moduleName := range modules {
335 module := result.ModuleForTests(moduleName, "android_common")
338 if !reflect.DeepEqual(actualRRODirs, testCase.rroDirs[moduleName]) {
340 moduleName, testCase.rroDirs[moduleName], actualRRODirs)
Dsystem_modules_test.go25 for _, moduleName := range moduleNames {
26 module := result.Module(moduleName, "android_common")
Dandroidmk_test.go158 moduleName string
165 mod := result.ModuleForTests(tc.moduleName, "android_common").Module()
Dapp_test.go932 getResources := func(moduleName string) (resourceFiles, overlayFiles, rroDirs []string) {
933 module := result.ModuleForTests(moduleName, "android_common")
1849 moduleName string
1862 moduleName: "foo",
1874 moduleName: "bar",
1886 moduleName: "baz",
1898 moduleName: "baz_no_rename_resources",
1910 moduleName: "baz_base_no_rename_resources",
1922 moduleName: "baz_override_base_rename_resources",
1940 signapk := variant.Output(expected.moduleName + ".apk")
[all …]
Djava_test.go1175 func checkPatchModuleFlag(t *testing.T, ctx *android.TestContext, moduleName string, expected strin…
1176 variables := ctx.ModuleForTests(moduleName, "android_common").VariablesForTestsRelativeToTop()
1187 …t.Errorf("Unexpected patch-module flag for module %q - expected %q, but got %q", moduleName, expec…
1312 func checkBootClasspathForSystemModule(t *testing.T, ctx *android.TestContext, moduleName string, e…
1313 javacRule := ctx.ModuleForTests(moduleName, "android_common").Rule("javac")
1316 …t.Errorf("bootclasspath of %q must start with --system and end with %q, but was %#v.", moduleName,…
Dlint.go504 func findModuleOrErr(ctx android.SingletonContext, moduleName string) android.Module {
507 if ctx.ModuleName(m) == moduleName {
511 ctx.Errorf("lint: multiple %s modules found: %s and %s", moduleName,
/build/soong/android/
Dbazel.go264 for _, moduleName := range bp2buildDoNotWriteBuildFileList {
265 bp2buildDoNotWriteBuildFile[moduleName] = true
268 for _, moduleName := range bp2buildModuleDoNotConvertList {
269 bp2buildModuleDoNotConvert[moduleName] = true
272 for _, moduleName := range bp2buildCcLibraryStaticOnlyList {
273 bp2buildCcLibraryStaticOnly[moduleName] = true
276 for _, moduleName := range mixedBuildsDisabledList {
277 mixedBuildsDisabled[moduleName] = true
Dlicenses_test.go524 for moduleName, expectedLicenses := range effectiveLicenses {
525 licenses, ok := actualLicenses[moduleName]
530 …t.Errorf("effective licenses mismatch for module %q: expected %q, found %q", moduleName, expectedL…
589 for moduleName, expectedInheritedLicenses := range effectiveInheritedLicenses {
590 licenses, ok := actualLicenses[moduleName]
595 …ive inherited licenses mismatch for module %q: expected %q, found %q", moduleName, expectedInherit…
629 for moduleName, expectedPackage := range effectivePackage {
630 packageName, ok := actualPackage[moduleName]
635 …t.Errorf("effective package mismatch for module %q: expected %q, found %q", moduleName, expectedPa…
664 for moduleName, expectedNotices := range effectiveNotices {
[all …]
Dapex.go733 func (ac *ApexContents) DirectlyInApex(moduleName string) bool {
734 return ac.contents[moduleName] == directlyInApex
739 func (ac *ApexContents) InApex(moduleName string) bool {
740 return ac.contents[moduleName] != notInApex
744 func DirectlyInAllApexes(apexInfo ApexInfo, moduleName string) bool {
746 if !contents.DirectlyInApex(moduleName) {
Dvisibility.go490 moduleName := ctx.ModuleName()
492 qualified := qualifiedModuleName{dir, moduleName}
570 moduleName := ctx.OtherModuleName(module)
572 qualified := qualifiedModuleName{dir, moduleName}
Dbazel_paths.go334 moduleName := ctx.OtherModuleName(module)
336 return fmt.Sprintf("//%s:%s", moduleDir, moduleName)
Dnamespace_test.go691 func getModule(ctx *TestContext, moduleName string) TestingModule {
692 return ctx.ModuleForTests(moduleName, "")
Dvisibility_test.go1176 for moduleName, expectedRules := range effectiveVisibility {
1177 rule := effectiveVisibilityRules(result.Config, moduleName)
/build/blueprint/
Dmangle.go21 func moduleNamespacePrefix(moduleName string) string {
22 return "m." + moduleName + "."
Dname_interface.go58 ModuleFromName(moduleName string, namespace Namespace) (group ModuleGroup, found bool)
121 func (s *SimpleNameInterface) ModuleFromName(moduleName string, namespace Namespace) (group ModuleG…
122 group, found = s.modules[moduleName]
/build/soong/bp2build/
Dconversion.go151 func canonicalizeModuleType(moduleName string) string {
152 if strings.HasSuffix(moduleName, "_test") {
153 return moduleName + "_"
156 return moduleName
/build/blueprint/bpmodify/
Dbpmodify.go146 func processModule(module *parser.Module, moduleName string,
170 m, errs := processParameter(prop.Value, targetedProperty.String(), moduleName, file)
222 func processParameter(value parser.Expression, paramName, moduleName string,
226 paramName, moduleName)}
231 paramName, moduleName)}
238 paramName, moduleName, value.Type().String())}
260 paramName, moduleName, value.Type().String())}
/build/soong/cmd/extract_apks/
Dmain_test.go436 moduleName string member
448 moduleName: "mybase",
462 moduleName: "base",
475 sel := SelectionResult{moduleName: testCase.moduleName}
/build/make/tools/rbcrun/
Dhost.go43 func moduleName2AbsPath(moduleName string, callerDir string) (string, error) {
44 path := moduleName
50 } else if strings.HasPrefix(moduleName, ":") {
/build/soong/apex/
Dandroidmk.go123 moduleName := a.fullModuleName(apexBundleName, &fi)
128 aName := moduleName
150 fmt.Fprintln(w, "LOCAL_MODULE :=", moduleName)
317 if fi.androidMkModuleName != moduleName && a.primaryApexType {
319 fmt.Fprintf(w, "%s: %s\n", fi.androidMkModuleName, moduleName)
Dapex.go1283 moduleName := ctx.ModuleName()
1288 moduleName = vndkApexName
1290 certificate, overridden := ctx.DeviceConfig().OverrideCertificateFor(moduleName)
2393 func baselineApexAvailable(apex, moduleName string) bool {
2395 moduleName = normalizeModuleName(moduleName)
2397 if val, ok := apexAvailBaseline[key]; ok && android.InList(moduleName, val) {
2402 if val, ok := apexAvailBaseline[key]; ok && android.InList(moduleName, val) {
2409 func normalizeModuleName(moduleName string) string {
2412 moduleName = android.RemoveOptionalPrebuiltPrefix(moduleName)
2413 if strings.HasPrefix(moduleName, "libclang_rt.") {
[all …]
Dbootclasspath_fragment_test.go252 func checkBootclasspathFragment(t *testing.T, result *android.TestResult, moduleName, variantName s… argument
255 …bootclasspathFragment := result.ModuleForTests(moduleName, variantName).Module().(*java.Bootclassp…
259 …android.AssertStringEquals(t, "invalid modules for "+moduleName, expectedConfiguredModules, module…
272 …android.AssertTrimmedStringEquals(t, "invalid paths for "+moduleName, expectedBootclasspathFragmen…
/build/soong/androidmk/androidmk/
Dandroid.go989 for varName, moduleName := range moduleTypes {
992 includePathToModule[path] = moduleName
994 for varName, moduleName := range prebuiltTypes {
995 includePathToModule[varName] = moduleName
/build/soong/cmd/soong_build/
Dwritedocs.go127 "setModule": func(moduleName string) string {
128 currentModuleName = moduleName

12