/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | BaseSetupWizardActivity.java | 261 protected void nextAction(int resultCode) { in nextAction() argument 262 nextAction(resultCode, null); in nextAction() 268 protected void nextAction(int resultCode, Intent data) { in nextAction() argument 269 launchNextAction(resultCode, data, /* forResult= */ false); in nextAction() 275 protected void nextActionForResult(int resultCode) { in nextActionForResult() argument 276 launchNextAction(resultCode, null, /* forResult= */ true); in nextActionForResult() 291 protected void finishAction(int resultCode) { in finishAction() argument 292 finishAction(resultCode, null); in finishAction() 298 protected void finishAction(int resultCode, Intent data) { in finishAction() argument 299 if (resultCode != RESULT_CANCELED) { in finishAction() [all …]
|
D | BaseActivity.java | 254 protected void nextAction(int resultCode) { in nextAction() argument 255 nextAction(resultCode, null); in nextAction() 261 protected void nextAction(int resultCode, Intent data) { in nextAction() argument 262 if (resultCode == RESULT_CANCELED) { in nextAction() 265 setResultCode(resultCode, data); in nextAction() 291 protected void finishAction(int resultCode) { in finishAction() argument 292 finishAction(resultCode, null); in finishAction() 298 protected void finishAction(int resultCode, Intent data) { in finishAction() argument 299 if (resultCode != RESULT_CANCELED) { in finishAction() 300 nextAction(resultCode, data); in finishAction() [all …]
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccCardManager.java | 140 void onComplete(int resultCode, T result); in onComplete() argument 168 public void onComplete(int resultCode, EuiccProfileInfo[] profiles) { in requestAllProfiles() argument 171 executor.execute(() -> callback.onComplete(resultCode, profiles)); in requestAllProfiles() 197 public void onComplete(int resultCode, EuiccProfileInfo profile) { in requestProfile() argument 200 executor.execute(() -> callback.onComplete(resultCode, profile)); in requestProfile() 227 public void onComplete(int resultCode) { in disableProfile() argument 230 executor.execute(() -> callback.onComplete(resultCode, null)); in disableProfile() 258 public void onComplete(int resultCode, EuiccProfileInfo profile) { in switchToProfile() argument 261 executor.execute(() -> callback.onComplete(resultCode, profile)); in switchToProfile() 288 public void onComplete(int resultCode) { in setNickname() argument [all …]
|
/frameworks/base/core/java/android/os/ |
D | ResultReceiver.java | 44 MyRunnable(int resultCode, Bundle resultData) { in MyRunnable() argument 45 mResultCode = resultCode; in MyRunnable() 55 public void send(int resultCode, Bundle resultData) { in send() argument 57 mHandler.post(new MyRunnable(resultCode, resultData)); in send() 59 onReceiveResult(resultCode, resultData); in send() 81 public void send(int resultCode, Bundle resultData) { in send() argument 84 mHandler.post(new MyRunnable(resultCode, resultData)); in send() 86 onReceiveResult(resultCode, resultData); in send() 93 mReceiver.send(resultCode, resultData); in send() 106 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument
|
D | SynchronousResultReceiver.java | 36 public int resultCode; field in SynchronousResultReceiver.Result 39 public Result(int resultCode, @Nullable Bundle bundle) { in Result() argument 40 this.resultCode = resultCode; in Result() 62 final protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument 63 super.onReceiveResult(resultCode, resultData); in onReceiveResult() 64 mFuture.complete(new Result(resultCode, resultData)); in onReceiveResult()
|
/frameworks/ml/nn/runtime/test/ |
D | TestVersionedInterfaces.cpp | 1116 const auto [resultCode, supportedOperations] = kDevice->getSupportedOperations(metaModel); in TEST_F() 1119 EXPECT_EQ(V1_3::ErrorStatus::NONE, resultCode); in TEST_F() 1133 const auto [resultCode, supportedOperations] = kDevice->getSupportedOperations(metaModel); in TEST_F() 1136 EXPECT_EQ(V1_3::ErrorStatus::NONE, resultCode); in TEST_F() 1150 const auto [resultCode, supportedOperations] = kDevice->getSupportedOperations(metaModel); in TEST_F() 1153 EXPECT_EQ(V1_3::ErrorStatus::NONE, resultCode); in TEST_F() 1167 const auto [resultCode, supportedOperations] = kDevice->getSupportedOperations(metaModel); in TEST_F() 1170 EXPECT_EQ(V1_3::ErrorStatus::NONE, resultCode); in TEST_F() 1183 const auto [resultCode, preparedModel] = kDevice->prepareModel(makeModel, {}, {}, {}, {}, {}); in TEST_F() 1186 EXPECT_EQ(ANEURALNETWORKS_NO_ERROR, resultCode); in TEST_F() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 398 final int resultCode; in onGetMetadataComplete() local 401 resultCode = OK; in onGetMetadataComplete() 407 resultCode = RESOLVABLE_ERROR; in onGetMetadataComplete() 417 resultCode = ERROR; in onGetMetadataComplete() 422 sendResult(mCallbackIntent, resultCode, extrasIntent); in onGetMetadataComplete() 454 Pair<String, String> decodeSmdxSubjectAndReasonCode(int resultCode) { in decodeSmdxSubjectAndReasonCode() argument 463 int sectionDigit = resultCode & sectionMask; in decodeSmdxSubjectAndReasonCode() 465 resultCode = resultCode >>> bitsPerSection; in decodeSmdxSubjectAndReasonCode() 495 private void addExtrasToResultIntent(Intent intent, int resultCode) { in addExtrasToResultIntent() argument 498 int operationCode = resultCode >>> firstByteBitOffset; in addExtrasToResultIntent() [all …]
|
/frameworks/base/core/java/android/security/keymaster/ |
D | OperationResult.java | 30 public final int resultCode; field in OperationResult 52 int resultCode, IBinder token, long operationHandle, int inputConsumed, byte[] output, in OperationResult() argument 54 this.resultCode = resultCode; in OperationResult() 62 public OperationResult(int resultCode) { in OperationResult() argument 63 this(resultCode, null, 0, 0, null, null); in OperationResult() 67 resultCode = in.readInt(); in OperationResult() 82 out.writeInt(resultCode); in writeToParcel()
|
D | ExportResult.java | 28 public final int resultCode; field in ExportResult 31 public ExportResult(int resultCode) { in ExportResult() argument 32 this.resultCode = resultCode; in ExportResult() 49 resultCode = in.readInt(); in ExportResult() 60 out.writeInt(resultCode); in writeToParcel()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | InstrumentationReporter.java | 105 Report(int type, IInstrumentationWatcher watcher, ComponentName name, int resultCode, in Report() argument 110 mResultCode = resultCode; in Report() 115 public void reportStatus(IInstrumentationWatcher watcher, ComponentName name, int resultCode, in reportStatus() argument 119 + " code=" + resultCode + " result=" + results); in reportStatus() 120 report(new Report(REPORT_TYPE_STATUS, watcher, name, resultCode, results)); in reportStatus() 123 public void reportFinished(IInstrumentationWatcher watcher, ComponentName name, int resultCode, in reportFinished() argument 127 + " code=" + resultCode + " result=" + results); in reportFinished() 128 report(new Report(REPORT_TYPE_FINISHED, watcher, name, resultCode, results)); in reportFinished()
|
/frameworks/base/tests/net/java/android/net/ |
D | IpMemoryStoreTest.java | 119 status -> assertTrue("Store not successful : " + status.resultCode, in testNetworkAttributes() 128 + status.resultCode, status.isSuccess()); in testNetworkAttributes() 145 assertTrue("Store not successful : " + status.resultCode, status.isSuccess()); in testPrivateData() 152 assertTrue("Retrieve blob status not successful : " + status.resultCode, in testPrivateData() 170 assertTrue("Retrieve network sameness not successful : " + status.resultCode, in testFindL2Key() 187 + status.resultCode, status.isSuccess()); in testIsSameNetwork() 188 assertEquals(Status.ERROR_ILLEGAL_ARGUMENT, status.resultCode); in testIsSameNetwork() 204 status -> assertTrue("Store not successful : " + status.resultCode, in testEnqueuedIpMsRequests() 209 + status.resultCode, status.isSuccess()); in testEnqueuedIpMsRequests() 214 status -> assertTrue("Store not successful : " + status.resultCode, in testEnqueuedIpMsRequests() [all …]
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | AppWidgetHostActivity.java | 99 void handleAppWidgetPickResult(int resultCode, Intent intent) { in handleAppWidgetPickResult() argument 104 if (resultCode == RESULT_OK) { in handleAppWidgetPickResult() 119 void handleAppWidgetConfigureResult(int resultCode, Intent data) { in handleAppWidgetConfigureResult() argument 121 Log.d(TAG, "resultCode=" + resultCode + " appWidgetId=" + appWidgetId); in handleAppWidgetConfigureResult() 126 if (resultCode == RESULT_OK) { in handleAppWidgetConfigureResult() 147 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 150 handleAppWidgetPickResult(resultCode, data); in onActivityResult() 153 handleAppWidgetConfigureResult(resultCode, data); in onActivityResult()
|
/frameworks/native/libs/binder/ |
D | IResultReceiver.cpp | 37 virtual void send(int32_t resultCode) { in send() argument 40 data.writeInt32(resultCode); in send() 56 int32_t resultCode = data.readInt32(); in onTransact() local 57 send(resultCode); in onTransact()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 108 protected void onActivityResult(int requestCode, int resultCode, in onActivityResult() argument 121 if (resultCode != RESULT_CANCELED) { in onActivityResult() 123 "Incorrect result code returned: " + resultCode)); in onActivityResult() 128 if (resultCode != RESULT_OK) { in onActivityResult() 130 "Incorrect result code returned: " + resultCode)); in onActivityResult()
|
D | ActivityTestsBase.java | 87 public void activityFinished(int resultCode, Intent data, RuntimeException where) { in activityFinished() argument 88 finishWithResult(resultCode, data, where); in activityFinished() 112 public void finishWithResult(int resultCode, Intent data) { in finishWithResult() argument 115 finishWithResult(resultCode, data, where); in finishWithResult() 118 public void finishWithResult(int resultCode, Intent data, RuntimeException where) { in finishWithResult() argument 121 mResultCode = resultCode; in finishWithResult()
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Instrument.java | 118 public void onInstrumentationStatusLocked(ComponentName name, int resultCode, in onInstrumentationStatusLocked() argument 124 public void onInstrumentationFinishedLocked(ComponentName name, int resultCode, in onInstrumentationFinishedLocked() argument 159 public void onInstrumentationStatusLocked(ComponentName name, int resultCode, in onInstrumentationStatusLocked() argument 175 System.out.println("INSTRUMENTATION_STATUS_CODE: " + resultCode); in onInstrumentationStatusLocked() 180 public void onInstrumentationFinishedLocked(ComponentName name, int resultCode, in onInstrumentationFinishedLocked() argument 196 System.out.println("INSTRUMENTATION_CODE: " + resultCode); in onInstrumentationFinishedLocked() 252 public void onInstrumentationStatusLocked(ComponentName name, int resultCode, in onInstrumentationStatusLocked() argument 258 proto.write(InstrumentationData.TestStatus.RESULT_CODE, resultCode); in onInstrumentationStatusLocked() 261 if (resultCode == STATUS_TEST_STARTED) { in onInstrumentationStatusLocked() 277 public void onInstrumentationFinishedLocked(ComponentName name, int resultCode, in onInstrumentationFinishedLocked() argument [all …]
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/ |
D | CarWizardManagerHelper.java | 47 public static Intent getNextIntent(Intent originalIntent, int resultCode) { in getNextIntent() argument 48 return getNextIntent(originalIntent, resultCode, null); in getNextIntent() 62 public static Intent getNextIntent(Intent originalIntent, int resultCode, Intent data) { in getNextIntent() argument 65 intent.putExtra(EXTRA_RESULT_CODE, resultCode); in getNextIntent()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataServiceManager.java | 217 public void onSetupDataCallComplete(@DataServiceCallback.ResultCode int resultCode, in onSetupDataCallComplete() argument 220 log("onSetupDataCallComplete. resultCode = " + resultCode + ", response = " in onSetupDataCallComplete() 227 sendCompleteMessage(msg, resultCode); in onSetupDataCallComplete() 234 public void onDeactivateDataCallComplete(@DataServiceCallback.ResultCode int resultCode) { in onDeactivateDataCallComplete() argument 235 if (DBG) log("onDeactivateDataCallComplete. resultCode = " + resultCode); in onDeactivateDataCallComplete() 238 sendCompleteMessage(msg, resultCode); in onDeactivateDataCallComplete() 242 public void onSetInitialAttachApnComplete(@DataServiceCallback.ResultCode int resultCode) { in onSetInitialAttachApnComplete() argument 243 if (DBG) log("onSetInitialAttachApnComplete. resultCode = " + resultCode); in onSetInitialAttachApnComplete() 245 sendCompleteMessage(msg, resultCode); in onSetInitialAttachApnComplete() 249 public void onSetDataProfileComplete(@DataServiceCallback.ResultCode int resultCode) { in onSetDataProfileComplete() argument [all …]
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | EntitlementManagerTest.java | 301 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 302 assertEquals(TETHER_ERROR_NO_ERROR, resultCode); in testRequestLastEntitlementCacheValue() 314 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 315 assertEquals(TETHER_ERROR_ENTITLEMENT_UNKNOWN, resultCode); in testRequestLastEntitlementCacheValue() 326 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 327 assertEquals(TETHER_ERROR_PROVISIONING_FAILED, resultCode); in testRequestLastEntitlementCacheValue() 339 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 340 assertEquals(TETHER_ERROR_PROVISIONING_FAILED, resultCode); in testRequestLastEntitlementCacheValue() 351 protected void onReceiveResult(int resultCode, Bundle resultData) { in testRequestLastEntitlementCacheValue() 352 assertEquals(TETHER_ERROR_NO_ERROR, resultCode); in testRequestLastEntitlementCacheValue() [all …]
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | EntitlementManager.java | 469 protected void addDownstreamMapping(int type, int resultCode) { in addDownstreamMapping() argument 470 mLog.i("addDownstreamMapping: " + type + ", result: " + resultCode in addDownstreamMapping() 474 mCurrentEntitlementResults.put(type, resultCode); in addDownstreamMapping() 572 protected void onReceiveResult(int resultCode, Bundle resultData) { in buildProxyReceiver() 573 int updatedCacheValue = updateEntitlementCacheValue(type, resultCode); in buildProxyReceiver() 610 private int updateEntitlementCacheValue(int type, int resultCode) { in updateEntitlementCacheValue() argument 612 mLog.i("updateEntitlementCacheValue: " + type + ", result: " + resultCode); in updateEntitlementCacheValue() 614 if (resultCode == TETHER_ERROR_NO_ERROR) { in updateEntitlementCacheValue() 615 mEntitlementCacheValue.put(type, resultCode); in updateEntitlementCacheValue() 616 return resultCode; in updateEntitlementCacheValue()
|
/frameworks/base/core/java/android/app/ |
D | ActivityGroup.java | 113 void dispatchActivityResult(String who, int requestCode, int resultCode, in dispatchActivityResult() argument 124 act.onActivityResult(requestCode, resultCode, data); in dispatchActivityResult() 128 super.dispatchActivityResult(who, requestCode, resultCode, data, reason); in dispatchActivityResult()
|
D | IInstrumentationWatcher.aidl | 27 void instrumentationStatus(in ComponentName name, int resultCode, in instrumentationStatus() argument 29 void instrumentationFinished(in ComponentName name, int resultCode, in instrumentationFinished() argument
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureManager.java | 424 final int resultCode = resultReceiver.getIntResult(); in getServiceSettingsComponentName() local 425 if (resultCode == RESULT_CODE_SECURITY_EXCEPTION) { in getServiceSettingsComponentName() 543 final int resultCode = resultReceiver.getIntResult(); in isContentCaptureFeatureEnabled() local 544 switch (resultCode) { in isContentCaptureFeatureEnabled() 550 Log.wtf(TAG, "received invalid result: " + resultCode); in isContentCaptureFeatureEnabled() 580 final int resultCode = resultReceiver.getIntResult(); in syncRun() local 581 if (resultCode == RESULT_CODE_SECURITY_EXCEPTION) { in syncRun()
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
D | InstrumentationAutomationSupport.java | 37 public void sendStatus(int resultCode, Bundle status) { in sendStatus() argument 38 mInstrumentation.sendStatus(resultCode, status); in sendStatus()
|
/frameworks/opt/photoviewer/activity/src/com/android/ex/photo/ |
D | PhotoViewActivity.java | 112 protected void onActivityResult(int requestCode, int resultCode, Intent data) { in onActivityResult() argument 113 super.onActivityResult(requestCode, resultCode, data); in onActivityResult() 114 mController.onActivityResult(requestCode, resultCode, data); in onActivityResult()
|