Home
last modified time | relevance | path

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

12

/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java439 AsyncResult ar; in handleMessage() local
506 ar = (AsyncResult) msg.obj; in handleMessage()
507 request = (MainThreadRequest) ar.userObj; in handleMessage()
508 if (ar.exception == null && ar.result != null) { in handleMessage()
509 request.result = ar.result; in handleMessage()
512 if (ar.result == null) { in handleMessage()
514 } else if (ar.exception instanceof CommandException) { in handleMessage()
516 ar.exception); in handleMessage()
542 ar = (AsyncResult) msg.obj; in handleMessage()
543 request = (MainThreadRequest) ar.userObj; in handleMessage()
[all …]
DCallWaitingSwitchPreference.java78 AsyncResult ar = (AsyncResult) msg.obj; in handleGetCallWaitingResponse() local
88 if (ar.exception instanceof CommandException) { in handleGetCallWaitingResponse()
91 ar.exception); in handleGetCallWaitingResponse()
95 (CommandException)ar.exception); in handleGetCallWaitingResponse()
97 } else if (ar.userObj instanceof Throwable || ar.exception != null) { in handleGetCallWaitingResponse()
100 Log.d(LOG_TAG, "handleGetCallWaitingResponse: Exception" + ar.exception); in handleGetCallWaitingResponse()
109 int[] cwArray = (int[])ar.result; in handleGetCallWaitingResponse()
123 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCallWaitingResponse() local
125 if (ar.exception != null) { in handleSetCallWaitingResponse()
127 Log.d(LOG_TAG, "handleSetCallWaitingResponse: ar.exception=" + ar.exception); in handleSetCallWaitingResponse()
[all …]
DCLIRListPreference.java177 AsyncResult ar = (AsyncResult) msg.obj; in handleGetCLIRResponse() local
185 if (ar.exception != null) { in handleGetCLIRResponse()
186 Log.i(LOG_TAG, "handleGetCLIRResponse: ar.exception=" + ar.exception); in handleGetCLIRResponse()
187 mTcpListener.onException(CLIRListPreference.this, (CommandException) ar.exception); in handleGetCLIRResponse()
188 } else if (ar.userObj instanceof Throwable) { in handleGetCLIRResponse()
189 Log.i(LOG_TAG, "handleGetCLIRResponse: ar.throwable=" + ar.userObj); in handleGetCLIRResponse()
192 int clirArray[] = (int[]) ar.result; in handleGetCLIRResponse()
205 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCLIRResponse() local
207 if (ar.exception != null) { in handleSetCLIRResponse()
208 if (DBG) Log.d(LOG_TAG, "handleSetCallWaitingResponse: ar.exception="+ar.exception); in handleSetCLIRResponse()
[all …]
DCallBarringEditPreference.java271 AsyncResult ar = (AsyncResult) msg.obj; in handleGetCallBarringResponse() local
280 if (ar.exception != null) { in handleGetCallBarringResponse()
282 Log.d(LOG_TAG, "handleGetCallBarringResponse: ar.exception=" + ar.exception); in handleGetCallBarringResponse()
284 pref.mTcpListener.onException(pref, (CommandException) ar.exception); in handleGetCallBarringResponse()
286 if (ar.userObj instanceof Throwable) { in handleGetCallBarringResponse()
289 int[] ints = (int[]) ar.result; in handleGetCallBarringResponse()
316 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCallBarringResponse() local
318 if (ar.exception != null || ar.userObj instanceof Throwable) { in handleSetCallBarringResponse()
320 Log.d(LOG_TAG, "handleSetCallBarringResponse: ar.exception=" + ar.exception); in handleSetCallBarringResponse()
330 ar.exception), in handleSetCallBarringResponse()
DCdmaVoicePrivacySwitchPreference.java79 AsyncResult ar = (AsyncResult) msg.obj; in handleGetVPResponse() local
81 if (ar.exception != null) { in handleGetVPResponse()
82 if (DBG) Log.d(LOG_TAG, "handleGetVPResponse: ar.exception=" + ar.exception); in handleGetVPResponse()
86 final int enable = ((int[]) ar.result)[0]; in handleGetVPResponse()
95 AsyncResult ar = (AsyncResult) msg.obj; in handleSetVPResponse() local
97 if (ar.exception != null) { in handleSetVPResponse()
98 if (DBG) Log.d(LOG_TAG, "handleSetVPResponse: ar.exception=" + ar.exception); in handleSetVPResponse()
DCallForwardEditPreference.java343 AsyncResult ar = (AsyncResult) msg.obj; in handleGetCFResponse() local
346 if (ar.exception != null) { in handleGetCFResponse()
347 Log.d(LOG_TAG, "handleGetCFResponse: ar.exception=" + ar.exception); in handleGetCFResponse()
348 if (ar.exception instanceof CommandException) { in handleGetCFResponse()
350 (CommandException) ar.exception); in handleGetCFResponse()
359 if (ar.userObj instanceof Throwable) { in handleGetCFResponse()
362 CallForwardInfo cfInfoArray[] = (CallForwardInfo[]) ar.result; in handleGetCFResponse()
375 if (ar.userObj instanceof Throwable) { in handleGetCFResponse()
424 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCFResponse() local
425 if (ar.exception != null) { in handleSetCFResponse()
[all …]
DGsmUmtsCallBarringOptions.java227 AsyncResult ar = (AsyncResult) msg.obj;
233 if (ar.exception != null) {
237 + ar.exception);
239 onException(mButtonChangePW, (CommandException) ar.exception);
241 } else if (ar.userObj instanceof Throwable) {
254 if (ar.exception != null) {
257 + ar.exception);
259 onException(mButtonDisableAll, (CommandException) ar.exception);
261 } else if (ar.userObj instanceof Throwable) {
DEnableIccPinScreen.java54 AsyncResult ar = (AsyncResult) msg.obj;
55 handleResult(ar);
109 private void handleResult(AsyncResult ar) { in handleResult() argument
110 if (ar.exception == null) { in handleResult()
114 } else if (ar.exception instanceof CommandException in handleResult()
DChangeIccPinScreen.java82 AsyncResult ar = (AsyncResult) msg.obj;
83 handleResult(ar);
234 private void handleResult(AsyncResult ar) { in handleResult() argument
235 if (ar.exception == null) { in handleResult()
251 } else if (ar.exception instanceof CommandException in handleResult()
258 CommandException ce = (CommandException) ar.exception; in handleResult()
DPhoneUtils.java554 int[] ar = r.getIntArray(resid); in getLongArray() local
555 if (ar == null) { in getLongArray()
558 final int len = ar.length; in getLongArray()
561 out[i] = ar[i]; in getLongArray()
/packages/services/Telephony/src/com/android/phone/otasp/
DOtaspSimStateReceiver.java42 AsyncResult ar;
45 ar = (AsyncResult) msg.obj;
46 if (ar.exception == null && ar.result != null) {
47 int otaspMode = (Integer) ar.result;
57 logd("EVENT_OTASP_CHANGED: exception=" + ar.exception);
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnSetting.java249 AsyncResult ar = (AsyncResult) msg.obj;
250 if (ar.exception != null) {
251 if (ar.exception instanceof CommandException) {
255 ((CommandException) ar.exception).getCommandError();
285 AsyncResult ar = (AsyncResult) msg.obj;
286 if (ar.exception != null) {
287 if (ar.exception instanceof CommandException) {
291 CommandException ce = (CommandException) ar.exception;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DBandMode.java214 AsyncResult ar;
217 ar = (AsyncResult) msg.obj;
219 bandListLoaded(ar);
223 ar = (AsyncResult) msg.obj;
230 displayBandSelectionResult(ar.exception);
DRadioInfo.java347 AsyncResult ar;
350 ar= (AsyncResult) msg.obj;
351 if (ar.exception == null && ar.result != null) {
352 updatePreferredNetworkType(((int[])ar.result)[0]);
359 ar= (AsyncResult) msg.obj;
360 if (ar.exception != null) {
365 ar= (AsyncResult) msg.obj;
366 if (ar.exception != null) {
369 smsc.setText((String)ar.result);
374 ar= (AsyncResult) msg.obj;
[all …]
DIccLockSettings.java133 AsyncResult ar = (AsyncResult) msg.obj;
136 iccLockChanged(ar.exception == null, msg.arg1, ar.exception);
139 iccPinChanged(ar.exception == null, msg.arg1);
/packages/services/Telephony/src/com/android/phone/settings/
DBandMode.java231 AsyncResult ar;
234 ar = (AsyncResult) msg.obj;
236 bandListLoaded(ar);
240 ar = (AsyncResult) msg.obj;
247 displayBandSelectionResult(ar.exception);
DRadioInfo.java406 AsyncResult ar;
409 ar = (AsyncResult) msg.obj;
410 if (ar.exception == null && ar.result != null) {
411 updatePreferredNetworkType(((int []) ar.result)[0]);
418 ar = (AsyncResult) msg.obj;
419 if (ar.exception != null) {
424 ar = (AsyncResult) msg.obj;
425 if (ar.exception != null) {
428 mSmsc.setText((String) ar.result);
433 ar = (AsyncResult) msg.obj;
[all …]
DVoicemailSettingsActivity.java756 private void handleForwardingSettingsReadResult(AsyncResult ar, int idx) { in handleForwardingSettingsReadResult() argument
760 if (ar.exception != null) { in handleForwardingSettingsReadResult()
761 error = ar.exception; in handleForwardingSettingsReadResult()
764 if (ar.userObj instanceof Throwable) { in handleForwardingSettingsReadResult()
765 error = (Throwable) ar.userObj; in handleForwardingSettingsReadResult()
786 (CallForwardInfo[]) ar.result, in handleForwardingSettingsReadResult()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DRoundedLine.java58 final double ar = Math.asin(dr / l); in makePath() local
60 final double aa = a - (RIGHT_ANGLE + ar); in makePath()
62 final double ab = a + (RIGHT_ANGLE + ar); in makePath()
81 final float ar2degree = (float)(ar * 2.0d * RADIAN_TO_DEGREE); in makePath()
/packages/apps/Gallery2/src/com/android/photos/data/
DGalleryBitmapPool.java95 for (Point ar : COMMON_PHOTO_ASPECT_RATIOS) { in getPoolIndexForDimensions()
96 if (min * ar.x == max * ar.y) { in getPoolIndexForDimensions()
/packages/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DUtils.java47 private static void appendByteArray(@NonNull final StringBuilder sb, @NonNull final byte[] ar, in appendByteArray() argument
50 sb.append(String.format("%02X", ar[i])); in appendByteArray()
/packages/apps/Camera2/src/com/android/camera/ui/
DBottomBar.java100 TypedArray ar = context.getResources() in BottomBar() local
102 int len = ar.length(); in BottomBar()
105 int drawableId = ar.getResourceId(i, -1); in BottomBar()
109 ar.recycle(); in BottomBar()
/packages/services/Telephony/src/com/android/services/telephony/
DPstnPhoneCapabilitiesNotifier.java87 private void handleVideoCapabilitesChanged(AsyncResult ar) { in handleVideoCapabilitesChanged() argument
89 boolean isVideoCapable = (Boolean) ar.result; in handleVideoCapabilitesChanged()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_indexing.h35 inline void db_SetupMatrixRefs(double **ar,long rows,long cols,double *a) in db_SetupMatrixRefs() argument
38 for(i=0;i<rows;i++) ar[i]=&a[i*cols]; in db_SetupMatrixRefs()
/packages/modules/DnsResolver/tests/testdata/
DREADME.md150 ar = None

12