/frameworks/base/core/java/android/content/ |
D | LoggingContentInterface.java | 75 public <T> T setResult(T res) { in setResult() method in LoggingContentInterface.Logger 97 return l.setResult(delegate.query(uri, projection, queryArgs, cancellationSignal)); in query() 99 l.setResult(res); in query() 109 return l.setResult(delegate.getType(uri)); in getType() 111 l.setResult(res); in getType() 122 return l.setResult(delegate.getStreamTypes(uri, mimeTypeFilter)); in getStreamTypes() 124 l.setResult(res); in getStreamTypes() 134 return l.setResult(delegate.canonicalize(uri)); in canonicalize() 136 l.setResult(res); in canonicalize() 146 return l.setResult(delegate.uncanonicalize(uri)); in uncanonicalize() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | SubActivityScreen.java | 85 setResult(RESULT_CANCELED, (new Intent()).setAction("Interrupted!")); in onResume() 98 setResult(RESULT_OK, res); in onResume() 115 setResult(RESULT_OK); in onActivityResult() 122 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 129 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 132 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 135 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 138 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult() 144 setResult(RESULT_CANCELED, (new Intent()).setAction( in onActivityResult()
|
D | ClearTop.java | 43 setResult(RESULT_OK); in onNewIntent() 45 setResult(RESULT_CANCELED, new Intent().setAction( in onNewIntent()
|
D | TestedActivity.java | 60 setResult(RESULT_OK); 71 setResult(RESULT_OK); in queueIdle()
|
D | TestedScreen.java | 51 setResult(RESULT_OK, (new Intent()).setAction( in onCreate() 104 setResult(RESULT_OK); 121 setResult(RESULT_OK); in queueIdle()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHal.java | 308 supplicantIface.setResult(status, iface); in getIfaceV1_0() 342 supplicantIface.setResult(status, iface); in addIfaceV1_1() 562 result.setResult(status, name); in getName() 590 result.setResult(mISupplicantP2pIface.registerCallback(receiver)); in registerCallback() 618 result.setResult(mISupplicantP2pIface.find(timeout)); in find() 638 result.setResult(mISupplicantP2pIface.stopFind()); in stopFind() 658 result.setResult(mISupplicantP2pIface.flush()); in flush() 679 result.setResult(mISupplicantP2pIface.flushServices()); in serviceFlush() 703 result.setResult(mISupplicantP2pIface.setPowerSave(groupIfName, enable)); in setPowerSave() 737 result.setResult(mISupplicantP2pIface.setGroupIdle(groupIfName, timeoutInSec)); in setGroupIdle() [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | GrantCredentialsPermissionActivity.java | 58 setResult(Activity.RESULT_CANCELED); in onCreate() 72 setResult(Activity.RESULT_CANCELED); in onCreate() 82 setResult(Activity.RESULT_CANCELED); in onCreate() 165 setResult(RESULT_OK, result); in onClick() 171 setResult(RESULT_CANCELED); in onClick()
|
D | ChooseTypeAndAccountActivity.java | 325 setResult(Activity.RESULT_CANCELED); in onActivityResult() 380 setResult(Activity.RESULT_CANCELED); in onActivityResult() 413 setResult(Activity.RESULT_CANCELED); in run() 421 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in run() 454 setResult(Activity.RESULT_CANCELED); in setResultAndFinish() 461 setResult(Activity.RESULT_OK, new Intent().putExtras(bundle)); in setResultAndFinish()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ConfirmUserCreationActivity.java | 111 setResult(UserManager.USER_CREATION_FAILED_NOT_PERMITTED); in checkUserCreationRequirements() 114 setResult(UserManager.USER_CREATION_FAILED_NO_MORE_USERS); in checkUserCreationRequirements() 126 setResult(RESULT_CANCELED); in onClick() 136 setResult(RESULT_OK); in onClick()
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | MockableCheckVoiceData.java | 41 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_FAIL, returnVal); in onCreate() 54 setResult(TextToSpeech.Engine.CHECK_VOICE_DATA_PASS, returnVal); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 87 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName)); in onCreate() 180 setResult(RESULT_OK, getMediaProjectionIntent(mUid, mPackageName)); in onClick() 184 setResult(RESULT_CANCELED); in onClick()
|
/frameworks/av/media/libaaudio/examples/loopback/src/analyzer/ |
D | GlitchAnalyzer.h | 77 setResult(ERROR_VOLUME_TOO_LOW); in getSignalToNoiseDB() 106 setResult(ERROR_NO_LOCK); in analyze() 115 setResult(ERROR_GLITCHES); in analyze()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppErrorDialog.java | 154 setResult(msg.what); 163 setResult(FORCE_QUIT); in dismiss() 168 private void setResult(int result) { in setResult() method in AppErrorDialog
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountAuthenticatorDummyActivity.java | 39 setResult(RESULT_OK, result); in onCreate()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | DeviceChooserActivity.java | 94 setResult(RESULT_CANCELED); in cancel() 156 setResult(RESULT_OK, in onDeviceConfirmed()
|
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 69 setResult(RESULT_OK); in onCreate() 153 setResult(RESULT_OK); in onClick()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | RestoreEngine.java | 63 public void setResult(int result) { in setResult() method in RestoreEngine
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | DeleteStagedFileOnResult.java | 48 setResult(resultCode, data); in onActivityResult()
|
D | UninstallerActivity.java | 100 setResult(Activity.RESULT_FIRST_USER); in onCreate() 110 setResult(Activity.RESULT_FIRST_USER); in onCreate() 127 setResult(Activity.RESULT_FIRST_USER); in onCreate() 135 setResult(Activity.RESULT_FIRST_USER); in onCreate()
|
D | InstallStaging.java | 69 setResult(RESULT_CANCELED); in onCreate() 131 setResult(RESULT_FIRST_USER, result); in showError()
|
/frameworks/base/core/tests/coretests/BinderDeathRecipientHelperApp/src/com/android/frameworks/coretests/bdr_helper_app/ |
D | TestCommsReceiver.java | 44 setResult(Activity.RESULT_OK, null, resultExtras); in onReceive()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAppProgress.java | 133 setResult(mResultCode == PackageManager.DELETE_SUCCEEDED in handleMessage() 319 setResult(mResultCode); in setResultAndFinish() 362 setResult(mResultCode); in dispatchKeyEvent()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/ |
D | ErrorDialogFragment.java | 53 getActivity().setResult(Activity.RESULT_FIRST_USER); in onDismiss()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Somnambulator.java | 49 setResult(RESULT_OK, resultIntent); in onStart()
|
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/ |
D | TestAppWidgetConfigure.java | 50 setResult(RESULT_OK);
|