/build/soong/java/ |
D | system_modules_test.go | 23 func getModuleHeaderJarsAsRelativeToTopPaths(result *android.TestResult, moduleNames ...string) []s… 26 module := result.Module(moduleName, "android_common") 27 info := result.ModuleProvider(module, JavaInfoProvider).(JavaInfo) 53 result := android.GroupFixturePreparers(prepareForJavaTest, addSourceSystemModules).RunTest(t) 56 sourceSystemModules := result.ModuleForTests("system-modules", "android_common") 60 …expectedSourcePaths := getModuleHeaderJarsAsRelativeToTopPaths(result, "system-module1", "system-m… 80 result := android.GroupFixturePreparers(prepareForJavaTest, addPrebuiltSystemModules).RunTest(t) 83 prebuiltSystemModules := result.ModuleForTests("system-modules", "android_common") 87 …expectedPrebuiltPaths := getModuleHeaderJarsAsRelativeToTopPaths(result, "system-module1", "system… 92 result := android.GroupFixturePreparers( [all …]
|
D | platform_bootclasspath_test.go | 86 result := android.GroupFixturePreparers( 91 CheckPlatformBootclasspathModules(t, result, "platform-bootclasspath", []string{ 98 result := android.GroupFixturePreparers( 103 CheckPlatformBootclasspathModules(t, result, "platform-bootclasspath", []string{ 110 result := android.GroupFixturePreparers( 116 CheckPlatformBootclasspathModules(t, result, "platform-bootclasspath", []string{ 123 result := android.GroupFixturePreparers( 129 CheckPlatformBootclasspathModules(t, result, "platform-bootclasspath", []string{ 136 result := android.GroupFixturePreparers( 146 CheckPlatformBootclasspathModules(t, result, "platform-bootclasspath", []string{ [all …]
|
D | systemserver_classpath_fragment_test.go | 28 result := android.GroupFixturePreparers( 37 variants := result.ModuleVariantsForTests("platform-systemserverclasspath") 42 result := android.GroupFixturePreparers( 51 …p := result.Module("platform-systemserverclasspath", "android_common").(*platformSystemServerClass… 67 result := preparer.RunTest(t) 69 …p := result.Module("platform-systemserverclasspath", "android_common").(*platformSystemServerClass… 71 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p) 76 result := preparer.RunTest(t) 85 …p := result.Module("platform-systemserverclasspath", "android_common").(*platformSystemServerClass… 87 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
|
D | sdk_library_test.go | 28 result := android.GroupFixturePreparers( 113 foo := result.ModuleForTests("foo", "android_common") 114 result.ModuleForTests(apiScopePublic.stubsLibraryModuleName("foo"), "android_common") 115 result.ModuleForTests(apiScopeSystem.stubsLibraryModuleName("foo"), "android_common") 116 result.ModuleForTests(apiScopeTest.stubsLibraryModuleName("foo"), "android_common") 117 result.ModuleForTests(apiScopePublic.stubsSourceModuleName("foo"), "android_common") 118 result.ModuleForTests(apiScopeSystem.stubsSourceModuleName("foo"), "android_common") 119 result.ModuleForTests(apiScopeTest.stubsSourceModuleName("foo"), "android_common") 120 result.ModuleForTests("foo"+sdkXmlFileSuffix, "android_common") 121 result.ModuleForTests("foo.api.public.28", "") [all …]
|
/build/soong/etc/ |
D | prebuilt_etc_test.go | 40 result := prepareForPrebuiltEtcTest.RunTestWithBp(t, ` 57 foo_variants := result.ModuleVariantsForTests("foo.conf") 62 bar_variants := result.ModuleVariantsForTests("bar.conf") 67 baz_variants := result.ModuleVariantsForTests("baz.conf") 74 result := prepareForPrebuiltEtcTest.RunTestWithBp(t, ` 82 p := result.Module("foo.conf", "android_arm64_armv8-a").(*PrebuiltEtc) 87 result := prepareForPrebuiltEtcTest.RunTestWithBp(t, ` 99 p := result.Module("my_foo", "android_arm64_armv8-a").(*PrebuiltEtc) 102 p = result.Module("my_bar", "android_arm64_armv8-a").(*PrebuiltEtc) 107 result := prepareForPrebuiltEtcTest.RunTestWithBp(t, ` [all …]
|
/build/soong/ui/tracer/ |
D | status.go | 63 func (s *statusOutput) FinishAction(result status.ActionResult, counts status.Counts) { 64 start, ok := s.running[result.Action] 68 delete(s.running, result.Action) 71 str := result.Action.Description 72 if len(result.Action.Outputs) > 0 { 73 str = result.Action.Outputs[0] 84 UserTime: result.Stats.UserTime, 85 SystemTime: result.Stats.SystemTime, 86 MaxRssKB: result.Stats.MaxRssKB, 87 MinorPageFaults: result.Stats.MinorPageFaults, [all …]
|
/build/soong/sysprop/ |
D | sysprop_test.go | 122 result := android.GroupFixturePreparers( 135 return result 139 result := test(t, ` 251 result.ModuleForTests("libsysprop-platform", variant) 252 result.ModuleForTests("libsysprop-vendor", variant) 253 result.ModuleForTests("libsysprop-odm", variant) 262 library := result.ModuleForTests("libsysprop-platform", variant).Module().(*cc.Module) 267 result.ModuleForTests("libsysprop-vendor-on-product", variant) 270 result.ModuleForTests("sysprop-platform", "android_common") 271 result.ModuleForTests("sysprop-platform_public", "android_common") [all …]
|
/build/soong/ui/status/ |
D | log.go | 57 func (v *verboseLog) FinishAction(result ActionResult, counts Counts) { 58 cmd := result.Command 60 cmd = result.Description 65 if result.Error != nil { 66 fmt.Fprintf(v.w, "FAILED: %s\n", strings.Join(result.Outputs, " ")) 69 if result.Output != "" { 70 fmt.Fprintln(v.w, result.Output) 107 func (e *errorLog) FinishAction(result ActionResult, counts Counts) { 108 if result.Error == nil { 117 fmt.Fprintf(e.w, "FAILED: %s\n", result.Description) [all …]
|
/build/make/tools/ziptime/ |
D | ZipFile.cpp | 75 status_t result = 0; in rewriteCentralDir() local 88 result = -1; in rewriteCentralDir() 96 result = -1; in rewriteCentralDir() 109 result = -1; in rewriteCentralDir() 116 result = -1; in rewriteCentralDir() 130 result = -1; in rewriteCentralDir() 135 result = mEOCD.readBuf(buf + i, readAmount - i); in rewriteCentralDir() 136 if (result != 0) { in rewriteCentralDir() 158 result = -1; in rewriteCentralDir() 169 result = pEntry->initAndRewriteFromCDE(mZipFp); in rewriteCentralDir() [all …]
|
D | ZipEntry.cpp | 46 status_t result; in initAndRewriteFromCDE() local 50 result = mCDE.rewrite(fp); in initAndRewriteFromCDE() 51 if (result != 0) { in initAndRewriteFromCDE() 53 return result; in initAndRewriteFromCDE() 64 result = mLFH.rewrite(fp); in initAndRewriteFromCDE() 65 if (result != 0) { in initAndRewriteFromCDE() 67 return result; in initAndRewriteFromCDE()
|
/build/soong/apex/ |
D | bootclasspath_fragment_test.go | 44 result := android.GroupFixturePreparers( 112 checkBootclasspathFragment(t, result, "art-bootclasspath-fragment", "android_common_apex10000", 130 result := android.GroupFixturePreparers( 227 artFragment := result.Module("art-bootclasspath-fragment", "android_common") 228 artInfo := result.ModuleProvider(artFragment, java.HiddenAPIInfoProvider).(java.HiddenAPIInfo) 240 otherFragment := result.Module("other-bootclasspath-fragment", "android_common") 241 otherInfo := result.ModuleProvider(otherFragment, java.HiddenAPIInfoProvider).(java.HiddenAPIInfo) 252 func checkBootclasspathFragment(t *testing.T, result *android.TestResult, moduleName, variantName s… 255 …bootclasspathFragment := result.ModuleForTests(moduleName, variantName).Module().(*java.Bootclassp… 257 …bootclasspathFragmentInfo := result.ModuleProvider(bootclasspathFragment, java.BootclasspathFragme… [all …]
|
/build/soong/sdk/ |
D | compat_config_sdk_test.go | 25 result := android.GroupFixturePreparers( 39 CheckSnapshot(t, result, "mysdk", "", 70 func(t *testing.T, result *android.TestResult) { 72 …java.CheckMergedCompatConfigInputs(t, result, "snapshot module", "snapshot/compat_configs/myconfig… 76 func(t *testing.T, result *android.TestResult) { 78 java.CheckMergedCompatConfigInputs(t, result, "snapshot module", 84 func(t *testing.T, result *android.TestResult) { 86 java.CheckMergedCompatConfigInputs(t, result, "snapshot module",
|
D | sdk_test.go | 166 result := testSdkWithFs(t, ``, 172 CheckSnapshot(t, result, "mysdk", "package", 318 result := testSdkWithFs(t, sdk, nil) 320 CheckSnapshot(t, result, "mysdk", "", 490 checkZipFile := func(t *testing.T, result *android.TestResult, expected string) { 491 zipRule := result.ModuleForTests("mysdk", "common_os").Rule("SnapshotZipFiles") 496 result := preparer.RunTest(t) 498 checkZipFile(t, result, "out/soong/.intermediates/mysdk/common_os/mysdk-current.zip") 500 CheckSnapshot(t, result, "mysdk", "", 530 result := android.GroupFixturePreparers( [all …]
|
/build/make/tools/product_config/src/com/android/build/config/ |
D | Value.java | 108 StringBuilder result = new StringBuilder(); in normalize() local 115 result.append(" "); in normalize() 119 result.append(s); in normalize() 124 return new Str(val.mList.get(0).getPosition(), result.toString()); in normalize() 137 final StringBuilder result = new StringBuilder(); in oneLinePerWord() local 139 result.append("\\\n "); in oneLinePerWord() 141 result.append(m.replaceAll(" \\\\\n ")); in oneLinePerWord() 142 return result.toString(); in oneLinePerWord() 154 final StringBuilder result = new StringBuilder(); in oneLinePerWord() local 156 result.append("\\\n "); in oneLinePerWord() [all …]
|
D | OutputChecker.java | 124 final ArrayList<Variable> result = new ArrayList(); in getDifferences() local 127 result.add(var); in getDifferences() 130 return result; in getDifferences() 139 final TreeMap<String, Variable> result = new TreeMap(); in getVariables() local 145 result.put(name, new Variable(name, config.getVarType(name), entry.getValue())); in getVariables() 152 Variable var = result.get(name); in getVariables() 154 result.put(name, new Variable(name, config.getVarType(name), null, value)); in getVariables() 156 result.put(name, var.addUpdated(value)); in getVariables() 160 return result; in getVariables() 168 final HashMap<String, Str> result = new HashMap(); in getModifiedVars() local [all …]
|
/build/make/tools/zipalign/ |
D | ZipFile.cpp | 105 status_t result; in open() local 111 result = readCentralDir(); in open() 123 result = OK; in open() 131 return result; in open() 208 status_t result = OK; in readCentralDir() local 221 result = INVALID_OPERATION; in readCentralDir() 229 result = NO_MEMORY; in readCentralDir() 242 result = UNKNOWN_ERROR; in readCentralDir() 253 result = UNKNOWN_ERROR; in readCentralDir() 268 result = INVALID_OPERATION; in readCentralDir() [all …]
|
D | ZipAlignMain.cpp | 59 int result = 1; in main() local 118 result = verify(argv[1], alignment, verbose, pageAlignSharedLibs); in main() 121 result = process(argv[1], argv[2], alignment, force, zopfli, pageAlignSharedLibs); in main() 124 if (result == 0) { in main() 125 result = verify(argv[2], alignment, verbose, pageAlignSharedLibs); in main() 132 result = 2; in main() 135 return result; in main()
|
/build/blueprint/pathtools/ |
D | lists.go | 26 result := make([]string, len(paths)) 28 result[i] = filepath.Join(prefix, path) 30 return result 34 result := make([]string, len(paths)) 36 result[i] = ReplaceExtension(path, extension) 38 return result
|
/build/soong/scripts/ |
D | construct_context_test.py | 42 result = construct_contexts(args) 52 self.assertEqual(result, expect) 56 result = construct_contexts(args) 62 self.assertEqual(result, expect) 66 result = construct_contexts(args) 72 self.assertEqual(result, expect)
|
/build/soong/ui/terminal/ |
D | format.go | 105 func (s formatter) result(result status.ActionResult) string { func 107 if result.Error != nil { 108 targets := strings.Join(result.Outputs, " ") 109 if s.quiet || result.Command == "" { 110 ret = fmt.Sprintf("FAILED: %s\n%s", targets, result.Output) 112 ret = fmt.Sprintf("FAILED: %s\n%s\n%s", targets, result.Command, result.Output) 114 } else if result.Output != "" { 115 ret = result.Output
|
/build/soong/cc/ |
D | sanitize_test.go | 98 result := android.GroupFixturePreparers( 103 check := func(t *testing.T, result *android.TestResult, variant string) { 111 binWithAsan := result.ModuleForTests("bin_with_asan", asanVariant) 112 binNoAsan := result.ModuleForTests("bin_no_asan", variant) 115 libShared := result.ModuleForTests("libshared", sharedVariant) 116 libTransitive := result.ModuleForTests("libtransitive", sharedVariant) 119 libAsan := result.ModuleForTests("libasan", sharedAsanVariant) 123 libStaticAsanVariant := result.ModuleForTests("libstatic", staticAsanVariant) 124 libStaticNoAsanVariant := result.ModuleForTests("libstatic", staticVariant) 127 libNoAsan := result.ModuleForTests("libnoasan", staticVariant) [all …]
|
/build/soong/shared/ |
D | paths.go | 37 result := base 40 result = next 42 result = filepath.Join(result, next) 45 return result
|
/build/soong/cc/config/ |
D | clang.go | 233 result, _ := android.FilterList(cflags, ClangUnknownCflags) 234 return result 254 result, _ := android.FilterList(checks, ClangTidyDisableChecks) 255 return result 259 result, _ := android.FilterList(lldflags, ClangUnknownLldflags) 260 return result
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-resource-browser.js | 28 if (!resultMatchesKeyword(loadedResults[i].result, keywords[j])) { 42 function resultMatchesKeyword(result, keyword) { argument 44 if (result.title && 45 result.title.en.toLowerCase().indexOf(keyword) >= 0) 47 else if (result.description && 48 result.description.en.toLowerCase().indexOf(keyword) >= 0) 50 else if (result.topicsHtml && 51 result.topicsHtml.replace(/\<.*?\>/g,'').toLowerCase().indexOf(keyword) >= 0) 159 var result = results[i]; 160 var resultJqNode = $(tmpl('tmpl_resource_browser_result', result)); [all …]
|
/build/make/tools/ |
D | product_debug.py | 54 result = "" 57 result = result + groups[i] 62 result = result + "<a href=\"%s\">%s</a>" % (href,s) 63 result = result + groups[-1] 64 return result
|