Home
last modified time | relevance | path

Searched refs:onComplete (Results 1 – 25 of 91) sorted by relevance

1234

/packages/services/Telephony/src/com/android/services/telephony/
DRadioOnStateListener.java39 void onComplete(RadioOnStateListener listener, boolean isRadioReady); in onComplete() method
190 onComplete(true); in onServiceStateChanged()
204 onComplete(true); in onRadioOn()
236 onComplete(true); in onRetryTimeout()
279 onComplete(false); in cleanup()
341 private void onComplete(boolean isRadioReady) { in onComplete() method in RadioOnStateListener
345 tempCallback.onComplete(this, isRadioReady); in onComplete()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DNetworkScanHelper.java71 void onComplete(); in onComplete() method
176 onComplete(); in startNetworkScan()
217 private void onComplete() { in onComplete() method in NetworkScanHelper
218 mNetworkScanCallback.onComplete(); in onComplete()
248 public void onComplete() { in onComplete() method in NetworkScanHelper.NetworkScanCallbackImpl
250 NetworkScanHelper.this.onComplete(); in onComplete()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkScanHelper.java70 void onComplete(); in onComplete() method
180 onComplete(); in startNetworkScan()
220 private void onComplete() { in onComplete() method in NetworkScanHelper
221 mNetworkScanCallback.onComplete(); in onComplete()
252 public void onComplete() { in onComplete() method in NetworkScanHelper.NetworkScanCallbackImpl
254 NetworkScanHelper.this.onComplete(); in onComplete()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/connectivity/setup/
DAddStartStateTest.java66 verify(mStateCompleteListener).onComplete(StateMachine.PASSWORD); in testForward_WEP_NeedPassword()
75 verify(mStateCompleteListener).onComplete(StateMachine.PASSWORD); in testForward_WPA_NeedPassword()
84 verify(mStateCompleteListener).onComplete(StateMachine.PASSWORD); in testForward_EAP_NeedPassword()
95 verify(mStateCompleteListener).onComplete(StateMachine.CONNECT); in testForward_AlreadyHasPassword()
103 verify(mStateCompleteListener).onComplete(StateMachine.CONNECT); in testForward_DoNotNeedPassword()
DAddPageBasedOnNetworkStateTest.java76 verify(mStateCompleteListener).onComplete(StateMachine.OTHER_NETWORK); in testForward_otherNetwork()
120 verify(mStateCompleteListener).onComplete(StateMachine.KNOWN_NETWORK); in testForward_networkSaved()
135 verify(mStateCompleteListener).onComplete(StateMachine.ADD_START); in testForward_networkNotSaved()
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DOpportunisticNetworkServiceTest.java130 public void onComplete(int result) { in testHandleSimStateChange()
171 public void onComplete(int result) { in testSystemPreferredDataWhileCarrierAppIsActive()
189 public void onComplete(int result) { in testSystemPreferredDataWhileCarrierAppIsActive()
212 public void onComplete(int result) { in testSetPreferredDataSubscriptionId()
247 public void onComplete(int result) { in testUpdateAvailableNetworksWithInvalidArguments()
275 public void onComplete(int result) { in testUpdateAvailableNetworksWithSuccess()
303 public void onComplete(int result) { in testPriorityRuleOfActivatingAvailableNetworks()
DONSProfileSelectorTest.java139 public void onComplete(int result) { in testStartProfileSelectionWithNoOpportunisticSub()
201 public void onComplete(int result) { in testStartProfileSelectionSuccess()
286 public void onComplete(int result) { in testStartProfileSelectionWithDifferentPrioritySubInfo()
344 public void onComplete(int result) { in testStartProfileSelectionWithActivePrimarySimOnESim()
549 public void onComplete(int result) { in testStartProfileSelectionSuccessWithSameArgumentsAgain()
640 public void onComplete(int result) { in testStopProfileSelectionWithPreferredDataOnSame()
688 public void onComplete(int result) { in testStopProfileSelectionWithPreferredDataOnDifferent()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DIpMemoryStoreService.java179 if (null != listener) listener.onComplete(makeStatus(code)); in storeNetworkAttributes()
206 if (null != listener) listener.onComplete(makeStatus(code)); in storeBlob()
428 if (null != listener) listener.onComplete(makeStatus(res.status), res.count); in delete()
455 if (null != listener) listener.onComplete(makeStatus(res.status), res.count); in deleteCluster()
503 listener.onComplete(makeStatus(ERROR_DATABASE_CANNOT_BE_OPENED)); in fullMaintenance()
541 listener.onComplete(makeStatus(result)); in fullMaintenance()
551 listener.onComplete(makeStatus(ERROR_INTERNAL_INTERRUPTED)); in checkForInterrupt()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnSetting.java117 Message onComplete = mFDNHandler.obtainMessage(EVENT_PIN2_ENTRY_COMPLETE); in toggleFDNEnable() local
120 mPhone.getIccCard().setIccFdnEnabled(!isEnabled, password, onComplete); in toggleFDNEnable()
188 Message onComplete = mFDNHandler.obtainMessage( in updatePINChangeState() local
191 mOldPin, mNewPin, onComplete); in updatePINChangeState()
230 Message onComplete = mFDNHandler.obtainMessage( in updatePINChangeState() local
232 mPhone.getIccCard().supplyPuk2(mPuk2, mNewPin, onComplete); in updatePINChangeState()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ipmemorystore/
DOnStatusListener.java30 void onComplete(Status status); in onComplete() method
37 public void onComplete(final StatusParcelable statusParcelable) { in toAIDL()
39 listener.onComplete(new Status(statusParcelable)); in toAIDL()
DOnDeleteStatusListener.java33 void onComplete(Status status, int deletedRecords); in onComplete() method
40 public void onComplete(final StatusParcelable statusParcelable, int deletedRecords) { in toAIDL()
42 listener.onComplete(new Status(statusParcelable), deletedRecords); in toAIDL()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DChooseLockPatternFragmentTest.java49 doNothing().when(spyFragment).onComplete(); in testOnCompleteIsCalledWhenSaveWorkerSucceeds()
53 verify(spyFragment).onComplete(); in testOnCompleteIsCalledWhenSaveWorkerSucceeds()
66 verify(spyFragment, never()).onComplete(); in testStageIsUpdatedWhenSaveWorkerFails()
DChooseLockPinPasswordFragmentTest.java50 doNothing().when(spyFragment).onComplete(); in testOnCompleteIsCalledWhenSaveWorkerSucceeds()
54 verify(spyFragment).onComplete(); in testOnCompleteIsCalledWhenSaveWorkerSucceeds()
67 verify(spyFragment, never()).onComplete(); in testStageIsUpdatedWhenSaveWorkerFails()
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
DIpMemoryStoreClient.java97 () -> listener.onComplete(new Status(Status.ERROR_UNKNOWN))); in storeNetworkAttributes()
122 () -> listener.onComplete(new Status(Status.ERROR_UNKNOWN))); in storeBlob()
244 () -> listener.onComplete(new Status(Status.ERROR_UNKNOWN), in delete()
276 () -> listener.onComplete(new Status(Status.ERROR_UNKNOWN), in deleteCluster()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DRadioOnStateListenerTest.java121 verify(mCallback).onComplete(eq(mListener), eq(true)); in testPhoneChangeState_OkToCallTrue()
145 verify(mCallback, never()).onComplete(any(RadioOnStateListener.class), anyBoolean()); in testPhoneChangeState_NoOkToCall_Timeout()
170 verify(mCallback).onComplete(eq(mListener), eq(false)); in testTimeout_RetryFailure()
191 verify(mCallback).onComplete(eq(mListener), eq(false)); in testTimeout_RetryFailure_ForEmergency()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DAddPageBasedOnNetworkState.java53 mStateMachine.getListener().onComplete(StateMachine.OTHER_NETWORK); in processForward()
71 mStateMachine.getListener().onComplete(StateMachine.KNOWN_NETWORK); in processForward()
73 mStateMachine.getListener().onComplete(StateMachine.ADD_START); in processForward()
DProxyBypassState.java141 mStateMachine.getListener().onComplete(StateMachine.ADVANCED_FLOW_COMPLETE); in onGuidedActionEditedAndProceed()
143 mStateMachine.getListener().onComplete(StateMachine.IP_SETTINGS); in onGuidedActionEditedAndProceed()
146 mStateMachine.getListener().onComplete(StateMachine.PROXY_SETTINGS_INVALID); in onGuidedActionEditedAndProceed()
DProxySettingsState.java143 mStateMachine.getListener().onComplete(StateMachine.ADVANCED_FLOW_COMPLETE); in onGuidedActionClicked()
145 mStateMachine.getListener().onComplete(StateMachine.IP_SETTINGS); in onGuidedActionClicked()
148 mStateMachine.getListener().onComplete(StateMachine.PROXY_HOSTNAME); in onGuidedActionClicked()
DOptionsOrConnectState.java44 stateMachine.getListener().onComplete(StateMachine.ENTER_ADVANCED_FLOW); in processForward()
46 stateMachine.getListener().onComplete(StateMachine.CONNECT); in processForward()
DAddStartState.java55 mStateMachine.getListener().onComplete(StateMachine.PASSWORD); in processForward()
57 mStateMachine.getListener().onComplete(StateMachine.CONNECT); in processForward()
/packages/services/Telephony/src/com/android/phone/otasp/
DOtaspActivationService.java90 onComplete(); in onCreate()
192 onComplete(); in onOtaspCallStateChanged()
196 private void onComplete() { in onComplete() method in OtaspActivationService
/packages/services/Telephony/src/com/android/phone/
DGsmUmtsCallBarringOptions.java153 Message onComplete = mHandler.obtainMessage(EVENT_DISABLE_ALL_COMPLETE); in disableAllBarring() local
154 mPhone.setCallBarring(CommandsInterface.CB_FACILITY_BA_ALL, false, password, onComplete, 0); in disableAllBarring()
205 Message onComplete = mHandler.obtainMessage(EVENT_PW_CHANGE_COMPLETE); in updatePWChangeState() local
208 mOldPassword, mNewPassword, onComplete); in updatePWChangeState()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelPreload.java55 onComplete(mModel.isModelLoaded()); in run()
62 public void onComplete(boolean isSuccess) { } in onComplete() method in ModelPreload
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DEnterAdvancedFlowOrRetryState.java45 stateMachine.getListener().onComplete(StateMachine.ENTER_ADVANCED_FLOW); in processForward()
47 stateMachine.getListener().onComplete(StateMachine.CONTINUE); in processForward()
/packages/apps/Gallery/src/com/android/camera/
DReverseGeocoderTask.java32 public void onComplete(String location); in onComplete() method
72 mCallback.onComplete(location); in onPostExecute()

1234