Home
last modified time | relevance | path

Searched refs:pendingResult (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsSender.java220 final SendResult pendingResult = new SendResult(messages.size()); in sendMessage() local
221 sPendingMessageMap.put(messageUri, pendingResult); in sendMessage()
226 synchronized (pendingResult) { in sendMessage()
235 while (pendingResult.hasPending() && waitTime > 0) { in sendMessage()
237 pendingResult.wait(waitTime); in sendMessage()
248 "dest=" + dest + " message=" + message + " result=" + pendingResult); in sendMessage()
250 return pendingResult; in sendMessage()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogReceiver.java41 PendingResult pendingResult = goAsync(); in onReceive() local
42 VisualVoicemailUpdateTask.scheduleTask(context, pendingResult::finish); in onReceive()
44 PendingResult pendingResult = goAsync(); in onReceive() local
45 VisualVoicemailUpdateTask.scheduleTask(context, pendingResult::finish); in onReceive()
DMissedCallNotificationReceiver.java54 PendingResult pendingResult = goAsync(); in onReceive() local
63 pendingResult.finish(); in onReceive()
70 pendingResult.finish(); in onReceive()
/packages/apps/Messaging/src/android/support/v7/mms/
DDownloadRequest.java107 final Future<Boolean> pendingResult = in writePduToContentUri() local
110 return pendingResult.get(TASK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in writePduToContentUri()
113 pendingResult.cancel(true); in writePduToContentUri()
DSendRequest.java139 final Future<byte[]> pendingResult = mPduTransferExecutor.submit(copyPduToArray); in readPduFromContentUri() local
141 return pendingResult.get(TASK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in readPduFromContentUri()
144 pendingResult.cancel(true); in readPduFromContentUri()
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java823 final Future<byte[]> pendingResult = mPduTransferExecutor.submit(copyPduToArray); in readPduFromContentUri() local
825 return pendingResult.get(TASK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in readPduFromContentUri()
828 pendingResult.cancel(true); in readPduFromContentUri()
866 final Future<Boolean> pendingResult = in writePduToContentUri() local
869 return pendingResult.get(TASK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in writePduToContentUri()
872 pendingResult.cancel(true); in writePduToContentUri()