Home
last modified time | relevance | path

Searched refs:allValues (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/libs/dream/lowlight/tests/src/com/android/dream/lowlight/utils/
DKotlinMockitoHelpers.kt85 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/
DDomainVerificationProxyTest.kt195 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/
DKotlinMockitoHelpers.kt191 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/
DDreamOverlayAnimationsControllerTest.kt86 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/
DUdfpsShellTest.kt72 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/
DPluginManagerTest.java188 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/
DTemporaryViewDisplayControllerTest.kt212 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/
DSettingsProviderTest.java520 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/
DCujTest.java88 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/
DPrivacyChipRepositoryTest.kt144 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/
DQuickQSPanelControllerTest.kt143 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/
DMobileTelephonyHelpers.kt36 return callbackCaptor.allValues in getTelephonyCallbacks()
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DBackupRestoreStorageTest.kt328 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/
DRotationChangeProviderTest.kt96 displayListener.allValues.forEach { it.onDisplayChanged(display.displayId) } in sendRotationUpdate()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepositoryImplTest.kt276 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>()
DDeviceEntryFingerprintAuthRepositoryTest.kt129 updateMonitorCallback.allValues.forEach { action(it) } in invokeOnCallback()
DBiometricSettingsRepositoryTest.kt811 authControllerCallback.allValues.forEach { in enrollmentChange()
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DLatencyTrackerTest.java119 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/
DLaunchAdjacentControllerTest.kt150 return arg.allValues.last().also { assertThat(it).isNotNull() } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDeviceManagerTest.kt685 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/
DNotificationPanelUnfoldAnimationControllerTest.kt85 progressListeners = progressListenerCaptor.allValues in setup()
DNotificationPanelViewControllerWithCoroutinesTest.kt82 CollectionUtils.find(viewCaptor.allValues) { view -> in <lambda>()
DNotificationShadeWindowViewControllerTest.kt599 for (listener in onAttachStateChangeListenerArgumentCaptor.allValues) { in setsUpCommunalHubLayout_whenFlagEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyItemControllerTest.kt265 val values = captor.allValues in testLogListUpdated()
/frameworks/base/tests/Input/src/com/android/server/input/
DBatteryControllerTests.kt354 uEventListener.allValues[0], uEventListener.allValues[1]) in testListenersNotifiedOnUEventNotification()

12