Home
last modified time | relevance | path

Searched refs:SendResult (Results 1 – 3 of 3) sorted by relevance

/packages/modules/adb/client/
Dincremental_server.cpp238 enum class SendResult { Sent, Skipped, Error }; enum in incremental::IncrementalServer
239 SendResult SendDataBlock(FileId fileId, BlockIdx blockIdx, bool flush = false);
410 auto IncrementalServer::SendDataBlock(FileId fileId, BlockIdx blockIdx, bool flush) -> SendResult { in SendDataBlock()
415 return SendResult::Skipped; in SendDataBlock()
418 return SendResult::Skipped; in SendDataBlock()
422 return SendResult::Error; in SendDataBlock()
431 return SendResult::Error; in SendDataBlock()
462 return SendResult::Sent; in SendDataBlock()
488 res == SendResult::Sent) { in RunPrefetching()
490 } else if (res == SendResult::Error) { in RunPrefetching()
[all …]
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsSender.java62 private static ConcurrentHashMap<Uri, SendResult> sPendingMessageMap =
63 new ConcurrentHashMap<Uri, SendResult>();
70 public static class SendResult { class in SmsSender
83 public SendResult(final int numOfParts) { in SendResult() method in SmsSender.SendResult
154 final SendResult result = sPendingMessageMap.get(requestId); in setResult()
180 public static SendResult sendMessage(final Context context, final int subId, String dest, in sendMessage()
217 final SendResult pendingResult = new SendResult(messages.size()); in sendMessage()
DMmsUtils.java67 import com.android.messaging.sms.SmsSender.SendResult;
2471 final SendResult result = SmsSender.sendMessage(
2483 case SendResult.FAILURE_LEVEL_NONE:
2486 case SendResult.FAILURE_LEVEL_TEMPORARY:
2490 case SendResult.FAILURE_LEVEL_PERMANENT: