Home
last modified time | relevance | path

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

12

/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java399 AsyncResult ar; in handleMessage() local
466 ar = (AsyncResult) msg.obj; in handleMessage()
467 request = (MainThreadRequest) ar.userObj; in handleMessage()
468 if (ar.exception == null && ar.result != null) { in handleMessage()
469 request.result = ar.result; in handleMessage()
472 if (ar.result == null) { in handleMessage()
474 } else if (ar.exception instanceof CommandException) { in handleMessage()
476 ar.exception); in handleMessage()
502 ar = (AsyncResult) msg.obj; in handleMessage()
503 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.java172 AsyncResult ar = (AsyncResult) msg.obj; in handleGetCLIRResponse() local
180 if (ar.exception != null) { in handleGetCLIRResponse()
181 Log.i(LOG_TAG, "handleGetCLIRResponse: ar.exception=" + ar.exception); in handleGetCLIRResponse()
182 mTcpListener.onException(CLIRListPreference.this, (CommandException) ar.exception); in handleGetCLIRResponse()
183 } else if (ar.userObj instanceof Throwable) { in handleGetCLIRResponse()
184 Log.i(LOG_TAG, "handleGetCLIRResponse: ar.throwable=" + ar.userObj); in handleGetCLIRResponse()
187 int clirArray[] = (int[]) ar.result; in handleGetCLIRResponse()
200 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCLIRResponse() local
202 if (ar.exception != null) { in handleSetCLIRResponse()
203 if (DBG) Log.d(LOG_TAG, "handleSetCallWaitingResponse: ar.exception="+ar.exception); in handleSetCLIRResponse()
[all …]
DCallBarringEditPreference.java310 AsyncResult ar = (AsyncResult) msg.obj; in handleGetCallBarringResponse() local
329 if (ar.exception != null) { in handleGetCallBarringResponse()
331 Log.d(LOG_TAG, "handleGetCallBarringResponse: ar.exception=" + ar.exception); in handleGetCallBarringResponse()
333 pref.mTcpListener.onException(pref, (CommandException) ar.exception); in handleGetCallBarringResponse()
335 if (ar.userObj instanceof Throwable) { in handleGetCallBarringResponse()
338 int[] ints = (int[]) ar.result; in handleGetCallBarringResponse()
365 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCallBarringResponse() local
367 if (ar.exception != null || ar.userObj instanceof Throwable) { in handleSetCallBarringResponse()
369 Log.d(LOG_TAG, "handleSetCallBarringResponse: ar.exception=" + ar.exception); in handleSetCallBarringResponse()
379 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.java342 AsyncResult ar = (AsyncResult) msg.obj; in handleGetCFResponse() local
345 if (ar.exception != null) { in handleGetCFResponse()
346 Log.d(LOG_TAG, "handleGetCFResponse: ar.exception=" + ar.exception); in handleGetCFResponse()
347 if (ar.exception instanceof CommandException) { in handleGetCFResponse()
349 (CommandException) ar.exception); in handleGetCFResponse()
358 if (ar.userObj instanceof Throwable) { in handleGetCFResponse()
361 CallForwardInfo cfInfoArray[] = (CallForwardInfo[]) ar.result; in handleGetCFResponse()
419 AsyncResult ar = (AsyncResult) msg.obj; in handleSetCFResponse() local
420 if (ar.exception != null) { in handleSetCFResponse()
421 Log.d(LOG_TAG, "handleSetCFResponse: ar.exception=" + ar.exception); in handleSetCFResponse()
[all …]
DGsmUmtsCallBarringOptions.java233 AsyncResult ar = (AsyncResult) msg.obj;
239 if (ar.exception != null) {
243 + ar.exception);
245 onException(mButtonChangePW, (CommandException) ar.exception);
247 } else if (ar.userObj instanceof Throwable) {
260 if (ar.exception != null) {
263 + ar.exception);
265 onException(mButtonDisableAll, (CommandException) ar.exception);
267 } 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()
/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/apps/Settings/src/com/android/settings/
DBandMode.java214 AsyncResult ar;
217 ar = (AsyncResult) msg.obj;
219 bandListLoaded(ar);
223 ar = (AsyncResult) msg.obj;
230 displayBandSelectionResult(ar.exception);
DRadioInfo.java382 AsyncResult ar;
385 ar= (AsyncResult) msg.obj;
386 if (ar.exception == null && ar.result != null) {
387 updatePreferredNetworkType(((int[])ar.result)[0]);
394 ar= (AsyncResult) msg.obj;
395 if (ar.exception != null) {
400 ar= (AsyncResult) msg.obj;
401 if (ar.exception != null) {
404 smsc.setText((String)ar.result);
409 ar= (AsyncResult) msg.obj;
[all …]
DIccLockSettings.java132 AsyncResult ar = (AsyncResult) msg.obj;
135 iccLockChanged(ar.exception == null, msg.arg1, ar.exception);
138 iccPinChanged(ar.exception == null, msg.arg1);
/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.java352 AsyncResult ar;
355 ar= (AsyncResult) msg.obj;
356 if (ar.exception == null && ar.result != null) {
357 updatePreferredNetworkType(((int[])ar.result)[0]);
364 ar= (AsyncResult) msg.obj;
365 if (ar.exception != null) {
370 ar= (AsyncResult) msg.obj;
371 if (ar.exception != null) {
374 smsc.setText((String)ar.result);
379 ar= (AsyncResult) msg.obj;
[all …]
DIccLockSettings.java132 AsyncResult ar = (AsyncResult) msg.obj;
135 iccLockChanged(ar.exception == null, msg.arg1, ar.exception);
138 iccPinChanged(ar.exception == null, msg.arg1);
/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/services/Telephony/src/com/android/phone/settings/
DVoicemailSettingsActivity.java754 private void handleForwardingSettingsReadResult(AsyncResult ar, int idx) { in handleForwardingSettingsReadResult() argument
758 if (ar.exception != null) { in handleForwardingSettingsReadResult()
759 error = ar.exception; in handleForwardingSettingsReadResult()
762 if (ar.userObj instanceof Throwable) { in handleForwardingSettingsReadResult()
763 error = (Throwable) ar.userObj; in handleForwardingSettingsReadResult()
784 (CallForwardInfo[]) ar.result, in handleForwardingSettingsReadResult()
/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/modules/NetworkStack/src/com/android/server/connectivity/ipmemorystore/
DUtils.java46 private static void appendByteArray(@NonNull final StringBuilder sb, @NonNull final byte[] ar, in appendByteArray() argument
49 sb.append(String.format("%02X", ar[i])); in appendByteArray()
/packages/services/Telephony/src/com/android/services/telephony/
DPstnPhoneCapabilitiesNotifier.java86 private void handleVideoCapabilitesChanged(AsyncResult ar) { in handleVideoCapabilitesChanged() argument
88 boolean isVideoCapable = (Boolean) ar.result; in handleVideoCapabilitesChanged()
DTelephonyConnection.java112 AsyncResult ar = (AsyncResult) msg.obj;
114 (com.android.internal.telephony.Connection) ar.result;
/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/inputmethods/LatinIME/dictionaries/
Dtr_wordlist.combined.gz

12