/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidUserSysTimeReaderTest.java | 57 private VerifiableCallback mCallback; field in KernelCpuUidUserSysTimeReaderTest 80 mCallback = new VerifiableCallback(); in setUp() 97 mReader.readDelta(false, mCallback); in testThrottler() 98 assertEquals(6, mCallback.mData.size()); in testThrottler() 102 mCallback.clear(); in testThrottler() 103 mReader.readDelta(false, mCallback); in testThrottler() 104 assertEquals(0, mCallback.mData.size()); in testThrottler() 111 mCallback.clear(); in testThrottler() 112 mReader.readDelta(false, mCallback); in testThrottler() 113 assertEquals(6, mCallback.mData.size()); in testThrottler() [all …]
|
D | KernelCpuUidActiveTimeReaderTest.java | 59 private VerifiableCallback mCallback; field in KernelCpuUidActiveTimeReaderTest 87 mCallback = new VerifiableCallback(); in setUp() 100 mReader.readDelta(mCallback); in testReadDelta() 102 mCallback.verify(mUids[i], getActiveTime(times[i])); in testReadDelta() 104 mCallback.verifyNoMoreInteractions(); in testReadDelta() 107 mCallback.clear(); in testReadDelta() 110 mReader.readDelta(mCallback); in testReadDelta() 112 mCallback.verify(mUids[i], getActiveTime(newTimes1[i]) - getActiveTime(times[i])); in testReadDelta() 114 mCallback.verifyNoMoreInteractions(); in testReadDelta() 117 mCallback.clear(); in testReadDelta() [all …]
|
D | KernelCpuUidClusterTimeReaderTest.java | 60 private VerifiableCallback mCallback; field in KernelCpuUidClusterTimeReaderTest 90 mCallback = new VerifiableCallback(); in setUp() 103 mReader.readDelta(mCallback); in testReadDelta() 105 mCallback.verify(mUids[i], clusterTime(times1[i])); in testReadDelta() 107 mCallback.verifyNoMoreInteractions(); in testReadDelta() 110 mCallback.clear(); in testReadDelta() 113 mReader.readDelta(mCallback); in testReadDelta() 115 mCallback.verify(mUids[i], subtract(clusterTime(times2[i]), clusterTime(times1[i]))); in testReadDelta() 117 mCallback.verifyNoMoreInteractions(); in testReadDelta() 120 mCallback.clear(); in testReadDelta() [all …]
|
D | KernelCpuUidFreqTimeReaderTest.java | 64 private VerifiableCallback mCallback; field in KernelCpuUidFreqTimeReaderTest 93 mCallback = new VerifiableCallback(); in setUp() 165 mReader.readDelta(mCallback); in testReadDelta() 167 mCallback.verify(mUids[i], times[i]); in testReadDelta() 169 mCallback.verifyNoMoreInteractions(); in testReadDelta() 177 mCallback.clear(); in testReadDelta() 180 mReader.readDelta(mCallback); in testReadDelta() 182 mCallback.verify(mUids[i], subtract(newTimes1[i], times[i])); in testReadDelta() 184 mCallback.verifyNoMoreInteractions(); in testReadDelta() 187 mCallback.clear(); in testReadDelta() [all …]
|
D | StoragedUidIoStatsReaderTest.java | 58 private StoragedUidIoStatsReader.Callback mCallback; field in StoragedUidIoStatsReaderTest 85 mStoragedUidIoStatsReader.readAbsolute(mCallback); in testReadNonexistentFile() 86 verifyZeroInteractions(mCallback); in testReadNonexistentFile() 117 mStoragedUidIoStatsReader.readAbsolute(mCallback); in testReadExpected() 119 verify(mCallback).onUidStorageStats(uids[i], fg_chars_read[i], fg_chars_write[i], in testReadExpected() 123 verifyNoMoreInteractions(mCallback); in testReadExpected() 144 mStoragedUidIoStatsReader.readAbsolute(mCallback); in testLineDoesNotElevenEntries() 145 verify(mCallback).onUidStorageStats(10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20); in testLineDoesNotElevenEntries() 146 verifyNoMoreInteractions(mCallback); in testLineDoesNotElevenEntries() 168 mStoragedUidIoStatsReader.readAbsolute(mCallback); in testLineIsMalformed() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | ResumeMediaBrowser.java | 51 @Nullable private final Callback mCallback; field in ResumeMediaBrowser 65 mCallback = callback; in ResumeMediaBrowser() 97 if (mCallback != null) { 98 mCallback.onError(); 106 if (mCallback != null) { 107 mCallback.addTrack(desc, mMediaBrowser.getServiceComponent(), 112 if (mCallback != null) { 113 mCallback.onError(); 123 if (mCallback != null) { 124 mCallback.onError(); [all …]
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataServiceCallback.java | 72 private final IDataServiceCallback mCallback; field in DataServiceCallback 76 mCallback = callback; in DataServiceCallback() 88 if (mCallback != null) { in onSetupDataCallComplete() 91 mCallback.onSetupDataCallComplete(result, response); in onSetupDataCallComplete() 107 if (mCallback != null) { in onDeactivateDataCallComplete() 110 mCallback.onDeactivateDataCallComplete(result); in onDeactivateDataCallComplete() 126 if (mCallback != null) { in onSetInitialAttachApnComplete() 128 mCallback.onSetInitialAttachApnComplete(result); in onSetInitialAttachApnComplete() 144 if (mCallback != null) { in onSetDataProfileComplete() 146 mCallback.onSetDataProfileComplete(result); in onSetDataProfileComplete() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/ |
D | CoexCoordinatorTest.java | 64 private CoexCoordinator.Callback mCallback; field in CoexCoordinatorTest 88 mCoexCoordinator.onAuthenticationSucceeded(0 /* currentTimeMillis */, client, mCallback); in testBiometricPrompt_authSuccess() 89 verify(mCallback).sendHapticFeedback(); in testBiometricPrompt_authSuccess() 90 verify(mCallback).sendAuthenticationResult(eq(false) /* addAuthTokenIfStrong */); in testBiometricPrompt_authSuccess() 91 verify(mCallback).handleLifecycleAfterAuth(); in testBiometricPrompt_authSuccess() 104 client, LockoutTracker.LOCKOUT_NONE, mCallback); in testBiometricPrompt_authReject_whenNotLockedOut() 105 verify(mCallback).sendHapticFeedback(); in testBiometricPrompt_authReject_whenNotLockedOut() 106 verify(mCallback).sendAuthenticationResult(eq(false) /* addAuthTokenIfStrong */); in testBiometricPrompt_authReject_whenNotLockedOut() 107 verify(mCallback).handleLifecycleAfterAuth(); in testBiometricPrompt_authReject_whenNotLockedOut() 120 client, LockoutTracker.LOCKOUT_TIMED, mCallback); in testBiometricPrompt_authReject_whenLockedOut() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | GroupHelperTest.java | 54 private @Mock GroupHelper.Callback mCallback; field in GroupHelperTest 63 mGroupHelper = new GroupHelper(AUTOGROUP_AT_COUNT, mCallback); in setUp() 90 verify(mCallback, never()).addAutoGroupSummary( in testNoGroup_postingUnderLimit() 92 verify(mCallback, never()).addAutoGroup(anyString()); in testNoGroup_postingUnderLimit() 93 verify(mCallback, never()).removeAutoGroup(anyString()); in testNoGroup_postingUnderLimit() 94 verify(mCallback, never()).removeAutoGroupSummary(anyInt(), anyString()); in testNoGroup_postingUnderLimit() 107 verify(mCallback, never()).addAutoGroupSummary( in testNoGroup_multiPackage() 109 verify(mCallback, never()).addAutoGroup(anyString()); in testNoGroup_multiPackage() 110 verify(mCallback, never()).removeAutoGroup(anyString()); in testNoGroup_multiPackage() 111 verify(mCallback, never()).removeAutoGroupSummary(anyInt(), anyString()); in testNoGroup_multiPackage() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/ |
D | MediaManagerTest.java | 41 private MediaManager.MediaDeviceCallback mCallback; field in MediaManagerTest 70 mMediaManager.registerCallback(mCallback); in dispatchDeviceAdded_registerCallback_shouldDispatchCallback() 74 verify(mCallback).onDeviceAdded(mDevice); in dispatchDeviceAdded_registerCallback_shouldDispatchCallback() 79 mMediaManager.registerCallback(mCallback); in dispatchDeviceRemoved_registerCallback_shouldDispatchCallback() 83 verify(mCallback).onDeviceRemoved(mDevice); in dispatchDeviceRemoved_registerCallback_shouldDispatchCallback() 88 mMediaManager.registerCallback(mCallback); in dispatchDeviceListAdded_registerCallback_shouldDispatchCallback() 92 verify(mCallback).onDeviceListAdded(any()); in dispatchDeviceListAdded_registerCallback_shouldDispatchCallback() 97 mMediaManager.registerCallback(mCallback); in dispatchDeviceListRemoved_registerCallback_shouldDispatchCallback() 101 verify(mCallback).onDeviceListRemoved(mMediaManager.mMediaDevices); in dispatchDeviceListRemoved_registerCallback_shouldDispatchCallback() 106 mMediaManager.registerCallback(mCallback); in dispatchActiveDeviceChanged_registerCallback_shouldDispatchCallback() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
D | TaskStackListenerImplTest.java | 56 private TaskStackListenerCallback mCallback; field in TaskStackListenerImplTest 68 mImpl.addListener(mCallback); in setUp() 78 impl.addListener(mCallback); in testAddRemoveMultipleListeners_ExpectRegisterUnregisterOnce() 83 impl.removeListener(mCallback); in testAddRemoveMultipleListeners_ExpectRegisterUnregisterOnce() 90 verify(mCallback).onRecentTaskListUpdated(); in testOnRecentTaskListUpdated() 97 verify(mCallback).onRecentTaskListFrozenChanged(eq(true)); in testOnRecentTaskListFrozenChanged() 104 verify(mCallback).onTaskStackChangedBackground(); in testOnTaskStackChanged() 105 verify(mCallback).onTaskStackChanged(); in testOnTaskStackChanged() 113 verify(mCallback).onTaskProfileLocked(eq(1), eq(2)); in testOnTaskProfileLocked() 120 verify(mCallback).onTaskDisplayChanged(eq(1), eq(2)); in testOnTaskDisplayChanged() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/model/ |
D | SysUiStateTest.java | 44 private SysUiState.SysUiStateCallback mCallback; field in SysUiStateTest 50 mCallback = mock(SysUiState.SysUiStateCallback.class); in setup() 51 mFlagsContainer.addCallback(mCallback); in setup() 58 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_1); in addSingle_setFlag() 66 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_1); in addMultiple_setFlag() 67 verify(mCallback, times(1)) in addMultiple_setFlag() 78 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_1); in addMultipleRemoveOne_setFlag() 79 verify(mCallback, times(1)) in addMultipleRemoveOne_setFlag() 81 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_2); in addMultipleRemoveOne_setFlag() 89 verify(mCallback, times(1)).onSystemUiStateChanged(expected); in addMultiple_setFlags() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ChildHelper.java | 42 final Callback mCallback; field in ChildHelper 49 mCallback = callback; in ChildHelper() 61 mCallback.onEnteredHiddenState(child); in hideViewInternal() 71 mCallback.onLeftHiddenState(child); in unhideViewInternal() 99 offset = mCallback.getChildCount(); in addView() 107 mCallback.addView(child, offset); in addView() 117 final int limit = mCallback.getChildCount(); in getOffset() 140 int index = mCallback.indexOfChild(view); in removeView() 147 mCallback.removeViewAt(index); in removeView() 161 final View view = mCallback.getChildAt(offset); in removeViewAt() [all …]
|
/frameworks/base/core/java/android/hardware/radio/ |
D | TunerCallbackAdapter.java | 36 @NonNull private final RadioTuner.Callback mCallback; field in TunerCallbackAdapter 48 mCallback = callback; in TunerCallbackAdapter() 117 mHandler.post(() -> mCallback.onError(status)); in onError() 122 mHandler.post(() -> mCallback.onTuneFailed(status, selector)); in onTuneFailed() 141 mHandler.post(() -> mCallback.onError(errorCode)); in onTuneFailed() 146 mHandler.post(() -> mCallback.onConfigurationChanged(config)); in onConfigurationChanged() 161 mCallback.onProgramInfoChanged(info); in onCurrentProgramInfoChanged() 164 if (metadata != null) mCallback.onMetadataChanged(metadata); in onCurrentProgramInfoChanged() 170 mHandler.post(() -> mCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement() 175 mHandler.post(() -> mCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ScrollCaptureConnectionTest.java | 59 private final TestScrollCaptureCallback mCallback = new TestScrollCaptureCallback(); field in ScrollCaptureConnectionTest 80 mTarget = new ScrollCaptureTarget(mView, mLocalVisibleRect, mPositionInWindow, mCallback); in setUp() 89 mView, mLocalVisibleRect, mPositionInWindow, mCallback); in testConstruction() 111 mCallback.completeStartRequest(); in testStartCapture() 123 mCallback.completeStartRequest(); in testStartCapture_cancellation() 133 mCallback.completeStartRequest(); in testRequestImage() 137 mCallback.completeImageRequest(new Rect(1, 2, 3, 4)); in testRequestImage() 147 mCallback.completeStartRequest(); in testRequestImage_cancellation() 152 mCallback.completeImageRequest(new Rect(1, 2, 3, 4)); in testRequestImage_cancellation() 161 mCallback.completeStartRequest(); in testEndCapture() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | WindowDecorActionBarTest.java | 34 private MockActionModeCallback mCallback; field in WindowDecorActionBarTest 44 mCallback = new MockActionModeCallback(); in setUp() 49 ActionMode mode = mWindowDecorActionBar.startActionMode(mCallback); in testStartActionMode() 52 assertTrue(mCallback.mIsCreateActionModeCalled); in testStartActionMode() 57 mCallback.mShouldCreateActionMode = false; in testStartActionModeWhenCreateReturnsFalse() 59 ActionMode mode = mWindowDecorActionBar.startActionMode(mCallback); in testStartActionModeWhenCreateReturnsFalse() 62 assertTrue(mCallback.mIsCreateActionModeCalled); in testStartActionModeWhenCreateReturnsFalse() 67 ActionMode mode1 = mWindowDecorActionBar.startActionMode(mCallback); in testStartActionModeFinishesPreviousMode() 72 assertTrue(mCallback.mIsDestroyActionModeCalled); in testStartActionModeFinishesPreviousMode()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/carrier/ |
D | QSCarrierGroupControllerTest.java | 61 private CarrierTextManager.CarrierTextCallback mCallback; field in QSCarrierGroupControllerTest 105 doAnswer(invocation -> mCallback = invocation.getArgument(0)) in setup() 142 mCallback.updateCarrierInfo(c1); in testUpdateCarrierText_sameLengths() 151 mCallback.updateCarrierInfo(c2); in testUpdateCarrierText_sameLengths() 160 mCallback.updateCarrierInfo(c3); in testUpdateCarrierText_sameLengths() 169 mCallback.updateCarrierInfo(c4); in testUpdateCarrierText_sameLengths() 183 mCallback.updateCarrierInfo(c1); in testUpdateCarrierText_differentLength() 192 mCallback.updateCarrierInfo(c2); in testUpdateCarrierText_differentLength() 201 mCallback.updateCarrierInfo(c3); in testUpdateCarrierText_differentLength() 210 mCallback.updateCarrierInfo(c4); in testUpdateCarrierText_differentLength() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellularNetworkValidatorTest.java | 66 CellularNetworkValidator.ValidationCallback mCallback; field in CellularNetworkValidatorTest 109 mValidatorUT.validate(subId, timeout, true, mCallback); in testValidateSuccess() 122 mValidatorUT.validate(subId, timeout, true, mCallback); in testValidateTimeout() 136 mValidatorUT.validate(subId, timeout, true, mCallback); in testValidateFailure() 147 mValidatorUT.validate(subId, timeout, true, mCallback); in testNetworkAvailableNotValidated() 175 mValidatorUT.validate(subId, timeout, true, mCallback); in testSkipRecentlyValidatedNetwork() 198 mValidatorUT.validate(subId, timeout, true, mCallback); in testDoNotSkipIfValidationFailed() 224 mValidatorUT.validate(subId, timeout, true, mCallback); in testDoNotSkipIfCacheExpires() 248 mValidatorUT.validate(1, timeout, true, mCallback); in testNetworkCachingOfMultipleSub() 255 mValidatorUT.validate(2, timeout, true, mCallback); in testNetworkCachingOfMultipleSub() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationEnforcer.java | 36 private Callback mCallback; field in DomainVerificationEnforcer 43 mCallback = callback; in setCallback() 141 if (!mCallback.doesUserExist(callingUserId)) { in assertApprovedUserStateQuerent() 143 } else if (!mCallback.doesUserExist(targetUserId)) { in assertApprovedUserStateQuerent() 147 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in assertApprovedUserStateQuerent() 167 if (!mCallback.doesUserExist(callingUserId)) { in assertApprovedUserSelector() 169 } else if (!mCallback.doesUserExist(targetUserId)) { in assertApprovedUserSelector() 177 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in assertApprovedUserSelector() 196 if (!mCallback.doesUserExist(callingUserId)) { in callerIsLegacyUserSelector() 198 } else if (!mCallback.doesUserExist(targetUserId)) { in callerIsLegacyUserSelector() [all …]
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | ImsVideoCallProvider.java | 54 private IImsVideoCallCallback mCallback; field in ImsVideoCallProvider 64 mCallback = (IImsVideoCallCallback) msg.obj; 233 if (mCallback != null) { in receiveSessionModifyRequest() 235 mCallback.receiveSessionModifyRequest(VideoProfile); in receiveSessionModifyRequest() 244 if (mCallback != null) { in receiveSessionModifyResponse() 246 mCallback.receiveSessionModifyResponse(status, requestedProfile, responseProfile); in receiveSessionModifyResponse() 254 if (mCallback != null) { in handleCallSessionEvent() 256 mCallback.handleCallSessionEvent(event); in handleCallSessionEvent() 264 if (mCallback != null) { in changePeerDimensions() 266 mCallback.changePeerDimensions(width, height); in changePeerDimensions() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthBiometricViewTest.java | 58 @Mock private AuthBiometricView.Callback mCallback; field in AuthBiometricViewTest 84 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector()); in testOnAuthenticationSucceeded_noConfirmationRequired_sendsActionAuthenticated() 90 verify(mCallback).onAction(AuthBiometricView.Callback.ACTION_AUTHENTICATED); in testOnAuthenticationSucceeded_noConfirmationRequired_sendsActionAuthenticated() 97 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector() { in testOnAuthenticationSucceeded_confirmationRequired_updatesDialogContents() 113 verify(mCallback, never()).onAction(anyInt()); in testOnAuthenticationSucceeded_confirmationRequired_updatesDialogContents() 127 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector() { in testPositiveButton_sendsActionAuthenticated() 137 verify(mCallback).onAction(AuthBiometricView.Callback.ACTION_AUTHENTICATED); in testPositiveButton_sendsActionAuthenticated() 144 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector() { in testNegativeButton_beforeAuthentication_sendsActionButtonNegative() 155 verify(mCallback).onAction(AuthBiometricView.Callback.ACTION_BUTTON_NEGATIVE); in testNegativeButton_beforeAuthentication_sendsActionButtonNegative() 162 initDialog(mContext, false /* allowDeviceCredential */, mCallback, new MockInjector() { in testCancelButton_whenPendingConfirmation_sendsActionUserCanceled() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
D | CallbackProxies.java | 41 private final CameraCaptureSession.StateCallback mCallback; field in CallbackProxies.SessionStateCallbackProxy 46 mCallback = checkNotNull(callback, "callback must not be null"); in SessionStateCallbackProxy() 53 mExecutor.execute(() -> mCallback.onConfigured(session)); in onConfigured() 64 mExecutor.execute(() -> mCallback.onConfigureFailed(session)); in onConfigureFailed() 74 mExecutor.execute(() -> mCallback.onReady(session)); in onReady() 84 mExecutor.execute(() -> mCallback.onActive(session)); in onActive() 94 mExecutor.execute(() -> mCallback.onCaptureQueueEmpty(session)); in onCaptureQueueEmpty() 104 mExecutor.execute(() -> mCallback.onClosed(session)); in onClosed() 114 mExecutor.execute(() -> mCallback.onSurfacePrepared(session, surface)); in onSurfacePrepared()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | TestHal.java | 44 private IBiometricsFingerprintClientCallback mCallback; field in TestHal 68 mCallback = clientCallback; in setNotify() 95 if (mCallback != null) { in cancel() 96 mCallback.onError(0, FingerprintError.ERROR_CANCELED, 0 /* vendorCode */); in cancel() 104 if (mCallback != null) { in enumerate() 105 mCallback.onEnumerate(0 /* deviceId */, 0 /* fingerId */, 0 /* groupId */, in enumerate() 114 if (mCallback != null) { in remove() 121 mCallback.onRemoved(0 /* deviceId */, fp.getBiometricId(), gid, in remove() 125 mCallback.onRemoved(0 /* deviceId */, fid, gid, 0 /* remaining */); in remove()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | AutoFillUI.java | 70 private @Nullable AutoFillUiCallback mCallback; field in AutoFillUI 103 if (mCallback != callback) { in setCallback() 104 if (mCallback != null) { in setCallback() 109 hideAllUiThread(mCallback); in setCallback() 112 mCallback = callback; in setCallback() 119 if (mCallback == callback) { in clearCallback() 121 mCallback = null; in clearCallback() 140 if (mCallback != callback) { in showError() 164 if (callback != mCallback) { in filterFillUi() 205 if (callback != mCallback) { in showFillUi() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | VisualStabilityManagerTest.java | 55 private VisualStabilityManager.Callback mCallback = mock(VisualStabilityManager.Callback.class); field in VisualStabilityManagerTest 132 mVisualStabilityManager.addReorderingAllowedCallback(mCallback, false /* persistent */); in testCallBackCalledScreenOn() 134 verify(mCallback).onChangeAllowed(); in testCallBackCalledScreenOn() 141 mVisualStabilityManager.addReorderingAllowedCallback(mCallback, false /* persistent */); in testCallBackCalledPanelExpanded() 143 verify(mCallback).onChangeAllowed(); in testCallBackCalledPanelExpanded() 150 mVisualStabilityManager.addReorderingAllowedCallback(mCallback, false /* persistent */); in testCallBackExactlyOnce() 154 verify(mCallback).onChangeAllowed(); in testCallBackExactlyOnce() 161 mVisualStabilityManager.addReorderingAllowedCallback(mCallback, true /* persistent */); in testCallBackCalledContinuouslyWhenRequested() 165 verify(mCallback, times(2)).onChangeAllowed(); in testCallBackCalledContinuouslyWhenRequested() 223 mVisualStabilityManager.addReorderingAllowedCallback(mCallback, false /* persistent */); in testCallBackCalled_Pulsing() [all …]
|