/packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/ |
PackageDeletionTaskTest.java | 82 int resultCode; 84 resultCode = PackageManager.DELETE_SUCCEEDED; 87 resultCode = PackageManager.DELETE_FAILED_INTERNAL_ERROR; 91 observer.packageDeleted(packageName, resultCode);
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
MyActivity.java | 40 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 41 if (mResult.offer(resultCode) == false) {
|
/cts/tests/app/app/src/android/app/stubs/ |
CTSActivityTestCaseBase.java | 36 public void setResult(int resultCode) { 39 mSync.mResult = resultCode;
|
/cts/tools/cts-holo-generation/src/com/android/cts/holo_capture/ |
CaptureActivity.java | 47 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 48 Log.i(TAG, "onActivityResult req:" + requestCode + " res:" + resultCode);
|
/external/ims/rcs/rcsmanager/src/java/com/android/ims/internal/ |
IRcsPresence.aidl | 45 * code which is defined by RcsManager.ResultCode (<0). 63 * @return the request ID if it is >0. Or it is RcsManager.ResultCode for error. 66 * @see RcsManager.ResultCode 76 * code which is defined by RcsManager.ResultCode (<0). 95 * @return the request ID if it is >0. Or it is RcsManager.ResultCode for error. 98 * @see RcsManager.ResultCode 111 * @see RcsManager.ResultCode 113 * @see ResultCode.SUBSCRIBE_TOO_FREQUENTLY
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
IAutomationSupport.java | 34 * @param resultCode 38 public void sendStatus(int resultCode, Bundle status);
|
InstrumentationAutomationSupport.java | 37 public void sendStatus(int resultCode, Bundle status) { 38 mInstrumentation.sendStatus(resultCode, status);
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
IAutomationSupport.java | 34 * @param resultCode 38 public void sendStatus(int resultCode, Bundle status);
|
/frameworks/support/core-utils/tests/java/android/support/v4/provider/ |
GrantActivity.java | 39 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 40 if (requestCode == 12 && resultCode == RESULT_OK) {
|
/frameworks/support/fragment/tests/java/android/support/v4/app/test/ |
FragmentResultActivity.java | 32 int resultCode = getIntent().getIntExtra(EXTRA_RESULT_CODE, Activity.RESULT_OK); 36 setResult(resultCode, intent);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
ScreenLockTestActivity.java | 81 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 82 super.onActivityResult(requestCode, resultCode, data); 85 handleAddDeviceAdminResult(resultCode, data); 90 private void handleAddDeviceAdminResult(int resultCode, Intent data) { 91 if (resultCode == RESULT_OK) {
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
ActivityResultMultiplexedLatch.java | 55 return mEntry.resultCode; 73 public volatile int resultCode; 103 public void onActivityResult(int requestCode, int resultCode) { 112 entry.resultCode = resultCode;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ResultCode.java | 27 public enum ResultCode { 166 ResultCode(int code) { 178 public static ResultCode fromInt(int value) { 179 for (ResultCode r : ResultCode.values()) {
|
/packages/apps/Gallery/src/com/android/camera/ |
PhotoAppWidgetConfigure.java | 74 protected void onActivityResult(int requestCode, int resultCode, 76 if (resultCode == RESULT_OK && mAppWidgetId != -1) { 82 resultCode = Activity.RESULT_OK; 94 resultCode = Activity.RESULT_CANCELED; 100 setResult(resultCode, resultValue);
|
/external/llvm/utils/lit/lit/ |
Test.py | 7 class ResultCode(object): 11 # provides unique ResultCode objects in any particular instance. 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 [all...] |
/packages/services/Telephony/tests/src/com/android/phone/tests/ |
OtaspTestActivity.java | 90 int resultCode = intent.getIntExtra(OtaUtils.EXTRA_OTASP_RESULT_CODE, 92 Log.i(LOG_TAG, " - resultCode = " + resultCode); 95 switch (resultCode) { 106 resultString = "Unexpected code: " + resultCode; 136 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 138 + " result " + resultCode + " data " + data); 162 // Also, resultCode will be RESULT_CANCELED (= 0) if the 166 switch (resultCode) { 183 Log.i(LOG_TAG, "==> onActivityResult: unknown result: " + resultCode); [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
ProcessSentMessageAction.java | 77 public static void processMmsSent(final int resultCode, final Uri messageUri, 89 params.putInt(KEY_RESULT_CODE, resultCode); 101 final int status, final int rawStatus, final int resultCode) { 112 params.putInt(KEY_RESULT_CODE, resultCode); 153 final int resultCode = actionParameters.getInt(KEY_RESULT_CODE); 155 if (resultCode == Activity.RESULT_OK) { 168 String errorMsg = "ProcessSentMessageAction: Platform returned error resultCode: " 169 + resultCode; 175 status = MmsSender.getErrorResultStatus(resultCode, httpStatusCode); 179 if (resultCode == SmsManager.MMS_ERROR_IO_ERROR) [all...] |
/developers/build/prebuilts/gradle/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
SetupProfileFragment.java | 90 public void onActivityResult(int requestCode, int resultCode, Intent data) { 92 if (resultCode == Activity.RESULT_OK) { 99 super.onActivityResult(requestCode, resultCode, data);
|
/developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
SetupProfileFragment.java | 88 public void onActivityResult(int requestCode, int resultCode, Intent data) { 90 if (resultCode == Activity.RESULT_OK) { 97 super.onActivityResult(requestCode, resultCode, data);
|
/developers/samples/android/admin/AppRestrictionEnforcer/Application/src/main/java/com/example/android/apprestrictionenforcer/ |
SetupProfileFragment.java | 90 public void onActivityResult(int requestCode, int resultCode, Intent data) { 92 if (resultCode == Activity.RESULT_OK) { 99 super.onActivityResult(requestCode, resultCode, data);
|
/developers/samples/android/admin/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
SetupProfileFragment.java | 88 public void onActivityResult(int requestCode, int resultCode, Intent data) { 90 if (resultCode == Activity.RESULT_OK) { 97 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/ |
SetupProfileFragment.java | 90 public void onActivityResult(int requestCode, int resultCode, Intent data) { 92 if (resultCode == Activity.RESULT_OK) { 99 super.onActivityResult(requestCode, resultCode, data);
|
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
SetupProfileFragment.java | 88 public void onActivityResult(int requestCode, int resultCode, Intent data) { 90 if (resultCode == Activity.RESULT_OK) { 97 super.onActivityResult(requestCode, resultCode, data);
|
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/ |
PhotoViewActivity.java | 112 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 113 super.onActivityResult(requestCode, resultCode, data); 114 mController.onActivityResult(requestCode, resultCode, data);
|
/frameworks/opt/photoviewer/appcompat/src/com/android/ex/photo/ |
PhotoViewActivity.java | 112 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 113 super.onActivityResult(requestCode, resultCode, data); 114 mController.onActivityResult(requestCode, resultCode, data);
|