Home
last modified time | relevance | path

Searched refs:entries (Results 1 – 25 of 67) sorted by relevance

123

/build/soong/cc/
Dandroidmk.go56 func (c *Module) subAndroidMk(entries *android.AndroidMkEntries, obj interface{}) {
63 androidmk.AndroidMkEntries(c, entries)
75 entries := android.AndroidMkEntries{
86 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
88 entries.AddStrings("LOCAL_LOGTAGS_FILES", c.Properties.Logtags...)
96entries.SetString("LOCAL_SYSTEM_SHARED_LIBRARIES", strings.Join(c.Properties.AndroidMkSystemShared…
98 entries.AddStrings("LOCAL_SHARED_LIBRARIES", c.Properties.AndroidMkSharedLibs...)
101 entries.AddStrings("LOCAL_STATIC_LIBRARIES", c.Properties.AndroidMkStaticLibs...)
104 entries.AddStrings("LOCAL_WHOLE_STATIC_LIBRARIES", c.Properties.AndroidMkWholeStaticLibs...)
107 entries.AddStrings("LOCAL_HEADER_LIBRARIES", c.Properties.AndroidMkHeaderLibs...)
[all …]
/build/soong/python/
Dandroidmk.go28 func (p *Module) subAndroidMk(entries *android.AndroidMkEntries, obj interface{}) {
35 androidmk.AndroidMk(p, entries)
41 entries := android.AndroidMkEntries{OutputFile: p.installSource}
43 p.subAndroidMk(&entries, p.installer)
45 return []android.AndroidMkEntries{entries}
48 func (p *binaryDecorator) AndroidMk(base *Module, entries *android.AndroidMkEntries) {
49 entries.Class = "EXECUTABLES"
51 entries.ExtraEntries = append(entries.ExtraEntries,
52 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
53 entries.AddCompatibilityTestSuites(p.binaryProperties.Test_suites...)
[all …]
/build/soong/java/
Dandroidmk.go44 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
45 entries.SetBool("LOCAL_IS_HOST_MODULE", true)
46 entries.SetPath("LOCAL_PREBUILT_MODULE_FILE", output)
48 entries.SetPath("LOCAL_SOONG_DEX_JAR", library.dexJarFile)
50 entries.SetPath("LOCAL_SOONG_HEADER_JAR", library.headerJarFile)
51 entries.SetPath("LOCAL_SOONG_CLASSES_JAR", library.implementationAndResourcesJar)
52 entries.SetString("LOCAL_MODULE_STEM", library.Stem()+"-hostdex")
77 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
78 entries.AddStrings("LOCAL_ADDITIONAL_CHECKED_MODULE", checkedModulePaths.Strings()...)
91 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
[all …]
Dandroidmk_test.go34 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
37 actual := entries.EntryMap["LOCAL_REQUIRED_MODULES"]
166 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
167 actual := entries.EntryMap["LOCAL_REQUIRED_MODULES"]
185 entries := android.AndroidMkEntriesForTest(t, result.TestContext, mod)[0]
187 actualSoongDexJar := entries.EntryMap["LOCAL_SOONG_DEX_JAR"]
201 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
204 actual := entries.EntryMap["LOCAL_DISABLE_TEST_CONFIG"]
Dsystemserver_classpath_fragment_test.go71 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
72 android.AssertIntEquals(t, "AndroidMkEntries count", 1, len(entries))
87 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
88 got := entries[0]
Dplatform_bootclasspath_test.go197 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
198 android.AssertIntEquals(t, "AndroidMkEntries count", 2, len(entries))
206 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
207 got := entries[0].OutputFile
224 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)
225 got := entries[1]
271 entries := android.AndroidMkEntriesForTest(t, result.TestContext, platformBootclasspath)
272 goals := entries[0].GetDistForGoals(platformBootclasspath)
/build/soong/rust/
Dandroidmk.go56 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
57 entries.AddStrings("LOCAL_RLIB_LIBRARIES", mod.Properties.AndroidMkRlibs...)
58 entries.AddStrings("LOCAL_DYLIB_LIBRARIES", mod.Properties.AndroidMkDylibs...)
59 entries.AddStrings("LOCAL_PROC_MACRO_LIBRARIES", mod.Properties.AndroidMkProcMacroLibs...)
60 entries.AddStrings("LOCAL_SHARED_LIBRARIES", mod.Properties.AndroidMkSharedLibs...)
61 entries.AddStrings("LOCAL_STATIC_LIBRARIES", mod.Properties.AndroidMkStaticLibs...)
62 entries.AddStrings("LOCAL_SOONG_LINK_TYPE", mod.makeLinkType)
64 entries.SetBool("LOCAL_USE_VNDK", true)
102 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
103 entries.AddCompatibilityTestSuites(test.Properties.Test_suites...)
[all …]
/build/soong/ui/tracer/
Dmicrofactory.go31 func (t *tracerImpl) importEvents(entries []*eventEntry) {
32 sort.Slice(entries, func(i, j int) bool {
33 return entries[i].Begin < entries[j].Begin
37 for _, entry := range entries {
74 entries := []*eventEntry{}
91 entries = append(entries, &eventEntry{
100 t.importEvents(entries)
/build/make/tools/releasetools/
Dimg_from_target_files89 def CopyZipEntries(input_file, output_file, entries): argument
101 logger.info('Writing %d entries to archive...', len(entries))
103 cmd.extend(entries)
119 entries = [
139 entries.append('{}:{}'.format(image_path, image))
140 return entries
153 entries = []
157 entries.append('{}:{}'.format(image, os.path.basename(image)))
158 return entries
201 entries = EntriesForUserImages(input_file)
[all …]
Dimg_from_target_files.py89 def CopyZipEntries(input_file, output_file, entries): argument
101 logger.info('Writing %d entries to archive...', len(entries))
103 cmd.extend(entries)
119 entries = [
139 entries.append('{}:{}'.format(image_path, image))
140 return entries
153 entries = []
157 entries.append('{}:{}'.format(image, os.path.basename(image)))
158 return entries
201 entries = EntriesForUserImages(input_file)
[all …]
Dtest_non_ab_ota.py38 entries = ()
39 zip_file = self.construct_zip_package(entries)
46 self._verify_entries(zip_file, tokens, entries)
49 entries = [
53 zip_file = self.construct_zip_package(entries)
63 entries[0] = 'metadata'
64 entries[1] = 'metadata.pb'
65 self._verify_entries(zip_file, tokens, entries)
68 entries = (
72 zip_file = self.construct_zip_package(entries)
Dtest_ota_from_target_files.py615 entries = [
619 zip_file = PropertyFilesTest.construct_zip_package(entries)
657 entries = [
663 zip_file = PropertyFilesTest.construct_zip_package(entries)
702 entries = (
706 zip_file = self.construct_zip_package(entries)
713 self._verify_entries(zip_file, tokens, entries)
716 entries = (
722 zip_file = self.construct_zip_package(entries)
729 self._verify_entries(zip_file, tokens, entries)
[all …]
/build/soong/finder/fs/
Dreaddir.go44 entries := make([]*dirEntryInfo, 0, 100)
56 entries = parseDirent(buf[:n], entries)
59 ret := make([]DirEntryInfo, 0, len(entries))
61 for _, entry := range entries {
81 func parseDirent(buf []byte, entries []*dirEntryInfo) []*dirEntryInfo {
85 return entries
120 entries = append(entries, &dirEntryInfo{string(name), mode, modeExists})
122 return entries
Dreaddir_test.go306 entries := parseDirent(testCase.in, nil)
307 if !reflect.DeepEqual(testCase.out, entries) {
308 t.Fatalf("expected:\n %v\ngot:\n %v\n", testCase.out, entries)
/build/soong/sh/
Dsh_binary_test.go54 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
57 actualPath := entries.EntryMap["LOCAL_MODULE_PATH"][0]
76 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
79 actualPath := entries.EntryMap["LOCAL_MODULE_PATH"][0]
83 actualData := entries.EntryMap["LOCAL_TEST_DATA"]
131 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
136 actualData := entries.EntryMap["LOCAL_TEST_DATA"]
196 entries := android.AndroidMkEntriesForTest(t, ctx, mod)[0]
202 actualData := entries.EntryMap["LOCAL_TEST_DATA"]
Dsh_binary.go269 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
270 s.customAndroidMkEntries(entries)
271 entries.SetString("LOCAL_MODULE_RELATIVE_PATH", proptools.String(s.properties.Sub_dir))
277 func (s *ShBinary) customAndroidMkEntries(entries *android.AndroidMkEntries) {
278 entries.SetString("LOCAL_MODULE_SUFFIX", "")
279 entries.SetString("LOCAL_MODULE_STEM", s.outputFilePath.Rel())
281 entries.SetString("LOCAL_MODULE_SYMLINKS", strings.Join(s.properties.Symlinks, " "))
418 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
419 s.customAndroidMkEntries(entries)
420 entries.SetPath("LOCAL_MODULE_PATH", s.installDir.ToMakePath())
[all …]
/build/soong/linkerconfig/
Dlinkerconfig_test.go55 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)[0]
57 if value, ok := entries.EntryMap[k]; ok {
66 if value, ok := entries.EntryMap["LOCAL_UNINSTALLABLE_MODULE"]; ok {
83 entries := android.AndroidMkEntriesForTest(t, result.TestContext, p)[0]
84 if value, ok := entries.EntryMap["LOCAL_UNINSTALLABLE_MODULE"]; ok {
Dlinkerconfig.go157 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
158 entries.SetString("LOCAL_MODULE_PATH", l.installDirPath.ToMakePath().String())
159 entries.SetString("LOCAL_INSTALLED_MODULE_STEM", l.outputFilePath.Base())
160 entries.SetBoolIfTrue("LOCAL_UNINSTALLABLE_MODULE", !installable)
161 entries.SetString("LINKER_CONFIG_PATH_"+l.Name(), l.OutputFile().String())
/build/soong/cmd/extract_apks/
Dmain.go52 entries map[string]*zip.File member
56 apkSet := &ApkSet{path: path, entries: make(map[string]*zip.File)}
62 apkSet.entries[f.Name] = f
69 tocFile, ok := apkSet.entries["toc.pb"]
320 entries []string member
336 result.entries = append(result.entries, apkdesc.GetPath())
394 for _, apk := range selected.entries {
395 apkFile, ok := apkSet.entries[apk]
422 if len(selected.entries) != 1 {
423 return fmt.Errorf("Too many matching entries for extract-single:\n%v", selected.entries)
[all …]
Dmain_test.go423 entries map[string]string member
427 if x, ok := w.entries[out]; ok {
430 w.entries[out] = file.Name
474 apkSet := ApkSet{entries: make(map[string]*zip.File)}
477 apkSet.entries[in] = &zip.File{FileHeader: zip.FileHeader{Name: in}}
478 sel.entries = append(sel.entries, in)
486 if !reflect.DeepEqual(testCase.expectedZipEntries, writer.entries) {
487 t.Errorf("expected zip entries %v, got %v", testCase.expectedZipEntries, writer.entries)
/build/soong/android/
Dcsuite_config.go47 func(ctx AndroidMkExtraEntriesContext, entries *AndroidMkEntries) {
49 entries.SetString("LOCAL_TEST_CONFIG", *me.properties.Test_config)
51 entries.AddCompatibilityTestSuites("csuite")
/build/soong/apex/
Dprebuilt.go201 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
202 entries.SetString("LOCAL_MODULE_PATH", p.installDir.ToMakePath().String())
203 entries.SetString("LOCAL_MODULE_STEM", p.installFilename)
204 entries.SetBoolIfTrue("LOCAL_UNINSTALLABLE_MODULE", !p.installable())
205 entries.AddStrings("LOCAL_OVERRIDES_MODULES", p.prebuiltCommonProperties.Overrides...)
209 entries.SetString("LOCAL_POST_INSTALL_CMD", strings.Join(postInstallCommands, " && "))
221 entries := p.createEntriesForApexFile(fi, apexName)
222 entriesList = append(entriesList, entries)
231 entries := android.AndroidMkEntries{
237 func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
[all …]
/build/soong/cmd/merge_zips/
Dmerge_zips.go309 entries := make([]string, len(oz.sourceByDest))
312 entries[i] = entry
315 return entries
319 entries := oz.entriesArray()
320 …sort.SliceStable(entries, func(i, j int) bool { return jar.EntryNamesLess(entries[i], entries[j]) …
321 return entries
325 entries := oz.entriesArray()
326 sort.Strings(entries)
327 return entries
330 func (oz *OutputZip) writeEntries(entries []string) error {
[all …]
Dmerge_zips_test.go56 entries []testZipEntry member
66 tiz.reader = testZipEntriesToZipReader(tiz.entries)
245 inputZips[i] = &testInputZip{name: "in" + strconv.Itoa(i), entries: in}
280 func testZipEntriesToBuf(entries []testZipEntry) []byte {
284 for _, e := range entries {
309 func testZipEntriesToZipReader(entries []testZipEntry) *zip.Reader {
310 b := testZipEntriesToBuf(entries)
/build/make/tools/product_config/test/com/android/build/config/
DErrorReporterTest.java38 List<TestErrors.Entry> entries = errors.getEntries(); in testAdding() local
39 Assert.assertEquals(1, entries.size()); in testAdding()
41 TestErrors.Entry entry = entries.get(0); in testAdding()

123