HomeSort by relevance Sort by last modified time
    Searched full:resultcode (Results 1 - 25 of 708) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/
SensorTestDetails.java 32 private final ResultCode mResultCode;
35 public enum ResultCode {
42 public SensorTestDetails(String name, ResultCode resultCode) {
43 this(name, resultCode, null /* summary */);
46 public SensorTestDetails(String name, ResultCode resultCode, String summary) {
48 mResultCode = resultCode;
58 ResultCode resultCode = ResultCode.PASS
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/location/reporting/
GnssTestDetails.java 30 private final ResultCode mResultCode;
33 public enum ResultCode {
40 public GnssTestDetails(String name, ResultCode resultCode) {
41 this(name, resultCode, null /* summary */);
44 public GnssTestDetails(String name, ResultCode resultCode, String summary) {
46 mResultCode = resultCode;
56 ResultCode resultCode = ResultCode.PASS
    [all...]
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
ActivityResultFacade.java 54 @RpcParameter(name = "resultCode", description = sCodeDescription) Integer resultCode,
58 mResultCode = resultCode;
66 @RpcParameter(name = "resultCode", description = sCodeDescription) Integer resultCode,
70 mResultCode = resultCode;
78 @RpcParameter(name = "resultCode", description = sCodeDescription) Integer resultCode,
82 mResultCode = resultCode;
90 @RpcParameter(name = "resultCode", description = sCodeDescription) Integer resultCode
    [all...]
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
ResultReceiverTest.java 20 assertEquals(5, testResultReceiver.resultCode);
25 int resultCode;
33 protected void onReceiveResult(int resultCode, Bundle resultData) {
34 this.resultCode = resultCode;
  /frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
CompilationResult.java 27 public final int resultCode;
31 public CompilationResult(int resultCode, String output, String error) {
32 this.resultCode = resultCode;
38 return resultCode == 0 && output.indexOf(text) > 0;
42 return resultCode != 0 && error.indexOf(text) > 0;
  /packages/apps/Camera2/src/com/android/camera/
ProxyLauncher.java 37 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
38 super.onActivityResult(requestCode, resultCode, data);
39 if (resultCode == RESULT_CANCELED) {
40 resultCode = RESULT_USER_CANCELED;
42 setResult(resultCode, data);
  /frameworks/base/core/java/android/os/
ResultReceiver.java 44 MyRunnable(int resultCode, Bundle resultData) {
45 mResultCode = resultCode;
55 public void send(int resultCode, Bundle resultData) {
57 mHandler.post(new MyRunnable(resultCode, resultData));
59 onReceiveResult(resultCode, resultData);
78 * @param resultCode Arbitrary result code to deliver, as defined by you.
81 public void send(int resultCode, Bundle resultData) {
84 mHandler.post(new MyRunnable(resultCode, resultData));
86 onReceiveResult(resultCode, resultData);
93 mReceiver.send(resultCode, resultData)
    [all...]
SynchronousResultReceiver.java 36 public int resultCode;
39 public Result(int resultCode, @Nullable Bundle bundle) {
40 this.resultCode = resultCode;
52 final protected void onReceiveResult(int resultCode, Bundle resultData) {
53 super.onReceiveResult(resultCode, resultData);
54 mFuture.complete(new Result(resultCode, resultData));
  /frameworks/support/compat/java/android/support/v4/os/
ResultReceiver.java 50 MyRunnable(int resultCode, Bundle resultData) {
51 mResultCode = resultCode;
63 public void send(int resultCode, Bundle resultData) {
65 mHandler.post(new MyRunnable(resultCode, resultData));
67 onReceiveResult(resultCode, resultData);
86 * @param resultCode Arbitrary result code to deliver, as defined by you.
89 public void send(int resultCode, Bundle resultData) {
92 mHandler.post(new MyRunnable(resultCode, resultData));
94 onReceiveResult(resultCode, resultData);
101 mReceiver.send(resultCode, resultData)
    [all...]
  /cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
MyActivity.java 32 public final int resultCode;
35 public Result(int requestCode, int resultCode, Intent data) {
37 this.resultCode = resultCode;
52 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
54 mResult.offer(new Result(requestCode, resultCode, data), 5, TimeUnit.SECONDS);
  /cts/tests/tests/os/src/android/os/cts/
ResultReceiverTest.java 33 int resultCode = 1;
34 sender.send(resultCode, bundle);
36 assertEquals(resultCode, sender.getResultCode());
59 protected void onReceiveResult(int resultCode, Bundle resultData) {
60 super.onReceiveResult(resultCode, resultData);
62 mResultCode = resultCode;
  /frameworks/base/core/java/android/security/keymaster/
OperationResult.java 29 public final int resultCode;
50 int resultCode, IBinder token, long operationHandle, int inputConsumed, byte[] output,
52 this.resultCode = resultCode;
61 resultCode = in.readInt();
76 out.writeInt(resultCode);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
AbstractTestListActivity.java 47 protected final void onActivityResult(int requestCode, int resultCode, Intent data) {
48 super.onActivityResult(requestCode, resultCode, data);
49 handleActivityResult(requestCode, resultCode, data);
53 protected void handleActivityResult(int requestCode, int resultCode, Intent data) {
56 handleLaunchTestResult(resultCode, data);
74 protected void handleLaunchTestResult(int resultCode, Intent data) {
75 if (resultCode == RESULT_OK) {
76 TestResult testResult = TestResult.fromActivityResult(resultCode, data);
  /external/ims/rcs/rcsservice/src/com/android/service/ims/
RcsUtils.java 37 import com.android.ims.RcsManager.ResultCode;
53 return ResultCode.SUCCESS;
57 return ResultCode.SUBSCRIBE_INVALID_PARAM;
61 return ResultCode.SUBSCRIBE_FETCH_ERROR;
65 return ResultCode.SUBSCRIBE_REQUEST_TIMEOUT;
69 return ResultCode.SUBSCRIBE_INSUFFICIENT_MEMORY;
73 return ResultCode.SUBSCRIBE_LOST_NETWORK;
77 return ResultCode.SUBSCRIBE_NOT_SUPPORTED;
81 return ResultCode.SUBSCRIBE_NOT_FOUND;
87 return ResultCode.SUBSCRIBE_GENERIC
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
ResultException.java 26 private ResultCode mResult;
30 public ResultException(ResultCode result) {
57 public ResultException(ResultCode result, String explanation) {
62 public ResultException(ResultCode result, int additionalInfo) {
73 public ResultException(ResultCode result, int additionalInfo, String explanation) {
78 public ResultCode result() {
  /external/ims/rcs/rcsservice/src/com/android/service/ims/presence/
PresenceBase.java 46 import com.android.ims.RcsManager.ResultCode;
66 protected void handleCallback(Task task, int resultCode, boolean forCmdStatus){
74 if(resultCode >= ResultCode.SUCCESS){
79 task.mListener.onError(task.mTaskId, resultCode);
89 if(resultCode != ResultCode.SUCCESS){
93 if(resultCode == PublishState.PUBLISH_STATE_VOLTE_PROVISION_ERROR) {
121 (resultCode == ResultCode.SUCCESS))
    [all...]
  /cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DeviceInfo.java 44 private enum ResultCode {
63 private ResultCode mResultCode = ResultCode.STARTED;
86 if (mResultCode == ResultCode.STARTED) {
87 mResultCode = ResultCode.COMPLETED;
95 assertEquals(message, ResultCode.COMPLETED, mResultCode);
134 mResultCode = ResultCode.ERROR;
140 mResultCode = ResultCode.FAILED;
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
Result.java 28 * @param resultCode The test result, either {@code RESULT_OK} or {@code RESULT_FAIL}.
30 void setResult(int resultCode);
  /external/droiddriver/src/io/appium/droiddriver/actions/view/
CloseKeyboardAction.java 65 protected void onReceiveResult(int resultCode, Bundle resultData) {
66 resultCodeHolder.set(resultCode);
80 " waiting for resultCode from InputMethodManager.hideSoftInputFromWindow");
86 int resultCode = resultCodeHolder.get();
87 if (resultCode != InputMethodManager.RESULT_UNCHANGED_HIDDEN
88 && resultCode != InputMethodManager.RESULT_HIDDEN) {
89 throw new ActionException("resultCode from InputMethodManager.hideSoftInputFromWindow="
90 + resultCode);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowResultReceiver.java 19 public void send(int resultCode, android.os.Bundle resultData) {
23 onReceiveResult.invoke(realResultReceiver, resultCode, resultData);
  /frameworks/base/core/java/android/app/
IInstrumentationWatcher.aidl 26 void instrumentationStatus(in ComponentName name, int resultCode,
28 void instrumentationFinished(in ComponentName name, int resultCode,
  /frameworks/base/services/core/java/com/android/server/am/
ActivityResult.java 29 int requestCode, int resultCode, Intent data) {
30 super(resultWho, requestCode, resultCode, data);
InstrumentationReporter.java 105 Report(int type, IInstrumentationWatcher watcher, ComponentName name, int resultCode,
110 mResultCode = resultCode;
115 public void reportStatus(IInstrumentationWatcher watcher, ComponentName name, int resultCode,
119 + " code=" + resultCode + " result=" + results);
120 report(new Report(REPORT_TYPE_STATUS, watcher, name, resultCode, results));
123 public void reportFinished(IInstrumentationWatcher watcher, ComponentName name, int resultCode,
127 + " code=" + resultCode + " result=" + results);
128 report(new Report(REPORT_TYPE_FINISHED, watcher, name, resultCode, results));
  /cts/tests/admin/app/src/android/admin/app/
CtsDeviceAdminActivationTestActivity.java 33 void onActivityResult(int requestCode, int resultCode, Intent data);
56 protected void onActivityResult(int requestCode, int resultCode, Intent data) {
58 mOnActivityResultListener.onActivityResult(requestCode, resultCode, data);
62 super.onActivityResult(requestCode, resultCode, data);
  /external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/
AndroidEventListener.java 13 public void onActivityResult (int requestCode, int resultCode, Intent data);

Completed in 5637 milliseconds

1 2 3 4 5 6 7 8 91011>>