Searched refs:ImmutableMap (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/tools/aapt2/util/ |
D | ImmutableMap.h | 28 class ImmutableMap { 35 ImmutableMap(ImmutableMap&&) noexcept = default; 36 ImmutableMap& operator=(ImmutableMap&&) noexcept = default; 38 static ImmutableMap<TKey, TValue> CreatePreSorted( in CreatePreSorted() 40 return ImmutableMap( in CreatePreSorted() 44 static ImmutableMap<TKey, TValue> CreateAndSort( in CreateAndSort() 48 return ImmutableMap(std::move(data)); in CreateAndSort() 72 DISALLOW_COPY_AND_ASSIGN(ImmutableMap); 74 explicit ImmutableMap(std::vector<std::pair<TKey, TValue>> data) in ImmutableMap() function
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | AppActivity.java | 22 import com.google.common.collect.ImmutableMap; 27 private ImmutableMap<Component, ComponentActivity> mComponents; 49 public ImmutableMap<Component,ComponentActivity> getComponentActivities() { in getComponentActivities() 72 result.mComponents = ImmutableMap.copyOf(mComponents); in build()
|
D | AppPower.java | 22 import com.google.common.collect.ImmutableMap; 25 private ImmutableMap<Component, ComponentPower> mComponents; 70 result.mComponents = ImmutableMap.copyOf(mComponents); in build()
|
D | AppList.java | 24 import com.google.common.collect.ImmutableMap; 29 private ImmutableMap<SpecialApp,APP> mSpecialApps; 79 result.mSpecialApps = ImmutableMap.copyOf(specialApps); in build()
|
D | RawBatteryStats.java | 37 import com.google.common.collect.ImmutableMap; 57 private ImmutableMap<String,ImmutableList<Record>> mRecordsByType; 1072 mRecordsByType = ImmutableMap.copyOf(result); in indexRecords()
|
/frameworks/layoutlib/bridge/tests/src/android/util/ |
D | BridgeXmlPullAttributesTest.java | 29 import com.google.common.collect.ImmutableMap; 66 return ImmutableMap.of( in testGetAttributeIntValueForEnums() 69 return ImmutableMap.of(); in testGetAttributeIntValueForEnums() 73 return ImmutableMap.of( in testGetAttributeIntValueForEnums() 78 return ImmutableMap.of(); in testGetAttributeIntValueForEnums()
|
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | TestClassLoader.java | 22 import com.google.common.collect.ImmutableMap; 33 this(ImmutableMap.of(name, bytes)); in TestClassLoader()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
D | KeySyncUtilsTest.java | 30 import com.google.common.collect.ImmutableMap; 138 ImmutableMap.of(alias, Pair.create(applicationKey, NULL_METADATA))); in decryptApplicationKey_decryptsAnApplicationKey_nullMetadata() 155 ImmutableMap.of(alias, Pair.create(applicationKey, NON_NULL_METADATA))); in decryptApplicationKey_decryptsAnApplicationKey_nonNullMetadata() 170 ImmutableMap.of("casper", in decryptApplicationKey_throwsIfUnableToDecrypt() 193 ImmutableMap.of( in decryptApplicationKey_throwsIfWrongMetadata()
|
D | RecoverableKeyStoreManagerTest.java | 69 import com.google.common.collect.ImmutableMap; 1271 return KeySyncUtils.encryptKeysWithRecoveryKey(recoveryKey, ImmutableMap.of( in encryptedApplicationKey()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | SessionParamsBuilder.java | 40 import com.google.common.collect.ImmutableMap; 173 ImmutableMap.of( in build()
|
/frameworks/base/tools/processors/unsupportedappusage/src/android/processor/unsupportedappusage/ |
D | SignatureBuilder.java | 26 import com.google.common.collect.ImmutableMap; 50 private static final Map<TypeKind, String> TYPE_MAP = ImmutableMap.<TypeKind, String>builder()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | PackageDynamicCodeLoadingTests.java | 39 import com.google.common.collect.ImmutableMap; 269 Map<String, Set<Integer>> packageToUsersMap = ImmutableMap.of( in testSyncData()
|
/frameworks/base/tools/aapt2/ |
D | ResourceParser.cpp | 492 static const auto elToItemMap = ImmutableMap<std::string, ItemTypeFormat>::CreatePreSorted({ in ParseResource() 509 static const auto elToBagMap = ImmutableMap<std::string, BagParseFunc>::CreatePreSorted({ in ParseResource() 1147 ImmutableMap<StringPiece, OverlayableItem::Policy>::CreatePreSorted({ in ParseOverlayable()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderTestBase.java | 62 import com.google.common.collect.ImmutableMap;
|