Home
last modified time | relevance | path

Searched refs:resultCode (Results 1 – 25 of 40) sorted by relevance

12

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DActivityResultFacade.java53 @RpcParameter(name = "resultCode", description = sCodeDescription) Integer resultCode, in setResultBoolean()
57 mResultCode = resultCode; in setResultBoolean()
65 @RpcParameter(name = "resultCode", description = sCodeDescription) Integer resultCode, in setResultByte()
69 mResultCode = resultCode; in setResultByte()
77 @RpcParameter(name = "resultCode", description = sCodeDescription) Integer resultCode, in setResultShort()
81 mResultCode = resultCode; in setResultShort()
89 @RpcParameter(name = "resultCode", description = sCodeDescription) Integer resultCode, in setResultChar()
93 mResultCode = resultCode; in setResultChar()
101 @RpcParameter(name = "resultCode", description = sCodeDescription) Integer resultCode, in setResultInteger()
105 mResultCode = resultCode; in setResultInteger()
[all …]
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
DPresenceBase.java109 protected void handleCallback(Task task, int resultCode, boolean forCmdStatus) { in handleCallback() argument
116 if(resultCode >= ResultCode.SUCCESS){ in handleCallback()
121 task.mListener.onError(task.mTaskId, resultCode); in handleCallback()
128 if (resultCode != ResultCode.SUCCESS) { in handleCallback()
132 if(resultCode == PUBLISH_STATE_VOLTE_PROVISION_ERROR) { in handleCallback()
160 (resultCode == ResultCode.SUCCESS)){ in handleCallback()
173 public void onCommandStatusUpdated(int taskId, int requestId, int resultCode) { in onCommandStatusUpdated() argument
177 task.mCmdStatus = resultCode; in onCommandStatusUpdated()
181 handleCallback(task, resultCode, true); in onCommandStatusUpdated()
DPresenceSubscriber.java530 public void onCommandStatusUpdated(int taskId, int requestId, int resultCode) { in onCommandStatusUpdated() argument
532 logger.print("handleCmdStatus resultCode=" + resultCode); in onCommandStatusUpdated()
537 task.mCmdStatus = resultCode; in onCommandStatusUpdated()
542 if(resultCode != ResultCode.SUCCESS && task.mContacts != null){ in onCommandStatusUpdated()
547 handleCallback(task, resultCode, true); in onCommandStatusUpdated()
DContactCapabilityResponse.java53 void onError(int reqId, int resultCode); in onError() argument
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowInputMethodManagerTest.java53 assertThat(resultReceiver.resultCode).isEqualTo(InputMethodManager.RESULT_HIDDEN); in hideSoftInputFromWindow_shouldNotifiyResult_hidden()
61 assertThat(resultReceiver.resultCode).isEqualTo(InputMethodManager.RESULT_UNCHANGED_HIDDEN); in hideSoftInputFromWindow_shouldNotifiyResult_alreadHidden()
88 private int resultCode = -1; field in ShadowInputMethodManagerTest.CapturingResultReceiver
95 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument
96 super.onReceiveResult(resultCode, resultData); in onReceiveResult()
97 this.resultCode = resultCode; in onReceiveResult()
DShadowResultReceiverTest.java20 assertEquals(5, testResultReceiver.resultCode); in callingSend_shouldCallOverridenOnReceiveResultWithTheSameArguments()
25 int resultCode; field in ShadowResultReceiverTest.TestResultReceiver
33 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument
34 this.resultCode = resultCode; in onReceiveResult()
/external/deqp/android/package/src/com/drawelements/deqp/platformutil/
DDeqpPlatformCapabilityQueryInstrumentation.java59 int resultCode = 0; in onStart() local
71 resultCode = 2; in onStart()
78 resultCode = 1; in onStart()
81 finish(resultCode, resultInfo); in onStart()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBroadcastPendingResult.java22 …static BroadcastReceiver.PendingResult create(int resultCode, String resultData, Bundle resultExtr… in create() argument
28 resultCode, in create()
39 resultCode, in create()
50 resultCode, in create()
DShadowInputMethodManager.java61 int resultCode; in hideSoftInputFromWindow() local
64 resultCode = InputMethodManager.RESULT_HIDDEN; in hideSoftInputFromWindow()
66 resultCode = InputMethodManager.RESULT_UNCHANGED_HIDDEN; in hideSoftInputFromWindow()
70 resultReceiver.send(resultCode, null); in hideSoftInputFromWindow()
DShadowActivity.java57 private int resultCode; field in ShadowActivity
331 protected final void setResult(int resultCode) { in setResult() argument
332 this.resultCode = resultCode; in setResult()
336 protected final void setResult(int resultCode, Intent data) { in setResult() argument
337 this.resultCode = resultCode; in setResult()
480 return resultCode; in getResultCode()
572 public void callOnActivityResult(int requestCode, int resultCode, Intent resultData) { in callOnActivityResult() argument
576 .with(requestCode, resultCode, resultData); in callOnActivityResult()
601 public void receiveResult(Intent requestIntent, int resultCode, Intent resultIntent) { in receiveResult() argument
606 callOnActivityResult(requestCode, resultCode, resultIntent); in receiveResult()
DShadowResultReceiver.java16 protected void send(int resultCode, android.os.Bundle resultData) { in send() argument
18 ClassParameter.from(Integer.TYPE, resultCode), in send()
DShadowInstrumentation.java347 broadcastResultHolder.resultCode, in postIntent()
742 private final int resultCode;
746 private BroadcastResultHolder(int resultCode, String resultData, Bundle resultExtras) {
747 this.resultCode = resultCode;
/external/setupcompat/main/java/com/google/android/setupcompat/util/
DWizardManagerHelper.java83 public static Intent getNextIntent(Intent originalIntent, int resultCode) { in getNextIntent() argument
84 return getNextIntent(originalIntent, resultCode, null); in getNextIntent()
97 public static Intent getNextIntent(Intent originalIntent, int resultCode, Intent data) { in getNextIntent() argument
100 intent.putExtra(EXTRA_RESULT_CODE, resultCode); in getNextIntent()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DSmsFacade.java507 int resultCode = getResultCode(); in onReceive() local
508 event.putString("ResultCode", Integer.toString(resultCode)); in onReceive()
511 if (resultCode == Activity.RESULT_OK) { in onReceive()
525 if (resultCode == Activity.RESULT_OK) { in onReceive()
536 String resultString = getSmsFailureReason(resultCode); in onReceive()
539 resultCode) + resultString); in onReceive()
590 int resultCode = getResultCode(); in onReceive() local
591 event.putString("ResultCode", Integer.toString(resultCode)); in onReceive()
594 if (resultCode == Activity.RESULT_OK) { in onReceive()
623 String resultString = getMmsFailureReason(resultCode); in onReceive()
[all …]
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
Dtcp-server.js142 TcpServer.prototype._onListenComplete = function(resultCode) { argument
143 if (resultCode !==0) {
144 error('Unable to listen to socket. Resultcode='+resultCode);
168 error('Unable to accept incoming connection. Error code=' + info.resultCode);
/external/skia/src/sksl/
DSkSLMain.cpp510 auto resultCode = ResultCode::kSuccess; in processWorklist() local
526 resultCode = std::max(resultCode, outcome); in processWorklist()
537 resultCode = std::max(resultCode, outcome); in processWorklist()
543 return resultCode; in processWorklist()
/external/sl4a/Common/src/com/googlecode/android_scripting/activity/
DFutureActivity.java138 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
140 mTask.onActivityResult(requestCode, resultCode, data); in onActivityResult()
/external/skqp/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieActivity.java258 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
259 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
260 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
/external/ims/rcs/rcsmanager/src/java/com/android/ims/
DIRcsPresenceListener.aidl71 void onError(in int reqId, in int resultCode); in onError() argument
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/
DPreviewFragment.kt100 override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { in <lambda>()
101 if (resultCode != Activity.RESULT_OK) return in <lambda>()
/external/skia/platform_tools/android/apps/skottie/src/main/java/org/skia/skottie/
DSkottieActivity.java281 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
282 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
283 if (resultCode == Activity.RESULT_OK) { in onActivityResult()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DApiBrowser.java243 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
244 super.onActivityResult(requestCode, resultCode, data); in onActivityResult()
246 if (resultCode == RESULT_OK) { in onActivityResult()
DTriggerManager.java184 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
185 if (resultCode == RESULT_OK) { in onActivityResult()
/external/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/SDK/Scripts/
DInterpreter.cs160 private static void ThrowIfError(int resultCode) { in ThrowIfError() argument
161 if (resultCode != 0) throw new Exception("TensorFlowLite operation failed."); in ThrowIfError()
/external/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DGlitchActivity.java63 String stateToString(int resultCode) { in stateToString() argument
64 switch (resultCode) { in stateToString()

12