/aosp14/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/parcel/ |
H A D | SaferParcelChecker.kt | 105 ReturnMigrator(PARCEL_METHOD_READ_PARCELABLE, setOf("android.os.Parcelable")), 111 ArrayReturnMigrator(PARCEL_METHOD_READ_ARRAY, setOf("java.lang.Object")), 112 … ArrayReturnMigrator(PARCEL_METHOD_READ_PARCELABLE_ARRAY, setOf("android.os.Parcelable")), 114 ReturnMigrator(BUNDLE_METHOD_GET_PARCELABLE, setOf("android.os.Parcelable")), 115 …Migrator(BUNDLE_METHOD_GET_PARCELABLE_ARRAY_LIST, "java.util.Collection", setOf("android.os.Parcel… 116 ArrayReturnMigrator(BUNDLE_METHOD_GET_PARCELABLE_ARRAY, setOf("android.os.Parcelable")), 117 …or(BUNDLE_METHOD_GET_SPARSE_PARCELABLE_ARRAY, "android.util.SparseArray", setOf("android.os.Parcel… 118 ReturnMigrator(BUNDLE_METHOD_GET_SERIALIZABLE, setOf("java.io.Serializable")), 120 ReturnMigrator(INTENT_METHOD_GET_PARCELABLE_EXTRA, setOf("android.os.Parcelable")), 122 … ArrayReturnMigrator(INTENT_METHOD_GET_PARCELABLE_ARRAY_EXTRA, setOf("android.os.Parcelable")), [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
H A D | FaceHelpMessageDeferralTest.kt | 51 val biometricMessageDeferral = createMsgDeferral(setOf(1)) 58 val biometricMessageDeferral = createMsgDeferral(setOf(1)) 65 val biometricMessageDeferral = createMsgDeferral(setOf(1)) 79 val biometricMessageDeferral = createMsgDeferral(setOf(1, 2)) 93 val biometricMessageDeferral = createMsgDeferral(setOf(1, 2)) 102 val biometricMessageDeferral = createMsgDeferral(setOf(1)) 116 val biometricMessageDeferral = createMsgDeferral(setOf(1, 2)) 134 val biometricMessageDeferral = createMsgDeferral(setOf(1)) 154 val biometricMessageDeferral = createMsgDeferral(setOf(1, 2)) 191 messagesToDefer = setOf(1), [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/notifcollection/ |
H A D | NotifCollectionInconsistencyTrackerTest.kt | 80 oldKeysWithoutRankings = setOf(entry2.key), 90 oldKeysWithoutRankings = setOf(entry2.key), 104 oldKeysWithoutRankings = setOf(entry2.key), 114 oldMissingKeys = setOf("a"), 115 newMissingKeys = setOf("a", "b"), 127 oldMissingKeys = setOf("a", "b"), 128 newMissingKeys = setOf("a"), 140 oldMissingKeys = setOf("a"), 141 newMissingKeys = setOf("b"), 157 oldMissingKeys = setOf("a"), [all …]
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
H A D | DomainVerificationValidIntentTest.kt | 44 categorySet = setOf(Intent.CATEGORY_BROWSABLE), 49 categorySet = setOf(Intent.CATEGORY_BROWSABLE), 55 categorySet = setOf(Intent.CATEGORY_DEFAULT), 62 categorySet = setOf(Intent.CATEGORY_BROWSABLE, Intent.CATEGORY_DEFAULT), 70 setOf(Intent.CATEGORY_BROWSABLE), 71 setOf(Intent.CATEGORY_DEFAULT), 72 setOf(Intent.CATEGORY_BROWSABLE, Intent.CATEGORY_DEFAULT)
|
H A D | DomainVerificationManagerApiTest.kt | 133 assertThat(service.setStatus(UUID_ONE, setOf(DOMAIN_2), 1100)) 136 assertThat(service.setStatus(UUID_INVALID, setOf(DOMAIN_1), 1100)) 151 assertThat(service.setStatus(UUID_ONE, setOf(DOMAIN_3), 1100)) 158 service.setStatus(UUID_ONE, setOf(DOMAIN_1), 15) 163 service.setStatus(UUID_ONE, setOf(DOMAIN_1), 1100) 222 setOf(DOMAIN_1), true, 0 250 service.setUserSelection(UUID_ONE, setOf(DOMAIN_1), true, 0) 331 setOf(DOMAIN_1), 338 setOf(DOMAIN_1), 343 service.setUserSelection(pkg1.domainSetId, setOf(DOMAIN_2), true, 0) [all …]
|
H A D | DomainVerificationProxyTest.kt | 129 TEST_PKG_NAME_TARGET_ONE -> ArraySet(setOf("example1.com", "example2.com")) 130 TEST_PKG_NAME_TARGET_TWO -> ArraySet(setOf("example3.com", "example4.com")) 229 proxy.sendBroadcastForPackages(setOf(TEST_PKG_NAME_TARGET_ONE, TEST_PKG_NAME_TARGET_TWO)) 327 setOf("example1.com", "example2.com"), 328 setOf("example3.com", "example4.com") 374 setOf("example1.com") to DomainVerificationState.STATE_LEGACY_FAILURE, 375 setOf("example2.com") to DomainVerificationState.STATE_SUCCESS, 376 setOf("example3.com") to DomainVerificationState.STATE_LEGACY_FAILURE, 377 setOf("example4.com") to DomainVerificationState.STATE_SUCCESS, 420 setOf("example1.com", "example2.com"), [all …]
|
H A D | DomainVerificationSettingsMutationTest.kt | 128 setOf("example.com"), 136 ArraySet(setOf("example.com")) 143 setOf("example.com"), 156 setOf("example.com"), 166 ArraySet(setOf("example.com")),
|
H A D | DomainVerificationPackageTest.kt | 459 ArraySet(setOf(DOMAIN_1))) 461 ArraySet(setOf(DOMAIN_3))) 463 UUID_ONE, setOf(DOMAIN_2, DOMAIN_4), true, USER_ID) 466 service.setStatus(UUID_ONE, setOf(DOMAIN_1, DOMAIN_3), STATE_SUCCESS) 530 assertThat(service.setStatus(UUID_ONE, setOf(DOMAIN_1), STATE_SUCCESS)) 560 service.setStatus(UUID_ONE, setOf(DOMAIN_1), STATE_SUCCESS) 561 service.setUserSelection(UUID_ONE, setOf(DOMAIN_2), true, USER_ID) 606 assertThat(service.setStatus(UUID_ONE, setOf(DOMAIN_1), STATE_SUCCESS)) 650 assertThat(service.setStatus(UUID_ONE, setOf(DOMAIN_1), STATE_SUCCESS)) 830 ArraySet(setOf(DOMAIN_1, DOMAIN_2))) [all …]
|
H A D | DomainVerificationUserSelectionOverrideTest.kt | 104 setDomainVerificationUserSelection(UUID_ONE, setOf(DOMAIN_ONE), true, USER_ID) 172 service.setDomainVerificationUserSelection(UUID_TWO, setOf(DOMAIN_ONE), true, USER_ID) 190 service.setDomainVerificationStatus(UUID_ONE, setOf(DOMAIN_ONE), 197 assertThat(service.setDomainVerificationUserSelection(UUID_TWO, setOf(DOMAIN_ONE), true,
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/ |
H A D | FlowUtilTests.kt | 153 assertThatFlow(flowOf(setOf(1, 2, 3), setOf(2, 3, 4)).setChanges()) 156 added = setOf(1, 2, 3), 160 added = setOf(4), 161 removed = setOf(1), 168 assertThatFlow(flowOf(setOf(1)).setChanges()) 171 added = setOf(1), 179 assertThatFlow(flowOf(emptySet(), setOf(1, 2)).setChanges()) 183 added = setOf(1, 2), 190 assertThatFlow(flowOf(setOf(1, 2), setOf(2, 3)).setChanges(emitFirstEvent = false)) 193 removed = setOf(1), [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
H A D | ChannelEditorDialogControllerTest.kt | 94 setOf(channel1, channel2), appIcon, clickListener) 104 setOf(channelDefault), appIcon, clickListener) 115 setOf(), appIcon, clickListener) 126 setOf(channel1), appIcon, clickListener) 136 setOf(channel1, channel2), appIcon, clickListener) 155 setOf(channel1, channel2), appIcon, clickListener) 171 setOf(channel1, channel2), appIcon, clickListener) 184 setOf(channel1, channel2), appIcon, null) 200 setOf(channel1, channel2), appIcon, null) 217 setOf(channel1, channel2), appIcon, null)
|
H A D | NotifLayoutInflaterFactoryTest.kt | 55 setOf( 74 setOf( 94 setOf(
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/signedconfig/ |
H A D | SignedConfigTest.java | 49 private static Set<String> setOf(String... values) { in setOf() method in SignedConfigTest 146 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a", "b"), in testParsePerSdkConfigZeroValues() 156 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a", "b"), in testParsePerSdkConfigSingleKey() 166 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a", "b"), in testParsePerSdkConfigSingleKeyNullValue() 178 json, setOf("a", "b", "c"), emptyMap()); in testParsePerSdkConfigMultiKeys() 187 SignedConfig.parsePerSdkConfig(json, setOf("b"), emptyMap()); in testParsePerSdkConfigSingleKeyNotAllowed() 199 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a"), in testParsePerSdkConfigSingleKeyWithMap() 209 SignedConfig.parsePerSdkConfig(json, setOf("b"), mapOf("a", mapOf("1", "one"))); in testParsePerSdkConfigSingleKeyWithMapInvalidValue() 221 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a", "b"), in testParsePerSdkConfigMultiKeysWithMap() 231 SignedConfig.PerSdkConfig config = SignedConfig.parsePerSdkConfig(json, setOf("a"), in testParsePerSdkConfigSingleKeyWithMapToNull() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/android/net/ |
H A D | NetworkPolicyTest.kt | 44 .setWifiNetworkKeys(setOf(TEST_WIFI_NETWORK_KEY1)) 48 .setSubscriberIds(setOf(TEST_IMSI1)) 53 .setSubscriberIds(setOf(TEST_IMSI1)) 80 .setSubscriberIds(setOf(TEST_IMSI1)).build())) 91 .setWifiNetworkKeys(setOf(TEST_WIFI_NETWORK_KEY1)).build()))
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
H A D | OverlayReferenceMapperTests.kt | 65 assertMapping(ACTOR_PACKAGE_NAME to setOf(target, overlay)) 94 assertMapping(ACTOR_PACKAGE_NAME to setOf(target, overlay0, overlay1)) 98 assertMapping(ACTOR_PACKAGE_NAME to setOf(target, overlay1)) 111 assertMapping(ACTOR_PACKAGE_NAME to setOf(target)) 125 assertMapping(ACTOR_PACKAGE_NAME to setOf(target)) 129 assertMapping(ACTOR_PACKAGE_NAME to setOf(target, overlay)) 133 assertMapping(ACTOR_PACKAGE_NAME to setOf(target)) 152 assertMapping(ACTOR_PACKAGE_NAME to setOf(target0, target1, overlay)) 156 assertMapping(ACTOR_PACKAGE_NAME to setOf(target1, overlay))
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/pipeline/domain/interactor/ |
H A D | AutoAddInteractorTest.kt | 74 underTest = createInteractor(setOf(fakeAutoAddable)) 90 underTest = createInteractor(setOf(fakeAutoAddable)) 100 inOrder.verify(currentTilesInteractor).removeTiles(setOf(SPEC)) 111 underTest = createInteractor(setOf(fakeAutoAddable)) 126 underTest = createInteractor(setOf(fakeAutoAddable)) 145 underTest = createInteractor(setOf(fakeAutoAddable)) 161 underTest = createInteractor(setOf(fakeAutoAddable)) 176 underTest = createInteractor(setOf(fakeAutoAddable))
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/domain/interactor/ |
H A D | ConnectedDisplayInteractorTest.kt | 78 fakeDisplayRepository.emit(setOf(display(type = TYPE_INTERNAL))) 88 fakeDisplayRepository.emit(setOf(display(type = TYPE_EXTERNAL))) 99 setOf(display(type = TYPE_EXTERNAL), display(type = TYPE_EXTERNAL)) 111 setOf(display(type = TYPE_EXTERNAL, flags = Display.FLAG_SECURE)) 123 setOf(
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
H A D | FakeSharedPreferencesTest.kt | 60 val default = setOf("one", "two") 105 setOf("one", "two"), 169 sharedPreferences.edit().putStringSet("key", setOf("one")).commit() 170 sharedPreferences.edit().putStringSet("key", setOf("two")).commit() 172 assertThat(sharedPreferences.getStringSet("key", emptySet())).isEqualTo(setOf("two")) 218 .putStringSet("keySet", setOf("a"))
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/start/ |
H A D | ControlsStartableTest.kt | 82 whenever(authorizedPanelsRepository.getPreferredPackages()).thenReturn(setOf()) 123 .thenReturn(setOf(TEST_PACKAGE_PANEL)) 136 .thenReturn(setOf(TEST_PACKAGE_PANEL)) 150 .thenReturn(setOf(TEST_PACKAGE_PANEL)) 165 .thenReturn(setOf(TEST_PACKAGE_PANEL)) 179 .thenReturn(setOf(TEST_PACKAGE_PANEL)) 197 .thenReturn(setOf(TEST_PACKAGE_PANEL)) 299 .thenReturn(setOf(TEST_PACKAGE_PANEL))
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/player/ |
H A D | MediaViewHolder.kt | 123 setOf( 146 setOf(R.id.action0, R.id.action1, R.id.action2, R.id.action3, R.id.action4) 149 setOf( 163 setOf( 171 setOf(
|
/aosp14/frameworks/base/packages/SystemUI/checks/src/com/android/internal/systemui/lint/ |
H A D | CleanArchitectureDependencyViolationDetector.kt | 105 canDependOn = setOf(SHARED), 109 canDependOn = setOf(SHARED, DATA), 113 canDependOn = setOf(DOMAIN, SHARED),
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/airplane/ui/viewmodel/ |
H A D | AirplaneModeViewModelImplTest.kt | 70 connectivityRepository.setForceHiddenIcons(setOf()) 84 connectivityRepository.setForceHiddenIcons(setOf(ConnectivitySlot.AIRPLANE)) 98 connectivityRepository.setForceHiddenIcons(setOf())
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/recommendation/ |
H A D | RecommendationViewHolder.kt | 98 setOf( 109 setOf( 115 setOf(
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/panels/ |
H A D | AuthorizedPanelsRepositoryImplTest.kt | 114 repository.addAuthorizedPanels(setOf(TEST_PACKAGE)) 123 repository.addAuthorizedPanels(setOf(TEST_PACKAGE)) 125 repository.removeAuthorizedPanels(setOf(TEST_PACKAGE))
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/controller/ |
H A D | WalletContextualSuggestionsControllerTest.kt | 129 controller.setSuggestionCardIds(setOf(ID_1, ID_2)) 147 controller.setSuggestionCardIds(setOf(ID_1, ID_2)) 164 controller.setSuggestionCardIds(setOf(ID_1, ID_2)) 182 controller.setSuggestionCardIds(setOf(ID_1, ID_2))
|