Home
last modified time | relevance | path

Searched refs:ImmutableMap (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tools/aapt2/util/
DImmutableMap.h28 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/
DAppActivity.java22 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()
DAppPower.java22 import com.google.common.collect.ImmutableMap;
25 private ImmutableMap<Component, ComponentPower> mComponents;
70 result.mComponents = ImmutableMap.copyOf(mComponents); in build()
DAppList.java24 import com.google.common.collect.ImmutableMap;
29 private ImmutableMap<SpecialApp,APP> mSpecialApps;
79 result.mSpecialApps = ImmutableMap.copyOf(specialApps); in build()
DRawBatteryStats.java37 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/
DBridgeXmlPullAttributesTest.java29 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/
DTestClassLoader.java22 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/
DKeySyncUtilsTest.java30 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()
DRecoverableKeyStoreManagerTest.java69 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/
DSessionParamsBuilder.java40 import com.google.common.collect.ImmutableMap;
173 ImmutableMap.of( in build()
/frameworks/base/tools/processors/unsupportedappusage/src/android/processor/unsupportedappusage/
DSignatureBuilder.java26 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/
DPackageDynamicCodeLoadingTests.java39 import com.google.common.collect.ImmutableMap;
269 Map<String, Set<Integer>> packageToUsersMap = ImmutableMap.of( in testSyncData()
/frameworks/base/tools/aapt2/
DResourceParser.cpp492 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/
DRenderTestBase.java62 import com.google.common.collect.ImmutableMap;