/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
SearchActivity.java | 57 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 59 " resultCode=" + resultCode + 61 if (requestCode == REQUEST_SPEECH && resultCode == RESULT_OK) {
|
SearchSupportActivity.java | 59 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 61 " resultCode=" + resultCode + 63 if (requestCode == REQUEST_SPEECH && resultCode == RESULT_OK) {
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
TestActivity.java | 47 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 49 if (resultCode != RESULT_OK) { 50 Log.w(TAG, "Activity returned error code: " + resultCode);
|
/frameworks/base/core/java/android/security/keymaster/ |
ExportResult.java | 27 public final int resultCode; 42 resultCode = in.readInt(); 53 out.writeInt(resultCode);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
CatResponseMessage.java | 21 ResultCode mResCode = ResultCode.OK; 35 public void setResultCode(ResultCode resCode) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AddAccountWithTypeActivity.java | 76 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 78 if (requestCode == REQUEST_CHOOSE_ACCOUNT_TYPE && resultCode == Activity.RESULT_OK) { 82 setResultAndFinish(resultCode); 101 private void setResultAndFinish(int resultCode) { 102 setResult(resultCode);
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
IntentSenderActivity.java | 42 public final int resultCode; 45 public Result(int resultCode, Intent data) { 46 this.resultCode = resultCode; 58 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 59 if (resultCode == Activity.RESULT_OK) { 61 mResult.offer(new Result(resultCode, data), 5, TimeUnit.SECONDS);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
BaseGnssTestActivity.java | 155 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 156 mActivityResultMultiplexedLatch.onActivityResult(requestCode, resultCode); 174 testDetails = new GnssTestDetails(testName, GnssTestDetails.ResultCode.PASS); 179 GnssTestDetails.ResultCode resultCode = testDetails.getResultCode(); 180 if (resultCode == GnssTestDetails.ResultCode.SKIPPED) { 184 if (resultCode == GnssTestDetails.ResultCode.PASS) { 338 GnssTestDetails.ResultCode resultCode = testDetails.getResultCode() [all...] |
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/ |
PresenceSubscriber.java | 66 import com.android.ims.RcsManager.ResultCode; 129 if(ret < ResultCode.SUCCESS){ 135 ret = ResultCode.SUBSCRIBE_INVALID_PARAM; 141 ret = ResultCode.SUBSCRIBE_TOO_LARGE; 174 if(ret < ResultCode.SUCCESS){ 208 return ResultCode.SUBSCRIBE_ALREADY_IN_QUEUE; 212 return ResultCode.SUBSCRIBE_TOO_FREQUENTLY; 224 return ResultCode.ERROR_SERVICE_NOT_AVAILABLE; 228 if(ret < ResultCode.SUCCESS){ 242 if(ret < ResultCode.SUCCESS) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
BaseSensorTestActivity.java | 173 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 174 mActivityResultMultiplexedLatch.onActivityResult(requestCode, resultCode); 193 testDetails = new SensorTestDetails(testName, SensorTestDetails.ResultCode.PASS); 198 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); 199 if (resultCode == SensorTestDetails.ResultCode.SKIPPED) { 203 if (resultCode == SensorTestDetails.ResultCode.PASS) { 456 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode() [all...] |
SensorCtsVerifierTestActivity.java | 96 new SensorTestDetails(testName, SensorTestDetails.ResultCode.PASS, testSummary); 104 SensorTestDetails.ResultCode resultCode = testDetails.getResultCode(); 105 switch(resultCode) { 118 throw new IllegalStateException("Unknown ResultCode: " + resultCode);
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
SmsSender.java | 93 public void setPartResult(final int resultCode) { 95 setHighestFailureLevel(resultCode); 106 private int getFailureLevel(final int resultCode) { 107 switch (resultCode) { 117 LogUtil.e(TAG, "SmsSender: Unexpected sent intent resultCode = " + resultCode); 123 private void setHighestFailureLevel(final int resultCode) { 124 final int level = getFailureLevel(resultCode); 140 public static void setResult(final Uri requestId, final int resultCode, 142 if (resultCode != Activity.RESULT_OK) [all...] |
/cts/tests/app/app/src/android/app/stubs/ |
ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { 88 finishWithResult(resultCode, data, where); 113 public void finishWithResult(int resultCode, Intent data) { 116 finishWithResult(resultCode, data, where); 119 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { 121 mResultCode = resultCode;
|
ActivityManagerMemoryClassLaunchActivity.java | 56 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 57 super.onActivityResult(requestCode, resultCode, data); 60 mChildResult = resultCode;
|
/cts/tests/tests/os/src/android/os/cts/ |
ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { 88 finishWithResult(resultCode, data, where); 113 public void finishWithResult(int resultCode, Intent data) { 116 finishWithResult(resultCode, data, where); 119 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { 121 mResultCode = resultCode;
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { 88 finishWithResult(resultCode, data, where); 112 public void finishWithResult(int resultCode, Intent data) { 115 finishWithResult(resultCode, data, where); 118 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { 121 mResultCode = resultCode;
|
SubActivityScreen.java | 108 protected void onActivityResult(int requestCode, int resultCode, 112 // + " res=" + resultCode); 121 if (resultCode != RESULT_CANCELED) { 123 "Incorrect result code returned: " + resultCode)); 128 if (resultCode != RESULT_OK) { 130 "Incorrect result code returned: " + resultCode));
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
ActivityBase.java | 109 protected void setResultEx(int resultCode) { 110 mResultCodeForTesting = resultCode; 111 setResult(resultCode); 114 protected void setResultEx(int resultCode, Intent data) { 115 mResultCodeForTesting = resultCode; 117 setResult(resultCode, data);
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperActivity.java | 41 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 42 super.onActivityResult(requestCode, resultCode, data); 45 if (resultCode == RESULT_OK) finish();
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/ |
SearchActivity.java | 61 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 63 " resultCode=" + resultCode + 65 if (requestCode == REQUEST_SPEECH && resultCode == RESULT_OK) {
|
/external/ims/rcs/rcsmanager/src/java/com/android/ims/ |
RcsPresence.java | 38 import com.android.ims.RcsManager.ResultCode; 174 * code which is defined by RcsManager.ResultCode (<0). 192 * @return the request ID if it is >0. Or it is RcsManager.ResultCode for error. 195 * @see RcsManager.ResultCode 200 int ret = ResultCode.ERROR_SERVICE_NOT_AVAILABLE; 206 ResultCode.ERROR_SERVICE_NOT_AVAILABLE); 218 * code which is defined by RcsManager.ResultCode (<0). 237 * @return the request ID if it is >0. Or it is RcsManager.ResultCode for error. 240 * @see RcsManager.ResultCode 246 int ret = ResultCode.ERROR_SERVICE_NOT_AVAILABLE [all...] |
/frameworks/base/core/java/android/app/ |
ActivityGroup.java | 111 void dispatchActivityResult(String who, int requestCode, int resultCode, 118 + ", resCode=" + resultCode + ", data=" + data 122 act.onActivityResult(requestCode, resultCode, data); 126 super.dispatchActivityResult(who, requestCode, resultCode, data);
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
AppWidgetHostActivity.java | 99 void handleAppWidgetPickResult(int resultCode, Intent intent) { 104 if (resultCode == RESULT_OK) { 119 void handleAppWidgetConfigureResult(int resultCode, Intent data) { 121 Log.d(TAG, "resultCode=" + resultCode + " appWidgetId=" + appWidgetId); 126 if (resultCode == RESULT_OK) { 147 protected void onActivityResult(int requestCode, int resultCode, Intent data) { 150 handleAppWidgetPickResult(resultCode, data); 153 handleAppWidgetConfigureResult(resultCode, data);
|
/frameworks/native/libs/binder/ |
IResultReceiver.cpp | 39 virtual void send(int32_t resultCode) { 42 data.writeInt32(resultCode); 57 int32_t resultCode = data.readInt32(); 58 send(resultCode);
|
/packages/apps/Settings/src/com/android/settings/ |
TetherProvisioningActivity.java | 72 public void onActivityResult(int requestCode, int resultCode, Intent intent) { 73 super.onActivityResult(requestCode, resultCode, intent); 75 if (DEBUG) Log.d(TAG, "Got result from app: " + resultCode); 76 int result = resultCode == Activity.RESULT_OK ?
|