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

123

/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.java65 notifyRegistrant(AsyncResult ar)
82 msg.obj = new AsyncResult(userObj, result, exception);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DAdnRecordCache.java19 import android.os.AsyncResult;
82 AsyncResult ar = new AsyncResult(null, null, new RuntimeException("AdnCache reset"));
126 AsyncResult.forMessage(response).exception = e;
260 AsyncResult.forMessage(response).result = result;
291 AsyncResult.forMessage(response).exception
306 notifyWaiters(ArrayList<Message> waiters, AsyncResult ar) {
315 AsyncResult.forMessage(waiter, ar.result, ar.exception);
324 AsyncResult ar;
330 ar = (AsyncResult) ms
[all...]
H A DAdnRecordLoader.java21 import android.os.AsyncResult;
132 AsyncResult ar;
139 ar = (AsyncResult)(msg.obj);
172 ar = (AsyncResult)(msg.obj);
181 ar = (AsyncResult)(msg.obj);
212 ar = (AsyncResult)(msg.obj);
233 ar = (AsyncResult)(msg.obj);
264 AsyncResult.forMessage(userResponse)
275 AsyncResult.forMessage(userResponse).result
H A DSmsStorageMonitor.java23 import android.os.AsyncResult;
99 AsyncResult ar;
107 ar = (AsyncResult) msg.obj;
H A DIccPhoneBookInterfaceManager.java20 import android.os.AsyncResult;
54 AsyncResult ar;
58 ar = (AsyncResult) msg.obj;
73 ar = (AsyncResult) msg.obj;
80 ar = (AsyncResult)msg.obj;
96 private void notifyPending(AsyncResult ar) {
H A DIccRecords.java20 import android.os.AsyncResult;
105 void onRecordLoaded(AsyncResult ar);
143 r.notifyRegistrant(new AsyncResult(null, null, null));
159 r.notifyRegistrant(new AsyncResult(null, null, null));
226 * onComplete.obj will be an AsyncResult
227 * ((AsyncResult)onComplete.obj).exception == null on success
228 * ((AsyncResult)onComplete.obj).exception != null on fail
281 * onComplete.obj will be an AsyncResult
282 * ((AsyncResult)onComplete.obj).exception == null on success
283 * ((AsyncResult)onComplet
[all...]
H A DUiccCardApplication.java20 import android.os.AsyncResult;
207 private void onQueryFdnEnabled(AsyncResult ar) {
224 private void onChangeFdnDone(AsyncResult ar) {
234 AsyncResult.forMessage(response).exception = ar.exception;
250 private void onQueryFacilityLock(AsyncResult ar) {
296 private void onChangeFacilityLock(AsyncResult ar) {
305 AsyncResult.forMessage(((Message)ar.userObj)).exception = ar.exception;
313 AsyncResult ar;
323 ar = (AsyncResult)msg.obj;
327 ar = (AsyncResult)ms
[all...]
H A DIccFileHandler.java145 * ((AsyncResult)(onLoaded.obj)).result is the byte[]
163 * ((AsyncResult)(onLoaded.obj)).result is the byte[]
200 * ((AsyncResult)(onLoaded.obj)).result is an ArrayList<byte[]>
217 * ((AsyncResult)(onLoaded.obj)).result is the byte[]
236 * ((AsyncResult)(onLoaded.obj)).result is the byte[]
254 * ((AsyncResult)(onLoaded.obj)).result is the byte[]
281 * @param onComplete onComplete.obj will be an AsyncResult
313 AsyncResult.forMessage(response, result, ex);
321 AsyncResult ar;
338 ar = (AsyncResult) ms
[all...]
H A DCallTracker.java19 import android.os.AsyncResult;
92 protected abstract void handlePollCalls(AsyncResult ar);
H A DDataConnection.java30 import android.os.AsyncResult;
57 * hen the operation completes. The <code>msg.obj</code> will contain an AsyncResult
58 * object and <code>AsyncResult.userObj</code> is the original <code>msg.obj</code>. if successful
59 * with the <code>AsyncResult.result == null</code> and <code>AsyncResult.exception == null</code>.
60 * If an error <code>AsyncResult.result = FailCause</code> and
61 * <code>AsyncResult.exception = new Exception()</code>.
312 * @param o will be returned in AsyncResult.userObj
331 AsyncResult ar = new AsyncResult(
[all...]
H A DCallManager.java23 import android.os.AsyncResult;
1084 * <ul><li>Message.obj will be an AsyncResult</li>
1085 * <li>AsyncResult.userObj = obj</li>
1086 * <li>AsyncResult.result = a Connection object that is
1106 * Resulting events will have an AsyncResult in <code>Message.obj</code>.
1107 * AsyncResult.userData will be set to the obj argument here.
1142 * Message.obj will be an AsyncResult
1143 * AsyncResult.userObj = obj
1144 * AsyncResult.result = a Connection. <p>
1167 * Message.obj will be an AsyncResult
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSIMRecords.java23 import android.os.AsyncResult;
273 * onComplete.obj will be an AsyncResult
274 * ((AsyncResult)onComplete.obj).exception == null on success
275 * ((AsyncResult)onComplete.obj).exception != null on fail
320 * onComplete.obj will be an AsyncResult
321 * ((AsyncResult)onComplete.obj).exception == null on success
322 * ((AsyncResult)onComplete.obj).exception != null on fail
327 AsyncResult.forMessage((onComplete)).exception =
351 AsyncResult.forMessage((onComplete)).exception =
529 AsyncResult a
[all...]
H A DSimSmsInterfaceManager.java21 import android.os.AsyncResult;
70 AsyncResult ar;
74 ar = (AsyncResult) msg.obj;
81 ar = (AsyncResult)msg.obj;
95 ar = (AsyncResult) msg.obj;
H A DGSMPhone.java24 import android.os.AsyncResult;
722 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null));
735 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null));
746 mMmiRegistrants.notifyRegistrants(new AsyncResult(null, mmi, null));
1088 new AsyncResult(null, mmi, null));
1096 new AsyncResult(null, mmi, null));
1161 AsyncResult ar;
1196 ar = (AsyncResult)msg.obj;
1207 ar = (AsyncResult)msg.obj;
1217 ar = (AsyncResult)ms
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaSubscriptionSourceManager.java25 import android.os.AsyncResult;
107 AsyncResult ar;
113 ar = (AsyncResult) msg.obj;
158 * @param ar AsyncResult object that contains the result of get CDMA
161 private void handleGetCdmaSubscriptionSource(AsyncResult ar) {
171 mCdmaSubscriptionSourceChangedRegistrants.notifyRegistrants(new AsyncResult(null,
H A DRuimRecords.java29 import android.os.AsyncResult;
173 AsyncResult.forMessage((onComplete)).exception =
231 public void onRecordLoaded(AsyncResult ar) {
243 public void onRecordLoaded(AsyncResult ar) {
269 public void onRecordLoaded(AsyncResult ar) {
323 public void onRecordLoaded(AsyncResult ar) {
338 public void onRecordLoaded(AsyncResult ar) {
373 public void onRecordLoaded(AsyncResult ar) {
404 public void onRecordLoaded(AsyncResult ar) {
409 private void onGetCSimEprlDone(AsyncResult a
[all...]
H A DRuimSmsInterfaceManager.java21 import android.os.AsyncResult;
57 AsyncResult ar;
61 ar = (AsyncResult) msg.obj;
68 ar = (AsyncResult)msg.obj;
H A DCDMALTEPhone.java24 import android.os.AsyncResult;
82 AsyncResult ar;
86 handleSetSelectNetwork((AsyncResult) msg.obj);
89 ar = (AsyncResult)msg.obj;
176 private void handleSetSelectNetwork(AsyncResult ar) {
190 AsyncResult.forMessage(nsm.message, ar.result, ar.exception);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java19 import android.os.AsyncResult;
116 AsyncResult.forMessage(result, null, ex);
128 AsyncResult.forMessage(result, null, null);
147 AsyncResult.forMessage(result, null, ex);
158 AsyncResult.forMessage(result, null, ex);
170 AsyncResult.forMessage(result, null, null);
189 AsyncResult.forMessage(result, null, ex);
200 AsyncResult.forMessage(result, null, ex);
211 AsyncResult.forMessage(result, null, null);
230 AsyncResult
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccController.java20 import android.os.AsyncResult;
184 AsyncResult ar = (AsyncResult)msg.obj;
202 private synchronized void onGetIccCardStatusDone(AsyncResult ar) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhoneBase.java21 import android.os.AsyncResult;
107 AsyncResult result = new AsyncResult(null, Boolean.TRUE, null);
112 AsyncResult result = new AsyncResult(null, Boolean.FALSE, null);
309 AsyncResult.forMessage(onComplete, null, null);
316 AsyncResult.forMessage(onComplete, null, null);
330 AsyncResult.forMessage(onComplete, null, null);
337 AsyncResult.forMessage(onComplete, null, null);
342 AsyncResult
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DIconLoader.java23 import android.os.AsyncResult;
132 AsyncResult ar;
137 ar = (AsyncResult) msg.obj;
145 ar = (AsyncResult) msg.obj;
157 ar = (AsyncResult) msg.obj;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
H A DIsimUiccRecords.java20 import android.os.AsyncResult;
133 public void onRecordLoaded(AsyncResult ar) {
144 public void onRecordLoaded(AsyncResult ar) {
161 public void onRecordLoaded(AsyncResult ar) {
203 new AsyncResult(null, null, null));
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGSMPhoneTest.java19 import android.os.AsyncResult;
99 state = (ServiceState) ((AsyncResult) msg.obj).result;
138 AsyncResult ar;
309 ar = (AsyncResult) msg.obj;
601 ar = (AsyncResult) msg.obj;
1361 AsyncResult ar;
1368 ar = (AsyncResult) (msg.obj);
1377 ar = (AsyncResult) (msg.obj);
1384 ar = (AsyncResult) (msg.obj);
1391 ar = (AsyncResult) (ms
[all...]

Completed in 3132 milliseconds

123