Home
last modified time | relevance | path

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

123

/build/soong/java/
Djava.go87 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 …]
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 …]
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.go48 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)
Djacoco.go38 `${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…
Dgen.go130 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/
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
Ddepset_generic.go311 for i, j := 0, length-1; i < j; i, j = i+1, j-1 {
312 swapper(i, j)
/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)) {
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…
Dandroid-developer-docs.js205 var i, j;
210 for (j = 0; j < tags.length; j++)
211 if (tags[j] == tag) {
231 for (j = 0; j < tags.length; j++) {
232 if (tags[j] == 'new') {
235 } else if (tags[j] == 'updated') {
/build/soong/cmd/diff_target_files/
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/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/scripts/
Djars-to-module-info-java.sh29 for j in "$@"; do zipinfo -1 $j ; done \
/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/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/blueprint/
Dglob.go90 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
Dname_interface.go154 less := func(i, j int) bool {
155 if groups[i].name == groups[j].name {
158 return groups[i].name < groups[j].name
/build/blueprint/bootstrap/bpdoc/
Dbpdoc.go102 …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/
Dconversion_test.go58 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
Dconversion.go67 sort.Slice(targets, func(i, j int) bool {
69 if targets[i].name < targets[j].name {
73 return targets[i].content < targets[j].content
/build/soong/cc/
Dccdeps.go238 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] }

123