/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/ |
D | TestableNetworkCallbackTest.kt | 37 private lateinit var mCallback: TestableNetworkCallback in <lambda>() variable in android.net.testutils.TestableNetworkCallbackTest 45 mCallback = TestableNetworkCallback() in <lambda>() 53 assertNull(mCallback.lastAvailableNetwork) in <lambda>() 54 mCallback.onAvailable(net2097) in <lambda>() 55 assertEquals(mCallback.lastAvailableNetwork, net2097) in <lambda>() 59 mCallback.onCapabilitiesChanged(net2097, NetworkCapabilities()) in <lambda>() 60 mCallback.onLinkPropertiesChanged(net2097, LinkProperties()) in <lambda>() 61 assertEquals(mCallback.lastAvailableNetwork, net2097) in <lambda>() 64 mCallback.onLost(net2097) in <lambda>() 65 assertNull(mCallback.lastAvailableNetwork) in <lambda>() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApManagerTest.java | 165 @Mock WifiServiceImpl.SoftApCallbackInternal mCallback; field in SoftApManagerTest 329 mCallback, in createSoftApManager() 409 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in startSoftApDefaultConfigFailedToLoad() 436 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics() 464 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics() 666 verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_FAILED, in startSoftApApInterfaceFailedToStart() 685 InOrder order = inOrder(mCallback, mListener, mContext); in stopWhenStarted() 691 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0); in stopWhenStarted() 698 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in stopWhenStarted() 722 InOrder order = inOrder(mCallback, mListener, mContext); in cleanStopOnInterfaceDestroyed() [all …]
|
D | LocalOnlyHotspotRequestInfoTest.java | 48 @Mock ILocalOnlyHotspotCallback mCallback; field in LocalOnlyHotspotRequestInfoTest 59 when(mCallback.asBinder()).thenReturn(mAppBinder); in setUp() 70 TEST_WORKSOURCE, mCallback, mDeathCallback, null); in verifyBinderLinkToDeathIsCalled() 89 TEST_WORKSOURCE, mCallback, null, null); in verifyNullDeathCallbackChecked() 98 TEST_WORKSOURCE, mCallback, mDeathCallback, null); in verifyUnlinkDeathRecipientUnlinksFromBinder() 109 TEST_WORKSOURCE, mCallback, mDeathCallback, null); in verifyBinderDeathTriggersCallback() 122 TEST_WORKSOURCE, mCallback, mDeathCallback, null); in verifyRemoteExceptionTriggersCallback() 132 TEST_WORKSOURCE, mCallback, mDeathCallback, null); in verifyPid() 142 TEST_WORKSOURCE, mCallback, mDeathCallback, config); in verifyCustomConfig() 152 TEST_WORKSOURCE, mCallback, mDeathCallback, null); in verifySendFailedMessage() [all …]
|
D | ExternalScoreUpdateObserverProxyTest.java | 46 @Mock WifiManager.ScoreUpdateObserver mCallback; field in ExternalScoreUpdateObserverProxyTest 61 mExternalScoreUpdateObserverProxy.registerCallback(mCallback); in testCallback() 65 verify(mCallback).notifyScoreUpdate(TEST_SESSION_ID, TEST_SCORE); in testCallback() 69 verify(mCallback).triggerUpdateOfWifiUsabilityStats(TEST_SESSION_ID); in testCallback() 72 mExternalScoreUpdateObserverProxy.unregisterCallback(mCallback); in testCallback() 78 verifyNoMoreInteractions(mCallback); in testCallback() 84 mExternalScoreUpdateObserverProxy.registerCallback(mCallback); in testCallbackForApiInS() 88 verify(mCallback).notifyStatusUpdate(TEST_SESSION_ID, TEST_STATUS); in testCallbackForApiInS() 92 verify(mCallback).requestNudOperation(TEST_SESSION_ID); in testCallbackForApiInS() 96 verify(mCallback).blocklistCurrentBssid(TEST_SESSION_ID); in testCallbackForApiInS() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | SetDeviceOwnerPolicyTaskTest.java | 57 @Mock private AbstractProvisioningTask.Callback mCallback; field in SetDeviceOwnerPolicyTaskTest 101 verify(mCallback).onSuccess(mTask); in testEnableDevicePolicyApp_DefaultToDefault() 102 verifyNoMoreInteractions(mCallback); in testEnableDevicePolicyApp_DefaultToDefault() 120 verify(mCallback).onSuccess(mTask); in testEnableDevicePolicyApp_DisabledToDefault() 121 verifyNoMoreInteractions(mCallback); in testEnableDevicePolicyApp_DisabledToDefault() 138 verify(mCallback).onSuccess(mTask); in testEnableDevicePolicyApp_EnabledToEnabled() 139 verifyNoMoreInteractions(mCallback); in testEnableDevicePolicyApp_EnabledToEnabled() 154 verify(mCallback).onError(mTask, 0); in testEnableDevicePolicyApp_PackageNotFound() 155 verifyNoMoreInteractions(mCallback); in testEnableDevicePolicyApp_PackageNotFound() 168 verify(mCallback).onSuccess(mTask); in testSetActiveAdmin() [all …]
|
D | VerifyPackageTaskTest.java | 73 @Mock private AbstractProvisioningTask.Callback mCallback; field in VerifyPackageTaskTest 109 verify(mCallback).onSuccess(mTask); in testDownloadLocationNull() 110 verifyNoMoreInteractions(mCallback); in testDownloadLocationNull() 123 verify(mCallback).onError(mTask, ERROR_DEVICE_ADMIN_MISSING); in testMissingDeviceAdminComponent() 124 verifyNoMoreInteractions(mCallback); in testMissingDeviceAdminComponent() 137 verify(mCallback).onSuccess(mTask); in testPackageChecksumSha256_success() 138 verifyNoMoreInteractions(mCallback); in testPackageChecksumSha256_success() 151 verify(mCallback).onSuccess(mTask); in testSignatureHash_success() 152 verifyNoMoreInteractions(mCallback); in testSignatureHash_success() 165 verify(mCallback).onError(mTask, ERROR_HASH_MISMATCH); in testSignatureHash_failure() [all …]
|
D | AddWifiNetworkTaskTest.java | 76 @Mock private AbstractProvisioningTask.Callback mCallback; field in AddWifiNetworkTaskTest 98 NO_WIFI_INFO_PARAMS, mCallback, mUtils, mTestInjector, in testNoWifiInfo() 105 verify(mCallback).onSuccess(mTask); in testNoWifiInfo() 112 WIFI_INFO_PARAMS, mCallback, mUtils, mTestInjector, mProvisioningAnalyticsTracker); in testWifiManagerNull() 121 verify(mCallback).onError(mTask, 0); in testWifiManagerNull() 128 WIFI_INFO_PARAMS, mCallback, mUtils, mTestInjector, mProvisioningAnalyticsTracker); in testFailToEnableWifi() 140 verify(mCallback).onError(mTask, 0); in testFailToEnableWifi() 147 WIFI_INFO_PARAMS, mCallback, mUtils, mTestInjector, mProvisioningAnalyticsTracker); in testIsConnectedToSpecifiedWifiTrue() 163 verify(mCallback).onSuccess(mTask); in testIsConnectedToSpecifiedWifiTrue() 170 WIFI_INFO_PARAMS, mCallback, mUtils, mTestInjector, mProvisioningAnalyticsTracker); in testNoWifiInfoInProvider() [all …]
|
D | InstallExistingPackageTaskTest.java | 60 @Mock private AbstractProvisioningTask.Callback mCallback; field in InstallExistingPackageTaskTest 70 mCallback, mock(ProvisioningAnalyticsTracker.class), UserHandle.USER_NULL); in setUp() 84 verify(mCallback).onSuccess(mTask); in testSuccess() 85 verifyNoMoreInteractions(mCallback); in testSuccess() 96 mCallback, mock(ProvisioningAnalyticsTracker.class), TEST_USER_ID); in testSuccess_userIdFromConstructor() 102 verify(mCallback).onSuccess(task); in testSuccess_userIdFromConstructor() 103 verifyNoMoreInteractions(mCallback); in testSuccess_userIdFromConstructor() 116 verify(mCallback).onError(mTask, 0); in testPackageNotFound() 117 verifyNoMoreInteractions(mCallback); in testPackageNotFound() 130 verify(mCallback).onError(mTask, 0); in testInstallFailed() [all …]
|
D | ProvisionFullyManagedDeviceTaskTest.java | 79 @Mock private AbstractProvisioningTask.Callback mCallback; field in ProvisionFullyManagedDeviceTaskTest 104 verify(mCallback).onSuccess(task); in testSuccess() 105 verifyNoMoreInteractions(mCallback); in testSuccess() 117 verify(mCallback).onError(task, 0); in testError() 118 verifyNoMoreInteractions(mCallback); in testError() 129 verify(mCallback).onSuccess(task); in testLeaveSystemAppsEnabled() 130 verifyNoMoreInteractions(mCallback); in testLeaveSystemAppsEnabled() 140 verify(mCallback).onSuccess(task); in testCanGrantSensorsPermissionsByDefault() 141 verifyNoMoreInteractions(mCallback); in testCanGrantSensorsPermissionsByDefault() 159 verify(mCallback).onSuccess(task); in testCanOptOutOfGrantingSensorsPermissions() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ExternalScoreUpdateObserverProxy.java | 45 private WifiManager.ScoreUpdateObserver mCallback; field in ExternalScoreUpdateObserverProxy 55 if (mCallback != null) { in registerCallback() 58 mCallback = callback; in registerCallback() 67 if (mCallback == callback) { in unregisterCallback() 68 mCallback = null; in unregisterCallback() 75 if (mCallback == null) { in notifyScoreUpdate() 79 mCallback.notifyScoreUpdate(sessionId, score); in notifyScoreUpdate() 86 if (mCallback == null) { in triggerUpdateOfWifiUsabilityStats() 90 mCallback.triggerUpdateOfWifiUsabilityStats(sessionId); in triggerUpdateOfWifiUsabilityStats() 100 if (mCallback == null) { in notifyStatusUpdate() [all …]
|
D | WifiNetworkAgent.java | 51 private final Callback mCallback; field in WifiNetworkAgent 80 mCallback = wifiNetworkAgentCallback; in WifiNetworkAgent() 86 mCallback.onNetworkUnwanted(); in onNetworkUnwanted() 91 mCallback.onValidationStatus(status, redirectUri); in onValidationStatus() 96 mCallback.onSaveAcceptUnvalidated(accept); in onSaveAcceptUnvalidated() 102 mCallback.onStartSocketKeepalive(slot, interval, packet); in onStartSocketKeepalive() 107 mCallback.onStopSocketKeepalive(slot); in onStopSocketKeepalive() 112 mCallback.onAddKeepalivePacketFilter(slot, packet); in onAddKeepalivePacketFilter() 117 mCallback.onRemoveKeepalivePacketFilter(slot); in onRemoveKeepalivePacketFilter() 122 mCallback.onSignalStrengthThresholdsUpdated(thresholds); in onSignalStrengthThresholdsUpdated() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | NetworkMonitorTest.java | 48 @Mock private NetworkMonitor.NetworkConnectedCallback mCallback; field in NetworkMonitorTest 62 nm.startListening(mCallback); in testStartListening() 73 verify(mCallback).onNetworkConnected(); in testStartListening() 82 nm.startListening(mCallback); in testStopListening() 93 verifyZeroInteractions(mCallback); in testStopListening() 99 nm.startListening(mCallback); in testWaitForValidated_NoCallbackBeforeValidated() 108 verifyZeroInteractions(mCallback); in testWaitForValidated_NoCallbackBeforeValidated() 116 nm.startListening(mCallback); in testWaitForValidated_NetworkChange() 127 verify(mCallback).onNetworkConnected(); in testWaitForValidated_NetworkChange() 134 verifyNoMoreInteractions(mCallback); in testWaitForValidated_NetworkChange() [all …]
|
/packages/services/Iwlan/test/com/google/android/iwlan/ |
D | IwlanNetworkServiceTest.java | 54 @Mock private INetworkServiceCallback mCallback; field in IwlanNetworkServiceTest 91 mBinder.registerForNetworkRegistrationInfoChanged(DEFAULT_SLOT_INDEX, mCallback); in setUp() 120 verify(mCallback, timeout(1000).times(1)).onNetworkStateChanged(); in testRequestNetworkRegistrationInfo() 124 verify(mCallback, timeout(1000).times(2)).onNetworkStateChanged(); in testRequestNetworkRegistrationInfo() 131 mBinder.requestNetworkRegistrationInfo(0, domain, mCallback); in testRequestNetworkRegistrationInfo() 133 verify(mCallback, timeout(1000).times(1)) in testRequestNetworkRegistrationInfo() 171 verify(mCallback, timeout(1000).times(1)).onNetworkStateChanged(); in testNetworkRegistrationInfoForCellularAndCstDisabled() 175 verify(mCallback, timeout(1000).times(2)).onNetworkStateChanged(); in testNetworkRegistrationInfoForCellularAndCstDisabled() 184 mBinder.requestNetworkRegistrationInfo(0, domain, mCallback); in testNetworkRegistrationInfoForCellularAndCstDisabled() 186 verify(mCallback, timeout(1000).times(1)) in testNetworkRegistrationInfoForCellularAndCstDisabled() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | NumberVerificationManagerTest.java | 54 @Mock private INumberVerificationCallback mCallback; field in NumberVerificationManagerTest 79 manager.requestVerification(SAMPLE_RANGE, mCallback, DEFAULT_VERIFICATION_TIMEOUT); in testConcurrentRequestFailure() 80 manager.requestVerification(SAMPLE_RANGE, mCallback, DEFAULT_VERIFICATION_TIMEOUT); in testConcurrentRequestFailure() 81 verify(mCallback, times(1)).onVerificationFailed( in testConcurrentRequestFailure() 91 manager.requestVerification(SAMPLE_RANGE, mCallback, DEFAULT_VERIFICATION_TIMEOUT); in testEcbmFailure() 92 verify(mCallback, times(1)).onVerificationFailed( in testEcbmFailure() 102 manager.requestVerification(SAMPLE_RANGE, mCallback, DEFAULT_VERIFICATION_TIMEOUT); in testEmergencyCallFailure() 103 verify(mCallback, times(1)).onVerificationFailed( in testEmergencyCallFailure() 116 manager.requestVerification(SAMPLE_RANGE, mCallback, DEFAULT_VERIFICATION_TIMEOUT); in testNoPhoneInServiceFailure() 117 verify(mCallback, times(1)).onVerificationFailed( in testNoPhoneInServiceFailure() [all …]
|
/packages/apps/Car/Radio/src/com/android/car/radio/platform/ |
D | TunerCallbackAdapterExt.java | 52 private final RadioTuner.Callback mCallback; field in TunerCallbackAdapterExt 71 mCallback = Objects.requireNonNull(callback); in TunerCallbackAdapterExt() 108 mHandler.post(() -> mCallback.onError(status)); in onError() 117 mHandler.post(() -> mCallback.onTuneFailed(result, selector)); in onTuneFailed() 122 mHandler.post(() -> mCallback.onConfigurationChanged(config)); in onConfigurationChanged() 143 mHandler.post(() -> mCallback.onProgramInfoChanged(info)); in onProgramInfoChanged() 147 mHandler.post(() -> mCallback.onMetadataChanged(metadata)); in onMetadataChanged() 151 mHandler.post(() -> mCallback.onTrafficAnnouncement(active)); in onTrafficAnnouncement() 155 mHandler.post(() -> mCallback.onEmergencyAnnouncement(active)); in onEmergencyAnnouncement() 159 mHandler.post(() -> mCallback.onAntennaState(connected)); in onAntennaState() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProvisionerTest.java | 174 @Mock IProvisioningCallback mCallback; field in PasspointProvisionerTest 302 TEST_UID, mOsuProvider, mCallback)); in initAndStartProvisioning() 320 verify(mCallback).onProvisioningStatus( in stopAfterStep() 326 verify(mCallback).onProvisioningStatus( in stopAfterStep() 329 verify(mCallback).onProvisioningStatus( in stopAfterStep() 337 verify(mCallback).onProvisioningStatus( in stopAfterStep() 345 verify(mCallback).onProvisioningStatus( in stopAfterStep() 347 verify(mCallback).onProvisioningStatus( in stopAfterStep() 355 verify(mCallback).onProvisioningStatus( in stopAfterStep() 361 verifyNoMoreInteractions(mCallback); in stopAfterStep() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningManagerTest.java | 78 @Mock private ProvisioningManagerCallback mCallback; field in ProvisioningManagerTest 142 mManager.registerListener(mCallback); in testListener_error() 146 … verify(mCallback).error(R.string.cant_set_up_device, TEST_ERROR_ID, TEST_FACTORY_RESET_REQUIRED); in testListener_error() 149 mManager.unregisterListener(mCallback); in testListener_error() 150 mManager.registerListener(mCallback); in testListener_error() 152 …verify(mCallback, times(2)).error(R.string.cant_set_up_device, TEST_ERROR_ID, TEST_FACTORY_RESET_R… in testListener_error() 153 verifyNoMoreInteractions(mCallback); in testListener_error() 162 mManager.registerListener(mCallback); in testListener_cleanupCompleted() 166 verifyZeroInteractions(mCallback); in testListener_cleanupCompleted() 176 mManager.registerListener(mCallback); in testListener_preFinalizationCompleted() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDiscoverySessionState.java | 47 private IWifiAwareDiscoverySessionCallback mCallback; field in WifiAwareDiscoverySessionState 77 mCallback = callback; in WifiAwareDiscoverySessionState() 115 return mCallback; in getCallback() 132 mCallback.onSessionTerminated(NanStatusType.SUCCESS); in terminate() 137 mCallback = null; in terminate() 168 mCallback.onSessionConfigFail(NanStatusType.INTERNAL_FAILURE); in updatePublish() 178 mCallback.onSessionConfigFail(NanStatusType.INTERNAL_FAILURE); in updatePublish() 198 mCallback.onSessionConfigFail(NanStatusType.INTERNAL_FAILURE); in updateSubscribe() 208 mCallback.onSessionConfigFail(NanStatusType.INTERNAL_FAILURE); in updateSubscribe() 234 mCallback.onMessageSendFail(messageId, NanStatusType.INTERNAL_FAILURE); in sendMessage() [all …]
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | RadioOnStateListenerTest.java | 58 @Mock RadioOnStateListener.Callback mCallback; field in RadioOnStateListenerTest 88 mListener.waitForRadioOn(mMockPhone, mCallback, false, false); in testRegisterForCallback() 112 when(mCallback.isOkToCall(eq(mMockPhone), anyInt())).thenReturn(true); in testPhoneChangeState_OkToCallTrue() 114 mListener.waitForRadioOn(mMockPhone, mCallback, false, false); in testPhoneChangeState_OkToCallTrue() 121 verify(mCallback).onComplete(eq(mListener), eq(true)); in testPhoneChangeState_OkToCallTrue() 135 when(mCallback.isOkToCall(eq(mMockPhone), anyInt())).thenReturn(false); in testPhoneChangeState_NoOkToCall_Timeout() 138 mListener.waitForRadioOn(mMockPhone, mCallback, false, false); in testPhoneChangeState_NoOkToCall_Timeout() 145 verify(mCallback, never()).onComplete(any(RadioOnStateListener.class), anyBoolean()); in testPhoneChangeState_NoOkToCall_Timeout() 161 when(mCallback.isOkToCall(eq(mMockPhone), anyInt())).thenReturn(false); in testTimeout_RetryFailure() 167 mListener.waitForRadioOn(mMockPhone, mCallback, false, false); in testTimeout_RetryFailure() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | MpegTsPlayerV2.java | 122 private Callback mCallback; field in MpegTsPlayerV2 145 mCallback = callback; in MpegTsPlayerV2() 263 mCallback = null; in release() 324 if (mCallback != null in onTracksChanged() 328 mCallback.onAudioUnplayable(); in onTracksChanged() 449 if (mCallback == null) { in onPlayerStateChanged() 452 mCallback.onStateChanged(state); in onPlayerStateChanged() 455 mCallback.onVideoSizeChanged(format.width, format.height, format.pixelWidthHeightRatio); in onPlayerStateChanged() 461 if (mCallback != null) { in onPlayerError() 462 mCallback.onError(exception); in onPlayerError() [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 174 @Mock private IpServer.Callback mCallback; field in IpServerTest 231 mCallback, usingLegacyDhcp, usingBpfOffload, mAddressCoordinator, mDependencies); in initStateMachine() 238 reset(mNetd, mCallback); in initStateMachine() 258 reset(mNetd, mCallback, mAddressCoordinator, mBpfCoordinator); in initTetheredStateMachine() 361 mNetd, mBpfCoordinator, mCallback, false /* usingLegacyDhcp */, in startsOutAvailable() 365 verify(mCallback).updateInterfaceState( in startsOutAvailable() 367 verify(mCallback).updateLinkProperties(eq(mIpServer), any(LinkProperties.class)); in startsOutAvailable() 368 verifyNoMoreInteractions(mCallback, mNetd); in startsOutAvailable() 387 verifyNoMoreInteractions(mNetd, mCallback); in shouldDoNothingUntilRequested() 396 verify(mCallback).updateInterfaceState( in handlesImmediateInterfaceDown() [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | RadioOnStateListener.java | 101 private Callback mCallback; // The callback to notify upon completion. field in RadioOnStateListener 155 mCallback = callback; in startSequenceInternal() 214 return (mCallback == null) ? false : mCallback.isOkToCall(mPhone, serviceState); in isOkToCall() 342 if (mCallback != null) { in onComplete() 343 Callback tempCallback = mCallback; in onComplete() 344 mCallback = null; in onComplete() 374 if (mCallback != null ? !mCallback.equals(that.mCallback) : that.mCallback != null) { in equals()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NumberVerificationManager.java | 46 private INumberVerificationCallback mCallback; field in NumberVerificationManager 69 if (mCurrentRange == null || mCallback == null) { in checkIncomingCall() 76 mCallback.onCallReceived(number); in checkIncomingCall() 85 mCallback = null; in checkIncomingCall() 97 mCallback = callback; in requestVerification() 103 if (mCallback != null && mCurrentRange != null) { in requestVerification() 105 mCallback.onVerificationFailed(NumberVerificationCallback.REASON_TIMED_OUT); in requestVerification() 110 mCallback = null; in requestVerification() 120 if (mCurrentRange != null || mCallback != null) { in checkNumberVerificationFeasibility()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | QosCallbackConnection.java | 41 @Nullable private volatile QosCallback mCallback; field in QosCallbackConnection 47 return mCallback; in getCallback() 64 mCallback = Objects.requireNonNull(callback, "callback must be non-null"); in QosCallbackConnection() 80 final QosCallback callback = mCallback; in onQosEpsBearerSessionAvailable() 99 final QosCallback callback = mCallback; in onNrQosSessionAvailable() 114 final QosCallback callback = mCallback; in onQosSessionLost() 129 final QosCallback callback = mCallback; in onError() 146 mCallback = null; in stopReceivingMessages()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | QosCallbackAgentConnection.java | 49 @NonNull private final IQosCallback mCallback; field in QosCallbackAgentConnection 105 mCallback = callback; in QosCallbackAgentConnection() 108 mBinder = mCallback.asBinder(); in QosCallbackAgentConnection() 115 mQosCallbackTracker.unregisterCallback(mCallback); in binderDied() 128 mCallback.onError(exceptionType); in sendCmdRegisterCallback() 154 mCallback.onQosEpsBearerSessionAvailable(session, attributes); in sendEventEpsQosSessionAvailable() 164 mCallback.onNrQosSessionAvailable(session, attributes); in sendEventNrQosSessionAvailable() 173 mCallback.onQosSessionLost(session); in sendEventQosSessionLost() 182 mCallback.onError(exceptionType); in sendEventQosCallbackError()
|