/frameworks/base/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/ |
D | ViewDumpParser.java | 8 import java.util.Map; 11 private Map<String, Short> mIds; 12 private List<Map<Short,Object>> mViews; 31 if (o instanceof Map) { in parse() 33 mViews.add((Map<Short, Object>) o); in parse() 47 Map<Short,Object> idMap = mViews.remove(mViews.size() - 1); in parse() 56 Map<Short, Object> props = mViews.get(0); in getFirstView() 67 private Object getProperty(Map<Short, Object> props, String key) { in getProperty() 71 private static Map<String, Short> reverse(Map<Short, Object> m) { in reverse() 72 Map<String, Short> r = new HashMap<String, Short>(m.size()); in reverse() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | ContextComponentResolver.java | 26 import java.util.Map; 36 private final Map<Class<?>, Provider<Activity>> mActivityCreators; 37 private final Map<Class<?>, Provider<Service>> mServiceCreators; 38 private final Map<Class<?>, Provider<SystemUI>> mSystemUICreators; 39 private final Map<Class<?>, Provider<RecentsImplementation>> mRecentsCreators; 40 private final Map<Class<?>, Provider<BroadcastReceiver>> mBroadcastReceiverCreators; 43 ContextComponentResolver(Map<Class<?>, Provider<Activity>> activityCreators, in ContextComponentResolver() 44 Map<Class<?>, Provider<Service>> serviceCreators, in ContextComponentResolver() 45 Map<Class<?>, Provider<SystemUI>> systemUICreators, in ContextComponentResolver() 46 Map<Class<?>, Provider<RecentsImplementation>> recentsCreators, in ContextComponentResolver() [all …]
|
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/visibilitystore/ |
D | VisibleToPackagesMap.java | 23 import java.util.Map; 37 private final Map<String, Map<String, Map<String, Set<PackageIdentifier>>>> mMap = 48 @NonNull Map<String, Set<PackageIdentifier>> schemaToPackageIdentifier) { in setVisibleToPackages() 49 Map<String, Map<String, Set<PackageIdentifier>>> databaseToSchemaTypeToVisibility = in setVisibleToPackages() 69 Map<String, Map<String, Set<PackageIdentifier>>> databaseToSchemaTypeToVisibility = in getAccessiblePackages() 74 Map<String, Set<PackageIdentifier>> schemaTypeToVisibility = in getAccessiblePackages()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | AsmAnalyzer.java | 42 import java.util.Map; 43 import java.util.Map.Entry; 62 private final Map<String, ClassReader> mFound; 63 private final Map<String, ClassReader> mDeps; 64 private final Map<String, InputStream> mFilesFound; 67 private Result(Map<String, ClassReader> found, Map<String, ClassReader> deps, in Result() 68 Map<String, InputStream> filesFound, Set<String> replaceMethodCallClasses) { in Result() 75 public Map<String, ClassReader> getFound() { in getFound() 79 public Map<String, ClassReader> getDeps() { in getDeps() 83 public Map<String, InputStream> getFilesFound() { in getFilesFound() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | ScrimControllerTest.java | 75 import java.util.Map; 254 assertScrimAlpha(Map.of( in transitionToKeyguard() 258 assertScrimTinted(Map.of( in transitionToKeyguard() 270 assertScrimAlpha(Map.of( in transitionToShadeLocked() 275 assertScrimTinted(Map.of( in transitionToShadeLocked() 289 assertScrimAlpha(Map.of( in transitionToShadeLocked_clippingQs() 294 assertScrimTinted(Map.of( in transitionToShadeLocked_clippingQs() 306 assertScrimAlpha(Map.of( in transitionToOff() 310 assertScrimTinted(Map.of( in transitionToOff() 324 assertScrimAlpha(Map.of( in transitionToAod_withRegularWallpaper() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | HwTests.java | 34 import java.util.Map; 58 protected List<Map<String, Object>> getData(String prefix) { in getData() 59 List<Map<String, Object>> myData = new ArrayList<Map<String, Object>>(); in getData() 82 Map<String, Boolean> entries = new HashMap<String, Boolean>(); in getData() 116 private final static Comparator<Map<String, Object>> sDisplayNameComparator = 117 new Comparator<Map<String, Object>>() { 120 public int compare(Map<String, Object> map1, Map<String, Object> map2) { 138 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { in addItem() 139 Map<String, Object> temp = new HashMap<String, Object>(); in addItem() 148 Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position); in onListItemClick()
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | VectorDrawableTest.java | 33 import java.util.Map; 57 protected List<Map<String, Object>> getData(String prefix) { in getData() 58 List<Map<String, Object>> myData = new ArrayList<Map<String, Object>>(); in getData() 81 Map<String, Boolean> entries = new HashMap<String, Boolean>(); in getData() 115 private final static Comparator<Map<String, Object>> sDisplayNameComparator = 116 new Comparator<Map<String, Object>>() { 119 public int compare(Map<String, Object> map1, Map<String, Object> map2) { 137 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { in addItem() 138 Map<String, Object> temp = new HashMap<String, Object>(); in addItem() 147 Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position); in onListItemClick()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | PeopleBackupHelperTest.java | 57 import java.util.Map; 132 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>(WIDGET_ID_STRING, "contact"); in testGetKeyType_widgetId() 138 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_widgetId_twoDigits() 145 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_peopleTileKey_valid() 152 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_peopleTileKey_validWithSlashes() 159 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_peopleTileKey_negativeNumber() 166 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_contactUri() 173 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_contactUri_valid() 180 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_contactUri_invalidPackageName() 187 Map.Entry<String, ?> entry = new AbstractMap.SimpleEntry<>( in testGetKeyType_unknown_unexpectedValueForPeopleTileKey() [all …]
|
/frameworks/base/identity/java/android/security/identity/ |
D | CredstoreResultData.java | 26 import java.util.Map; 38 private Map<String, Map<String, EntryData>> mData = new LinkedHashMap<>(); 75 Map<String, EntryData> innerMap = mData.get(namespaceName); in getEntryNames() 84 Map<String, EntryData> innerMap = mData.get(namespaceName); in getRetrievedEntryNames() 89 for (Map.Entry<String, EntryData> entry : innerMap.entrySet()) { in getRetrievedEntryNames() 98 Map<String, EntryData> innerMap = mData.get(namespaceName); in getEntryData() 136 private Map<String, EntryData> getOrCreateInnerMap(String namespaceName) { in getOrCreateInnerMap() 137 Map<String, EntryData> innerMap = mResultData.mData.get(namespaceName); in getOrCreateInnerMap() 146 Map<String, EntryData> innerMap = getOrCreateInnerMap(namespaceName); in addEntry() 152 Map<String, EntryData> innerMap = getOrCreateInnerMap(namespaceName); in addErrorStatus()
|
/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/ |
D | AppSearchBatchResult.java | 23 import java.util.Map; 44 @NonNull private final Map<KeyType, ValueType> mSuccesses; 45 @NonNull private final Map<KeyType, AppSearchResult<ValueType>> mFailures; 46 @NonNull private final Map<KeyType, AppSearchResult<ValueType>> mAll; 49 @NonNull Map<KeyType, ValueType> successes, in AppSearchBatchResult() 50 @NonNull Map<KeyType, AppSearchResult<ValueType>> failures, in AppSearchBatchResult() 51 @NonNull Map<KeyType, AppSearchResult<ValueType>> all) { in AppSearchBatchResult() 73 public Map<KeyType, ValueType> getSuccesses() { in getSuccesses() 84 public Map<KeyType, AppSearchResult<ValueType>> getFailures() { in getFailures() 95 public Map<KeyType, AppSearchResult<ValueType>> getAll() { in getAll()
|
D | SetSchemaRequest.java | 30 import java.util.Map; 86 private final Map<String, Set<PackageIdentifier>> mSchemasVisibleToPackages; 87 private final Map<String, Migrator> mMigrators; 94 @NonNull Map<String, Set<PackageIdentifier>> schemasVisibleToPackages, in SetSchemaRequest() 95 @NonNull Map<String, Migrator> migrators, in SetSchemaRequest() 128 public Map<String, Set<PackageIdentifier>> getSchemasVisibleToPackages() { in getSchemasVisibleToPackages() 129 Map<String, Set<PackageIdentifier>> copy = new ArrayMap<>(); in getSchemasVisibleToPackages() 141 public Map<String, Migrator> getMigrators() { in getMigrators() 155 public Map<String, Set<PackageIdentifier>> getSchemasVisibleToPackagesInternal() { in getSchemasVisibleToPackagesInternal() 348 public Builder setMigrators(@NonNull Map<String, Migrator> migrators) { in setMigrators() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | TestOnlyInsecureCertificateHelperTest.java | 17 import java.util.Map; 68 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList() 69 Map<String, Pair<SecretKey, byte[]>> expectedResult = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList() 71 Map<String, Pair<SecretKey, byte[]>> filteredKeys = in testKeepOnlyWhitelistedInsecureKeys_emptyKeysList() 79 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey() 80 Map<String, Pair<SecretKey, byte[]>> expectedResult = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey() 85 Map<String, Pair<SecretKey, byte[]>> filteredKeys = in testKeepOnlyWhitelistedInsecureKeys_singleNonWhitelistedKey() 93 Map<String, Pair<SecretKey, byte[]>> rawKeys = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey() 94 Map<String, Pair<SecretKey, byte[]>> expectedResult = new HashMap<>(); in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey() 100 Map<String, Pair<SecretKey, byte[]>> filteredKeys = in testKeepOnlyWhitelistedInsecureKeys_singleWhitelistedKey() [all …]
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | MainActivity.java | 37 import java.util.Map; 49 Map<String, Object> map = (Map<String, Object>)l.getItemAtPosition(position); in onListItemClick() 88 protected List<Map<String, Object>> getData(String prefix) { in getData() 89 List<Map<String, Object>> myData = new ArrayList<>(); in getData() 112 Map<String, Boolean> entries = new HashMap<>(); in getData() 146 private final static Comparator<Map<String, Object>> sDisplayNameComparator = 147 new Comparator<Map<String, Object>>() { 150 public int compare(Map<String, Object> map1, Map<String, Object> map2) { 168 protected void addItem(List<Map<String, Object>> data, String name, Intent intent) { in addItem() 169 Map<String, Object> temp = new HashMap<>(); in addItem()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | Bridge.java | 60 import java.util.Map; 96 private final static Map<Integer, Pair<ResourceType, String>> sRMap = new HashMap<>(); 102 …private final static Map<ResourceType, Map<String, Integer>> sRevRMap = new EnumMap<>(ResourceType… 110 private final static Map<Object, Map<String, SoftReference<Bitmap>>> sProjectBitmapCache = 112 … private final static Map<Object, Map<String, SoftReference<NinePatchChunk>>> sProject9PatchCache = 115 private final static Map<String, SoftReference<Bitmap>> sFrameworkBitmapCache = new HashMap<>(); 116 private final static Map<String, SoftReference<NinePatchChunk>> sFramework9PatchCache = 119 private static Map<String, Map<String, Integer>> sEnumValueMap; 120 private static Map<String, String> sPlatformProperties; 151 public boolean init(Map<String,String> platformProperties, in init() [all …]
|
/frameworks/base/core/java/android/util/ |
D | MapCollections.java | 24 import java.util.Map; 76 final class MapIterator implements Iterator<Map.Entry<K, V>>, Map.Entry<K, V> { 92 public Map.Entry<K, V> next() { in next() 143 if (!(o instanceof Map.Entry)) { in equals() 146 Map.Entry<?, ?> e = (Map.Entry<?, ?>) o; in equals() 169 final class EntrySet implements Set<Map.Entry<K, V>> { 171 public boolean add(Map.Entry<K, V> object) { in add() 176 public boolean addAll(Collection<? extends Map.Entry<K, V>> collection) { in addAll() 178 for (Map.Entry<K, V> entry : collection) { in addAll() 191 if (!(o instanceof Map.Entry)) in contains() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/license/ |
D | LicenseHtmlGeneratorFromXmlTest.java | 34 import java.util.Map; 107 Map<String, Set<String>> fileNameToContentIdMap = new HashMap<>(); in testParseValidXmlStream() 108 Map<String, String> contentIdToFileContentMap = new HashMap<>(); in testParseValidXmlStream() 122 Map<String, Set<String>> fileNameToContentIdMap = new HashMap<>(); in testParseInvalidXmlStream() 123 Map<String, String> contentIdToFileContentMap = new HashMap<>(); in testParseInvalidXmlStream() 132 Map<String, Set<String>> fileNameToContentIdMap = new HashMap<>(); in testGenerateHtml() 133 Map<String, String> contentIdToFileContentMap = new HashMap<>(); in testGenerateHtml() 148 Map<String, Set<String>> fileNameToContentIdMap = new HashMap<>(); in testGenerateHtmlWithCustomHeading() 149 Map<String, String> contentIdToFileContentMap = new HashMap<>(); in testGenerateHtmlWithCustomHeading()
|
/frameworks/base/keystore/java/android/security/ |
D | AppUriAuthenticationPolicy.java | 34 import java.util.Map; 69 private final Map<String, UrisToAliases> mAppToUris; 71 private AppUriAuthenticationPolicy(@NonNull Map<String, UrisToAliases> appToUris) { in AppUriAuthenticationPolicy() 80 private Map<String, UrisToAliases> mPackageNameToUris; 164 Map<String, UrisToAliases> appToUris = new HashMap<>(); 189 public Map<String, Map<Uri, String>> getAppAndUriMappings() { in getAppAndUriMappings() 190 Map<String, Map<Uri, String>> appAndUris = new HashMap<>(); in getAppAndUriMappings() 191 for (Map.Entry<String, UrisToAliases> entry : mAppToUris.entrySet()) { in getAppAndUriMappings() 229 for (Map.Entry<String, UrisToAliases> appsToUris : mAppToUris.entrySet()) { in writeToXml()
|
/frameworks/base/core/java/android/widget/ |
D | SimpleExpandableListAdapter.java | 25 import java.util.Map; 40 private List<? extends Map<String, ?>> mGroupData; 46 private List<? extends List<? extends Map<String, ?>>> mChildData; 91 List<? extends Map<String, ?>> groupData, int groupLayout, in SimpleExpandableListAdapter() 93 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter() 139 List<? extends Map<String, ?>> groupData, int expandedGroupLayout, in SimpleExpandableListAdapter() 141 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter() 193 List<? extends Map<String, ?>> groupData, int expandedGroupLayout, in SimpleExpandableListAdapter() 195 List<? extends List<? extends Map<String, ?>>> childData, in SimpleExpandableListAdapter() 243 private void bindView(View view, Map<String, ?> data, String[] from, int[] to) { in bindView()
|
/frameworks/base/services/core/java/com/android/server/signedconfig/ |
D | SignedConfig.java | 29 import java.util.Map; 71 public final Map<String, String> values; 73 public PerSdkConfig(int minSdk, int maxSdk, Map<String, String> values) { in PerSdkConfig() 125 Map<String, Map<String, String>> keyValueMappers) in parse() 155 Map<String, Map<String, String>> keyValueMappers) in parsePerSdkConfig() 160 Map<String, String> values = new HashMap<>(); in parsePerSdkConfig() 170 Map<String, String> mapper = keyValueMappers.get(key); in parsePerSdkConfig()
|
/frameworks/ex/common/tests/src/com/android/common/ |
D | Rfc822ValidatorTest.java | 24 import java.util.Map; 92 Map<String, String> fixes = new HashMap<String, String>(); in testEmailValidator() 98 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidator() 107 Map<String, String> fixes = new HashMap<String, String>(); in testEmailValidatorNullDomain() 113 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidatorNullDomain() 123 Map<String, String> fixes = new HashMap<String, String>(); in testEmailValidatorRemoveInvalid() 129 for (Map.Entry<String, String> e : fixes.entrySet()) { in testEmailValidatorRemoveInvalid()
|
/frameworks/base/core/java/android/util/apk/ |
D | SourceStampVerifier.java | 59 import java.util.Map; 148 Map<Integer, Map<Integer, byte[]>> signatureSchemeApkContentDigests = in verify() 161 Map<Integer, byte[]> signatureSchemeDigests, in verify() 174 Map<Integer, ByteBuffer> signedSignatureSchemeData = new HashMap<>(); in verify() 182 for (Map.Entry<Integer, byte[]> signatureSchemeDigest : signatureSchemeDigests.entrySet()) { in verify() 334 private static Map<Integer, Map<Integer, byte[]>> getSignatureSchemeApkContentDigests( in getSignatureSchemeApkContentDigests() 336 Map<Integer, Map<Integer, byte[]>> signatureSchemeApkContentDigests = new HashMap<>(); in getSignatureSchemeApkContentDigests() 362 Map<Integer, byte[]> jarSignatureSchemeApkContentDigests = new HashMap<>(); in getSignatureSchemeApkContentDigests() 372 private static Map<Integer, byte[]> getApkContentDigestsFromSignatureBlock( in getApkContentDigestsFromSignatureBlock() 374 Map<Integer, byte[]> apkContentDigests = new HashMap<>(); in getApkContentDigestsFromSignatureBlock() [all …]
|
/frameworks/native/include/ftl/ |
D | small_map.h | 59 using Map = SmallVector<std::pair<const K, V>, N>; variable 65 using value_type = typename Map::value_type; 66 using size_type = typename Map::size_type; 67 using difference_type = typename Map::difference_type; 69 using reference = typename Map::reference; 70 using iterator = typename Map::iterator; 72 using const_reference = typename Map::const_reference; 73 using const_iterator = typename Map::const_iterator; 174 Map map_;
|
/frameworks/base/core/java/android/hardware/radio/ |
D | Utils.java | 29 import java.util.Map; 36 static void writeStringMap(@NonNull Parcel dest, @Nullable Map<String, String> map) { in writeStringMap() 42 for (Map.Entry<String, String> entry : map.entrySet()) { in writeStringMap() 48 static @NonNull Map<String, String> readStringMap(@NonNull Parcel in) { in readStringMap() 50 Map<String, String> map = new HashMap<>(size); in readStringMap() 59 static void writeStringIntMap(@NonNull Parcel dest, @Nullable Map<String, Integer> map) { in writeStringIntMap() 65 for (Map.Entry<String, Integer> entry : map.entrySet()) { in writeStringIntMap() 71 static @NonNull Map<String, Integer> readStringIntMap(@NonNull Parcel in) { in readStringIntMap() 73 Map<String, Integer> map = new HashMap<>(size); in readStringIntMap()
|
/frameworks/base/core/java/android/app/admin/ |
D | ParcelableGranteeMap.java | 25 import java.util.Map; 35 private final Map<Integer, Set<String>> mPackagesByUid; 45 for (final Map.Entry<Integer, Set<String>> uidEntry : mPackagesByUid.entrySet()) { in writeToParcel() 55 final Map<Integer, Set<String>> packagesByUid = new ArrayMap<>(); 74 public ParcelableGranteeMap(@NonNull Map<Integer, Set<String>> packagesByUid) { in ParcelableGranteeMap() 82 public Map<Integer, Set<String>> getPackagesByUid() { in getPackagesByUid()
|
/frameworks/ex/camera2/extensions/stub/src/main/java/androidx/camera/extensions/impl/advanced/ |
D | AdvancedExtenderImpl.java | 27 import java.util.Map; 66 Map<String, CameraCharacteristics> characteristicsMap); in isExtensionAvailable() 81 void init(String cameraId, Map<String, CameraCharacteristics> characteristicsMap); in init() 112 Map<Integer, List<Size>> getSupportedPreviewOutputResolutions(String cameraId); in getSupportedPreviewOutputResolutions() 122 Map<Integer, List<Size>> getSupportedCaptureOutputResolutions(String cameraId); in getSupportedCaptureOutputResolutions()
|