Searched refs:onComplete (Results 1 - 19 of 19) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccCard.java78 * When the operation is complete, onComplete will be sent to its
81 * onComplete.obj will be an AsyncResult
83 * ((AsyncResult)onComplete.obj).exception == null on success
84 * ((AsyncResult)onComplete.obj).exception != null on fail
87 * ((AsyncResult)onComplete.obj).exception != null
88 * && ((AsyncResult)onComplete.obj).exception
90 * && ((CommandException)(((AsyncResult)onComplete.obj).exception))
93 public void supplyPin (String pin, Message onComplete); argument
98 public void supplyPuk (String puk, String newPin, Message onComplete); argument
103 public void supplyPin2 (String pin2, Message onComplete); argument
108 supplyPuk2(String puk2, String newPin2, Message onComplete) argument
113 supplyNetworkDepersonalization(String pin, Message onComplete) argument
144 setIccLockEnabled(boolean enabled, String password, Message onComplete) argument
158 setIccFdnEnabled(boolean enabled, String password, Message onComplete) argument
172 changeIccLockPassword(String oldPassword, String newPassword, Message onComplete) argument
186 changeIccFdnPassword(String oldPassword, String newPassword, Message onComplete) argument
[all...]
H A DPhone.java665 * @param onComplete a callback message when the action is completed.
667 void enableEnhancedVoicePrivacy(boolean enable, Message onComplete); argument
672 * @param onComplete a callback message when the action is completed.
674 void getEnhancedVoicePrivacy(Message onComplete); argument
831 * @param onComplete is the callback message when the action is processed by BP
834 void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete); argument
888 * @param onComplete a callback message when the action is completed.
890 void setLine1Number(String alphaTag, String number, Message onComplete); argument
925 * @param onComplete a callback message when the action is completed.
929 Message onComplete);
927 setVoiceMailNumber(String alphaTag, String voiceMailNumber, Message onComplete) argument
942 getCallForwardingOption(int commandInterfaceCFReason, Message onComplete) argument
960 setCallForwardingOption(int commandInterfaceCFReason, int commandInterfaceCFAction, String dialingNumber, int timerSeconds, Message onComplete) argument
974 getOutgoingCallerIdDisplay(Message onComplete) argument
985 setOutgoingCallerIdDisplay(int commandInterfaceCLIRMode, Message onComplete) argument
996 getCallWaiting(Message onComplete) argument
1006 setCallWaiting(boolean enable, Message onComplete) argument
1404 setTTYMode(int ttyMode, Message onComplete) argument
1412 queryTTYMode(Message onComplete) argument
[all...]
H A DPhoneProxy.java593 public void enableEnhancedVoicePrivacy(boolean enable, Message onComplete) { argument
594 mActivePhone.enableEnhancedVoicePrivacy(enable, onComplete);
598 public void getEnhancedVoicePrivacy(Message onComplete) { argument
599 mActivePhone.getEnhancedVoicePrivacy(onComplete);
708 public void setLine1Number(String alphaTag, String number, Message onComplete) { argument
709 mActivePhone.setLine1Number(alphaTag, number, onComplete);
730 Message onComplete) {
731 mActivePhone.setVoiceMailNumber(alphaTag, voiceMailNumber, onComplete);
736 Message onComplete) {
738 onComplete);
729 setVoiceMailNumber(String alphaTag,String voiceMailNumber, Message onComplete) argument
735 getCallForwardingOption(int commandInterfaceCFReason, Message onComplete) argument
742 setCallForwardingOption(int commandInterfaceCFReason, int commandInterfaceCFAction, String dialingNumber, int timerSeconds, Message onComplete) argument
750 getOutgoingCallerIdDisplay(Message onComplete) argument
755 setOutgoingCallerIdDisplay(int commandInterfaceCLIRMode, Message onComplete) argument
762 getCallWaiting(Message onComplete) argument
767 setCallWaiting(boolean enable, Message onComplete) argument
977 setTTYMode(int ttyMode, Message onComplete) argument
982 queryTTYMode(Message onComplete) argument
1036 sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) argument
[all...]
H A DPhoneBase.java921 public void setTTYMode(int ttyMode, Message onComplete) { argument
922 mCi.setTTYMode(ttyMode, onComplete);
926 public void queryTTYMode(Message onComplete) { argument
927 mCi.queryTTYMode(onComplete);
931 public void enableEnhancedVoicePrivacy(boolean enable, Message onComplete) { argument
937 public void getEnhancedVoicePrivacy(Message onComplete) { argument
1080 public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) { argument
H A DServiceStateTracker.java323 * @param onComplete is dispatched when this is complete. it will be
324 * an AsyncResult, and onComplete.obj.exception will be non-null
327 public void reRegisterNetwork(Message onComplete) { argument
329 obtainMessage(EVENT_GET_PREFERRED_NETWORK_TYPE, onComplete));
H A DCallManager.java1060 * @param onComplete is the callback message when the action is processed by BP
1063 public boolean sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) { argument
1065 getActiveFgCall().getPhone().sendBurstDtmf(dtmfString, on, off, onComplete);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccCardProxy.java535 public void supplyPin(String pin, Message onComplete) { argument
538 mUiccApplication.supplyPin(pin, onComplete);
539 } else if (onComplete != null) {
541 AsyncResult.forMessage(onComplete).exception = e;
542 onComplete.sendToTarget();
549 public void supplyPuk(String puk, String newPin, Message onComplete) { argument
552 mUiccApplication.supplyPuk(puk, newPin, onComplete);
553 } else if (onComplete != null) {
555 AsyncResult.forMessage(onComplete).exception = e;
556 onComplete
563 supplyPin2(String pin2, Message onComplete) argument
577 supplyPuk2(String puk2, String newPin2, Message onComplete) argument
591 supplyNetworkDepersonalization(String pin, Message onComplete) argument
622 setIccLockEnabled(boolean enabled, String password, Message onComplete) argument
636 setIccFdnEnabled(boolean enabled, String password, Message onComplete) argument
650 changeIccLockPassword(String oldPassword, String newPassword, Message onComplete) argument
664 changeIccFdnPassword(String oldPassword, String newPassword, Message onComplete) argument
[all...]
H A DUiccCardApplication.java519 * When the operation is complete, onComplete will be sent to its
522 * onComplete.obj will be an AsyncResult
524 * ((AsyncResult)onComplete.obj).exception == null on success
525 * ((AsyncResult)onComplete.obj).exception != null on fail
528 * ((AsyncResult)onComplete.obj).exception != null
529 * && ((AsyncResult)onComplete.obj).exception
531 * && ((CommandException)(((AsyncResult)onComplete.obj).exception))
536 public void supplyPin (String pin, Message onComplete) { argument
538 mCi.supplyIccPin(pin, onComplete);
542 public void supplyPuk (String puk, String newPin, Message onComplete) { argument
548 supplyPin2(String pin2, Message onComplete) argument
554 supplyPuk2(String puk2, String newPin2, Message onComplete) argument
560 supplyNetworkDepersonalization(String pin, Message onComplete) argument
610 setIccLockEnabled(boolean enabled, String password, Message onComplete) argument
637 setIccFdnEnabled(boolean enabled, String password, Message onComplete) argument
665 changeIccLockPassword(String oldPassword, String newPassword, Message onComplete) argument
685 changeIccFdnPassword(String oldPassword, String newPassword, Message onComplete) argument
[all...]
H A DIccRecords.java269 * When the operation is complete, onComplete will be sent to its handler
274 * @param onComplete
275 * onComplete.obj will be an AsyncResult
276 * ((AsyncResult)onComplete.obj).exception == null on success
277 * ((AsyncResult)onComplete.obj).exception != null on fail
280 Message onComplete) {
291 obtainMessage(EVENT_SET_MSISDN_DONE, onComplete));
324 * When the operation is complete, onComplete will be sent to its handler
329 * @param onComplete
330 * onComplete
279 setMsisdnNumber(String alphaTag, String number, Message onComplete) argument
334 setVoiceMailNumber(String alphaTag, String voiceNumber, Message onComplete) argument
[all...]
H A DIccFileHandler.java283 * @param onComplete onComplete.obj will be an AsyncResult
284 * onComplete.obj.userObj will be a IccIoResult on success
287 String pin2, Message onComplete) {
290 IccUtils.bytesToHexString(data), pin2, mAid, onComplete);
298 public void updateEFTransparent(int fileid, byte[] data, Message onComplete) { argument
301 IccUtils.bytesToHexString(data), null, mAid, onComplete);
286 updateEFLinearFixed(int fileid, int recordNum, byte[] data, String pin2, Message onComplete) argument
H A DSIMRecords.java283 * When the operation is complete, onComplete will be sent to its handler
288 * @param onComplete
289 * onComplete.obj will be an AsyncResult
290 * ((AsyncResult)onComplete.obj).exception == null on success
291 * ((AsyncResult)onComplete.obj).exception != null on fail
295 Message onComplete) {
306 obtainMessage(EVENT_SET_MSISDN_DONE, onComplete));
333 * When the operation is complete, onComplete will be sent to its handler
338 * @param onComplete
339 * onComplete
294 setMsisdnNumber(String alphaTag, String number, Message onComplete) argument
344 setVoiceMailNumber(String alphaTag, String voiceNumber, Message onComplete) argument
[all...]
H A DRuimRecords.java173 public void setVoiceMailNumber(String alphaTag, String voiceNumber, Message onComplete){ argument
175 AsyncResult.forMessage((onComplete)).exception =
177 onComplete.sendToTarget();
H A DIsimUiccRecords.java260 Message onComplete) {
259 setVoiceMailNumber(String alphaTag, String voiceNumber, Message onComplete) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java338 public void setLine1Number(String alphaTag, String number, Message onComplete) { argument
340 AsyncResult.forMessage(onComplete, null, null);
341 onComplete.sendToTarget();
346 Message onComplete) {
348 AsyncResult.forMessage(onComplete, null, null);
349 onComplete.sendToTarget();
353 public void getCallForwardingOption(int commandInterfaceCFReason, Message onComplete) { argument
359 int timerSeconds, Message onComplete) {
363 public void getOutgoingCallerIdDisplay(Message onComplete) { argument
365 AsyncResult.forMessage(onComplete, nul
345 setVoiceMailNumber(String alphaTag, String voiceMailNumber, Message onComplete) argument
357 setCallForwardingOption(int commandInterfaceCFAction, int commandInterfaceCFReason, String dialingNumber, int timerSeconds, Message onComplete) argument
370 setOutgoingCallerIdDisplay(int commandInterfaceCLIRMode, Message onComplete) argument
378 getCallWaiting(Message onComplete) argument
384 setCallWaiting(boolean enable, Message onComplete) argument
[all...]
H A DSipPhone.java305 public void getOutgoingCallerIdDisplay(Message onComplete) { argument
307 AsyncResult.forMessage(onComplete, null, null);
308 onComplete.sendToTarget();
313 Message onComplete) {
315 AsyncResult.forMessage(onComplete, null, null);
316 onComplete.sendToTarget();
320 public void getCallWaiting(Message onComplete) { argument
322 AsyncResult.forMessage(onComplete, null, null);
323 onComplete.sendToTarget();
327 public void setCallWaiting(boolean enable, Message onComplete) { argument
312 setOutgoingCallerIdDisplay(int commandInterfaceCLIRMode, Message onComplete) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardMultiUserAvatar.java157 public void setActive(boolean active, boolean animate, final Runnable onComplete) { argument
171 updateVisualsForActive(mActive, animate, SWITCH_ANIMATION_DURATION, onComplete);
175 final Runnable onComplete) {
205 if (onComplete != null) {
206 onComplete.run();
216 if (onComplete != null) {
217 post(onComplete);
174 updateVisualsForActive(boolean active, boolean animate, int duration, final Runnable onComplete) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java135 Cfu(String cfNumber, Message onComplete) { argument
137 mOnComplete = onComplete;
920 public void setLine1Number(String alphaTag, String number, Message onComplete) { argument
923 r.setMsisdnNumber(alphaTag, number, onComplete);
930 Message onComplete) {
934 resp = obtainMessage(EVENT_SET_VM_NUMBER_DONE, 0, 0, onComplete);
972 public void getCallForwardingOption(int commandInterfaceCFReason, Message onComplete) { argument
977 resp = obtainMessage(EVENT_GET_CALL_FORWARD_DONE, onComplete);
979 resp = onComplete;
990 Message onComplete) {
928 setVoiceMailNumber(String alphaTag, String voiceMailNumber, Message onComplete) argument
986 setCallForwardingOption(int commandInterfaceCFAction, int commandInterfaceCFReason, String dialingNumber, int timerSeconds, Message onComplete) argument
1012 getOutgoingCallerIdDisplay(Message onComplete) argument
1017 setOutgoingCallerIdDisplay(int commandInterfaceCLIRMode, Message onComplete) argument
1024 getCallWaiting(Message onComplete) argument
1031 setCallWaiting(boolean enable, Message onComplete) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMAPhone.java325 public void enableEnhancedVoicePrivacy(boolean enable, Message onComplete) { argument
326 mCi.setPreferredVoicePrivacy(enable, onComplete);
330 public void getEnhancedVoicePrivacy(Message onComplete) { argument
331 mCi.getPreferredVoicePrivacy(onComplete);
481 public void getCallWaiting(Message onComplete) { argument
482 mCi.queryCallWaiting(CommandsInterface.SERVICE_CLASS_VOICE, onComplete);
610 public void setLine1Number(String alphaTag, String number, Message onComplete) { argument
615 public void setCallWaiting(boolean enable, Message onComplete) { argument
766 public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) { argument
777 mCi.sendBurstDtmf(dtmfString, on, off, onComplete);
787 setOutgoingCallerIdDisplay(int commandInterfaceCLIRMode, Message onComplete) argument
812 setVoiceMailNumber(String alphaTag, String voiceMailNumber, Message onComplete) argument
873 getCallForwardingOption(int commandInterfaceCFReason, Message onComplete) argument
878 setCallForwardingOption(int commandInterfaceCFAction, int commandInterfaceCFReason, String dialingNumber, int timerSeconds, Message onComplete) argument
888 getOutgoingCallerIdDisplay(Message onComplete) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java4007 void onComplete(Integer result) {
4008 if (DBG) log("CheckMp.onComplete: result=" + result);
4016 if (DBG) log("CheckMp.onComplete: ignore, connected or no connection");
4020 if (DBG) log("CheckMp.onComplete: warm sim");
4026 if (DBG) log("CheckMp.onComplete: warm (redirected), url=" + url);
4031 if (DBG) log("CheckMp.onComplete: warm (redirected), no url");
4038 if (DBG) log("CheckMp.onComplete: warm (no dns/tcp), url=" + url);
4043 if (DBG) log("CheckMp.onComplete: warm (no dns/tcp), no url");
4048 loge("CheckMp.onComplete: ignore unexpected result=" + result);
4097 * The call back object passed in Params. onComplete wil
4102 abstract void onComplete(Integer result); method in class:ConnectivityService.CheckMp.CallBack
[all...]

Completed in 256 milliseconds