Home
last modified time | relevance | path

Searched refs:mapOf (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/systemconfig/
DSystemConfigNamedActorTest.kt67 mapOf( in twoUnique()
68 NAMESPACE_TEST to mapOf( in twoUnique()
94 mapOf( in twoSamePackage()
95 NAMESPACE_TEST to mapOf( in twoSamePackage()
120 mapOf( in missingNamespace()
121 NAMESPACE_TEST to mapOf( in missingNamespace()
145 mapOf( in missingName()
146 NAMESPACE_TEST to mapOf( in missingName()
170 mapOf( in missingPackage()
171 NAMESPACE_TEST to mapOf( in missingPackage()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationPackageTest.kt87 assertThat(info.hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
97 assertThat(userState.hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
122 mapOf( in <lambda>()
135 mapOf( in <lambda>()
146 mapOf( in <lambda>()
159 mapOf( in <lambda>()
197 mapOf( in <lambda>()
209 mapOf( in <lambda>()
246 mapOf( in <lambda>()
258 mapOf( in <lambda>()
[all …]
DDomainVerificationProxyTest.kt108 TEST_UUID_ONE, pkgName, mapOf( in <lambda>()
114 TEST_UUID_TWO, pkgName, mapOf( in <lambda>()
373 assertThat(hostToStates).isEqualTo(mapOf( in <lambda>()
DDomainVerificationManagerApiTest.kt111 assertThat(infoOne.hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
256 assertThat(infoOne.hostToStateMap).containsExactlyEntriesIn(mapOf( in <lambda>()
/frameworks/base/services/tests/servicestests/src/com/android/server/signedconfig/
DSignedConfigTest.java53 private static <K, V> Map<K, V> mapOf(Object... keyValuePairs) { in mapOf() method in SignedConfigTest
200 mapOf("a", mapOf("1", "one"))); in testParsePerSdkConfigSingleKeyWithMap()
209 SignedConfig.parsePerSdkConfig(json, setOf("b"), mapOf("a", mapOf("1", "one"))); in testParsePerSdkConfigSingleKeyWithMapInvalidValue()
222 mapOf("a", mapOf("1", "one"))); in testParsePerSdkConfigMultiKeysWithMap()
232 mapOf("a", mapOf("1", null))); in testParsePerSdkConfigSingleKeyWithMapToNull()
239 assertThat(mapOf(null, "allitnil")).containsExactly(null, "allitnil"); in testParsePerSdkConfigSingleKeyWithMapFromNull()
240 assertThat(mapOf(null, "allitnil").containsKey(null)).isTrue(); in testParsePerSdkConfigSingleKeyWithMapFromNull()
244 mapOf("a", mapOf(null, "allitnil"))); in testParsePerSdkConfigSingleKeyWithMapFromNull()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DEncryptedKvBackupTaskTest.java110 CryptoTestUtils.mapOf( in setUp()
115 CryptoTestUtils.mapOf( in setUp()
141 createKeyValueListing(CryptoTestUtils.mapOf(new Pair<>(TEST_KEY_1, TEST_HASH_1)))); in testPerformBackup_rotationRequired_deletesListings()
144 createChunkListing(CryptoTestUtils.mapOf(new Pair<>(TEST_HASH_1, TEST_LENGTH_1)))); in testPerformBackup_rotationRequired_deletesListings()
161 createKeyValueListing(CryptoTestUtils.mapOf(new Pair<>(TEST_KEY_1, TEST_HASH_1)))); in testPerformBackup_rotationRequiredButIncremental_throws()
164 createChunkListing(CryptoTestUtils.mapOf(new Pair<>(TEST_HASH_1, TEST_LENGTH_1)))); in testPerformBackup_rotationRequiredButIncremental_throws()
177 createKeyValueListing(CryptoTestUtils.mapOf(new Pair<>(TEST_KEY_1, TEST_HASH_1)))); in testPerformBackup_rotationRequiredAndNonIncremental_performsNonIncrementalBackup()
180 createChunkListing(CryptoTestUtils.mapOf(new Pair<>(TEST_HASH_1, TEST_LENGTH_1)))); in testPerformBackup_rotationRequiredAndNonIncremental_performsNonIncrementalBackup()
194 createKeyValueListing(CryptoTestUtils.mapOf(new Pair<>(TEST_KEY_1, TEST_HASH_1)))); in testPerformBackup_existingStateButNonIncremental_deletesListings()
197 createChunkListing(CryptoTestUtils.mapOf(new Pair<>(TEST_HASH_1, TEST_LENGTH_1)))); in testPerformBackup_existingStateButNonIncremental_deletesListings()
[all …]
/frameworks/base/tools/sdkparcelables/tests/com/android/sdkparcelables/
DParcelableDetectorTest.kt25 val ancestorMap = mapOf( in detect implements()
36 val ancestorMap = mapOf( in detect implements in reverse order()
47 val ancestorMap = mapOf( in detect super implements()
59 val ancestorMap = mapOf( in detect super interface()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayReferenceMapperTests.kt78 overlayToTargetToOverlayables = mapOf( in <lambda>()
79 overlay0.packageName to mapOf( in <lambda>()
82 overlay1.packageName to mapOf( in <lambda>()
142 overlayToTargetToOverlayables = mapOf( in <lambda>()
143 overlay.packageName to mapOf( in <lambda>()
220 mapOf(authority!! to mapOf(pathSegments.first() to ACTOR_PACKAGE_NAME)) in <lambda>()
222 overlayToTargetToOverlayables: Map<String, Map<String, Set<String>>> = mapOf( in <lambda>()
223 mockOverlay().packageName to mapOf( in <lambda>()
237 whenever(overlayables) { mapOf("overlayableName$increment" to ACTOR_NAME) } in <lambda>()
DOverlayActorEnforcerTests.kt218 namedActorsMap = mapOf(INVALID_NAMESPACE to in <lambda>()
219 mapOf(INVALID_ACTOR_NAME to VALID_ACTOR_PKG)) in <lambda>()
224 namedActorsMap = mapOf(INVALID_NAMESPACE to in <lambda>()
225 mapOf(INVALID_ACTOR_NAME to VALID_ACTOR_PKG)) in <lambda>()
228 namedActorsMap = mapOf(VALID_NAMESPACE to in <lambda>()
229 mapOf(INVALID_ACTOR_NAME to VALID_ACTOR_PKG)) in <lambda>()
234 namedActorsMap = mapOf(VALID_NAMESPACE to in <lambda>()
235 mapOf(INVALID_ACTOR_NAME to VALID_ACTOR_PKG)) in <lambda>()
238 namedActorsMap = mapOf(VALID_NAMESPACE to in <lambda>()
239 mapOf(VALID_ACTOR_NAME to VALID_ACTOR_PKG)) in <lambda>()
/frameworks/base/tools/protologtool/tests/com/android/protolog/tool/
DProtoLogToolTest.kt26 val groups = mapOf( in generateLogGroupCache()
DEndToEndTest.kt132 override fun readLogGroups(jarPath: String, className: String) = mapOf( in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/
DEnterPipToOtherOrientationTest.kt63 testApp.launchViaIntent(wmHelper, stringExtras = mapOf( in <lambda>()
66 pipApp.launchViaIntent(wmHelper, stringExtras = mapOf( in <lambda>()
DSetRequestedOrientationWhilePinnedTest.kt61 pipApp.launchViaIntent(wmHelper, stringExtras = mapOf( in <lambda>()
DPipLegacySplitScreenTest.kt63 pipApp.launchViaIntent(stringExtras = mapOf(EXTRA_ENTER_PIP to "true"), in <lambda>()
DPipTransition.kt124 stringExtras: Map<String, String> = mapOf(Components.PipActivity.EXTRA_ENTER_PIP to "true"), in <lambda>()
/frameworks/base/services/tests/PackageManagerServiceTests/host/libs/IntentVerifyUtils/src/com/android/server/pm/test/intent/verify/
DSetActivityAsAlwaysParams.kt38 override fun toArgsMap() = mapOf(
DStartActivityParams.kt43 override fun toArgsMap() = mapOf(
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DRenderInfo.kt87 private val deviceColorMap = mapOf<Int, Pair<Int, Int>>(
102 private val deviceIconMap = mapOf<Int, Int>(
/frameworks/base/packages/SystemUI/src/com/android/systemui/backup/
DBackupHelper.kt58 val controlsMap = mapOf(CONTROLS to getPPControlsFile(this)) in onCreate()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/rotation/
DSeamlessAppRotationTest.kt56 stringExtras = mapOf( in <lambda>()
/frameworks/base/tools/codegen/src/com/android/codegen/
DUtils.kt97 is SingleMemberAnnotationExpr -> mapOf("value" to memberValue) in bitAtExpr()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/
DCryptoTestUtils.java170 public static <K, V> Map<K, V> mapOf(Pair<K, V>... pairs) { in mapOf() method in CryptoTestUtils
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlsControllerImpl.kt599 private var favMap = mapOf<ComponentName, List<StructureInfo>>()
712 favMap = mapOf<ComponentName, List<StructureInfo>>() in clear()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
DBroadcastDispatcherTest.kt107 mapOf(0 to mockUBRUser0, 1 to mockUBRUser1)) in capture()
/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/
DPaintChipsWidget.kt162 val allSizes = mapOf( in updateAppWidget()

12