/build/soong/java/ |
D | base.go | 552 func (j *Module) CheckStableSdkVersion(ctx android.BaseModuleContext) error { 553 sdkVersion := j.SdkVersion(ctx) 558 if useLegacyCorePlatformApi(ctx, j.BaseModuleName()) { 570 func (j *Module) checkSdkVersions(ctx android.ModuleContext) { 571 if j.RequiresStableAPIs(ctx) { 589 j.checkSdkLinkType(ctx, module.(moduleWithSdkDep), tag.(dependencyTag)) 595 func (j *Module) checkPlatformAPI(ctx android.ModuleContext) { 597 usePlatformAPI := proptools.Bool(j.deviceProperties.Platform_apis) 608 func (j *Module) checkHeadersOnly(ctx android.ModuleContext) { 610 headersOnly := proptools.Bool(j.properties.Headers_only) [all …]
|
D | sdk_library_external.go | 56 func (j *Module) partitionGroup(ctx android.EarlyModuleContext) partitionGroup { 58 if j.Platform() || j.SystemExtSpecific() { 63 if j.SocSpecific() || j.DeviceSpecific() { 68 if j.ProductSpecific() { 75 func (j *Module) allowListedInterPartitionJavaLibrary(ctx android.EarlyModuleContext) bool { 76 return inList(j.Name(), ctx.Config().InterPartitionJavaLibraryAllowList()) 79 func (j *Module) syspropWithPublicStubs() bool { 80 return j.deviceProperties.SyspropPublicStub != "" 92 func (j *Module) checkPartitionsForJavaDependency(ctx android.EarlyModuleContext, propName string, … 106 …productToSystem := j.partitionGroup(ctx) == partitionGroupProduct && dep.partitionGroup(ctx) == pa… [all …]
|
D | java.go | 105 func(_ android.SdkMemberContext, j *Library) android.Path { 106 headerJars := j.HeaderJars() 108 panic(fmt.Errorf("there must be only one header jar from %q", j.Name())) 118 exportImplementationClassesJar = func(_ android.SdkMemberContext, j *Library) android.Path { 119 implementationJars := j.ImplementationAndResourcesJars() 121 panic(fmt.Errorf("there must be only one implementation jar from %q", j.Name())) 162 func(ctx android.SdkMemberContext, j *Library) android.Path { 164 return exportImplementationClassesJar(ctx, j) 204 func(ctx android.SdkMemberContext, j *Library) android.Path { 348 func (j *Module) XrefJavaFiles() android.Paths { [all …]
|
D | fuzz.go | 86 func (j *JavaFuzzTest) DepsMutator(ctx android.BottomUpMutatorContext) { 87 if j.Os().Class.String() == deviceString { 88 j.testProperties.Jni_libs = append(j.testProperties.Jni_libs, artDeps...) 91 if len(j.testProperties.Jni_libs) > 0 { 92 if j.fuzzPackagedModule.FuzzProperties.Fuzz_config == nil { 94 j.fuzzPackagedModule.FuzzProperties.Fuzz_config = config 98 j.fuzzPackagedModule.FuzzProperties.Fuzz_config.IsJni = proptools.BoolPtr(true) 101 ctx.AddFarVariationDependencies(sharedLibVariations, jniLibTag, j.testProperties.Jni_libs...) 105 j.deps(ctx) 108 func (j *JavaFuzzTest) GenerateAndroidBuildActions(ctx android.ModuleContext) { [all …]
|
D | droiddoc.go | 226 func (j *Javadoc) OutputFiles(tag string) (android.Paths, error) { 229 return android.Paths{j.stubsSrcJar}, nil 231 return android.Paths{j.docZip}, nil 259 func (j *Javadoc) SdkVersion(ctx android.EarlyModuleContext) android.SdkSpec { 260 return android.SdkSpecFrom(ctx, String(j.properties.Sdk_version)) 263 func (j *Javadoc) SystemModules() string { 264 return proptools.String(j.properties.System_modules) 267 func (j *Javadoc) MinSdkVersion(ctx android.EarlyModuleContext) android.ApiLevel { 268 return j.SdkVersion(ctx).ApiLevel 271 func (j *Javadoc) ReplaceMaxSdkVersionPlaceholder(ctx android.EarlyModuleContext) android.ApiLevel { [all …]
|
D | jacoco.go | 37 `${config.MergeZipsCmd} --ignore-duplicates -j $out $tmpJar $in`, 55 j, ok := ctx.Module().(instrumentable) 60 if j.shouldInstrumentInApex(ctx) { 61 j.setInstrument(true) 64 if j.shouldInstrument(ctx) && ctx.ModuleName() != "jacocoagent" { 101 func (j *Module) jacocoModuleToZipCommand(ctx android.ModuleContext) string { 102 includes, err := jacocoFiltersToSpecs(j.properties.Jacoco.Include_filter) 107 …excludes, err := jacocoFiltersToSpecs(append(j.properties.Jacoco.Exclude_filter, config.DefaultJac…
|
/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 | license.go | 60 for j := i + 1; j < len(m.properties.License_kinds); j++ { 61 if license == m.properties.License_kinds[j] {
|
D | util.go | 121 sort.Slice(ret, func(i, j int) bool { 122 return ret[i] < ret[j] 314 for j := 0; j < k; j++ { 315 if eq(list[i], list[j]) { 391 for i, j := 0, len(in)-1; i < j; i, j = i+1, j-1 { 392 in[i], in[j] = in[j], in[i] 415 for j := i - 1; j >= totalSkip; j-- { 416 if list[i] == list[j] { 419 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/soong/jar/ |
D | services.go | 48 func (j *Services) AddServiceFile(entry *zip.File) error { 49 if j.services == nil { 50 j.services = map[string]*ServiceFile{} 54 serviceFile := j.services[service] 61 j.services[service] = serviceFile 87 func (j *Services) ServiceFiles() []ServiceFile { 88 services := make([]ServiceFile, 0, len(j.services)) 90 for _, serviceFile := range j.services { 104 sort.Slice(services, func(i, j int) bool { 105 return services[i].Name < services[j].Name
|
/build/make/tools/compliance/ |
D | policy_shareprivacyconflicts_test.go | 31 func (l byConflict) Swap(i, j int) { l[i], l[j] = l[j], l[i] } 35 func (l byConflict) Less(i, j int) bool { 36 if l[i].SourceNode.Name() == l[j].SourceNode.Name() { 37 if l[i].ShareCondition.Name() == l[j].ShareCondition.Name() { 38 return l[i].PrivacyCondition.Name() < l[j].PrivacyCondition.Name() 40 return l[i].ShareCondition.Name() < l[j].ShareCondition.Name() 42 return l[i].SourceNode.Name() < l[j].SourceNode.Name()
|
D | resolution.go | 72 func (l ResolutionList) Swap(i, j int) { l[i], l[j] = l[j], l[i] } 75 func (l ResolutionList) Less(i, j int) bool { 76 if l[i].attachesTo.name == l[j].attachesTo.name { 77 return l[i].actsOn.name < l[j].actsOn.name 79 return l[i].attachesTo.name < l[j].attachesTo.name
|
D | test_util.go | 163 func (l byEdge) Swap(i, j int) { l[i], l[j] = l[j], l[i] } 167 func (l byEdge) Less(i, j int) bool { 168 if l[i].target == l[j].target { 169 return l[i].dep < l[j].dep 171 return l[i].target < l[j].target 259 func (l byAnnotatedEdge) Swap(i, j int) { l[i], l[j] = l[j], l[i] } 260 func (l byAnnotatedEdge) Less(i, j int) bool { 261 if l[i].target == l[j].target { 262 if l[i].dep == l[j].dep { 264 aj := append([]string{}, l[j].annotations...) [all …]
|
D | graph.go | 179 func (l TargetEdgeList) Swap(i, j int) { l[i], l[j] = l[j], l[i] } 182 func (l TargetEdgeList) Less(i, j int) bool { 184 namej := l[j].target.name 187 namej = l[j].dependency.name 190 return l[i].annotations.Compare(l[j].annotations) < 0 500 func (l TargetNodeList) Swap(i, j int) { l[i], l[j] = l[j], l[i] } 503 func (l TargetNodeList) Less(i, j int) bool { 504 return l[i].name < l[j].name
|
/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…
|
/build/soong/scripts/ |
D | jars-to-module-info-java.sh | 29 for j in "$@"; do zipinfo -1 $j ; done \
|
/build/soong/shared/ |
D | env.go | 126 func (e envFileData) Less(i, j int) bool { 127 return e[i].Key < e[j].Key 130 func (e envFileData) Swap(i, j int) { 131 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/symbol_inject/ |
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/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()
|