/frameworks/base/libs/dream/lowlight/tests/src/com/android/dream/lowlight/utils/ |
D | KotlinMockitoHelpers.kt | 85 val allValues: List<T> in whenever() constant 86 get() = wrapped.allValues in whenever() 125 kotlinArgumentCaptor<T>().apply{ block() }.allValues in captureMany()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationProxyTest.kt | 195 assertThat(callingUidCaptor.allValues.toSet()).containsExactly(TEST_CALLING_UID_REJECT) in <lambda>() 239 val intents = intentCaptor.allValues in <lambda>() 277 val verificationIds = intentCaptor.allValues.map { in <lambda>() 324 assertThat(idCaptor.allValues).containsExactly(TEST_UUID_ONE, TEST_UUID_TWO) in <lambda>() 326 assertThat(hostCaptor.allValues.toSet()).containsExactly( in <lambda>() 369 assertThat(idCaptor.allValues) in <lambda>() 372 val hostToStates: Map<Set<*>, Int> = hostCaptor.allValues.zip(stateCaptor.allValues).toMap() in <lambda>() 417 assertThat(idCaptor.allValues).containsExactly(TEST_UUID_ONE, TEST_UUID_TWO) in <lambda>() 419 assertThat(hostCaptor.allValues.toSet()).containsExactly( in <lambda>() 456 val intents = intentCaptor.allValues in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/mockito/ |
D | KotlinMockitoHelpers.kt | 191 val allValues: List<T> in whenever() constant 192 get() = wrapped.allValues in whenever() 241 kotlinArgumentCaptor<T>().apply { block() }.allValues in captureMany()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/ |
D | DreamOverlayAnimationsControllerTest.kt | 86 captor.allValues.forEach { it.onAnimationEnd(mockAnimator) } in testExitAnimationUpdatesState() 125 val animators: List<ValueAnimator> = animatorCaptor.allValues as List<ValueAnimator> in testEntryAnimations_translatesUpwards() 148 val animators: List<ValueAnimator> = animatorCaptor.allValues as List<ValueAnimator> in testEntryAnimations_translatesDownwards()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/ |
D | UdfpsShellTest.kt | 72 assertEquals(motionEvent.allValues[0].action, MotionEvent.ACTION_DOWN) // ACTION_MOVE in testSimFingerDown() 73 assertEquals(motionEvent.allValues[1].action, MotionEvent.ACTION_MOVE) // ACTION_MOVE in testSimFingerDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/ |
D | PluginManagerTest.java | 188 List<UncaughtExceptionHandler> allValues = mExPreHandlerCaptor.getAllValues(); in captureExceptionHandler() local 189 mPluginExceptionHandler = allValues.get(allValues.size() - 1); in captureExceptionHandler()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/ |
D | TemporaryViewDisplayControllerTest.kt | 212 assertThat(windowParamsCaptor.allValues[0].title).isEqualTo("First Fake Window Title") in displayView_twiceWithDifferentIds_oldViewRemovedNewViewAdded() 213 assertThat(windowParamsCaptor.allValues[1].title).isEqualTo("Second Fake Window Title") in displayView_twiceWithDifferentIds_oldViewRemovedNewViewAdded() 214 verify(windowManager).removeView(viewCaptor.allValues[0]) in displayView_twiceWithDifferentIds_oldViewRemovedNewViewAdded() 326 assertThat(windowParamsCaptor.allValues[0].title).isEqualTo("First Fake Window Title") in multipleViewsWithDifferentIds_moreRecentReplacesOlder() 327 assertThat(windowParamsCaptor.allValues[1].title).isEqualTo("Second Fake Window Title") in multipleViewsWithDifferentIds_moreRecentReplacesOlder() 328 verify(windowManager).removeView(viewCaptor.allValues[0]) in multipleViewsWithDifferentIds_moreRecentReplacesOlder() 578 assertThat(windowParamsCaptor.allValues[0].title).isEqualTo("Normal Window Title") in lowerThenHigherPriority_lowerPriorityRedisplayed() 579 assertThat(windowParamsCaptor.allValues[1].title).isEqualTo("Critical Window Title") in lowerThenHigherPriority_lowerPriorityRedisplayed() 580 verify(windowManager).removeView(viewCaptor.allValues[0]) in lowerThenHigherPriority_lowerPriorityRedisplayed() 588 verify(windowManager).removeView(viewCaptor.allValues[1]) in lowerThenHigherPriority_lowerPriorityRedisplayed()
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsProviderTest.java | 520 ContentValues[] allValues = new ContentValues[3]; in toTestBulkInsertViaProviderApiForType() local 526 allValues[0] = firstValues; in toTestBulkInsertViaProviderApiForType() 532 allValues[1] = secondValues; in toTestBulkInsertViaProviderApiForType() 538 allValues[2] = thirdValues; in toTestBulkInsertViaProviderApiForType() 541 final int insertCount = getContext().getContentResolver().bulkInsert(uri, allValues); in toTestBulkInsertViaProviderApiForType()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | CujTest.java | 88 HashSet<Integer> allValues = new HashSet<>(); in testCujTypeEnumCorrectlyDefined() local 93 .that(allValues.add(fieldValue)) in testCujTypeEnumCorrectlyDefined()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/data/repository/ |
D | PrivacyChipRepositoryTest.kt | 144 val callback = captor.allValues[0] in isMicCameraIndicationEnabled_updates() 161 val callback = captor.allValues[1] in isLocationIndicationEnabled_updates()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QuickQSPanelControllerTest.kt | 143 captor.allValues.forEach { it.onConfigurationChange(Configuration.EMPTY) } in mediaExpansion_afterConfigChange_inLandscape_collapsedInLandscapeTrue_updatesToCollapsed() 155 captor.allValues.forEach { it.onConfigurationChange(Configuration.EMPTY) } in mediaExpansion_afterConfigChange_landscape_collapsedInLandscapeFalse_remainsExpanded()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/ |
D | MobileTelephonyHelpers.kt | 36 return callbackCaptor.allValues in getTelephonyCallbacks()
|
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/ |
D | BackupRestoreStorageTest.kt | 328 assertThat(entityKey.allValues).isEqualTo(listOf(entity.key)) in <lambda>() 329 assertThat(entityData.allValues).hasSize(1) in <lambda>() 331 assertThat(entitySize.allValues).isEqualTo(listOf(payload.size, payload.size)) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/ |
D | RotationChangeProviderTest.kt | 96 displayListener.allValues.forEach { it.onDisplayChanged(display.displayId) } in sendRotationUpdate()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardRepositoryImplTest.kt | 276 captor.allValues.forEach { it.onDozeAmountChanged(0.433f, 0.4f) } in <lambda>() 278 captor.allValues.forEach { it.onDozeAmountChanged(0.498f, 0.5f) } in <lambda>() 280 captor.allValues.forEach { it.onDozeAmountChanged(0.661f, 0.65f) } in <lambda>()
|
D | DeviceEntryFingerprintAuthRepositoryTest.kt | 129 updateMonitorCallback.allValues.forEach { action(it) } in invokeOnCallback()
|
D | BiometricSettingsRepositoryTest.kt | 811 authControllerCallback.allValues.forEach { in enrollmentChange()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
D | LatencyTrackerTest.java | 119 HashSet<Integer> allValues = new HashSet<>(); in testCujTypeEnumCorrectlyDefined() local 129 .that(allValues.add(fieldValue)) in testCujTypeEnumCorrectlyDefined()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | LaunchAdjacentControllerTest.kt | 150 return arg.allValues.last().also { assertThat(it).isNotNull() } in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDeviceManagerTest.kt | 685 val firstDevice = dataCaptor.allValues.get(0) in deviceIdChanged_informListener() 688 val secondDevice = dataCaptor.allValues.get(1) in deviceIdChanged_informListener() 714 val firstDevice = dataCaptor.allValues.get(0) in deviceNameChanged_informListener() 717 val secondDevice = dataCaptor.allValues.get(1) in deviceNameChanged_informListener()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationPanelUnfoldAnimationControllerTest.kt | 85 progressListeners = progressListenerCaptor.allValues in setup()
|
D | NotificationPanelViewControllerWithCoroutinesTest.kt | 82 CollectionUtils.find(viewCaptor.allValues) { view -> in <lambda>()
|
D | NotificationShadeWindowViewControllerTest.kt | 599 for (listener in onAttachStateChangeListenerArgumentCaptor.allValues) { in setsUpCommunalHubLayout_whenFlagEnabled()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/ |
D | PrivacyItemControllerTest.kt | 265 val values = captor.allValues in testLogListUpdated()
|
/frameworks/base/tests/Input/src/com/android/server/input/ |
D | BatteryControllerTests.kt | 354 uEventListener.allValues[0], uEventListener.allValues[1]) in testListenersNotifiedOnUEventNotification()
|