/frameworks/base/core/java/android/os/ |
AsyncResult.java | 22 public class AsyncResult 35 public static AsyncResult 38 AsyncResult ret; 40 ret = new AsyncResult (m.obj, r, ex); 48 public static AsyncResult 51 AsyncResult ret; 53 ret = new AsyncResult (m.obj, null, null); 62 AsyncResult (Object uo, Object r, Throwable ex)
|
Registrant.java | 64 notifyRegistrant(AsyncResult ar) 81 msg.obj = new AsyncResult(userObj, result, exception);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
IccCard.java | 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)) 147 * onComplete.obj will be an AsyncResult 148 * ((AsyncResult)onComplete.obj).exception == null on success 149 * ((AsyncResult)onComplete.obj).exception != null on fail 161 * onComplete.obj will be an AsyncResult [all...] |
RadioIndication.java | 36 import android.os.AsyncResult; 156 mRil.mGsmSmsRegistrant.notifyRegistrant(new AsyncResult(null, sms, null)); 167 mRil.mSmsStatusRegistrant.notifyRegistrant(new AsyncResult(null, pduArray, null)); 177 mRil.mSmsOnSimRegistrant.notifyRegistrant(new AsyncResult(null, recordNumber, null)); 191 mRil.mUSSDRegistrant.notifyRegistrant(new AsyncResult (null, resp, null)); 212 mRil.mNITZTimeRegistrant.notifyRegistrant(new AsyncResult (null, result, null)); 229 mRil.mSignalStrengthRegistrant.notifyRegistrant(new AsyncResult (null, ss, null)); 245 new AsyncResult(null, response, null)); 261 mRil.mSsnRegistrant.notifyRegistrant(new AsyncResult (null, notification, null)); 271 mRil.mCatSessionEndRegistrant.notifyRegistrant(new AsyncResult (null, null, null)) [all...] |
OemHookIndication.java | 20 import android.os.AsyncResult; 50 mRil.mUnsolOemHookRawRegistrant.notifyRegistrant(new AsyncResult(null, response, null));
|
CommandsInterface.java | 233 * AsyncResult.result is a String containing the SMS PDU 243 * AsyncResult.result is a String containing the SMS PDU 251 * AsyncResult.result is a byte array containing the SMS-CB PDU 259 * AsyncResult.result is an int array containing the index of new SMS 267 * AsyncResult.result is a String containing the status report PDU 275 * AsyncResult.result is an Object[] 276 * ((Object[])AsyncResult.result)[0] is a String containing the NITZ time string 277 * ((Object[])AsyncResult.result)[1] is a Long containing the milliseconds since boot as 293 * AsyncResult.result is a String[] 294 * ((String[])(AsyncResult.result))[0] contains status cod [all...] |
CallManager.java | 22 import android.os.AsyncResult; [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CdmaVoicePrivacySwitchPreference.java | 22 import android.os.AsyncResult; 79 AsyncResult ar = (AsyncResult) msg.obj; 95 AsyncResult ar = (AsyncResult) msg.obj;
|
CLIRListPreference.java | 9 import android.os.AsyncResult; 129 AsyncResult ar = (AsyncResult) msg.obj; 158 AsyncResult ar = (AsyncResult) msg.obj;
|
CallWaitingSwitchPreference.java | 9 import android.os.AsyncResult; 78 AsyncResult ar = (AsyncResult) msg.obj; 123 AsyncResult ar = (AsyncResult) msg.obj;
|
EnableIccPinScreen.java | 20 import android.os.AsyncResult; 54 AsyncResult ar = (AsyncResult) msg.obj; 109 private void handleResult(AsyncResult ar) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
UiccCardApplication.java | 20 import android.os.AsyncResult; 223 * @param ar is asyncResult of Query_Facility_Locked 225 private void onQueryFdnEnabled(AsyncResult ar) { 250 private void onChangeFdnDone(AsyncResult ar) { 264 AsyncResult.forMessage(response).exception = ar.exception; 280 private void onQueryFacilityLock(AsyncResult ar) { 330 private void onChangeFacilityLock(AsyncResult ar) { 343 AsyncResult.forMessage(response).exception = ar.exception; 352 private int parsePinPukErrorResult(AsyncResult ar) { 370 AsyncResult ar [all...] |
IccFileHandler.java | 168 * ((AsyncResult)(onLoaded.obj)).result is the byte[] 188 * ((AsyncResult)(onLoaded.obj)).result is the byte[] 201 * ((AsyncResult)(onLoaded.obj)).result is the byte[] 254 * ((AsyncResult)(onLoaded.obj)).result is an ArrayList<byte[]> 272 * ((AsyncResult)(onLoaded.obj)).result is an ArrayList<byte[]> 285 * ((AsyncResult)(onLoaded.obj)).result is the byte[] 304 * ((AsyncResult)(onLoaded.obj)).result is the byte[] 322 * ((AsyncResult)(onLoaded.obj)).result is the byte[] 351 * @param onComplete onComplete.obj will be an AsyncResult 368 * @param onComplete onComplete.obj will be an AsyncResult [all...] |
AdnRecordLoader.java | 21 import android.os.AsyncResult; 145 AsyncResult ar; 152 ar = (AsyncResult)(msg.obj); 186 ar = (AsyncResult)(msg.obj); 195 ar = (AsyncResult)(msg.obj); 226 ar = (AsyncResult)(msg.obj); 254 ar = (AsyncResult)(msg.obj); 285 AsyncResult.forMessage(mUserResponse) 296 AsyncResult.forMessage(mUserResponse).result
|
AdnRecordCache.java | 19 import android.os.AsyncResult; 81 AsyncResult ar = new AsyncResult(null, null, new RuntimeException("AdnCache reset")); 125 AsyncResult.forMessage(response).exception = e; 264 AsyncResult.forMessage(response).result = result; 295 AsyncResult.forMessage(response).exception 311 notifyWaiters(ArrayList<Message> waiters, AsyncResult ar) { 320 AsyncResult.forMessage(waiter, ar.result, ar.exception); 330 AsyncResult ar; 336 ar = (AsyncResult) msg.obj [all...] |
UiccController.java | 20 import android.os.AsyncResult; 222 AsyncResult ar = (AsyncResult)msg.obj; 238 mIccChangedRegistrants.notifyRegistrants(new AsyncResult(null, index, null)); 251 AsyncResult ar; 262 } else if(msg.obj != null && msg.obj instanceof AsyncResult) { 263 ar = (AsyncResult)msg.obj; 285 private synchronized void onGetIccCardStatusDone(AsyncResult ar, Integer index) { 308 mIccChangedRegistrants.notifyRegistrants(new AsyncResult(null, index, null)); 312 private void onSimRefresh(AsyncResult ar, Integer index) [all...] |
UiccPkcs15.java | 19 import android.os.AsyncResult; 111 AsyncResult ar = (AsyncResult) msg.obj; 114 AsyncResult.forMessage(mCallback, null, ar.exception); 129 AsyncResult.forMessage(mCallback, result, (result == null) ? 156 AsyncResult ar; 160 ar = (AsyncResult) msg.obj; 164 AsyncResult.forMessage(mCallback, null, null); 167 AsyncResult.forMessage(mCallback, null, ar.exception); 204 AsyncResult ar = (AsyncResult) msg.obj [all...] |
SIMRecords.java | 24 import android.os.AsyncResult; 357 * onComplete.obj will be an AsyncResult 358 * ((AsyncResult)onComplete.obj).exception == null on success 359 * ((AsyncResult)onComplete.obj).exception != null on fail 409 * onComplete.obj will be an AsyncResult 410 * ((AsyncResult)onComplete.obj).exception == null on success 411 * ((AsyncResult)onComplete.obj).exception != null on fail 417 AsyncResult.forMessage((onComplete)).exception = 441 AsyncResult.forMessage((onComplete)).exception = 658 AsyncResult ar [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppWidgetsRestoredReceiver.java | 27 final PendingResult asyncResult = goAsync(); 32 restoreAppWidgetIds(context, asyncResult, oldIds, newIds); 44 static void restoreAppWidgetIds(Context context, PendingResult asyncResult, 88 asyncResult.finish();
|
/packages/services/Telephony/src/com/android/services/telephony/ |
PstnIncomingCallNotifier.java | 24 import android.os.AsyncResult; 74 handleNewRingingConnection((AsyncResult) msg.obj); 77 handleCdmaCallWaiting((AsyncResult) msg.obj); 80 handleNewUnknownConnection((AsyncResult) msg.obj); 129 * @param asyncResult The result object from the new ringing event. 131 private void handleNewRingingConnection(AsyncResult asyncResult) { 133 Connection connection = (Connection) asyncResult.result; 144 private void handleCdmaCallWaiting(AsyncResult asyncResult) { [all...] |
PstnPhoneCapabilitiesNotifier.java | 19 import android.os.AsyncResult; 52 handleVideoCapabilitesChanged((AsyncResult) msg.obj); 90 private void handleVideoCapabilitesChanged(AsyncResult ar) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsPhoneBase.java | 21 import android.os.AsyncResult; 81 AsyncResult result = new AsyncResult(null, Boolean.TRUE, null); 87 AsyncResult result = new AsyncResult(null, Boolean.FALSE, null); 108 mOnHoldRegistrants.notifyRegistrants(new AsyncResult(null, result, null)); 118 mOnHoldRegistrants.notifyRegistrants(new AsyncResult(null, result, null)); 132 AsyncResult result = new AsyncResult(null, Integer.valueOf(mode), null); 375 AsyncResult.forMessage(onComplete, null, null) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/ |
DataConnectionTest.java | 37 import android.os.AsyncResult; 177 private long getSuggestedRetryDelay(AsyncResult ar) throws Exception { 179 cArgs[0] = AsyncResult.class; 233 AsyncResult ar = new AsyncResult(null, response, null); 238 ar = new AsyncResult(null, response, null); 243 ar = new AsyncResult(null, response, null); 252 AsyncResult ar = new AsyncResult(null, response, null); 257 ar = new AsyncResult(null, response, null) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaSubscriptionSourceManager.java | 23 import android.os.AsyncResult; 110 AsyncResult ar; 116 ar = (AsyncResult) msg.obj; 126 ar = (AsyncResult)msg.obj; 181 * @param ar AsyncResult object that contains the result of get CDMA 184 private void handleGetCdmaSubscriptionSource(AsyncResult ar) { 194 mCdmaSubscriptionSourceChangedRegistrants.notifyRegistrants(new AsyncResult(null,
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
OperatorInfo.aidl | 22 * trying to make the conventional containing object (AsyncResult),
|