/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidUserSysTimeReaderTest.java | 56 private VerifiableCallback mCallback; field in KernelCpuUidUserSysTimeReaderTest 82 mCallback = new VerifiableCallback(); in setUp() 102 mReader.readDelta(false, mCallback); in testThrottler() 103 assertEquals(6, mCallback.mData.size()); in testThrottler() 107 mCallback.clear(); in testThrottler() 108 mReader.readDelta(false, mCallback); in testThrottler() 109 assertEquals(0, mCallback.mData.size()); in testThrottler() 115 mCallback.clear(); in testThrottler() 116 mReader.readDelta(false, mCallback); in testThrottler() 117 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/services/tests/servicestests/src/com/android/server/biometrics/sensors/ |
D | CoexCoordinatorTest.java | 58 private CoexCoordinator.Callback mCallback; field in CoexCoordinatorTest 85 mFaceClient, mCallback); in testBiometricPrompt_authSuccess() 86 verify(mCallback).sendHapticFeedback(); in testBiometricPrompt_authSuccess() 87 verify(mCallback).sendAuthenticationResult(eq(false) /* addAuthTokenIfStrong */); in testBiometricPrompt_authSuccess() 88 verify(mCallback).handleLifecycleAfterAuth(); in testBiometricPrompt_authSuccess() 98 mFaceClient, LockoutTracker.LOCKOUT_NONE, mCallback); in testBiometricPrompt_authReject_whenNotLockedOut() 99 verify(mCallback).sendHapticFeedback(); in testBiometricPrompt_authReject_whenNotLockedOut() 100 verify(mCallback).sendAuthenticationResult(eq(false) /* addAuthTokenIfStrong */); in testBiometricPrompt_authReject_whenNotLockedOut() 101 verify(mCallback).handleLifecycleAfterAuth(); in testBiometricPrompt_authReject_whenNotLockedOut() 111 mFaceClient, LockoutTracker.LOCKOUT_TIMED, mCallback); in testBiometricPrompt_authReject_whenLockedOut() [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/uiservicestests/src/com/android/server/notification/ |
D | GroupHelperTest.java | 55 private @Mock GroupHelper.Callback mCallback; field in GroupHelperTest 64 mGroupHelper = new GroupHelper(AUTOGROUP_AT_COUNT, mCallback); in setUp() 91 verify(mCallback, never()).addAutoGroupSummary( in testNoGroup_postingUnderLimit() 93 verify(mCallback, never()).addAutoGroup(anyString()); in testNoGroup_postingUnderLimit() 94 verify(mCallback, never()).removeAutoGroup(anyString()); in testNoGroup_postingUnderLimit() 95 verify(mCallback, never()).removeAutoGroupSummary(anyInt(), anyString()); in testNoGroup_postingUnderLimit() 108 verify(mCallback, never()).addAutoGroupSummary( in testNoGroup_multiPackage() 110 verify(mCallback, never()).addAutoGroup(anyString()); in testNoGroup_multiPackage() 111 verify(mCallback, never()).removeAutoGroup(anyString()); in testNoGroup_multiPackage() 112 verify(mCallback, never()).removeAutoGroupSummary(anyInt(), anyString()); in testNoGroup_multiPackage() [all …]
|
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/ |
D | UceStatsWriterTest.java | 52 private Callback mCallback; field in UceStatsWriterTest 133 mCallback = new Callback(); in setUp() 134 mWrite = new TestableUceStatsWriter(mCallback); in setUp() 149 assertEquals(mSubId, mCallback.subId); in setImsRegistrationFeatureTagStats() 151 assertEquals(featureTags.get(index), mCallback.featureTagList.get(index)); in setImsRegistrationFeatureTagStats() 153 assertEquals(mRegistrationTech, mCallback.registrationTech); in setImsRegistrationFeatureTagStats() 165 assertEquals(mSubId, mCallback.subId); in setImsRegistrationServiceDescStats() 167 assertEquals(tupleList.get(index).getServiceId(), mCallback.serviceIdList.get(index)); in setImsRegistrationServiceDescStats() 168 assertEquals(tupleList.get(index).getServiceVersion(), mCallback.versions.get(index)); in setImsRegistrationServiceDescStats() 170 assertEquals(mRegistrationTech, mCallback.registrationTech); in setImsRegistrationServiceDescStats() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/resume/ |
D | ResumeMediaBrowser.java | 51 @Nullable private final Callback mCallback; field in ResumeMediaBrowser 73 mCallback = callback; in ResumeMediaBrowser() 104 if (mCallback != null) { 105 mCallback.onError(); 113 if (mCallback != null) { 114 mCallback.addTrack(desc, mMediaBrowser.getServiceComponent(), 119 if (mCallback != null) { 120 mCallback.onError(); 130 if (mCallback != null) { 131 mCallback.onError(); [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 | 58 private TaskStackListenerCallback mCallback; field in TaskStackListenerImplTest 70 mImpl.addListener(mCallback); in setUp() 80 impl.addListener(mCallback); in testAddRemoveMultipleListeners_ExpectRegisterUnregisterOnce() 85 impl.removeListener(mCallback); in testAddRemoveMultipleListeners_ExpectRegisterUnregisterOnce() 92 verify(mCallback).onRecentTaskListUpdated(); in testOnRecentTaskListUpdated() 99 verify(mCallback).onRecentTaskListFrozenChanged(eq(true)); in testOnRecentTaskListFrozenChanged() 106 verify(mCallback).onTaskStackChangedBackground(); in testOnTaskStackChanged() 107 verify(mCallback).onTaskStackChanged(); in testOnTaskStackChanged() 116 verify(mCallback).onTaskProfileLocked(eq(info)); in testOnTaskProfileLocked() 123 verify(mCallback).onTaskDisplayChanged(eq(1), eq(2)); in testOnTaskDisplayChanged() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/model/ |
D | SysUiStateTest.java | 45 private SysUiState.SysUiStateCallback mCallback; field in SysUiStateTest 52 mCallback = mock(SysUiState.SysUiStateCallback.class); in setup() 53 mFlagsContainer.addCallback(mCallback); in setup() 60 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_1); in addSingle_setFlag() 68 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_1); in addMultiple_setFlag() 69 verify(mCallback, times(1)) in addMultiple_setFlag() 80 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_1); in addMultipleRemoveOne_setFlag() 81 verify(mCallback, times(1)) in addMultipleRemoveOne_setFlag() 83 verify(mCallback, times(1)).onSystemUiStateChanged(FLAG_2); in addMultipleRemoveOne_setFlag() 91 verify(mCallback, times(1)).onSystemUiStateChanged(expected); in addMultiple_setFlags() [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | ObservableServiceConnectionTest.java | 86 private ObservableServiceConnection.Callback<Foo> mCallback; field in ObservableServiceConnectionTest 109 mConnection.addCallback(mCallback); in testConnect() 110 mConnection.addCallback(mCallback); in testConnect() 116 verify(mCallback, never()).onConnected(any(), any()); in testConnect() 117 verify(mCallback, never()).onDisconnected(any(), anyInt()); in testConnect() 123 verify(mCallback, times(1)).onConnected(mConnection, mResult); in testConnect() 128 mConnection.addCallback(mCallback); in testDisconnectBeforeBind() 133 verify(mCallback, never()).onDisconnected(eq(mConnection), anyInt()); in testDisconnectBeforeBind() 138 mConnection.addCallback(mCallback); in testDisconnect() 144 verify(mCallback, never()).onDisconnected(eq(mConnection), anyInt()); in testDisconnect() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/ |
D | DreamOverlayStatusBarItemsProviderTest.java | 43 DreamOverlayStatusBarItemsProvider.Callback mCallback; field in DreamOverlayStatusBarItemsProviderTest 60 mProvider.addCallback(mCallback); in addingCallbackCallsOnStatusBarItemsChanged() 61 verify(mCallback).onStatusBarItemsChanged(List.of(mStatusBarItem)); in addingCallbackCallsOnStatusBarItemsChanged() 66 mProvider.addCallback(mCallback); in addingStatusBarItemCallsOnStatusBarItemsChanged() 68 verify(mCallback).onStatusBarItemsChanged(List.of(mStatusBarItem)); in addingStatusBarItemCallsOnStatusBarItemsChanged() 73 mProvider.addCallback(mCallback); in addingDuplicateStatusBarItemDoesNotCallOnStatusBarItemsChanged() 77 verify(mCallback, times(1)) in addingDuplicateStatusBarItemDoesNotCallOnStatusBarItemsChanged() 83 mProvider.addCallback(mCallback); in removingStatusBarItemCallsOnStatusBarItemsChanged() 87 verify(mCallback, times(2)).onStatusBarItemsChanged(any()); in removingStatusBarItemCallsOnStatusBarItemsChanged() 92 mProvider.addCallback(mCallback); in removingNonexistentStatusBarItemDoesNotCallOnStatusBarItemsChanged() [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/packages/SystemUI/tests/src/com/android/systemui/util/condition/ |
D | ConditionalCoreStartableTest.java | 55 private final Callback mCallback; field in ConditionalCoreStartableTest.FakeConditionalCoreStartable 60 mCallback = callback; in FakeConditionalCoreStartable() 65 mCallback = callback; in FakeConditionalCoreStartable() 70 mCallback.onStart(); in onStart() 75 mCallback.bootCompleted(); in bootCompleted() 89 FakeConditionalCoreStartable.Callback mCallback; field in ConditionalCoreStartableTest 109 mCallback); in testOnStartCallback() 122 verify(mCallback, never()).onStart(); in testOnStartCallback() 126 verify(mCallback).onStart(); in testOnStartCallback() 134 mCallback); in testOnStartCallbackWithNoConditions() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ScrollCaptureConnectionTest.java | 67 private final TestScrollCaptureCallback mCallback = new TestScrollCaptureCallback(); field in ScrollCaptureConnectionTest 93 mTarget = new ScrollCaptureTarget(mView, mLocalVisibleRect, mPositionInWindow, mCallback); in setUp() 104 mView, mLocalVisibleRect, mPositionInWindow, mCallback); in testConstruction() 128 mCallback.completeStartRequest(); in testStartCapture() 139 mCallback.completeStartRequest(); in testStartCapture_cancellation() 149 mCallback.completeStartRequest(); in testRequestImage() 152 mCallback.completeImageRequest(new Rect(1, 2, 3, 4)); in testRequestImage() 163 mCallback.completeStartRequest(); in testRequestImage_afterClose() 176 mCallback.completeStartRequest(); in testRequestImage_cancellation() 180 mCallback.completeImageRequest(new Rect(1, 2, 3, 4)); in testRequestImage_cancellation() [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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | CellularNetworkValidatorTest.java | 69 CellularNetworkValidator.ValidationCallback mCallback; field in CellularNetworkValidatorTest 74 mCallback = mock(CellularNetworkValidator.ValidationCallback.class); in setUp() 114 mValidatorUT.validate(subId, timeout, true, mCallback); in testValidateSuccess() 127 mValidatorUT.validate(subId, timeout, true, mCallback); in testValidateTimeout() 141 mValidatorUT.validate(subId, timeout, true, mCallback); in testValidateFailure() 152 mValidatorUT.validate(subId, timeout, true, mCallback); in testNetworkAvailableNotValidated() 180 mValidatorUT.validate(subId, timeout, true, mCallback); in testSkipRecentlyValidatedNetwork() 203 mValidatorUT.validate(subId, timeout, true, mCallback); in testDoNotSkipIfValidationFailed() 229 mValidatorUT.validate(subId, timeout, true, mCallback); in testDoNotSkipIfCacheExpires() 253 mValidatorUT.validate(1, timeout, true, mCallback); in testNetworkCachingOfMultipleSub() [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/services/core/java/com/android/server/pm/verify/domain/ |
D | DomainVerificationEnforcer.java | 36 private Callback mCallback; field in DomainVerificationEnforcer 43 mCallback = callback; in setCallback() 144 if (!mCallback.doesUserExist(callingUserId)) { in assertApprovedUserStateQuerent() 146 } else if (!mCallback.doesUserExist(targetUserId)) { in assertApprovedUserStateQuerent() 150 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in assertApprovedUserStateQuerent() 170 if (!mCallback.doesUserExist(callingUserId)) { in assertApprovedUserSelector() 172 } else if (!mCallback.doesUserExist(targetUserId)) { in assertApprovedUserSelector() 180 return !mCallback.filterAppAccess(packageName, callingUid, targetUserId); in assertApprovedUserSelector() 199 if (!mCallback.doesUserExist(callingUserId)) { in callerIsLegacyUserSelector() 201 } else if (!mCallback.doesUserExist(targetUserId)) { in callerIsLegacyUserSelector() [all …]
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | AutoFillUI.java | 75 private @Nullable AutoFillUiCallback mCallback; field in AutoFillUI 111 if (mCallback != callback) { in setCallback() 112 if (mCallback != null) { in setCallback() 117 hideAllUiThread(mCallback); in setCallback() 120 mCallback = callback; in setCallback() 127 if (mCallback == callback) { in clearCallback() 129 mCallback = null; in clearCallback() 148 if (mCallback != callback) { in showError() 178 if (callback != mCallback) { in filterFillUi() 219 if (callback != mCallback) { in showFillUi() [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()
|