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
120 supplyNetworkDepersonalization(String pin, Message onComplete) argument
151 setIccLockEnabled(boolean enabled, String password, Message onComplete) argument
165 setIccFdnEnabled(boolean enabled, String password, Message onComplete) argument
179 changeIccLockPassword(String oldPassword, String newPassword, Message onComplete) argument
193 changeIccFdnPassword(String oldPassword, String newPassword, Message onComplete) argument
[all...]
H A DPhone.java666 * @param onComplete a callback message when the action is completed.
668 void enableEnhancedVoicePrivacy(boolean enable, Message onComplete); argument
673 * @param onComplete a callback message when the action is completed.
675 void getEnhancedVoicePrivacy(Message onComplete); argument
832 * @param onComplete is the callback message when the action is processed by BP
835 void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete); argument
889 * @param onComplete a callback message when the action is completed.
891 void setLine1Number(String alphaTag, String number, Message onComplete); argument
926 * @param onComplete a callback message when the action is completed.
930 Message onComplete);
928 setVoiceMailNumber(String alphaTag, String voiceMailNumber, Message onComplete) argument
943 getCallForwardingOption(int commandInterfaceCFReason, Message onComplete) argument
961 setCallForwardingOption(int commandInterfaceCFReason, int commandInterfaceCFAction, String dialingNumber, int timerSeconds, Message onComplete) argument
975 getOutgoingCallerIdDisplay(Message onComplete) argument
986 setOutgoingCallerIdDisplay(int commandInterfaceCLIRMode, Message onComplete) argument
997 getCallWaiting(Message onComplete) argument
1007 setCallWaiting(boolean enable, Message onComplete) argument
1405 setTTYMode(int ttyMode, Message onComplete) argument
1413 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.java920 public void setTTYMode(int ttyMode, Message onComplete) { argument
921 mCi.setTTYMode(ttyMode, onComplete);
925 public void queryTTYMode(Message onComplete) { argument
926 mCi.queryTTYMode(onComplete);
930 public void enableEnhancedVoicePrivacy(boolean enable, Message onComplete) { argument
936 public void getEnhancedVoicePrivacy(Message onComplete) { argument
1079 public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) { argument
H A DServiceStateTracker.java325 * @param onComplete is dispatched when this is complete. it will be
326 * an AsyncResult, and onComplete.obj.exception will be non-null
329 public void reRegisterNetwork(Message onComplete) { argument
331 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
641 setIccLockEnabled(boolean enabled, String password, Message onComplete) argument
655 setIccFdnEnabled(boolean enabled, String password, Message onComplete) argument
669 changeIccLockPassword(String oldPassword, String newPassword, Message onComplete) argument
683 changeIccFdnPassword(String oldPassword, String newPassword, Message onComplete) argument
[all...]
H A DUiccCardApplication.java575 * When the operation is complete, onComplete will be sent to its
578 * onComplete.obj will be an AsyncResult
579 * onComplete.arg1 = remaining attempts before puk locked or -1 if unknown
581 * ((AsyncResult)onComplete.obj).exception == null on success
582 * ((AsyncResult)onComplete.obj).exception != null on fail
585 * ((AsyncResult)onComplete.obj).exception != null
586 * && ((AsyncResult)onComplete.obj).exception
588 * && ((CommandException)(((AsyncResult)onComplete.obj).exception))
591 public void supplyPin (String pin, Message onComplete) { argument
594 onComplete));
620 supplyPuk(String puk, String newPin, Message onComplete) argument
627 supplyPin2(String pin2, Message onComplete) argument
634 supplyPuk2(String puk2, String newPin2, Message onComplete) argument
641 supplyNetworkDepersonalization(String pin, Message onComplete) argument
700 setIccLockEnabled(boolean enabled, String password, Message onComplete) argument
727 setIccFdnEnabled(boolean enabled, String password, Message onComplete) argument
756 changeIccLockPassword(String oldPassword, String newPassword, Message onComplete) argument
776 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.java132 Cfu(String cfNumber, Message onComplete) { argument
134 mOnComplete = onComplete;
922 public void setLine1Number(String alphaTag, String number, Message onComplete) { argument
925 r.setMsisdnNumber(alphaTag, number, onComplete);
932 Message onComplete) {
936 resp = obtainMessage(EVENT_SET_VM_NUMBER_DONE, 0, 0, onComplete);
974 public void getCallForwardingOption(int commandInterfaceCFReason, Message onComplete) { argument
979 resp = obtainMessage(EVENT_GET_CALL_FORWARD_DONE, onComplete);
981 resp = onComplete;
992 Message onComplete) {
930 setVoiceMailNumber(String alphaTag, String voiceMailNumber, Message onComplete) argument
988 setCallForwardingOption(int commandInterfaceCFAction, int commandInterfaceCFReason, String dialingNumber, int timerSeconds, Message onComplete) argument
1014 getOutgoingCallerIdDisplay(Message onComplete) argument
1019 setOutgoingCallerIdDisplay(int commandInterfaceCLIRMode, Message onComplete) argument
1026 getCallWaiting(Message onComplete) argument
1033 setCallWaiting(boolean enable, Message onComplete) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCDMAPhone.java326 public void enableEnhancedVoicePrivacy(boolean enable, Message onComplete) { argument
327 mCi.setPreferredVoicePrivacy(enable, onComplete);
331 public void getEnhancedVoicePrivacy(Message onComplete) { argument
332 mCi.getPreferredVoicePrivacy(onComplete);
482 public void getCallWaiting(Message onComplete) { argument
483 mCi.queryCallWaiting(CommandsInterface.SERVICE_CLASS_VOICE, onComplete);
611 public void setLine1Number(String alphaTag, String number, Message onComplete) { argument
616 public void setCallWaiting(boolean enable, Message onComplete) { argument
767 public void sendBurstDtmf(String dtmfString, int on, int off, Message onComplete) { argument
778 mCi.sendBurstDtmf(dtmfString, on, off, onComplete);
788 setOutgoingCallerIdDisplay(int commandInterfaceCLIRMode, Message onComplete) argument
813 setVoiceMailNumber(String alphaTag, String voiceMailNumber, Message onComplete) argument
874 getCallForwardingOption(int commandInterfaceCFReason, Message onComplete) argument
879 setCallForwardingOption(int commandInterfaceCFAction, int commandInterfaceCFReason, String dialingNumber, int timerSeconds, Message onComplete) argument
889 getOutgoingCallerIdDisplay(Message onComplete) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DConnectivityService.java4108 void onComplete(Integer result) {
4109 if (DBG) log("CheckMp.onComplete: result=" + result);
4117 if (DBG) log("CheckMp.onComplete: ignore, connected or no connection");
4121 if (DBG) log("CheckMp.onComplete: warm sim");
4127 if (DBG) log("CheckMp.onComplete: warm (redirected), url=" + url);
4132 if (DBG) log("CheckMp.onComplete: warm (redirected), no url");
4139 if (DBG) log("CheckMp.onComplete: warm (no dns/tcp), url=" + url);
4150 if (DBG) log("CheckMp.onComplete: warm (no dns/tcp), no url");
4158 if (DBG) log("CheckMp.onComplete: provisioning started");
4163 loge("CheckMp.onComplete
4262 abstract void onComplete(Integer result); method in class:ConnectivityService.CheckMp.CallBack
[all...]

Completed in 310 milliseconds