Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 243) sorted by relevance

12345678910

/build/soong/java/
Ddevice_host_converter.go84 func (d *DeviceForHost) DepsMutator(ctx android.BottomUpMutatorContext) {
86 deviceHostConverterDepTag, d.properties.Libs...)
89 func (d *HostForDevice) DepsMutator(ctx android.BottomUpMutatorContext) {
91 deviceHostConverterDepTag, d.properties.Libs...)
94 func (d *DeviceHostConverter) GenerateAndroidBuildActions(ctx android.ModuleContext) {
95 if len(d.properties.Libs) < 1 {
101 d.headerJars = append(d.headerJars, dep.HeaderJars...)
102 d.implementationJars = append(d.implementationJars, dep.ImplementationJars...)
103d.implementationAndResourceJars = append(d.implementationAndResourceJars, dep.ImplementationAndRes…
104 d.resourceJars = append(d.resourceJars, dep.ResourceJars...)
[all …]
Ddroidstubs.go316 func (d *Droidstubs) OutputFiles(tag string) (android.Paths, error) {
323 stubsSrcJar, err := d.StubsSrcJar(stubsType)
326 docZip, err := d.DocZip(stubsType)
330 apiFilePath, err := d.ApiFilePath(stubsType)
333 removedApiFilePath, err := d.RemovedApiFilePath(stubsType)
336 annotationsZip, err := d.AnnotationsZip(stubsType)
339 apiVersionsXmlFilePath, err := d.ApiVersionsXmlFilePath(stubsType)
346 func (d *Droidstubs) AnnotationsZip(stubsType StubsType) (ret android.Path, err error) {
349 ret, err = d.everythingArtifacts.annotationsZip, nil
351 ret, err = d.exportableArtifacts.annotationsZip, nil
[all …]
Ddexpreopt.go236 func (d *dexpreopter) dexpreoptDisabled(ctx android.BaseModuleContext, libName string) bool {
241 if d.isTest {
245 if !BoolDefault(d.dexpreoptProperties.Dex_preopt.Enabled, true) {
249 if d.shouldDisableDexpreopt {
313 …if d, ok := ctx.Module().(DexpreopterInterface); !ok || d.dexpreoptDisabled(ctx, android.RemoveOpt…
326 func (d *dexpreopter) getInstallPath(
333 if !d.dexpreoptDisabled(ctx, libName) && isApexVariant(ctx) &&
341 func (d *Dexpreopter) DexpreoptPrebuiltApexSystemServerJars(ctx android.ModuleContext, libraryName …
345d.installPath = android.PathForModuleInPartitionInstall(ctx, "", strings.TrimPrefix(dexpreopt.GetS…
349 d.inputProfilePathOnHost = nil // reset: TODO(spandandas): Make dexpreopter stateless
[all …]
Ddex.go110 func (d *dexer) effectiveOptimizeEnabled() bool {
111 return BoolDefault(d.dexProperties.Optimize.Enabled, d.dexProperties.Optimize.EnabledByDefault)
114 func (d *DexProperties) resourceShrinkingEnabled(ctx android.ModuleContext) bool {
115 …return !ctx.Config().Eng() && BoolDefault(d.Optimize.Optimized_shrink_resources, Bool(d.Optimize.S…
118 func (d *DexProperties) optimizedResourceShrinkingEnabled(ctx android.ModuleContext) bool {
119 return d.resourceShrinkingEnabled(ctx) && Bool(d.Optimize.Optimized_shrink_resources)
122 func (d *dexer) optimizeOrObfuscateEnabled() bool {
123 …return d.effectiveOptimizeEnabled() && (proptools.Bool(d.dexProperties.Optimize.Optimize) || propt…
165 `--deps-file ${out}.d && ` +
205 func (d *dexer) dexCommonFlags(ctx android.ModuleContext,
[all …]
Ddroiddoc.go619 func (d *Droiddoc) OutputFiles(tag string) (android.Paths, error) {
622 return android.Paths{d.Javadoc.docZip}, nil
628 func (d *Droiddoc) DepsMutator(ctx android.BottomUpMutatorContext) {
629 d.Javadoc.addDeps(ctx)
631 if String(d.properties.Custom_template) != "" {
632 ctx.AddDependency(ctx.Module(), droiddocTemplateTag, String(d.properties.Custom_template))
636 func (d *Droiddoc) doclavaDocsFlags(ctx android.ModuleContext, cmd *android.RuleBuilderCommand, doc…
658 …ge.now ", `"$(date -d @$(cat `+ctx.Config().Getenv("BUILD_DATETIME_FILE")+`) "+%d %b %Y %k:%M")" `)
660 if String(d.properties.Custom_template) == "" {
673 if len(d.properties.Html_dirs) > 0 {
[all …]
/build/soong/ui/status/
Dstatus.go332 func (d *toolStatus) SetTotalActions(total int) {
335 d.lock.Lock()
336 if total >= d.counts.StartedActions && total != d.counts.TotalActions {
337 diff = total - d.counts.TotalActions
338 d.counts.TotalActions = total
340 d.lock.Unlock()
343 d.status.updateTotalActions(diff)
347 func (d *toolStatus) SetEstimatedTime(estimatedTime time.Time) {
348 d.status.SetEstimatedTime(estimatedTime)
351 func (d *toolStatus) StartAction(action *Action) {
[all …]
/build/bazel/mkcompare/
Dmkdiff.go71 func (d *MkModuleDiff) Empty() bool {
72 …return !d.TypeDiffers && !d.ExtrasDiffer && len(d.MissingVars) == 0 && len(d.ExtraVars) == 0 && le…
76 func (d *MkModuleDiff) Print(sink io.Writer, name string) {
77 if d.Empty() {
80 fmt.Fprintf(sink, "%s (ref line %d, our line %d):\n", name, d.Ref.Location, d.Our.Location)
81 if d.TypeDiffers {
82 fmt.Fprintf(sink, " type %s <-> %s\n", d.Ref.Type, d.Our.Type)
85 if !d.ExtrasDiffer {
86 fmt.Fprintf(sink, " extras %d <-> %d\n", d.Ref.Extras, d.Our.Extras)
89 if len(d.MissingVars)+len(d.DiffVars) > 0 {
[all …]
/build/soong/scripts/
Dextra_install_zips_file_list.py30 _, d, z = zip_trio.split(':')
31 d = d.removesuffix('/') + '/'
33 if d.startswith(staging_dir):
34 d = os.path.relpath(d, staging_dir)
35 if d == '.':
36 d = ''
38 print(os.path.join(d, f))
/build/soong/cmd/diff_target_files/
Dzip_artifact.go82 d := &ExtractedZipArtifactFile{
87 defer close(d.initCh)
93 d.err = err
102 d.err = fmt.Errorf("invalid filename %q", zf.Name)
109 d.err = err
115 d.err = err
122 d.err = err
129 d.err = err
135 d.err = err
141 d.err = err
[all …]
Dcompare.go58 func (d *zipDiff) String() string {
69 if len(d.modified) > 0 {
71 for _, f := range d.modified {
77 if len(d.onlyInA) > 0 {
79 for _, f := range d.onlyInA {
85 if len(d.onlyInB) > 0 {
87 for _, f := range d.onlyInB {
93 if len(d.modified) > 0 || len(d.onlyInA) > 0 || len(d.onlyInB) > 0 {
/build/make/tools/perf/
Dutils.py22 d = pathlib.Path.cwd()
25 if top_dir and d.is_relative_to(top_dir):
28 if d.joinpath("build", "soong", "soong_ui.bash").exists():
29 return d.resolve().absolute()
30 d = d.parent
31 if d == pathlib.Path("/"):
/build/soong/cc/
Dlibrary_stub.go119 func (d *apiLibraryDecorator) Name(basename string) string {
125 func (d *apiLibraryDecorator) exportIncludes(ctx ModuleContext) {
126 exporterProps := d.flagExporter.Properties
128 d.dirs = append(d.dirs, android.MaybeExistentPathForSource(ctx, ctx.ModuleDir(), dir))
132 d.systemDirs = append(d.systemDirs, android.MaybeExistentPathForSource(ctx, ctx.ModuleDir(), dir))
136 func (d *apiLibraryDecorator) linkerInit(ctx BaseModuleContext) {
137 d.baseLinker.linkerInit(ctx)
139 if d.hasNDKStubs() {
155 func (d *apiLibraryDecorator) link(ctx ModuleContext, flags Flags, deps PathDeps, objects Objects) …
161 if src := String(d.properties.Src); src != "" {
[all …]
/build/make/tools/droiddoc/templates-pdk/assets/
Djquery-1.6.2.min.js16d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ch||(ch=c.createEl… argument
17d,b.handle.elem)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d!=null… argument
Dprettify.js12 … c=a.indexOf(va,b);if(c>=0){var d=a.substring(b+3,c),g=10;if(d&&d.charAt(0)===ub){d=d.substring(1)…
13d=0;d<a.attributes.length;++d){var g=a.attributes[d];if(g.specified){b.push(xb);W(g,b)}}b.push(J);…
14 P))){c=o;d=z;break}}function l(j){if(j.charAt(0)!==Q)return j.charCodeAt(0);switch(j.charAt(1)){cas…
18d?fc:R)}var ha=r;function Td(a){if(r===ha){var b=document.createElement(gc);b.appendChild(document…
19d)return c;d.push(c.substring(g));return d.join(P)}}var Vd=new RegExp(kc,R),Wd=/^<\!--/,Xd=/^<\[CD…
20d,b.slice(i,v+1).join(P));i=v}else g.push(d,l)}else g.push(d,l)}else{var j=Sd(l);c.push(j);d+=j.le… argument
21 …);n[k]=r}}l.push(/[\0-\uffff]/);d=Na(l)})();var g=b.length,i=function(m){for(var l=m.source,n=m.b,…
/build/soong/android/
Ddepset_generic.go148 func (d *DepSet[T]) walk(visit func([]T)) {
151 var dfs func(d *DepSet[T])
152 dfs = func(d *DepSet[T]) {
153 visited[d] = true
154 if d.preorder {
155 visit(d.direct)
157 for _, dep := range d.transitive {
163 if !d.preorder {
164 visit(d.direct)
168 dfs(d)
[all …]
Ddefaults.go43 func (d *DefaultableModuleBase) defaults() *defaultsProperties {
44 return &d.defaultsProperties
47 func (d *DefaultableModuleBase) setProperties(props []interface{}, variableProperties interface{}) {
48 d.defaultableProperties = props
49 d.defaultableVariableProperties = variableProperties
52 func (d *DefaultableModuleBase) SetDefaultableHook(hook DefaultableHook) {
53 d.hook = hook
56 func (d *DefaultableModuleBase) CallHookIfAvailable(ctx DefaultableHookContext) {
57 if d.hook != nil {
58 d.hook(ctx)
[all …]
Ddepset_test.go28 d := NewDepSetBuilder[Path](POSTORDER).Direct(PathForTesting("d")).Transitive(b, c).Build()
30 fmt.Println(Paths(d.ToList()).Strings())
38 d := NewDepSetBuilder[Path](PREORDER).Direct(PathForTesting("d")).Transitive(b, c).Build()
40 fmt.Println(Paths(d.ToList()).Strings())
48 d := NewDepSetBuilder[Path](TOPOLOGICAL).Direct(PathForTesting("d")).Transitive(b, c).Build()
50 fmt.Println(Paths(d.ToList()).Strings())
61 d := PathForTesting("d")
91 return NewDepSet[Path](order, Paths{b, d}, []*DepSet[Path]{subset})
112 builder.Direct(d)
113 assertEquals(t, Paths{b, d}, builder.Build().ToList())
[all …]
/build/soong/ui/build/paths/
Dlogs_test.go33 d, err := ioutil.TempDir("", "s")
37 defer os.RemoveAll(d)
38 f := filepath.Join(d, "s")
44 d, err := ioutil.TempDir("", strings.Repeat("s", 150))
48 defer os.RemoveAll(d)
49 f := filepath.Join(d, strings.Repeat("s", 10))
111 d, err := ioutil.TempDir("", "log_socket")
115 defer os.RemoveAll(d)
119 sendLog(filepath.Join(d, "missing"), getSocketAddr, 0, &LogEntry{}, make(chan interface{}))
124 f := filepath.Join(d, "file")
[all …]
/build/bazel/scripts/incremental_build/
Dgo_allowlists.py96 def is_dir_allowed(self, d: Path) -> bool:
97 if d.is_absolute():
98 d = d.relative_to(util.get_top_dir())
99 if d in self.dir_defaults:
100 return self.dir_defaults[d].allowed
101 while d.parent != d:
102 if d.parent in self.dir_defaults:
103 v = self.dir_defaults[d.parent]
105 d = d.parent
Dperf_metrics.py73 def _archive_pprof(envvar: str, d:Path):
85 shutil.move(pprof_prefix.with_name(profile), d)
86 _convert_pprof_to_human_readable_format(d.joinpath(profile))
89 def archive_run(d: Path, build_info: util.BuildInfo):
90 with open(d.joinpath(util.BUILD_INFO_JSON), "w") as f:
102 shutil.copy(metric, d.joinpath(metric_name))
103 _archive_pprof("SOONG_PROFILE_CPU", d)
104 _archive_pprof("SOONG_PROFILE_MEM", d)
107 def read_pbs(d: Path) -> tuple[dict[str, any], list[PerfInfoOrEvent]]:
116 soong_pb = d.joinpath(SOONG_PB)
[all …]
Dutil.py136 def get_csv_columns_cmd(d: Path) -> str:
141 csv_file = d.joinpath(METRICS_TABLE).resolve()
145 def get_cmd_to_display_tabulated_metrics(d: Path, ci_mode: bool) -> str:
151 csv_file = d.joinpath(METRICS_TABLE)
192 def get_top_dir(d: Path = Path(".").resolve()) -> Path:
196 logging.info("ANDROID BUILD TOP = %s", d)
198 logging.debug("Checking if Android source tree root is %s", d)
199 if d.parent == d:
205 if d.joinpath(INDICATOR_FILE).is_file():
206 logging.info("ANDROID BUILD TOP assumed to be %s", d)
[all …]
/build/make/tools/releasetools/
Drangelib.py170 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))),
172 if (z == 0 and d == 1) or (z == 1 and d == -1):
174 z += d
188 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))),
190 if (z == 1 and d == 1) or (z == 2 and d == -1):
192 z += d
207 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))),
209 if (z == 0 and d == 1) or (z == 1 and d == -1):
211 z += d
227 for _, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))),
[all …]
/build/soong/third_party/zip/
Dreader_test.go528 0000120 20 c0 9b 95 0d c4 67 04 42 53 06 06 06 40 00 06
529 0000130 00 f9 ff 6d 01 00 00 00 00 42 e8 21 5e 0f 00 00
531 0000150 48 af 2a b3 20 c0 9b 95 0d c4 67 04 42 53 06 06
532 0000160 06 40 00 06 00 f9 ff 6d 01 00 00 00 00 50 4b 01
537 00001b0 00 00 6d 01 00 00 00 00`
626 0000060 64 9d 73 83 71 11 46 61 14 b9 1d 14 09 4a c3 60
631 00000b0 4f bb 3a 3f 75 f1 5d 7f 8f c2 68 67 77 8f 25 ff
632 00000c0 84 e2 93 2d ef a4 95 3d 71 4e 2c b9 b0 87 c3 be
633 00000d0 3d f8 a7 60 24 61 c5 ef ae 9e c8 6c 6d 4e 69 c8
634 00000e0 67 65 34 f8 37 76 2d 76 5c 54 f3 95 65 49 c7 0f
[all …]
/build/bazel/mkcompare/cmd/
Dmkcompare.go167 d := mkcompare.Compare(refMkFile.Modules[name], ourMkFile.Modules[name], filterVars)
168 if d.Empty() {
173 if d.Ref.Type != d.Our.Type {
174 refType = d.Ref.Type
178 MkModuleDiff: d,
180 RefLocation: d.Ref.Location,
181 OurLocation: d.Our.Location,
182 Type: d.Our.Type,
191 addToDiffList := func(d map[string][]string, items []string) {
196 d[v] = append(d[v], name)
[all …]
/build/bazel/scripts/bp2build_progress/
Dbp2build_progress_test.py150 d = bp2build_progress.ModuleInfo(
161 direct_deps=set([b, c]), transitive_deps=set([d, e])
163 expected_adjacency_dict[b] = bp2build_progress.DepInfo(direct_deps=set([d]))
165 expected_adjacency_dict[d] = bp2build_progress.DepInfo()
205 d = bp2build_progress.ModuleInfo(
219 expected_adjacency_dict[b] = bp2build_progress.DepInfo(direct_deps=set([d]))
221 expected_adjacency_dict[d] = bp2build_progress.DepInfo()
262 d = bp2build_progress.ModuleInfo(
276 expected_adjacency_dict[b] = bp2build_progress.DepInfo(direct_deps=set([d]))
278 expected_adjacency_dict[d] = bp2build_progress.DepInfo()
[all …]

12345678910