Searched refs:AsyncResult (Results 1 - 25 of 98) sorted by relevance

1234

/frameworks/base/core/java/android/os/
H A DAsyncResult.java22 public class AsyncResult class
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) method in class:AsyncResult
H A DRegistrant.java64 notifyRegistrant(AsyncResult ar)
81 msg.obj = new AsyncResult(userObj, result, exception);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/async/
H A DAsyncMessageInvocation.java19 import android.os.AsyncResult;
53 AsyncResult result = (AsyncResult) msg.obj;
71 protected abstract Response parseResult(AsyncResult result) throws Throwable;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DOemHookIndication.java20 import android.os.AsyncResult;
50 mRil.mUnsolOemHookRawRegistrant.notifyRegistrant(new AsyncResult(null, response, null));
H A DRadioConfigIndication.java21 import android.os.AsyncResult;
47 new AsyncResult(null, ret, null));
H A DIccCard.java19 import android.os.AsyncResult;
90 * onComplete.obj will be an AsyncResult
92 * ((AsyncResult)onComplete.obj).exception == null on success
93 * ((AsyncResult)onComplete.obj).exception != null on fail
96 * ((AsyncResult)onComplete.obj).exception != null
97 * && ((AsyncResult)onComplete.obj).exception
99 * && ((CommandException)(((AsyncResult)onComplete.obj).exception))
163 * onComplete.obj will be an AsyncResult
164 * ((AsyncResult)onComplete.obj).exception == null on success
165 * ((AsyncResult)onComplet
[all...]
H A DRadioIndication.java87 import android.os.AsyncResult;
163 mRil.mGsmSmsRegistrant.notifyRegistrant(new AsyncResult(null, sms, null));
174 mRil.mSmsStatusRegistrant.notifyRegistrant(new AsyncResult(null, pduArray, null));
184 mRil.mSmsOnSimRegistrant.notifyRegistrant(new AsyncResult(null, recordNumber, null));
198 mRil.mUSSDRegistrant.notifyRegistrant(new AsyncResult (null, resp, null));
219 mRil.mNITZTimeRegistrant.notifyRegistrant(new AsyncResult (null, result, null));
236 mRil.mSignalStrengthRegistrant.notifyRegistrant(new AsyncResult (null, ss, null));
252 mRil.mLceInfoRegistrants.notifyRegistrants(new AsyncResult(null, response, null));
268 mRil.mSignalStrengthRegistrant.notifyRegistrant(new AsyncResult(null, ss, null));
302 new AsyncResult(nul
[all...]
H A DSmsStorageMonitor.java23 import android.os.AsyncResult;
104 AsyncResult ar;
112 ar = (AsyncResult) msg.obj;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
H A DUiccCarrierPrivilegeRulesTest.java27 import android.os.AsyncResult;
108 AsyncResult ar = new AsyncResult(null, new int[]{0}, null);
120 AsyncResult ar = new AsyncResult(null, iir, null);
318 AsyncResult ar = new AsyncResult(null, new int[]{0}, null);
323 AsyncResult ar = new AsyncResult(null, null, null);
336 AsyncResult a
[all...]
H A DIsimUiccRecordsTest.java43 import android.os.AsyncResult;
81 msg.obj = new AsyncResult(null, null, null);
H A DIccPhoneBookInterfaceManagerTest.java20 import android.os.AsyncResult;
79 AsyncResult.forMessage(response).result = mAdnList;
106 AsyncResult.forMessage(response).exception = new RuntimeException();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecordCache.java19 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) ms
[all...]
H A DUiccPkcs15.java19 import android.os.AsyncResult;
102 AsyncResult ar = (AsyncResult) msg.obj;
105 AsyncResult.forMessage(mCallback, null, ar.exception);
120 AsyncResult.forMessage(mCallback, result, (result == null) ?
147 AsyncResult ar;
151 ar = (AsyncResult) msg.obj;
155 AsyncResult.forMessage(mCallback, null, null);
158 AsyncResult.forMessage(mCallback, null, ar.exception);
195 AsyncResult a
[all...]
H A DAdnRecordLoader.java21 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
H A DIsimUiccRecords.java21 import android.os.AsyncResult;
102 AsyncResult ar;
123 ar = (AsyncResult)msg.obj;
195 public void onRecordLoaded(AsyncResult ar) {
206 public void onRecordLoaded(AsyncResult ar) {
223 public void onRecordLoaded(AsyncResult ar) {
234 public void onRecordLoaded(AsyncResult ar) {
244 public void onRecordLoaded(AsyncResult ar) {
297 mLockedRecordsLoadedRegistrants.notifyRegistrants(new AsyncResult(null, null, null));
300 new AsyncResult(nul
[all...]
H A DIccFileHandler.java168 * ((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...]
H A DUiccCardApplication.java20 import android.os.AsyncResult;
228 private void onQueryFdnEnabled(AsyncResult ar) {
253 private void onChangeFdnDone(AsyncResult ar) {
267 AsyncResult.forMessage(response).exception = ar.exception;
283 private void onQueryFacilityLock(AsyncResult ar) {
333 private void onChangeFacilityLock(AsyncResult ar) {
346 AsyncResult.forMessage(response).exception = ar.exception;
355 private int parsePinPukErrorResult(AsyncResult ar) {
373 AsyncResult ar;
388 ar = (AsyncResult)ms
[all...]
H A DSIMRecords.java21 import android.os.AsyncResult;
320 * onComplete.obj will be an AsyncResult
321 * ((AsyncResult)onComplete.obj).exception == null on success
322 * ((AsyncResult)onComplete.obj).exception != null on fail
372 * onComplete.obj will be an AsyncResult
373 * ((AsyncResult)onComplete.obj).exception == null on success
374 * ((AsyncResult)onComplete.obj).exception != null on fail
380 AsyncResult.forMessage((onComplete)).exception =
404 AsyncResult.forMessage((onComplete)).exception =
632 AsyncResult a
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSubscriptionSourceManager.java24 import android.os.AsyncResult;
111 AsyncResult ar;
117 ar = (AsyncResult) msg.obj;
127 ar = (AsyncResult)msg.obj;
182 * @param ar AsyncResult object that contains the result of get CDMA
185 private void handleGetCdmaSubscriptionSource(AsyncResult ar) {
195 mCdmaSubscriptionSourceChangedRegistrants.notifyRegistrants(new AsyncResult(null,
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCarrierActionAgentTest.java29 import android.os.AsyncResult;
121 assertEquals(false, ((AsyncResult) message.getValue().obj).result);
124 assertEquals(false, ((AsyncResult) message.getValue().obj).result);
135 assertEquals(true, ((AsyncResult) message.getValue().obj).result);
139 assertEquals(true, ((AsyncResult) message.getValue().obj).result);
164 assertEquals(false, ((AsyncResult) message.getValue().obj).result);
168 assertEquals(false, ((AsyncResult) message.getValue().obj).result);
177 assertEquals(true, ((AsyncResult) message.getValue().obj).result);
181 assertEquals(true, ((AsyncResult) message.getValue().obj).result);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
H A DCloseLogicalChannelInvocation.java19 import android.os.AsyncResult;
50 protected Boolean parseResult(AsyncResult ar) {
H A DOpenLogicalChannelInvocation.java19 import android.os.AsyncResult;
52 protected IccOpenLogicalChannelResponse parseResult(AsyncResult ar) {
H A DTransmitApduLogicalChannelInvocation.java19 import android.os.AsyncResult;
55 protected IccIoResult parseResult(AsyncResult ar) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneBase.java21 import android.os.AsyncResult;
83 AsyncResult result = new AsyncResult(null, Boolean.TRUE, null);
89 AsyncResult result = new AsyncResult(null, Boolean.FALSE, null);
111 mOnHoldRegistrants.notifyRegistrants(new AsyncResult(null, result, null));
121 mOnHoldRegistrants.notifyRegistrants(new AsyncResult(null, result, null));
135 AsyncResult result = new AsyncResult(null, Integer.valueOf(mode), null);
378 AsyncResult
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/
H A DLogicalChannelMocker.java25 import android.os.AsyncResult;
53 AsyncResult.forMessage(msg, responseInts, exception);
87 AsyncResult.forMessage(msg, result, exception);
99 AsyncResult.forMessage(msg);

Completed in 181 milliseconds

1234