Home
last modified time | relevance | path

Searched refs:ResultCode (Results 1 – 24 of 24) sorted by relevance

/external/ims/rcs/rcsservice/src/com/android/service/ims/
DRcsUtils.java31 import com.android.ims.ResultCode;
39 return ResultCode.SUCCESS; in statusCodeToResultCode()
43 return ResultCode.SUBSCRIBE_INVALID_PARAM; in statusCodeToResultCode()
47 return ResultCode.SUBSCRIBE_FETCH_ERROR; in statusCodeToResultCode()
51 return ResultCode.SUBSCRIBE_REQUEST_TIMEOUT; in statusCodeToResultCode()
55 return ResultCode.SUBSCRIBE_INSUFFICIENT_MEMORY; in statusCodeToResultCode()
59 return ResultCode.SUBSCRIBE_LOST_NETWORK; in statusCodeToResultCode()
63 return ResultCode.SUBSCRIBE_NOT_SUPPORTED; in statusCodeToResultCode()
67 return ResultCode.SUBSCRIBE_NOT_FOUND; in statusCodeToResultCode()
73 return ResultCode.SUBSCRIBE_GENERIC; in statusCodeToResultCode()
[all …]
DRcsStackAdaptor.java51 import com.android.ims.ResultCode;
228 return ResultCode.ERROR_SERVICE_NOT_ENABLED; in getStackStatusForCapabilityRequest()
232 if (ret != ResultCode.SUCCESS) { in getStackStatusForCapabilityRequest()
239 return ResultCode.ERROR_SERVICE_NOT_PUBLISHED; in getStackStatusForCapabilityRequest()
242 return ResultCode.SUCCESS; in getStackStatusForCapabilityRequest()
281 return ResultCode.ERROR_SERVICE_NOT_ENABLED; in checkStackStatus()
288 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE; in checkStackStatus()
293 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE; in checkStackStatus()
298 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE; in checkStackStatus()
303 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE; in checkStackStatus()
[all …]
DRcsService.java59 import com.android.ims.ResultCode;
390 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE;
411 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE;
434 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE;
/external/ims/rcs/rcsmanager/src/java/com/android/ims/
DResultCode.java31 public class ResultCode { class
168 public static final int PUBLISH_GENERIC_FAILURE = ResultCode.SUBSCRIBER_ERROR_CODE_END - 1;
174 = ResultCode.SUBSCRIBER_ERROR_CODE_END - 2;
180 public static final int PUBLISH_NOT_PROVISIONED = ResultCode.SUBSCRIBER_ERROR_CODE_END - 3;
182 public static final int PUBLISH_NOT_REGISTERED = ResultCode.SUBSCRIBER_ERROR_CODE_END - 4;
184 public static final int PUBLISH_FORBIDDEN = ResultCode.SUBSCRIBER_ERROR_CODE_END - 5;
186 public static final int PUBLISH_NOT_FOUND = ResultCode.SUBSCRIBER_ERROR_CODE_END - 6;
188 public static final int PUBLISH_REQUEST_TIMEOUT = ResultCode.SUBSCRIBER_ERROR_CODE_END - 7;
190 public static final int PUBLISH_TOO_LARGE = ResultCode.SUBSCRIBER_ERROR_CODE_END - 8;
192 public static final int PUBLISH_TOO_SHORT = ResultCode.SUBSCRIBER_ERROR_CODE_END - 9;
[all …]
DRcsPresence.java197 int ret = ResultCode.ERROR_SERVICE_NOT_AVAILABLE; in requestCapability()
203 ResultCode.ERROR_SERVICE_NOT_AVAILABLE); in requestCapability()
243 int ret = ResultCode.ERROR_SERVICE_NOT_AVAILABLE; in requestAvailability()
249 ResultCode.ERROR_SERVICE_NOT_AVAILABLE); in requestAvailability()
271 int ret = ResultCode.ERROR_SERVICE_NOT_AVAILABLE; in requestAvailabilityNoThrottle()
277 ResultCode.ERROR_SERVICE_NOT_AVAILABLE); in requestAvailabilityNoThrottle()
295 ResultCode.ERROR_SERVICE_NOT_AVAILABLE); in getPublishState()
DRcsManager.java178 ResultCode.ERROR_SERVICE_NOT_AVAILABLE); in getRcsPresenceInterface()
183 ResultCode.ERROR_SERVICE_NOT_AVAILABLE); in getRcsPresenceInterface()
200 ResultCode.ERROR_SERVICE_NOT_AVAILABLE); in checkAndThrowExceptionIfServiceUnavailable()
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresenceSubscriber.java39 import com.android.ims.ResultCode;
134 return ResultCode.SUBSCRIBE_NOT_REGISTERED; in requestCapability()
140 return ResultCode.ERROR_SERVICE_NOT_ENABLED; in requestCapability()
144 if (ret < ResultCode.SUCCESS) { in requestCapability()
150 ret = ResultCode.SUBSCRIBE_INVALID_PARAM; in requestCapability()
156 ret = ResultCode.SUBSCRIBE_TOO_LARGE; in requestCapability()
165 return ResultCode.SUBSCRIBE_INVALID_PARAM; in requestCapability()
189 if(ret < ResultCode.SUCCESS) { in requestCapability()
211 return ResultCode.ERROR_SERVICE_NOT_ENABLED; in requestAvailability()
230 return ResultCode.SUBSCRIBE_ALREADY_IN_QUEUE; in requestAvailability()
[all …]
DPresenceBase.java36 import com.android.ims.ResultCode;
116 if(resultCode >= ResultCode.SUCCESS){ in handleCallback()
128 if (resultCode != ResultCode.SUCCESS) { in handleCallback()
160 (resultCode == ResultCode.SUCCESS)){ in handleCallback()
DPresencePublication.java54 import com.android.ims.ResultCode;
926 if (ret != ResultCode.SUCCESS) { in doPublish()
931 mHasCachedTrigger = (ret == ResultCode.ERROR_SERVICE_NOT_AVAILABLE); in doPublish()
/external/perfetto/src/trace_processor/importers/proto/
Dproto_trace_tokenizer.cc39 using ResultCode = GzipDecompressor::ResultCode; in Decompress() typedef
40 for (auto ret = ResultCode::kOk; ret != ResultCode::kEof;) { in Decompress()
43 if (ret == ResultCode::kError || ret == ResultCode::kNoProgress || in Decompress()
44 ret == ResultCode::kNeedsMoreInput) { in Decompress()
/external/perfetto/src/trace_processor/importers/gzip/
Dgzip_trace_parser.cc32 using ResultCode = GzipDecompressor::ResultCode; typedef
79 for (auto ret = ResultCode::kOk; ret != ResultCode::kEof;) { in ParseUnowned()
89 if (ret == ResultCode::kError || ret == ResultCode::kNoProgress) in ParseUnowned()
92 if (ret == ResultCode::kNeedsMoreInput) { in ParseUnowned()
99 if (bytes_written_ == kUncompressedBufferSize || ret == ResultCode::kEof) in ParseUnowned()
Dgzip_utils.cc84 return Result{ResultCode::kNeedsMoreInput, 0}; in Decompress()
96 return Result{ResultCode::kError, 0}; in Decompress()
98 return Result{ResultCode::kEof, out_size - z_stream_->avail_out}; in Decompress()
100 return Result{ResultCode::kNoProgress, 0}; in Decompress()
102 return Result{ResultCode::kOk, out_size - z_stream_->avail_out}; in Decompress()
107 return Result{ResultCode::kError, 0}; in Decompress()
Dgzip_utils.h37 enum class ResultCode { enum
46 ResultCode ret;
/external/llvm-project/llvm/utils/lit/lit/
DTest.py9 class ResultCode(object): class
17 return ResultCode._all_codes
26 cls._instances[name] = res = super(ResultCode, cls).__new__(cls)
36 ResultCode._all_codes.append(self)
44 EXCLUDED = ResultCode('EXCLUDED', 'Excluded', False)
45 SKIPPED = ResultCode('SKIPPED', 'Skipped', False)
46 UNSUPPORTED = ResultCode('UNSUPPORTED', 'Unsupported', False)
47 PASS = ResultCode('PASS', 'Passed', False)
48 FLAKYPASS = ResultCode('FLAKYPASS', 'Passed With Retry', False)
49 XFAIL = ResultCode('XFAIL', 'Expectedly Failed', False)
[all …]
Dmain.py268 tests_by_code = {code: [] for code in lit.Test.ResultCode.all_codes()}
272 for code in lit.Test.ResultCode.all_codes():
294 codes = [c for c in lit.Test.ResultCode.all_codes()
Dcl_arguments.py72 success_codes = [c for c in lit.Test.ResultCode.all_codes()
/external/skia/src/sksl/
DSkSLMain.cpp43 enum class ResultCode { enum
256 ResultCode processCommand(std::vector<SkSL::String>& args) { in processCommand()
268 return ResultCode::kInputError; in processCommand()
272 return ResultCode::kInputError; in processCommand()
292 return ResultCode::kInputError; in processCommand()
300 return ResultCode::kInputError; in processCommand()
307 return ResultCode::kInputError; in processCommand()
323 auto compileProgram = [&](const auto& writeFn) -> ResultCode { in processCommand()
328 return ResultCode::kOutputError; in processCommand()
333 return ResultCode::kCompileError; in processCommand()
[all …]
/external/llvm/utils/lit/lit/
DTest.py7 class ResultCode(object): class
16 cls._instances[name] = res = super(ResultCode, cls).__new__(cls)
29 PASS = ResultCode('PASS', False)
30 FLAKYPASS = ResultCode('FLAKYPASS', False)
31 XFAIL = ResultCode('XFAIL', False)
32 FAIL = ResultCode('FAIL', True)
33 XPASS = ResultCode('XPASS', True)
34 UNRESOLVED = ResultCode('UNRESOLVED', True)
35 UNSUPPORTED = ResultCode('UNSUPPORTED', False)
36 TIMEOUT = ResultCode('TIMEOUT', True)
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DPollingAction.java39 import com.android.ims.ResultCode;
121 mResult = ResultCode.SUBSCRIBE_NOT_FOUND; in doInBackground()
134 mResult = ResultCode.ERROR_SERVICE_NOT_AVAILABLE; in doInBackground()
150 mResult = ResultCode.SUCCESS; in doInBackground()
161 if (mResult == ResultCode.SUCCESS) { in doInBackground()
190 if (ResultCode.SUBSCRIBE_TEMPORARY_ERROR == mResult) { in doInBackground()
/external/perfetto/src/trace_processor/
Dread_trace.cc229 using ResultCode = GzipDecompressor::ResultCode; in DecompressTrace() typedef
231 for (auto ret = ResultCode::kOk; ret != ResultCode::kEof;) { in DecompressTrace()
234 if (ret == ResultCode::kError || ret == ResultCode::kNoProgress || in DecompressTrace()
235 ret == ResultCode::kNeedsMoreInput) { in DecompressTrace()
/external/llvm-project/llvm/utils/lit/tests/Inputs/custom-result-category/
Dformat.py4 CUSTOM_PASS = lit.Test.ResultCode('CUSTOM_PASS', 'My Passed', False)
5 CUSTOM_FAILURE = lit.Test.ResultCode('CUSTOM_FAILURE', 'My Failed', True)
/external/nos/host/generic/nugget/proto/nugget/app/identity/
Didentity_defs.proto22 * The ResultCode enumeration is used to convey the status of an operation.
24 enum ResultCode { enum
Didentity_types.proto25 ResultCode result_code = 1;
/external/ims/rcs/rcsmanager/
DAndroid.bp63 "src/java/com/android/ims/ResultCode.java",