Home
last modified time | relevance | path

Searched refs:ar (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Phone/src/com/android/phone/
DCallWaitingCheckBoxPreference.java82 AsyncResult ar = (AsyncResult) msg.obj; in handleGetCallWaitingResponse() local
92 if (ar.exception != null) { in handleGetCallWaitingResponse()
94 Log.d(LOG_TAG, "handleGetCallWaitingResponse: ar.exception=" + ar.exception); in handleGetCallWaitingResponse()
98 (CommandException)ar.exception); in handleGetCallWaitingResponse()
100 } else if (ar.userObj instanceof Throwable) { in handleGetCallWaitingResponse()
104 setChecked(((int[]) ar.result)[0] == 1); in handleGetCallWaitingResponse()
109 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCallWaitingResponse() local
111 if (ar.exception != null) { in handleSetCallWaitingResponse()
112 … if (DBG) Log.d(LOG_TAG, "handleSetCallWaitingResponse: ar.exception=" + ar.exception); in handleSetCallWaitingResponse()
118 MESSAGE_SET_CALL_WAITING, MESSAGE_SET_CALL_WAITING, ar.exception)); in handleSetCallWaitingResponse()
DCLIRListPreference.java125 AsyncResult ar = (AsyncResult) msg.obj; in handleGetCLIRResponse() local
133 if (ar.exception != null) { in handleGetCLIRResponse()
134 if (DBG) Log.d(LOG_TAG, "handleGetCLIRResponse: ar.exception="+ar.exception); in handleGetCLIRResponse()
135 tcpListener.onException(CLIRListPreference.this, (CommandException) ar.exception); in handleGetCLIRResponse()
136 } else if (ar.userObj instanceof Throwable) { in handleGetCLIRResponse()
139 int clirArray[] = (int[]) ar.result; in handleGetCLIRResponse()
151 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCLIRResponse() local
153 if (ar.exception != null) { in handleSetCLIRResponse()
154 if (DBG) Log.d(LOG_TAG, "handleSetCallWaitingResponse: ar.exception="+ar.exception); in handleSetCLIRResponse()
160 MESSAGE_SET_CLIR, MESSAGE_SET_CLIR, ar.exception)); in handleSetCLIRResponse()
DUse2GOnlyCheckBoxPreference.java82 AsyncResult ar = (AsyncResult) msg.obj; in handleGetPreferredNetworkTypeResponse() local
84 if (ar.exception == null) { in handleGetPreferredNetworkTypeResponse()
85 int type = ((int[])ar.result)[0]; in handleGetPreferredNetworkTypeResponse()
90 Log.i(LOG_TAG, "get preferred network type, exception="+ar.exception); in handleGetPreferredNetworkTypeResponse()
96 AsyncResult ar = (AsyncResult) msg.obj; in handleSetPreferredNetworkTypeResponse() local
98 if (ar.exception != null) { in handleSetPreferredNetworkTypeResponse()
102 Log.i(LOG_TAG, "set preferred network type, exception=" + ar.exception); in handleSetPreferredNetworkTypeResponse()
DCdmaVoicePrivacyCheckBoxPreference.java63 AsyncResult ar = (AsyncResult) msg.obj; in handleGetVPResponse() local
65 if (ar.exception != null) { in handleGetVPResponse()
66 if (DBG) Log.d(LOG_TAG, "handleGetVPResponse: ar.exception=" + ar.exception); in handleGetVPResponse()
70 final int enable = ((int[]) ar.result)[0]; in handleGetVPResponse()
79 AsyncResult ar = (AsyncResult) msg.obj; in handleSetVPResponse() local
81 if (ar.exception != null) { in handleSetVPResponse()
82 if (DBG) Log.d(LOG_TAG, "handleSetVPResponse: ar.exception=" + ar.exception); in handleSetVPResponse()
DCallForwardEditPreference.java176 AsyncResult ar = (AsyncResult) msg.obj; in handleGetCFResponse() local
179 if (ar.exception != null) { in handleGetCFResponse()
180 if (DBG) Log.d(LOG_TAG, "handleGetCFResponse: ar.exception=" + ar.exception); in handleGetCFResponse()
182 (CommandException) ar.exception); in handleGetCFResponse()
184 if (ar.userObj instanceof Throwable) { in handleGetCFResponse()
187 CallForwardInfo cfInfoArray[] = (CallForwardInfo[]) ar.result; in handleGetCFResponse()
238 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCFResponse() local
240 if (ar.exception != null) { in handleSetCFResponse()
241 if (DBG) Log.d(LOG_TAG, "handleSetCFResponse: ar.exception=" + ar.exception); in handleSetCFResponse()
246 obtainMessage(MESSAGE_GET_CF, msg.arg1, MESSAGE_SET_CF, ar.exception)); in handleSetCFResponse()
DEnableFdnScreen.java55 AsyncResult ar = (AsyncResult) msg.obj;
56 handleResult(ar);
115 private void handleResult(AsyncResult ar) { in handleResult() argument
116 if (ar.exception == null) { in handleResult()
120 } else if (ar.exception instanceof CommandException in handleResult()
DEnableIccPinScreen.java55 AsyncResult ar = (AsyncResult) msg.obj;
56 handleResult(ar);
110 private void handleResult(AsyncResult ar) { in handleResult() argument
111 if (ar.exception == null) { in handleResult()
115 } else if (ar.exception instanceof CommandException in handleResult()
DCdmaSystemSelectListPreference.java117 AsyncResult ar = (AsyncResult) msg.obj; in handleQueryCdmaRoamingPreference() local
119 if (ar.exception == null) { in handleQueryCdmaRoamingPreference()
120 int statusCdmaRoamingMode = ((int[])ar.result)[0]; in handleQueryCdmaRoamingPreference()
147 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCdmaRoamingPreference() local
149 if ((ar.exception == null) && (getValue() != null)) { in handleSetCdmaRoamingPreference()
DNetworkQueryService.java186 private void broadcastQueryResults (AsyncResult ar) { in broadcastQueryResults() argument
192 if (ar == null) { in broadcastQueryResults()
199 int exception = (ar.exception == null) ? QUERY_OK : QUERY_EXCEPTION; in broadcastQueryResults()
207 cb.onQueryComplete((ArrayList<NetworkInfo>) ar.result, exception); in broadcastQueryResults()
DNetworkSetting.java85 AsyncResult ar;
96 ar = (AsyncResult) msg.obj;
97 if (ar.exception != null) {
99 displayNetworkSelectionFailed(ar.exception);
113 ar = (AsyncResult) msg.obj;
114 if (ar.exception != null) {
116 displayNetworkSelectionFailed(ar.exception);
DCdmaSubscriptionListPreference.java118 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCdmaSubscriptionMode() local
120 if (ar.exception == null) { in handleSetCdmaSubscriptionMode()
122 int cdmaSubscriptionMode = Integer.valueOf((String) ar.userObj).intValue(); in handleSetCdmaSubscriptionMode()
DFdnSetting.java209 AsyncResult ar = (AsyncResult) msg.obj;
210 if (ar.exception != null) {
212 CommandException ce = (CommandException) ar.exception;
230 AsyncResult ar = (AsyncResult) msg.obj;
231 if (ar.exception != null) {
232 CommandException ce = (CommandException) ar.exception;
DChangeIccPinScreen.java83 AsyncResult ar = (AsyncResult) msg.obj;
84 handleResult(ar);
235 private void handleResult(AsyncResult ar) { in handleResult() argument
236 if (ar.exception == null) { in handleResult()
252 } else if (ar.exception instanceof CommandException in handleResult()
259 CommandException ce = (CommandException) ar.exception; in handleResult()
DPhoneInterfaceManager.java95 AsyncResult ar; in handleMessage() local
116 ar = (AsyncResult) msg.obj; in handleMessage()
117 request = (MainThreadRequest) ar.userObj; in handleMessage()
118 if (ar.exception == null && ar.result != null) { in handleMessage()
119 request.result = ar.result; in handleMessage()
425 AsyncResult ar = (AsyncResult) msg.obj; in run()
430 mResult = (ar.exception == null); in run()
DSettings.java324 AsyncResult ar = (AsyncResult) msg.obj; in handleGetPreferredNetworkTypeResponse() local
326 if (ar.exception == null) { in handleGetPreferredNetworkTypeResponse()
327 int modemNetworkMode = ((int[])ar.result)[0]; in handleGetPreferredNetworkTypeResponse()
389 AsyncResult ar = (AsyncResult) msg.obj; in handleSetPreferredNetworkTypeResponse() local
391 if (ar.exception == null) { in handleSetPreferredNetworkTypeResponse()
DCallFeaturesSetting.java808 void handleForwardingSettingsReadResult(AsyncResult ar, int idx) { in handleForwardingSettingsReadResult() argument
811 if (ar.exception != null) { in handleForwardingSettingsReadResult()
813 ar.exception.getMessage()); in handleForwardingSettingsReadResult()
814 error = ar.exception; in handleForwardingSettingsReadResult()
816 if (ar.userObj instanceof Throwable) { in handleForwardingSettingsReadResult()
818 ((Throwable)ar.userObj).getMessage()); in handleForwardingSettingsReadResult()
819 error = (Throwable)ar.userObj; in handleForwardingSettingsReadResult()
838 final CallForwardInfo cfInfoArray[] = (CallForwardInfo[]) ar.result; in handleForwardingSettingsReadResult()
DPhoneApp.java1616 AsyncResult ar = (AsyncResult) msg.obj; in handleQueryTTYModeResponse() local
1617 if (ar.exception != null) { in handleQueryTTYModeResponse()
1623 int ttymode = ((int[]) ar.result)[0]; in handleQueryTTYModeResponse()
1652 AsyncResult ar = (AsyncResult) msg.obj; in handleSetTTYModeResponse() local
1654 if (ar.exception != null) { in handleSetTTYModeResponse()
1657 + ar.exception); in handleSetTTYModeResponse()
DPhoneUtils.java124 AsyncResult ar = (AsyncResult) msg.obj; in handleMessage() local
129 CallManager cm = (CallManager) ar.userObj; in handleMessage()
/packages/apps/Settings/src/com/android/settings/
DBandMode.java195 AsyncResult ar;
198 ar = (AsyncResult) msg.obj;
200 bandListLoaded(ar);
204 ar = (AsyncResult) msg.obj;
210 displayBandSelectionResult(ar.exception);
DRadioInfo.java180 AsyncResult ar;
196 ar= (AsyncResult) msg.obj;
197 if (ar.exception == null) {
198 int type = ((int[])ar.result)[0];
205 ar= (AsyncResult) msg.obj;
206 if (ar.exception != null) {
212 ar= (AsyncResult) msg.obj;
213 if (ar.exception == null) {
214 updateNeighboringCids((ArrayList<NeighboringCellInfo>)ar.result);
220 ar= (AsyncResult) msg.obj;
[all …]
DIccLockSettings.java91 AsyncResult ar = (AsyncResult) msg.obj;
94 iccLockChanged(ar.exception == null);
97 iccPinChanged(ar.exception == null);