Home
last modified time | relevance | path

Searched refs:j (Results 1 – 25 of 107) sorted by relevance

12345

/build/soong/java/
Dbase.go491 func (j *Module) CheckStableSdkVersion(ctx android.BaseModuleContext) error {
492 sdkVersion := j.SdkVersion(ctx)
497 if useLegacyCorePlatformApi(ctx, j.BaseModuleName()) {
509 func (j *Module) checkSdkVersions(ctx android.ModuleContext) {
510 if j.RequiresStableAPIs(ctx) {
528 j.checkSdkLinkType(ctx, module.(moduleWithSdkDep), tag.(dependencyTag))
534 func (j *Module) checkPlatformAPI(ctx android.ModuleContext) {
536 usePlatformAPI := proptools.Bool(j.deviceProperties.Platform_apis)
547 func (j *Module) addHostProperties() {
548 j.AddProperties(
[all …]
Djava.go90 func(_ android.SdkMemberContext, j *Library) android.Path {
91 headerJars := j.HeaderJars()
93 panic(fmt.Errorf("there must be only one header jar from %q", j.Name()))
103 exportImplementationClassesJar = func(_ android.SdkMemberContext, j *Library) android.Path {
104 implementationJars := j.ImplementationAndResourcesJars()
106 panic(fmt.Errorf("there must be only one implementation jar from %q", j.Name()))
147 func(ctx android.SdkMemberContext, j *Library) android.Path {
149 return exportImplementationClassesJar(ctx, j)
189 func(ctx android.SdkMemberContext, j *Library) android.Path {
288 func (j *Module) XrefJavaFiles() android.Paths {
[all …]
Dsdk_library_external.go55 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 …]
Dfuzz.go40 func (j *JavaFuzzLibrary) GenerateAndroidBuildActions(ctx android.ModuleContext) {
41 j.Library.GenerateAndroidBuildActions(ctx)
43 if j.fuzzPackagedModule.FuzzProperties.Corpus != nil {
44j.fuzzPackagedModule.Corpus = android.PathsForModuleSrc(ctx, j.fuzzPackagedModule.FuzzProperties.C…
46 if j.fuzzPackagedModule.FuzzProperties.Data != nil {
47j.fuzzPackagedModule.Data = android.PathsForModuleSrc(ctx, j.fuzzPackagedModule.FuzzProperties.Dat…
49 if j.fuzzPackagedModule.FuzzProperties.Dictionary != nil {
50j.fuzzPackagedModule.Dictionary = android.PathForModuleSrc(ctx, *j.fuzzPackagedModule.FuzzProperti…
53 if j.fuzzPackagedModule.FuzzProperties.Fuzz_config != nil {
55 android.WriteFileRule(ctx, configPath, j.fuzzPackagedModule.FuzzProperties.Fuzz_config.String())
[all …]
Ddroiddoc.go214 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 …]
Djdeps.go46 func (j *jdepsGeneratorSingleton) GenerateBuildActions(ctx android.SingletonContext) {
101 j.outputPath = jfpath
110 func (j *jdepsGeneratorSingleton) MakeVars(ctx android.MakeVarsContext) {
111 if j.outputPath == nil {
115 ctx.DistForGoal("general-tests", j.outputPath)
/build/blueprint/parser/
Dsort.go137 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/
Dexpand.go48 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
Dutil.go250 for j := 0; j < k; j++ {
251 if list[i] == list[j] {
281 for j := i - 1; j >= totalSkip; j-- {
282 if list[i] == list[j] {
285 list[j+skip] = list[j]
/build/soong/cmd/diff_target_files/
Dcompare.go102 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 …]
Dallow_list.go226 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/compliance/
Dpolicy_shareprivacyconflicts_test.go31 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()
Dresolution.go72 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
Dtest_util.go211 func (l byEdge) Swap(i, j int) { l[i], l[j] = l[j], l[i] }
215 func (l byEdge) Less(i, j int) bool {
216 if l[i].target == l[j].target {
217 return l[i].dep < l[j].dep
219 return l[i].target < l[j].target
307 func (l byAnnotatedEdge) Swap(i, j int) { l[i], l[j] = l[j], l[i] }
308 func (l byAnnotatedEdge) Less(i, j int) bool {
309 if l[i].target == l[j].target {
310 if l[i].dep == l[j].dep {
312 aj := append([]string{}, l[j].annotations...)
[all …]
Dgraph.go154 func (l TargetEdgeList) Swap(i, j int) { l[i], l[j] = l[j], l[i] }
157 func (l TargetEdgeList) Less(i, j int) bool {
159 namej := l[j].target.name
162 namej = l[j].dependency.name
165 return l[i].annotations.Compare(l[j].annotations) < 0
501 func (l TargetNodeList) Swap(i, j int) { l[i], l[j] = l[j], l[i] }
504 func (l TargetNodeList) Less(i, j int) bool {
505 return l[i].name < l[j].name
/build/make/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-resource-browser.js27 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)) {
Djquery-1.6.2.min.js16j,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
17j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");i…
Dprettify.js14j){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…
21j=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…
Djquery-resizable.min.js12 …,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…
29j 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
40j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio)… variable
/build/soong/shared/
Denv.go121 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/
Dfileslist.go157 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/
Dast.go118 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/
Dmacho.go36 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
Dpe.go42 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/
Djars-to-module-info-java.sh29 for j in "$@"; do zipinfo -1 $j ; done \

12345