/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidActiveTimeReaderTest.java | 54 private VerifiableCallback mCallback; field in KernelCpuUidActiveTimeReaderTest 71 mCallback = new VerifiableCallback(); in setUp() 84 mReader.readDelta(mCallback); in testReadDelta() 86 mCallback.verify(mUids[i], getActiveTime(times[i])); in testReadDelta() 88 mCallback.verifyNoMoreInteractions(); in testReadDelta() 91 mCallback.clear(); in testReadDelta() 94 mReader.readDelta(mCallback); in testReadDelta() 96 mCallback.verify(mUids[i], getActiveTime(newTimes1[i]) - getActiveTime(times[i])); in testReadDelta() 98 mCallback.verifyNoMoreInteractions(); in testReadDelta() 101 mCallback.clear(); in testReadDelta() [all …]
|
D | KernelCpuUidUserSysTimeReaderTest.java | 57 private VerifiableCallback mCallback; field in KernelCpuUidUserSysTimeReaderTest 80 mCallback = new VerifiableCallback(); in setUp() 96 mReader.readDelta(mCallback); in testThrottler() 97 assertEquals(6, mCallback.mData.size()); in testThrottler() 101 mCallback.clear(); in testThrottler() 102 mReader.readDelta(mCallback); in testThrottler() 103 assertEquals(0, mCallback.mData.size()); in testThrottler() 109 mCallback.clear(); in testThrottler() 110 mReader.readDelta(mCallback); in testThrottler() 111 assertEquals(6, mCallback.mData.size()); in testThrottler() [all …]
|
D | KernelCpuUidClusterTimeReaderTest.java | 56 private VerifiableCallback mCallback; field in KernelCpuUidClusterTimeReaderTest 73 mCallback = new VerifiableCallback(); in setUp() 86 mReader.readDelta(mCallback); in testReadDelta() 88 mCallback.verify(mUids[i], clusterTime(times1[i])); in testReadDelta() 90 mCallback.verifyNoMoreInteractions(); in testReadDelta() 93 mCallback.clear(); in testReadDelta() 96 mReader.readDelta(mCallback); in testReadDelta() 98 mCallback.verify(mUids[i], subtract(clusterTime(times2[i]), clusterTime(times1[i]))); in testReadDelta() 100 mCallback.verifyNoMoreInteractions(); in testReadDelta() 103 mCallback.clear(); in testReadDelta() [all …]
|
D | KernelCpuUidFreqTimeReaderTest.java | 61 private VerifiableCallback mCallback; field in KernelCpuUidFreqTimeReaderTest 79 mCallback = new VerifiableCallback(); in setUp() 151 mReader.readDelta(mCallback); in testReadDelta() 153 mCallback.verify(mUids[i], times[i]); in testReadDelta() 155 mCallback.verifyNoMoreInteractions(); in testReadDelta() 163 mCallback.clear(); in testReadDelta() 166 mReader.readDelta(mCallback); in testReadDelta() 168 mCallback.verify(mUids[i], subtract(newTimes1[i], times[i])); in testReadDelta() 170 mCallback.verifyNoMoreInteractions(); in testReadDelta() 173 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/uiservicestests/src/com/android/server/notification/ |
D | GroupHelperTest.java | 52 private @Mock GroupHelper.Callback mCallback; field in GroupHelperTest 61 mGroupHelper = new GroupHelper(AUTOGROUP_AT_COUNT, mCallback); in setUp() 88 verify(mCallback, never()).addAutoGroupSummary( in testNoGroup_postingUnderLimit() 90 verify(mCallback, never()).addAutoGroup(anyString()); in testNoGroup_postingUnderLimit() 91 verify(mCallback, never()).removeAutoGroup(anyString()); in testNoGroup_postingUnderLimit() 92 verify(mCallback, never()).removeAutoGroupSummary(anyInt(), anyString()); in testNoGroup_postingUnderLimit() 105 verify(mCallback, never()).addAutoGroupSummary( in testNoGroup_multiPackage() 107 verify(mCallback, never()).addAutoGroup(anyString()); in testNoGroup_multiPackage() 108 verify(mCallback, never()).removeAutoGroup(anyString()); in testNoGroup_multiPackage() 109 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 …]
|
D | LocalMediaManagerTest.java | 62 private LocalMediaManager.DeviceCallback mCallback; field in LocalMediaManagerTest 107 mLocalMediaManager.registerCallback(mCallback); in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice() 112 verify(mCallback).onSelectedDeviceStateChanged(any(), in connectDevice_deviceNotEqualCurrentConnectedDevice_connectDevice() 127 mLocalMediaManager.registerCallback(mCallback); in connectDevice_bluetoothDeviceNotConnected_connectBluetoothDevice() 170 mLocalMediaManager.registerCallback(mCallback); in onDeviceAdded_mediaDeviceAndPhoneDeviceNotExistInList_addBothDevice() 174 verify(mCallback).onDeviceListUpdate(any()); in onDeviceAdded_mediaDeviceAndPhoneDeviceNotExistInList_addBothDevice() 186 mLocalMediaManager.registerCallback(mCallback); in onDeviceAdded_mediaDeviceNotExistAndPhoneDeviceExistInList_addMediaDevice() 190 verify(mCallback).onDeviceListUpdate(any()); in onDeviceAdded_mediaDeviceNotExistAndPhoneDeviceExistInList_addMediaDevice() 201 mLocalMediaManager.registerCallback(mCallback); in onDeviceAdded_mediaDeviceAndPhoneDeviceExistInList_doNothing() 205 verify(mCallback, never()).onDeviceListUpdate(any()); in onDeviceAdded_mediaDeviceAndPhoneDeviceExistInList_doNothing() [all …]
|
D | BluetoothMediaManagerTest.java | 70 private MediaManager.MediaDeviceCallback mCallback; field in BluetoothMediaManagerTest 226 mMediaManager.registerCallback(mCallback); in onBluetoothStateChanged_bluetoothStateIsOn_callOnDeviceListAdded() 229 verify(mCallback).onDeviceListAdded(any()); in onBluetoothStateChanged_bluetoothStateIsOn_callOnDeviceListAdded() 244 mMediaManager.registerCallback(mCallback); in onBluetoothStateChanged_bluetoothStateIsOff_callOnDeviceListRemoved() 248 verify(mCallback).onDeviceListRemoved(any()); in onBluetoothStateChanged_bluetoothStateIsOff_callOnDeviceListRemoved() 259 mMediaManager.registerCallback(mCallback); in onDeviceAdded_cachedDeviceIsConnected_callOnDeviceAdded() 263 verify(mCallback).onDeviceAdded(any()); in onDeviceAdded_cachedDeviceIsConnected_callOnDeviceAdded() 275 mMediaManager.registerCallback(mCallback); in onDeviceAdded_cachedDeviceIsDisconnected_doNothing() 279 verify(mCallback, never()).onDeviceAdded(any()); in onDeviceAdded_cachedDeviceIsDisconnected_doNothing() 295 mMediaManager.registerCallback(mCallback); in onDeviceDeleted_cachedDeviceIsConnected_doNothing() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockDispSync.cpp | 29 if (mCallback.callback != nullptr) { in addEventListener() 33 mCallback = {callback, phase}; in addEventListener() 37 if (mCallback.callback != callback) { in removeEventListener() 41 mCallback = {nullptr, 0}; in removeEventListener() 46 if (mCallback.callback != callback) { in changePhaseOffset() 50 mCallback.phase = phase; in changePhaseOffset() 55 if (mCallback.callback == nullptr) return; in triggerCallback() 57 mCallback.callback->onDispSyncEvent( in triggerCallback()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | AutoFillUI.java | 69 private @Nullable AutoFillUiCallback mCallback; field in AutoFillUI 97 if (mCallback != callback) { in setCallback() 98 if (mCallback != null) { in setCallback() 99 hideAllUiThread(mCallback); in setCallback() 102 mCallback = callback; in setCallback() 109 if (mCallback == callback) { in clearCallback() 111 mCallback = null; in clearCallback() 130 if (mCallback != callback) { in showError() 154 if (callback != mCallback) { in filterFillUi() 195 if (callback != mCallback) { in showFillUi() [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/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/services/core/java/com/android/server/timedetector/ |
D | SimpleTimeDetectorStrategy.java | 49 private Callback mCallback; field in SimpleTimeDetectorStrategy 64 mCallback = callback; in initialize() 122 if (!mCallback.isTimeDetectionEnabled()) { in setSystemClockIfRequired() 127 mCallback.acquireWakeLock(); in setSystemClockIfRequired() 129 long elapsedRealtimeMillis = mCallback.elapsedRealtimeMillis(); in setSystemClockIfRequired() 130 long actualTimeMillis = mCallback.systemClockMillis(); in setSystemClockIfRequired() 151 mCallback.releaseWakeLock(); in setSystemClockIfRequired() 164 mCallback.acquireWakeLock(); in handleAutoTimeDetectionToggle() 166 long elapsedRealtimeMillis = mCallback.elapsedRealtimeMillis(); in handleAutoTimeDetectionToggle() 167 long actualTimeMillis = mCallback.systemClockMillis(); in handleAutoTimeDetectionToggle() [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/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | LocalOnlyHotspotRequestInfoTest.java | 47 @Mock LocalOnlyHotspotRequestInfo.RequestingApplicationDeathCallback mCallback; field in LocalOnlyHotspotRequestInfoTest 72 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyBinderLinkToDeathIsCalled() 89 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, null, mCallback); in verifyNullMessengerChecked() 97 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(null, mMessenger, mCallback); in verifyNullBinderChecked() 105 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyUnlinkDeathRecipientUnlinksFromBinder() 115 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyBinderDeathTriggersCallback() 117 verify(mCallback).onLocalOnlyHotspotRequestorDeath(eq(mLOHSRequestInfo)); in verifyBinderDeathTriggersCallback() 127 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyRemoteExceptionTriggersCallback() 128 verify(mCallback).onLocalOnlyHotspotRequestorDeath(eq(mLOHSRequestInfo)); in verifyRemoteExceptionTriggersCallback() 136 mLOHSRequestInfo = new LocalOnlyHotspotRequestInfo(mAppBinder, mMessenger, mCallback); in verifyPid() [all …]
|
/frameworks/base/tests/net/java/android/net/ip/ |
D | IpServerTest.java | 100 @Mock private IpServer.Callback mCallback; field in IpServerTest 136 mNMService, mStatsService, mCallback, usingLegacyDhcp, mDependencies); in initStateMachine() 141 reset(mNMService, mStatsService, mCallback); in initStateMachine() 159 reset(mNMService, mStatsService, mCallback); in initTetheredStateMachine() 171 TETHERING_BLUETOOTH, mSharedLog, mNMService, mStatsService, mCallback, in startsOutAvailable() 175 verify(mCallback).updateInterfaceState( in startsOutAvailable() 177 verify(mCallback).updateLinkProperties(eq(mIpServer), any(LinkProperties.class)); in startsOutAvailable() 178 verifyNoMoreInteractions(mCallback, mNMService, mStatsService); in startsOutAvailable() 197 verifyNoMoreInteractions(mNMService, mStatsService, mCallback); in shouldDoNothingUntilRequested() 206 verify(mCallback).updateInterfaceState( in handlesImmediateInterfaceDown() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | NightDisplayListener.java | 43 private Callback mCallback; field in NightDisplayListener 65 if (setting != null && mCallback != null) { in NightDisplayListener() 68 mCallback.onActivated(mManager.isNightDisplayActivated()); in NightDisplayListener() 71 mCallback.onAutoModeChanged(mManager.getNightDisplayAutoMode()); in NightDisplayListener() 74 mCallback.onCustomStartTimeChanged( in NightDisplayListener() 78 mCallback.onCustomEndTimeChanged( in NightDisplayListener() 82 mCallback.onColorTemperatureChanged( in NightDisplayListener() 102 final Callback oldCallback = mCallback; in setCallbackInternal() 104 mCallback = newCallback; in setCallbackInternal() 105 if (mCallback == null) { in setCallbackInternal()
|
/frameworks/base/core/java/android/service/trust/ |
D | TrustAgentService.java | 175 private ITrustAgentServiceCallback mCallback; field in TrustAgentService 199 mCallback.onConfigureCompleted(result, data.token); 406 if (mCallback != null) { in grantTrust() 408 mCallback.grantTrust(message.toString(), durationMs, flags); in grantTrust() 433 if (mCallback != null) { in revokeTrust() 435 mCallback.revokeTrust(); in revokeTrust() 455 if (mCallback != null) { in setManagingTrust() 457 mCallback.setManagingTrust(managingTrust); in setManagingTrust() 480 if (mCallback == null) { in addEscrowToken() 485 mCallback.addEscrowToken(token, user.getIdentifier()); in addEscrowToken() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecControllerTest.java | 74 private AllocateAddressCallback mCallback = field in HdmiCecControllerTest 97 mHdmiCecController.allocateLogicalAddress(DEVICE_TV, ADDR_TV, mCallback); in testAllocatLogicalAddress_TvDevicePreferredNotOcupied() 105 mHdmiCecController.allocateLogicalAddress(DEVICE_TV, ADDR_UNREGISTERED, mCallback); in testAllocatLogicalAddress_TvDeviceNonPreferredNotOcupied() 113 mHdmiCecController.allocateLogicalAddress(DEVICE_TV, ADDR_UNREGISTERED, mCallback); in testAllocatLogicalAddress_TvDeviceNonPreferredFirstOcupied() 122 mHdmiCecController.allocateLogicalAddress(DEVICE_TV, ADDR_UNREGISTERED, mCallback); in testAllocatLogicalAddress_TvDeviceNonPreferredAllOcupied() 130 DEVICE_AUDIO_SYSTEM, ADDR_UNREGISTERED, mCallback); in testAllocatLogicalAddress_AudioSystemNonPreferredNotOcupied() 139 DEVICE_AUDIO_SYSTEM, ADDR_UNREGISTERED, mCallback); in testAllocatLogicalAddress_AudioSystemNonPreferredAllOcupied() 146 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_PLAYBACK_1, mCallback); in testAllocatLogicalAddress_PlaybackPreferredNotOccupied() 154 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_PLAYBACK_1, mCallback); in testAllocatLogicalAddress_PlaybackPreferredOcuppied() 161 mHdmiCecController.allocateLogicalAddress(DEVICE_PLAYBACK, ADDR_UNREGISTERED, mCallback); in testAllocatLogicalAddress_PlaybackNoPreferredNotOcuppied() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | VisualStabilityManagerTest.java | 51 private VisualStabilityManager.Callback mCallback = mock(VisualStabilityManager.Callback.class); field in VisualStabilityManagerTest 111 mVisualStabilityManager.addReorderingAllowedCallback(mCallback); in testCallBackCalledScreenOn() 113 verify(mCallback).onReorderingAllowed(); in testCallBackCalledScreenOn() 120 mVisualStabilityManager.addReorderingAllowedCallback(mCallback); in testCallBackCalledPanelExpanded() 122 verify(mCallback).onReorderingAllowed(); in testCallBackCalledPanelExpanded() 129 mVisualStabilityManager.addReorderingAllowedCallback(mCallback); in testCallBackExactlyOnce() 133 verify(mCallback).onReorderingAllowed(); in testCallBackExactlyOnce() 191 mVisualStabilityManager.addReorderingAllowedCallback(mCallback); in testCallBackCalled_Pulsing() 193 verify(mCallback).onReorderingAllowed(); in testCallBackCalled_Pulsing() 201 mVisualStabilityManager.addReorderingAllowedCallback(mCallback); in testTemporarilyAllowReorderingNotifiesCallbacks() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDiscoverySessionState.java | 49 private IWifiAwareDiscoverySessionCallback mCallback; field in WifiAwareDiscoverySessionState 79 mCallback = callback; in WifiAwareDiscoverySessionState() 106 return mCallback; in getCallback() 122 mCallback = null; in terminate() 153 mCallback.onSessionConfigFail(NanStatusType.INTERNAL_FAILURE); in updatePublish() 163 mCallback.onSessionConfigFail(NanStatusType.INTERNAL_FAILURE); in updatePublish() 183 mCallback.onSessionConfigFail(NanStatusType.INTERNAL_FAILURE); in updateSubscribe() 193 mCallback.onSessionConfigFail(NanStatusType.INTERNAL_FAILURE); in updateSubscribe() 219 mCallback.onMessageSendFail(messageId, NanStatusType.INTERNAL_FAILURE); in sendMessage() 230 mCallback.onMessageSendFail(messageId, NanStatusType.INTERNAL_FAILURE); in sendMessage() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | DismissCallbackWrapper.java | 31 private IKeyguardDismissCallback mCallback; field in DismissCallbackWrapper 34 mCallback = callback; in DismissCallbackWrapper() 39 mCallback.onDismissError(); in notifyDismissError() 47 mCallback.onDismissCancelled(); in notifyDismissCancelled() 55 mCallback.onDismissSucceeded(); in notifyDismissSucceeded()
|
/frameworks/base/core/java/android/app/role/ |
D | RoleControllerManager.java | 242 private final Consumer<Boolean> mCallback; field in RoleControllerManager.GrantDefaultRolesRequest 252 mCallback = callback; in GrantDefaultRolesRequest() 258 mCallback.accept(successful); in GrantDefaultRolesRequest() 268 mExecutor.execute(() -> mCallback.accept(false)); in onTimeout() 299 private final RemoteCallback mCallback; field in RoleControllerManager.OnAddRoleHolderRequest 312 mCallback = callback; in OnAddRoleHolderRequest() 317 mCallback.sendResult(result); in OnAddRoleHolderRequest() 327 mCallback.sendResult(null); in onTimeout() 354 private final RemoteCallback mCallback; field in RoleControllerManager.OnRemoveRoleHolderRequest 367 mCallback = callback; in OnRemoveRoleHolderRequest() [all …]
|