/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | ActivityResultMultiplexedLatch.java | 35 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/ |
D | ReleaseParser.java | 69 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() 133 Entry.Builder fileEntryBuilder = fParser.getFileEntryBuilder(); in parseFolder() 142 Entry.EntryType eType = fParser.getType(); in parseFolder() 186 Entry fEntry = fileEntryBuilder.build(); in parseFolder() [all …]
|
D | DepCsvPrinter.java | 36 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 …]
|
D | TestModuleConfigParser.java | 31 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()
|
D | DepPrinter.java | 35 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 …]
|
D | JsonPrinter.java | 83 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 …]
|
D | ZipParser.java | 35 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()
|
D | ExeParser.java | 29 public Entry.EntryType getType() { in getType() 30 return Entry.EntryType.EXE; in getType()
|
D | JarParser.java | 29 public Entry.EntryType getType() { in getType() 30 return Entry.EntryType.JAR; in getType()
|
D | OdexParser.java | 29 public Entry.EntryType getType() { in getType() 30 return Entry.EntryType.ODEX; in getType()
|
D | FileParser.java | 59 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()
|
D | ImgParser.java | 31 public Entry.EntryType getType() { in getType() 32 return Entry.EntryType.IMG; in getType()
|
D | BuildPropParser.java | 30 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()
|
D | SymbolicLinkParser.java | 31 public Entry.EntryType getType() { in getType() 32 return Entry.EntryType.SYMBOLIC_LINK; in getType()
|
D | XmlParser.java | 39 public Entry.EntryType getType() { in getType() 40 return Entry.EntryType.XML; in getType() 92 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in main()
|
D | ApkParser.java | 35 public Entry.EntryType getType() { in getType() 36 return Entry.EntryType.APK; in getType() 115 Entry.Builder fileEntryBuilder = aParser.getFileEntryBuilder(); in main()
|
/cts/tests/credentials/src/android/credentials/cts/unittests/selection/ |
D | GetCredentialProviderInfoTest.java | 26 import android.credentials.selection.Entry; 58 final List<Entry> credEntryList = new ArrayList<>(); in testConstructor() 59 credEntryList.add(new Entry("key1", "subkey1", SLICE, new Intent("action1"))); in testConstructor() 60 credEntryList.add(new Entry("key2", "subkey1", new Slice.Builder(Uri.parse("scheme://foo"), in testConstructor() 64 credEntryList.add(new Entry("key3", "subkey", new Slice.Builder(Uri.parse("scheme://bar"), in testConstructor() 68 final List<Entry> actionList = new ArrayList<>(); in testConstructor() 69 credEntryList.add(new Entry("key4", "subkey1", new Slice.Builder(Uri.parse("foo://action1"), in testConstructor() 73 credEntryList.add(new Entry("key4", "subkey2", new Slice.Builder(Uri.parse("foo://action2"), in testConstructor() 83 final Entry remoteEntry = new Entry("remotekey", "1", SLICE, new Intent("action8")); in testConstructor()
|
D | CreateCredentialProviderInfoTest.java | 28 import android.credentials.selection.Entry; 56 private static final Entry REMOTE_ENTRY = new Entry("remote_entry_key", 62 final List<Entry> saveEntryList = new ArrayList<>(); in testConstruction() 63 saveEntryList.add(new Entry("k2", "subkey1", new Slice.Builder(Uri.parse("scheme://foo"), in testConstruction() 67 saveEntryList.add(new Entry("key3", "subkey", new Slice.Builder(Uri.parse("scheme://bar"), in testConstruction() 71 saveEntryList.add(new Entry("k1", "subkey1", SLICE, new Intent("action1"))); in testConstruction()
|
D | EntryTest.java | 26 import android.credentials.selection.Entry; 59 Entry testEntry = new Entry("key", "subkey", slice, intent); in testConstructor() 77 final Entry entry1 = new Entry("k1", "k2", slice, intent); in testWriteToParcel() 79 final Entry entry2 = TestUtils.cloneParcelable(entry1); in testWriteToParcel()
|
D | IntentHelperTest.java | 38 import android.credentials.selection.Entry; 83 private static final Entry CREDENTIAL_ENTRY = new Entry(KEY, SUBKEY, SLICE, MOCK_INTENT); 87 private static final List<Entry> ENTRY_LIST = List.of(CREDENTIAL_ENTRY); 88 private static final List<Entry> SAVE_ENTRY_LIST = List.of(CREDENTIAL_ENTRY); 89 private static final List<Entry> ACTION_LIST = List.of(CREDENTIAL_ENTRY); 92 private static final Entry REMOTE_ENTRY = new Entry(KEY, SUBKEY, SLICE, MOCK_INTENT);
|
/cts/tools/release-parser/tests/src/com/android/cts/releaseparser/ |
D | FileParserTest.java | 60 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()
|
D | ApkParserTest.java | 78 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/ |
D | TestSuiteContentReport.java | 125 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 …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | ArrayMapTest.java | 172 Set<Map.Entry> mapSet = map.entrySet(); in compareMaps() 173 for (Map.Entry entry : mapSet) { in compareMaps() 242 Set<Map.Entry> entrySet = array.entrySet(); in validateArrayMap() 244 Iterator<Map.Entry> entryIt = entrySet.iterator(); in validateArrayMap() 246 Map.Entry entry = entryIt.next(); in validateArrayMap() 320 Set<Map.Entry> mapSet = map.entrySet(); in dump() 321 for (Map.Entry entry : mapSet) { in dump() 528 Map.Entry<?, ?>[] entries = new Map.Entry[20]; 555 Set<Map.Entry<String, String>> expectedEntriesToIterate = new HashSet<>(Arrays.asList( 559 Iterator<Map.Entry<String, String>> iterator = map.entrySet().iterator(); [all …]
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicommon/ |
D | ApiPackage.java | 23 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()
|