Home
last modified time | relevance | path

Searched refs:Entry (Results 1 – 25 of 99) sorted by relevance

1234

/cts/tests/sensor/src/android/hardware/cts/helpers/
DActivityResultMultiplexedLatch.java35 private final HashMap<Integer, Entry> mActivityEntries = new HashMap<Integer, Entry>();
42 private Entry mEntry;
44 private Latch(Entry entry) { in Latch()
69 private class Entry { class in ActivityResultMultiplexedLatch
75 public Entry(int requestCode) { in Entry() method in ActivityResultMultiplexedLatch.Entry
86 Entry entry; in bindThread()
93 entry = new Entry(requestCode); in bindThread()
104 Entry entry; in onActivityResult()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DReleaseParser.java69 private Map<String, Entry> mEntries;
75 mEntries = new HashMap<String, Entry>(); in ReleaseParser()
95 Entry.Builder fBuilder = parseFolder(mFolderPath); in getReleaseContent()
107 Entry fEntry = fBuilder.build(); in getReleaseContent()
115 private Entry.Builder parseFolder(String fPath) { in parseFolder()
116 Entry.Builder folderEntry = Entry.newBuilder(); in parseFolder()
122 List<Entry> entryList = new ArrayList<Entry>(); in parseFolder()
130 Entry.Builder fileEntryBuilder = fParser.getFileEntryBuilder(); in parseFolder()
139 Entry.EntryType eType = fParser.getType(); in parseFolder()
183 Entry fEntry = fileEntryBuilder.build(); in parseFolder()
[all …]
DDepCsvPrinter.java36 private TreeMap<String, Entry> mTreeEntryMap;
41 private ArrayList<Entry> mEntryList;
51 mTreeEntryMap = new TreeMap<String, Entry>(mRelContent.getEntries()); in DepCsvPrinter()
61 for (Entry entry : mRelContent.getEntries().values()) { in compareEntries()
62 if (entry.getType() == Entry.EntryType.EXE) { in compareEntries()
77 for (Entry entry : mRelContent.getEntries().values()) { in compareEntry()
85 public void writeCsv(Entry entry, String fileName) { in writeCsv()
91 mEntryList = new ArrayList<Entry>(); in writeCsv()
103 for (Map.Entry<String, String> node : mLibMap.entrySet()) { in writeCsv()
108 for (Map.Entry<String, String> link : mDepPathMap.entrySet()) { in writeCsv()
[all …]
DTestModuleConfigParser.java31 private Entry.EntryType mType;
39 public Entry.EntryType getType() { in getType()
48 if (mType == Entry.EntryType.TEST_MODULE_CONFIG) { in setAdditionalInfo()
72 mType = Entry.EntryType.TEST_MODULE_CONFIG; in parseFile()
77 mType = Entry.EntryType.FILE; in parseFile()
DDepPrinter.java35 private TreeMap<String, Entry> mTreeEntryMap;
49 mTreeEntryMap = new TreeMap<String, Entry>(mRelContent.getEntries()); in DepPrinter()
59 for (Entry entry : mRelContent.getEntries().values()) { in compareEntries()
60 if (entry.getType() == Entry.EntryType.EXE) { in compareEntries()
75 for (Entry entry : mRelContent.getEntries().values()) { in compareEntry()
83 public void writeDigraph(Entry entry, String fileName) { in writeDigraph()
130 for (Entry entry : mRelContent.getEntries().values()) { in compareRcEntries()
131 if (entry.getType() == Entry.EntryType.RC) { in compareRcEntries()
147 public void writeRcDigraph(Entry entry, String rootNode) { in writeRcDigraph()
161 Entry targetEntry = mRelContent.getEntries().get(targetFile); in writeRcDigraph()
[all …]
DJsonPrinter.java83 for (Map.Entry<String, String> pSet : pMap.entrySet()) { in writeProperties()
92 private void writeTargetFileInfo(Collection<Entry> entries) throws IOException { in writeTargetFileInfo()
95 for (Entry entry : entries) { in writeTargetFileInfo()
120 Collection<Entry> entries = mRelContent.getEntries().values(); in writeAppInfo()
121 for (Entry entry : entries) { in writeAppInfo()
122 if (entry.getType() == Entry.EntryType.APK) { in writeAppInfo()
191 Collection<Entry> entries = packageFileContent.getEntries().values(); in writePackageFileContent()
192 for (Entry entry : entries) { in writePackageFileContent()
202 private void writeApiDep(Collection<Entry> entries) throws IOException { in writeApiDep()
203 for (Entry entry : entries) { in writeApiDep()
[all …]
DZipParser.java35 private HashMap<String, Entry> mFileMap;
77 public Entry.Builder getFileEntryBuilder() { in getFileEntryBuilder()
121 mFileMap = new HashMap<String, Entry>(); in parseFileContent()
134 Entry.Builder entryBuilder = Entry.newBuilder(); in parseFileContent()
139 entryBuilder.setType(Entry.EntryType.FOLDER); in parseFileContent()
141 entryBuilder.setType(Entry.EntryType.FILE); in parseFileContent()
217 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in main()
DFileParser.java59 protected Entry.Builder mFileEntryBuilder;
118 public Entry.Builder getFileEntryBuilder() { in getFileEntryBuilder()
125 public Entry.EntryType getType() { in getType()
126 return Entry.EntryType.FILE; in getType()
187 public static void writeTextFormatMessage(String outputFileName, Entry fileEntry) in writeTextFormatMessage()
200 mFileEntryBuilder = Entry.newBuilder(); in parse()
DBuildPropParser.java30 private Entry.EntryType mType;
38 public Entry.EntryType getType() { in getType()
103 mType = Entry.EntryType.BUILD_PROP; in parseFile()
128 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in main()
DOdexParser.java29 public Entry.EntryType getType() { in getType()
30 return Entry.EntryType.ODEX; in getType()
DJarParser.java29 public Entry.EntryType getType() { in getType()
30 return Entry.EntryType.JAR; in getType()
DExeParser.java29 public Entry.EntryType getType() { in getType()
30 return Entry.EntryType.EXE; in getType()
DImgParser.java31 public Entry.EntryType getType() { in getType()
32 return Entry.EntryType.IMG; in getType()
DSymbolicLinkParser.java31 public Entry.EntryType getType() { in getType()
32 return Entry.EntryType.SYMBOLIC_LINK; in getType()
DXmlParser.java39 public Entry.EntryType getType() { in getType()
40 return Entry.EntryType.XML; in getType()
92 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in main()
DApkParser.java35 public Entry.EntryType getType() { in getType()
36 return Entry.EntryType.APK; in getType()
115 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in main()
DTestSuiteParser.java134 for (Entry entry : getFileEntriesList(mRelContent)) { in praseTestSuite()
136 if (Entry.EntryType.TEST_MODULE_CONFIG == entry.getType()) { in praseTestSuite()
184 Entry tEntry = getFileEntry(testFileName); in parseAndroidJUnitTest()
195 private Entry getFileEntry(String name) { in getFileEntry()
196 Entry fEntry = null; in getFileEntry()
197 for (Entry et : getFileEntriesList(mRelContent)) { in getFileEntry()
310 Entry tEntry = getFileEntry(testFileName); in parseJavaHostTest()
557 Entry entry = mRelContent.getEntries().get(config); in writeModuleCsvFile()
584 public static Collection<Entry> getFileEntriesList(ReleaseContent relContent) { in getFileEntriesList()
589 private String getTestModuleContentId(Entry config, List<String> apks, List<String> jars) { in getTestModuleContentId()
[all …]
DVdexParser.java38 public Entry.EntryType getType() { in getType()
39 return Entry.EntryType.VDEX; in getType()
146 Entry fileEntry = aParser.getFileEntryBuilder().build(); in main()
/cts/tools/release-parser/tests/src/com/android/cts/releaseparser/
DFileParserTest.java60 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in testVdex()
76 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in testArt()
92 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in testOat()
108 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in testOdex()
124 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in testBuildProp()
153 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in testXmlParser()
158 private void testFileParser(String fileName, Entry fileEntry) throws Exception { in testFileParser()
159 Entry.Builder expectedEntryBuilder = Entry.newBuilder(); in testFileParser()
DApkParserTest.java78 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in testApkParser()
81 Entry fileEntry = fileEntryBuilder.build(); in testApkParser()
82 Entry.Builder expectedfileEntryBuilder = Entry.newBuilder(); in testApkParser()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTestSuiteContentReport.java125 private static FileMetadata parseFileMetadata(Entry.Builder fEntry, File file) in parseFileMetadata()
128 fEntry.setType(Entry.EntryType.CONFIG); in parseFileMetadata()
131 fEntry.setType(Entry.EntryType.APK); in parseFileMetadata()
133 fEntry.setType(Entry.EntryType.JAR); in parseFileMetadata()
135 fEntry.setType(Entry.EntryType.SO); in parseFileMetadata()
138 fEntry.setType(Entry.EntryType.FILE); in parseFileMetadata()
207 …private static Entry.Builder parseFolder(TestSuiteContent.Builder testSuiteContent, String fPath, … in parseFolder()
209 Entry.Builder folderEntry = Entry.newBuilder(); in parseFolder()
219 List <Entry> entryList = new ArrayList<Entry> (); in parseFolder()
223 Entry.Builder fileEntry = Entry.newBuilder(); in parseFolder()
[all …]
DApiPackage.java24 import java.util.Map.Entry;
82 Iterator<Entry<String, ApiClass>> it = mApiClassMap.entrySet().iterator(); in resolveSuperClasses()
84 Map.Entry<String, ApiClass> entry = it.next(); in resolveSuperClasses()
/cts/tests/tests/util/src/android/util/cts/
DArrayMapTest.java170 Set<Map.Entry> mapSet = map.entrySet(); in compareMaps()
171 for (Map.Entry entry : mapSet) { in compareMaps()
240 Set<Map.Entry> entrySet = array.entrySet(); in validateArrayMap()
242 Iterator<Map.Entry> entryIt = entrySet.iterator(); in validateArrayMap()
244 Map.Entry entry = entryIt.next(); in validateArrayMap()
318 Set<Map.Entry> mapSet = map.entrySet(); in dump()
319 for (Map.Entry entry : mapSet) { in dump()
526 Map.Entry<?, ?>[] entries = new Map.Entry[20];
553 Set<Map.Entry<String, String>> expectedEntriesToIterate = new HashSet<>(Arrays.asList(
557 Iterator<Map.Entry<String, String>> iterator = map.entrySet().iterator();
[all …]
/cts/tools/dasm/src/dasm/
DDasmCatchBuilder.java193 CatchHandlerList.Entry catch_all = null; in build()
201 CatchHandlerList.Entry chle = new CatchHandlerList.Entry(type, in build()
214 CatchTable.Entry entry = new CatchTable.Entry(from.getAddress(), to in build()
/cts/tools/cts-api-coverage/proto/
Dtestsuite.proto129 message Entry { message
130 // Entry ID
161 // Entry ID
172 repeated Entry file_entries = 6;

1234