Searched refs:resultData (Results 1 - 25 of 58) sorted by relevance

123

/frameworks/base/services/tests/servicestests/aidl/com/android/servicestests/aidl/
H A DINetworkStateObserver.aidl21 * {@param resultData} will be in the format
26 void onNetworkStateChecked(String resultData);
/frameworks/base/core/java/android/os/
H A DResultReceiver.java44 MyRunnable(int resultCode, Bundle resultData) { argument
46 mResultData = resultData;
55 public void send(int resultCode, Bundle resultData) { argument
57 mHandler.post(new MyRunnable(resultCode, resultData));
59 onReceiveResult(resultCode, resultData);
79 * @param resultData Any additional data provided by you.
81 public void send(int resultCode, Bundle resultData) { argument
84 mHandler.post(new MyRunnable(resultCode, resultData));
86 onReceiveResult(resultCode, resultData);
93 mReceiver.send(resultCode, resultData);
106 onReceiveResult(int resultCode, Bundle resultData) argument
[all...]
H A DSynchronousResultReceiver.java62 final protected void onReceiveResult(int resultCode, Bundle resultData) { argument
63 super.onReceiveResult(resultCode, resultData);
64 mFuture.complete(new Result(resultCode, resultData));
/frameworks/base/core/java/com/android/internal/os/
H A DIResultReceiver.aidl24 void send(int resultCode, in Bundle resultData);
/frameworks/support/compat/src/main/aidl/android/support/v4/os/
H A DIResultReceiver.aidl23 void send(int resultCode, in Bundle resultData);
/frameworks/support/compat/src/main/java/android/support/v4/os/
H A DResultReceiver.java54 MyRunnable(int resultCode, Bundle resultData) { argument
56 mResultData = resultData;
67 public void send(int resultCode, Bundle resultData) { argument
69 mHandler.post(new MyRunnable(resultCode, resultData));
71 onReceiveResult(resultCode, resultData);
91 * @param resultData Any additional data provided by you.
93 public void send(int resultCode, Bundle resultData) { argument
96 mHandler.post(new MyRunnable(resultCode, resultData));
98 onReceiveResult(resultCode, resultData);
105 mReceiver.send(resultCode, resultData);
118 onReceiveResult(int resultCode, Bundle resultData) argument
[all...]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
H A DAssistDataReceiver.java26 public void onHandleAssistData(Bundle resultData) {} argument
H A DActivityManagerWrapper.java210 public void onHandleAssistData(Bundle resultData) {
211 assistDataReceiver.onHandleAssistData(resultData);
/frameworks/base/core/java/android/app/
H A DIAssistDataReceiver.aidl24 void onHandleAssistData(in Bundle resultData);
H A DExitTransitionCoordinator.java82 protected void onReceiveResult(int resultCode, Bundle resultData) { argument
86 mResultReceiver = resultData.getParcelable(KEY_REMOTE_RECEIVER);
105 mExitSharedElementBundle = resultData;
/frameworks/base/tests/ActivityManagerPerfTests/utils/src/com/android/frameworks/perftests/am/util/
H A DCountDownResultReceiver.java33 protected void onReceiveResult(int resultCode, Bundle resultData) { argument
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DIntentSenderTest.java49 int resultCode, String resultData, Bundle resultExtras) {
76 int resultCode, String resultData, Bundle resultExtras) {
/frameworks/base/media/java/android/media/projection/
H A DMediaProjectionManager.java91 * @param resultData The resulting data from {@link android.app.Activity#onActivityResult(int,
94 public MediaProjection getMediaProjection(int resultCode, @NonNull Intent resultData) { argument
95 if (resultCode != Activity.RESULT_OK || resultData == null) {
98 IBinder projection = resultData.getIBinderExtra(EXTRA_MEDIA_PROJECTION);
/frameworks/support/media/src/main/java/androidx/media/
H A DMediaSessionLegacyStub.java350 final Bundle resultData = new Bundle();
351 resultData.putBundle(ARGUMENT_ALLOWED_COMMANDS,
353 resultData.putInt(ARGUMENT_PLAYER_STATE, mSession.getPlayerState());
354 resultData.putInt(ARGUMENT_BUFFERING_STATE, mSession.getBufferingState());
355 resultData.putParcelable(ARGUMENT_PLAYBACK_STATE_COMPAT,
357 resultData.putInt(ARGUMENT_REPEAT_MODE, mSession.getRepeatMode());
358 resultData.putInt(ARGUMENT_SHUFFLE_MODE, mSession.getShuffleMode());
362 resultData.putParcelableArray(ARGUMENT_PLAYLIST,
369 resultData.putBundle(ARGUMENT_MEDIA_ITEM, currentMediaItem.toBundle());
371 resultData
[all...]
H A DMediaSession2Stub.java564 final Bundle resultData = new Bundle();
565 resultData.putBundle(ARGUMENT_ALLOWED_COMMANDS,
567 resultData.putInt(ARGUMENT_PLAYER_STATE, mSession.getPlayerState());
568 resultData.putInt(ARGUMENT_BUFFERING_STATE, mSession.getBufferingState());
569 resultData.putParcelable(ARGUMENT_PLAYBACK_STATE_COMPAT,
571 resultData.putInt(ARGUMENT_REPEAT_MODE, mSession.getRepeatMode());
572 resultData.putInt(ARGUMENT_SHUFFLE_MODE, mSession.getShuffleMode());
576 resultData.putParcelableArray(ARGUMENT_PLAYLIST,
583 resultData.putBundle(ARGUMENT_MEDIA_ITEM, currentMediaItem.toBundle());
585 resultData
[all...]
/frameworks/base/core/java/android/view/
H A DWindowManagerImpl.java132 public void send(int resultCode, Bundle resultData) throws RemoteException {
134 resultData.getParcelableArrayList(PARCEL_KEY_SHORTCUTS_ARRAY);
/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastRecord.java70 String resultData; // current result data value. field in class:BroadcastRecord
148 if (resultTo != null || resultCode != -1 || resultData != null) {
151 pw.print(" resultData="); pw.println(resultData);
242 resultData = _resultData;
282 resultData = from.resultData;
/frameworks/base/packages/StatementService/src/com/android/statementservice/
H A DIntentFilterVerificationReceiver.java196 protected void onReceiveResult(int resultCode, Bundle resultData) { argument
198 if (resultData.getBoolean(DirectStatementService.IS_ASSOCIATED)) {
205 resultData.getStringArrayList(DirectStatementService.FAILED_SOURCES));
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
H A DOnePlayerActivity.java112 Intent resultData) {
115 if (resultData != null) {
116 uri = resultData.getData();
111 onActivityResult(int requestCode, int resultCode, Intent resultData) argument
/frameworks/support/media/src/main/java/android/support/v4/media/
H A DMediaBrowserCompat.java938 * @param resultData The additional data delivered from the connected service.
940 public void onResult(String action, Bundle extras, Bundle resultData) { argument
2242 protected void onReceiveResult(int resultCode, Bundle resultData) { argument
2243 if (resultData != null) {
2244 resultData.setClassLoader(MediaBrowserCompat.class.getClassLoader());
2246 if (resultCode != MediaBrowserServiceCompat.RESULT_OK || resultData == null
2247 || !resultData.containsKey(MediaBrowserServiceCompat.KEY_MEDIA_ITEM)) {
2251 Parcelable item = resultData.getParcelable(MediaBrowserServiceCompat.KEY_MEDIA_ITEM);
2274 protected void onReceiveResult(int resultCode, Bundle resultData) { argument
2275 if (resultData !
2310 onReceiveResult(int resultCode, Bundle resultData) argument
[all...]
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerServiceShellCommand.java305 public void send(int resultCode, Bundle resultData) {
321 public void send(int resultCode, Bundle resultData) {
322 final ArrayList<String> sessions = resultData
/frameworks/base/core/java/android/content/
H A DBroadcastReceiver.java86 public PendingResult(int resultCode, String resultData, Bundle resultExtras, int type, argument
89 mResultData = resultData;
/frameworks/base/media/java/android/media/browse/
H A DMediaBrowser.java453 protected void onReceiveResult(int resultCode, Bundle resultData) {
457 if (resultCode != 0 || resultData == null
458 || !resultData.containsKey(MediaBrowserService.KEY_MEDIA_ITEM)) {
462 Parcelable item = resultData.getParcelable(MediaBrowserService.KEY_MEDIA_ITEM);
/frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/
H A DMediaBrowserCompatTest.java682 Bundle resultData = new Bundle();
683 resultData.putString(TEST_KEY_4, TEST_VALUE_4);
685 callMediaBrowserServiceMethod(CUSTOM_ACTION_SEND_RESULT, resultData, getContext());
992 public void onResult(String action, Bundle extras, Bundle resultData) { argument
997 mData = resultData;
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DConnOnActivityStartTest.java393 public void onNetworkStateChecked(String resultData) {
394 errors[0] = resultData;

Completed in 180 milliseconds

123