Home
last modified time | relevance | path

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

1234567

/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 {
102 d.headerJars = append(d.headerJars, dep.HeaderJars...)
103 d.implementationJars = append(d.implementationJars, dep.ImplementationJars...)
104d.implementationAndResourceJars = append(d.implementationAndResourceJars, dep.ImplementationAndRes…
105 d.resourceJars = append(d.resourceJars, dep.ResourceJars...)
[all …]
Ddroidstubs.go190 func (d *Droidstubs) OutputFiles(tag string) (android.Paths, error) {
193 return android.Paths{d.stubsSrcJar}, nil
195 return android.Paths{d.docZip}, nil
198 return android.Paths{d.apiFilePath}, nil
200 return android.Paths{d.removedApiFilePath}, nil
202 return android.Paths{d.annotationsZip}, nil
204 return android.Paths{d.apiVersionsXml}, nil
210 func (d *Droidstubs) ApiFilePath() android.Path {
211 return d.apiFilePath
214 func (d *Droidstubs) RemovedApiFilePath() android.Path {
[all …]
Ddexpreopt.go77 func (d *dexpreopter) dexpreoptDisabled(ctx android.BaseModuleContext) bool {
88 if d.isTest {
92 if !BoolDefault(d.dexpreoptProperties.Dex_preopt.Enabled, true) {
115 if d, ok := ctx.Module().(dexpreopterInterface); !ok || d.dexpreoptDisabled(ctx) {
125 func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.WritablePath) {
130 if d.installPath.Base() == "." {
134 dexLocation := android.InstallPathToOnDevicePath(ctx, d.installPath)
147 if (d.isApp || d.isTest) && d.dexpreoptDisabled(ctx) {
171 if isSystemServerJar && !d.isSDKLibrary {
192 if BoolDefault(d.dexpreoptProperties.Dex_preopt.Profile_guided, true) {
[all …]
Ddroiddoc.go578 func (d *Droiddoc) OutputFiles(tag string) (android.Paths, error) {
581 return android.Paths{d.Javadoc.docZip}, nil
587 func (d *Droiddoc) DepsMutator(ctx android.BottomUpMutatorContext) {
588 d.Javadoc.addDeps(ctx)
590 if String(d.properties.Custom_template) != "" {
591 ctx.AddDependency(ctx.Module(), droiddocTemplateTag, String(d.properties.Custom_template))
595 func (d *Droiddoc) doclavaDocsFlags(ctx android.ModuleContext, cmd *android.RuleBuilderCommand, doc…
607 …ge.now ", `"$(date -d @$(cat `+ctx.Config().Getenv("BUILD_DATETIME_FILE")+`) "+%d %b %Y %k:%M")" `)
609 if String(d.properties.Custom_template) == "" {
622 if len(d.properties.Html_dirs) > 0 {
[all …]
Ddex.go83 func (d *dexer) effectiveOptimizeEnabled() bool {
84 return BoolDefault(d.dexProperties.Optimize.Enabled, d.dexProperties.Optimize.EnabledByDefault)
170 func (d *dexer) dexCommonFlags(ctx android.ModuleContext, minSdkVersion android.SdkSpec) []string {
171 flags := d.dexProperties.Dxflags
206 func (d *dexer) r8Flags(ctx android.ModuleContext, flags javaBuilderFlags) (r8Flags []string, r8Dep…
207 opt := d.dexProperties.Optimize
234 flagFiles = append(flagFiles, d.extraProguardFlagFiles...)
279 func (d *dexer) compileDex(ctx android.ModuleContext, flags javaBuilderFlags, minSdkVersion android…
287 if proptools.Bool(d.dexProperties.Uncompress_dex) {
291 commonFlags := d.dexCommonFlags(ctx, minSdkVersion)
[all …]
/build/soong/ui/status/
Dstatus.go315 func (d *toolStatus) SetTotalActions(total int) {
318 d.lock.Lock()
319 if total >= d.counts.StartedActions && total != d.counts.TotalActions {
320 diff = total - d.counts.TotalActions
321 d.counts.TotalActions = total
323 d.lock.Unlock()
326 d.status.updateTotalActions(diff)
330 func (d *toolStatus) StartAction(action *Action) {
333 d.lock.Lock()
334 d.counts.RunningActions += 1
[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/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/core/
Ddevice.mk55 $(eval d := \
56 $(foreach d,$(DEVICES), \
57 $(if $(filter $(dn),$(DEVICES.$(d).DEVICE_NAME)), \
58 $(d) \
61 $(eval d := $(sort $(d)))
62 $(if $(filter 1,$(words $(d))), \
63 $(d), \
64 $(if $(filter 0,$(words $(d))), \
66 $(error Device "$(dn)" ambiguous: matches $(d)) \
/build/make/tools/
Dparsedeps.py56 d = self.lines.get(tgt)
57 if not d:
59 return self.__trace(d, prereq)
61 def __trace(self, d, prereq): argument
62 if d.visit == self.__visit:
63 return d.trace
64 if d.tgt == prereq:
65 return [ [ d ], ]
66 d.visit = self.__visit
68 for pre in d.prereqs:
[all …]
Dbuild-license-metadata.sh158 for d in ${license_deps}; do
159 case "${d}" in
161 lnewdeps="${lnewdeps}${lnewdeps:+ }"$(cat "${d}") ;;
163 lnewdeps="${lnewdeps}${lnewdeps:+ }${d}" ;;
178 lalldeps=$(for d in ${lalldeps}; do echo "${d}"; done | sort -u)
179 for d in ${lalldeps}; do
180 ldeps="${d}"
181 case "${d}" in *.meta_module) ldeps=$(cat "${d}") ;; esac
201 for d in ${depfiles}; do
202 if cat "${d}" | egrep -q 'effective_condition\s*:.*restricted' ; then
Djava-layers.py49 for d in self.transitive:
50 if imp.startswith(d):
79 for d in deps.itervalues():
80 if dep != d and not d.legacy:
81 dep.transitive.add(d.lower)
85 for d in deps.itervalues():
86 if dep != d and not d.legacy:
87 d.transitive.add(dep.lower)
172 for d in srcs:
173 if d[0] == '@':
[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`
627 0000060 64 9d 73 83 71 11 46 61 14 b9 1d 14 09 4a c3 60
632 00000b0 4f bb 3a 3f 75 f1 5d 7f 8f c2 68 67 77 8f 25 ff
633 00000c0 84 e2 93 2d ef a4 95 3d 71 4e 2c b9 b0 87 c3 be
634 00000d0 3d f8 a7 60 24 61 c5 ef ae 9e c8 6c 6d 4e 69 c8
635 00000e0 67 65 34 f8 37 76 2d 76 5c 54 f3 95 65 49 c7 0f
[all …]
Dreader.go275 d := make([]byte, filenameLen+extraLen+commentLen)
276 if _, err := io.ReadFull(r, d); err != nil {
279 f.Name = string(d[:filenameLen])
280 f.Extra = d[filenameLen : filenameLen+extraLen]
281 f.Comment = string(d[filenameLen+extraLen:])
413 d := &directoryEnd{
422 l := int(d.commentLen)
426 d.comment = string(b[:l])
429 if d.directoryRecords == 0xffff || d.directorySize == 0xffff || d.directoryOffset == 0xffffffff {
432 err = readDirectory64End(r, p, d)
[all …]
/build/soong/android/
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_generic.go75 func (d *depSet) embeddedDepSet() *depSet {
76 return d
177 func (d *depSet) walk(visit func(interface{})) {
180 var dfs func(d *depSet)
181 dfs = func(d *depSet) {
182 visited[d] = true
183 if d.preorder {
184 visit(d.direct)
186 for _, dep := range d.transitive {
192 if !d.preorder {
[all …]
Ddepset_paths.go77 func (d *DepSet) ToList() Paths {
78 if d == nil {
81 return d.toList(func(paths interface{}) interface{} {
88 func (d *DepSet) ToSortedList() Paths {
89 if d == nil {
92 paths := d.ToList()
Ddepset_test.go29 d := NewDepSetBuilder(POSTORDER).Direct(PathForTesting("d")).Transitive(b, c).Build()
31 fmt.Println(d.ToList().Strings())
39 d := NewDepSetBuilder(PREORDER).Direct(PathForTesting("d")).Transitive(b, c).Build()
41 fmt.Println(d.ToList().Strings())
49 d := NewDepSetBuilder(TOPOLOGICAL).Direct(PathForTesting("d")).Transitive(b, c).Build()
51 fmt.Println(d.ToList().Strings())
59 d := NewDepSetBuilder(POSTORDER).Direct(PathForTesting("d")).Transitive(b, c).Build()
61 fmt.Println(d.ToSortedList().Strings())
72 d := PathForTesting("d")
102 return NewDepSet(order, Paths{b, d}, []*DepSet{subset})
[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 …]
Dbuild_image.py567 d = {}
572 d["timestamp"] = timestamp
584 d[dest_p] = str(glob_dict[src_p])
609 d["mount_point"] = mount_point
624 d["journal_size"] = "0"
639 d["extfs_rsv_pct"] = "0"
655 d["journal_size"] = "0"
665 d["extfs_rsv_pct"] = "0"
693 d["journal_size"] = "0"
705 d["extfs_rsv_pct"] = "0"
[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/soong/cc/
Dccdeps.go237 func (d Deals) Len() int { return len(d) }
238 func (d Deals) Less(i, j int) bool { return d[i].Name < d[j].Name }
239 func (d Deals) Swap(i, j int) { d[i], d[j] = d[j], d[i] }
250 for _, d := range deals {
251 m[d.Name] = d.ideInfo
/build/blueprint/
Dmodule_ctx.go380 func (d *baseModuleContext) moduleInfo() *moduleInfo {
381 return d.module
384 func (d *baseModuleContext) Module() Module {
385 return d.module.logicModule
388 func (d *baseModuleContext) ModuleName() string {
389 return d.module.Name()
392 func (d *baseModuleContext) ModuleType() string {
393 return d.module.typeName
396 func (d *baseModuleContext) ContainsProperty(name string) bool {
397 _, ok := d.module.propertyPos[name]
[all …]

1234567