Home
last modified time | relevance | path

Searched refs:resultCode (Results 1 – 25 of 33) 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.java66 protected void handleCallback(Task task, int resultCode, boolean forCmdStatus){ in handleCallback() argument
74 if(resultCode >= ResultCode.SUCCESS){ in handleCallback()
79 task.mListener.onError(task.mTaskId, resultCode); in handleCallback()
89 if(resultCode != ResultCode.SUCCESS){ in handleCallback()
93 if(resultCode == PublishState.PUBLISH_STATE_VOLTE_PROVISION_ERROR) { in handleCallback()
121 (resultCode == ResultCode.SUCCESS)){ in handleCallback()
141 int resultCode = RcsUtils.statusCodeToResultCode(pCmdStatus.getStatus().getStatusCode()); in handleCmdStatus() local
144 task.mCmdStatus = resultCode; in handleCmdStatus()
148 handleCallback(task, resultCode, true); in handleCmdStatus()
DPresenceSubscriber.java553 int resultCode = RcsUtils.statusCodeToResultCode(pCmdStatus.getStatus().getStatusCode()); in handleCmdStatus() local
554 logger.print("handleCmdStatus resultCode=" + resultCode); in handleCmdStatus()
559 task.mCmdStatus = resultCode; in handleCmdStatus()
564 if(resultCode != ResultCode.SUCCESS && task.mContacts != null){ in handleCmdStatus()
569 handleCallback(task, resultCode, true); in handleCmdStatus()
/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/droiddriver/src/io/appium/droiddriver/actions/view/
DCloseKeyboardAction.java65 protected void onReceiveResult(int resultCode, Bundle resultData) { in perform()
66 resultCodeHolder.set(resultCode); in perform()
86 int resultCode = resultCodeHolder.get(); in perform() local
87 if (resultCode != InputMethodManager.RESULT_UNCHANGED_HIDDEN in perform()
88 && resultCode != InputMethodManager.RESULT_HIDDEN) { in perform()
90 + resultCode); in perform()
/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
293 protected final void setResult(int resultCode) { in setResult() argument
294 this.resultCode = resultCode; in setResult()
298 protected final void setResult(int resultCode, Intent data) { in setResult() argument
299 this.resultCode = resultCode; in setResult()
442 return resultCode; in getResultCode()
534 public void callOnActivityResult(int requestCode, int resultCode, Intent resultData) { in callOnActivityResult() argument
538 .with(requestCode, resultCode, resultData); in callOnActivityResult()
563 public void receiveResult(Intent requestIntent, int resultCode, Intent resultIntent) { in receiveResult() argument
568 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.java342 broadcastResultHolder.resultCode, in postIntent()
737 private final int resultCode;
741 private BroadcastResultHolder(int resultCode, String resultData, Bundle resultExtras) {
742 this.resultCode = resultCode;
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
DSmsFacade.java503 int resultCode = getResultCode(); in onReceive() local
504 event.putString("ResultCode", Integer.toString(resultCode)); in onReceive()
507 if (resultCode == Activity.RESULT_OK) { in onReceive()
521 if (resultCode == Activity.RESULT_OK) { in onReceive()
532 String resultString = getSmsFailureReason(resultCode); in onReceive()
535 resultCode) + resultString); in onReceive()
586 int resultCode = getResultCode(); in onReceive() local
587 event.putString("ResultCode", Integer.toString(resultCode)); in onReceive()
590 if (resultCode == Activity.RESULT_OK) { in onReceive()
619 String resultString = getMmsFailureReason(resultCode); in onReceive()
[all …]
/external/setupcompat/main/java/com/google/android/setupcompat/util/
DWizardManagerHelper.java66 public static Intent getNextIntent(Intent originalIntent, int resultCode) { in getNextIntent() argument
67 return getNextIntent(originalIntent, resultCode, null); in getNextIntent()
80 public static Intent getNextIntent(Intent originalIntent, int resultCode, Intent data) { in getNextIntent() argument
83 intent.putExtra(EXTRA_RESULT_CODE, resultCode); in getNextIntent()
/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/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/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/SDK/Scripts/
DInterpreter.cs92 private static void ThrowIfError(int resultCode) { in ThrowIfError() argument
93 if (resultCode != 0) throw new Exception("TensorFlowLite operation failed."); in ThrowIfError()
/external/skia/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/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/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/sl4a/Common/src/com/googlecode/android_scripting/future/
DFutureActivityTask.java73 public void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DConnectActivity.java211 int requestCode, int resultCode, Intent data) { in onActivityResult() argument
213 Log.d(TAG, "Return: " + resultCode); in onActivityResult()
214 setResult(resultCode); in onActivityResult()
/external/deqp/android/cts/runner/tests/src/com/drawelements/deqp/runner/
DDeqpTestRunnerTest.java187 final String resultCode = "Pass"; in testGlesVersion() local
207 + "INSTRUMENTATION_STATUS: dEQP-TestCaseResult-Code=" + resultCode + "\r\n" in testGlesVersion()
208 + "INSTRUMENTATION_STATUS: dEQP-TestCaseResult-Details=Detail" + resultCode + "\r\n" in testGlesVersion()
320 private void testResultCode(final String resultCode, boolean pass) throws Exception { in testResultCode() argument
343 + "INSTRUMENTATION_STATUS: dEQP-TestCaseResult-Code=" + resultCode + "\r\n" in testResultCode()
344 + "INSTRUMENTATION_STATUS: dEQP-TestCaseResult-Details=Detail" + resultCode + "\r\n" in testResultCode()
393 + resultCode + ": Detail" + resultCode); in testResultCode()

12