/build/soong/java/ |
D | base.go | 372 func (j *Module) CheckStableSdkVersion(ctx android.BaseModuleContext) error { 373 sdkVersion := j.SdkVersion(ctx) 378 if useLegacyCorePlatformApiByName(j.BaseModuleName()) { 390 func (j *Module) checkSdkVersions(ctx android.ModuleContext) { 391 if j.RequiresStableAPIs(ctx) { 409 j.checkSdkLinkType(ctx, module.(moduleWithSdkDep), tag.(dependencyTag)) 415 func (j *Module) checkPlatformAPI(ctx android.ModuleContext) { 417 usePlatformAPI := proptools.Bool(j.deviceProperties.Platform_apis) 428 func (j *Module) addHostProperties() { 429 j.AddProperties( [all …]
|
D | java.go | 87 func(_ android.SdkMemberContext, j *Library) android.Path { 88 headerJars := j.HeaderJars() 90 panic(fmt.Errorf("there must be only one header jar from %q", j.Name())) 100 exportImplementationClassesJar = func(_ android.SdkMemberContext, j *Library) android.Path { 101 implementationJars := j.ImplementationAndResourcesJars() 103 panic(fmt.Errorf("there must be only one implementation jar from %q", j.Name())) 225 func (j *Module) XrefJavaFiles() android.Paths { 226 return j.kytheFiles 460 func (j *Library) PermittedPackagesForUpdatableBootJars() []string { 461 return j.properties.Permitted_packages [all …]
|
D | sdk_library_external.go | 55 func (j *Module) partitionGroup(ctx android.EarlyModuleContext) partitionGroup { 57 if j.Platform() || j.SystemExtSpecific() { 62 if j.SocSpecific() || j.DeviceSpecific() { 67 if j.ProductSpecific() { 74 func (j *Module) allowListedInterPartitionJavaLibrary(ctx android.EarlyModuleContext) bool { 75 return inList(j.Name(), ctx.Config().InterPartitionJavaLibraryAllowList()) 78 func (j *Module) syspropWithPublicStubs() bool { 79 return j.deviceProperties.SyspropPublicStub != "" 91 func (j *Module) checkPartitionsForJavaDependency(ctx android.EarlyModuleContext, propName string, … 105 …productToSystem := j.partitionGroup(ctx) == partitionGroupProduct && dep.partitionGroup(ctx) == pa… [all …]
|
D | droiddoc.go | 214 func (j *Javadoc) OutputFiles(tag string) (android.Paths, error) { 217 return android.Paths{j.stubsSrcJar}, nil 219 return android.Paths{j.docZip}, nil 247 func (j *Javadoc) SdkVersion(ctx android.EarlyModuleContext) android.SdkSpec { 248 return android.SdkSpecFrom(ctx, String(j.properties.Sdk_version)) 251 func (j *Javadoc) SystemModules() string { 252 return proptools.String(j.properties.System_modules) 255 func (j *Javadoc) MinSdkVersion(ctx android.EarlyModuleContext) android.SdkSpec { 256 return j.SdkVersion(ctx) 259 func (j *Javadoc) TargetSdkVersion(ctx android.EarlyModuleContext) android.SdkSpec { [all …]
|
D | jdeps.go | 48 func (j *jdepsGeneratorSingleton) GenerateBuildActions(ctx android.SingletonContext) { 104 j.outputPath = jfpath 113 func (j *jdepsGeneratorSingleton) MakeVars(ctx android.MakeVarsContext) { 114 if j.outputPath == nil { 118 ctx.DistForGoal("general-tests", j.outputPath)
|
D | jacoco.go | 38 `${config.MergeZipsCmd} --ignore-duplicates -j $out $tmpJar $in`, 75 func (j *Module) jacocoModuleToZipCommand(ctx android.ModuleContext) string { 76 includes, err := jacocoFiltersToSpecs(j.properties.Jacoco.Include_filter) 81 …excludes, err := jacocoFiltersToSpecs(append(j.properties.Jacoco.Exclude_filter, config.DefaultJac…
|
D | gen.go | 130 func (j *Module) genSources(ctx android.ModuleContext, srcFiles android.Paths, 144 j.logtagsSrcs = append(j.logtagsSrcs, srcFile) 177 func (j *Module) logtags() android.Paths { 178 return j.logtagsSrcs
|
/build/blueprint/parser/ |
D | sort.go | 137 var j int 138 for j = i + 1; j < len(list.Values); j++ { 139 if list.Values[j].Pos().Line > line+1 { 142 line = list.Values[j].Pos().Line 146 if j < len(list.Values) { 147 nextPos = list.Values[j].Pos() 149 sortSubList(list.Values[i:j], nextPos, file) 150 i = j - 1 158 var j int 159 for j = i + 1; j < len(list.Values); j++ { [all …]
|
/build/soong/android/ |
D | expand.go | 48 for j := 0; j < len(s); j++ { 49 if s[j] == '$' { 50 if j+1 >= len(s) { 53 buf = append(buf, s[i:j]...) 54 value, ninjaVariable, w, err := getMapping(s[j+1:], mapping) 62 j += w 63 i = j + 1
|
D | util.go | 247 for j := 0; j < k; j++ { 248 if list[i] == list[j] { 278 for j := i - 1; j >= totalSkip; j-- { 279 if list[i] == list[j] { 282 list[j+skip] = list[j]
|
/build/soong/cmd/diff_target_files/ |
D | compare.go | 102 j := 0 106 for i < len(a) && j < len(b) { 107 if a[i].Name == b[j].Name { 108 if a[i].UncompressedSize64 != b[j].UncompressedSize64 || a[i].CRC32 != b[j].CRC32 { 109 diff.modified = append(diff.modified, [2]*ZipArtifactFile{a[i], b[j]}) 112 j++ 113 } else if a[i].Name < b[j].Name { 119 diff.onlyInB = append(diff.onlyInB, b[j]) 120 j++ 127 for j < len(b) { [all …]
|
D | allow_list.go | 226 func (j *jsonCommentStripper) Read(buf []byte) (int, error) { 227 for len(j.b) == 0 { 228 if j.err != nil { 229 return 0, j.err 232 j.b, j.err = j.r.ReadBytes('\n') 234 if isComment(j.b) { 235 j.b = nil 239 n := copy(buf, j.b) 240 j.b = j.b[n:]
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | android-developer-resource-browser.js | 27 for (var j = 0; j < keywords.length; j++) { 28 if (!resultMatchesKeyword(loadedResults[i].result, keywords[j])) { 80 for (var j = 0; j < resource.tags.length; j++) 81 resource.tagsHash[resource.tags[j]] = true; 109 var i, j; 139 for (j = 0; j < searchTags.length; j++) 140 if (!(searchTags[j] in resource.tagsHash)) {
|
D | jquery-1.6.2.min.js | 16 …j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowe… field 17 …j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");i…
|
D | prettify.js | 14 …j){if(j.charAt(0)!==Q)return j.charCodeAt(0);switch(j.charAt(1)){case Bb:return 8;case Cb:return 9… argument 15 f===L||f===Tb)f=Q+f;return f}function q(j){for(var f=j.substring(1,j.length-1).match(new RegExp(Ub,… argument 16 …0]&&D.push(Sb);D.push(n(A[1]))}}D.push(Tb);return D.join(P)}function v(j){var f=j.source.match(new… argument 17 …g(1))&&t<=h)f[e]=Q+k[h]}for(h=e=0;e<s;++e)if(M===f[e]&&M!==f[e+1])f[e]=P;if(j.ignoreCase&&c)for(e=… 20 …e(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.length}}re… 21 …j=w[3];if(j)for(var f=j.length;--f>=0;)c[j.charAt(f)]=w;var s=w[1],k=P+s;if(!n.hasOwnProperty(k)){… 22 h.substring(0,5))&&!(e&&e[1])){p=z;h=oc}p||(j[k]=h)}var x=v;v+=k.length;if(p){var B=e[1],E=k.indexO…
|
D | jquery-resizable.min.js | 12 …,function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&pa… function 19 …{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"bord… 29 …j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.p… argument 40 …j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio)… variable
|
/build/soong/shared/ |
D | env.go | 121 func (e envFileData) Less(i, j int) bool { 122 return e[i].Key < e[j].Key 125 func (e envFileData) Swap(i, j int) { 126 e[i], e[j] = e[j], e[i]
|
/build/soong/cmd/fileslist/ |
D | fileslist.go | 157 sort.Slice(allOutput, func(i, j int) bool { 158 if allOutput[i].Size > allOutput[j].Size { 161 …if allOutput[i].Size == allOutput[j].Size && strings.Compare(allOutput[i].Name, allOutput[j].Name)… 167 j, err := json.MarshalIndent(allOutput, "", " ") 172 fmt.Printf("%s\n", j)
|
/build/soong/androidmk/parser/ |
D | ast.go | 118 func (s byPosition) Swap(i, j int) { 119 s[i], s[j] = s[j], s[i] 122 func (s byPosition) Less(i, j int) bool { 123 return s[i].Pos() < s[j].Pos()
|
/build/soong/symbol_inject/ |
D | macho.go | 36 sort.SliceStable(symbols, func(i, j int) bool { 37 if symbols[i].Sect != symbols[j].Sect { 38 return symbols[i].Sect < symbols[j].Sect 40 return symbols[i].Value < symbols[j].Value
|
D | pe.go | 42 sort.SliceStable(symbols, func(i, j int) bool { 43 if symbols[i].SectionNumber != symbols[j].SectionNumber { 44 return symbols[i].SectionNumber < symbols[j].SectionNumber 46 return symbols[i].Value < symbols[j].Value
|
/build/soong/scripts/ |
D | jars-to-module-info-java.sh | 29 for j in "$@"; do zipinfo -1 $j ; done \
|
/build/blueprint/ |
D | glob.go | 90 sort.Slice(keys, func(i, j int) bool { 91 if keys[i].pattern != keys[j].pattern { 92 return keys[i].pattern < keys[j].pattern 94 return keys[i].excludes < keys[j].excludes
|
/build/blueprint/bootstrap/bpdoc/ |
D | bpdoc.go | 102 …sort.Slice(pkg.ModuleTypes, func(i, j int) bool { return pkg.ModuleTypes[i].Name < pkg.ModuleTypes… 105 sort.Slice(pkgs, func(i, j int) bool { return pkgs[i].Path < pkgs[j].Path }) 323 for j := range parent.Properties { 324 child := &parent.Properties[j] 334 for j := range parent.Properties { 335 child := parent.Properties[j]
|
/build/soong/bp2build/ |
D | conversion_test.go | 58 sort.Slice(files, func(i, j int) bool { 59 if dir1, dir2 := files[i].Dir, files[j].Dir; dir1 == dir2 { 60 return files[i].Basename < files[j].Basename
|