Searched refs:pendingResult (Results 1 – 6 of 6) sorted by relevance
220 final SendResult pendingResult = new SendResult(messages.size()); in sendMessage() local221 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()
41 PendingResult pendingResult = goAsync(); in onReceive() local42 VisualVoicemailUpdateTask.scheduleTask(context, pendingResult::finish); in onReceive()44 PendingResult pendingResult = goAsync(); in onReceive() local45 VisualVoicemailUpdateTask.scheduleTask(context, pendingResult::finish); in onReceive()
54 PendingResult pendingResult = goAsync(); in onReceive() local63 pendingResult.finish(); in onReceive()70 pendingResult.finish(); in onReceive()
107 final Future<Boolean> pendingResult = in writePduToContentUri() local110 return pendingResult.get(TASK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in writePduToContentUri()113 pendingResult.cancel(true); in writePduToContentUri()
139 final Future<byte[]> pendingResult = mPduTransferExecutor.submit(copyPduToArray); in readPduFromContentUri() local141 return pendingResult.get(TASK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in readPduFromContentUri()144 pendingResult.cancel(true); in readPduFromContentUri()
823 final Future<byte[]> pendingResult = mPduTransferExecutor.submit(copyPduToArray); in readPduFromContentUri() local825 return pendingResult.get(TASK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in readPduFromContentUri()828 pendingResult.cancel(true); in readPduFromContentUri()866 final Future<Boolean> pendingResult = in writePduToContentUri() local869 return pendingResult.get(TASK_TIMEOUT_MS, TimeUnit.MILLISECONDS); in writePduToContentUri()872 pendingResult.cancel(true); in writePduToContentUri()