Home
last modified time | relevance | path

Searched refs:callbackHandler (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/
DCarrierSpecificServiceEntitlement.java123 public void getImsiPseudonym(int carrierId, @NonNull Handler callbackHandler, in getImsiPseudonym() argument
129 callbackHandler.post(() -> callback.onSuccess(carrierId, in getImsiPseudonym()
132 callbackHandler.post(() -> callback.onFailure(carrierId, in getImsiPseudonym()
136 callbackHandler.post(() -> callback.onFailure(carrierId, in getImsiPseudonym()
139 callbackHandler.post(() -> callback.onFailure(carrierId, REASON_TRANSIENT_FAILURE, in getImsiPseudonym()
142 callbackHandler.post(() -> callback.onFailure(carrierId, in getImsiPseudonym()
/packages/modules/RemoteKeyProvisioning/system-server/src/android/security/rkp/service/
DRegistrationProxy.java188 IGetRegistrationCallback.Stub callbackHandler = new IGetRegistrationCallback.Stub() { in createAsync() local
212 remoteProvisioningService.getRegistration(callerUid, irpcName, callbackHandler); in createAsync()
/packages/modules/RemoteKeyProvisioning/system-server/tests/unit/src/android/security/rkp/service/test/
DRegistrationProxyTests.java303 doAnswer(answerVoid((unusedCallerUid, unusedIrpcName, callbackHandler) -> { in getRegistrationBinderReturnsError() argument
304 ((IGetRegistrationCallback) callbackHandler).onError(errorString); in getRegistrationBinderReturnsError()
571 doAnswer(answerVoid((unusedCallerUid, unusedIrpcName, callbackHandler) -> in createMockRegistrationForComponent()
572 ((IGetRegistrationCallback) callbackHandler).onSuccess(mockIRegistration) in createMockRegistrationForComponent()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java870 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithReservation() local
875 mWifiManager.startLocalOnlyHotspot(callback, callbackHandler); in testOnStartedIsCalledWithReservation()
902 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig() local
907 mWifiManager.startLocalOnlyHotspot(callback, callbackHandler); in testOnStartedIsCalledWithReservationAndSaeSoftApConfig()
929 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStartedIsCalledWithNullConfig() local
934 mWifiManager.startLocalOnlyHotspot(callback, callbackHandler); in testOnStartedIsCalledWithNullConfig()
954 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnStoppedIsCalled() local
959 mWifiManager.startLocalOnlyHotspot(callback, callbackHandler); in testOnStoppedIsCalled()
977 Handler callbackHandler = new Handler(callbackLooper.getLooper()); in testOnFailedIsCalled() local
982 mWifiManager.startLocalOnlyHotspot(callback, callbackHandler); in testOnFailedIsCalled()