/frameworks/base/core/java/android/os/ |
ResultReceiver.java | 44 MyRunnable(int resultCode, Bundle resultData) { 46 mResultData = resultData; 55 public void send(int resultCode, Bundle resultData) { 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) { 84 mHandler.post(new MyRunnable(resultCode, resultData)); 86 onReceiveResult(resultCode, resultData); 93 mReceiver.send(resultCode, resultData); [all...] |
SynchronousResultReceiver.java | 52 final protected void onReceiveResult(int resultCode, Bundle resultData) { 53 super.onReceiveResult(resultCode, resultData); 54 mFuture.complete(new Result(resultCode, resultData));
|
/frameworks/base/core/java/com/android/internal/os/ |
IResultReceiver.aidl | 24 void send(int resultCode, in Bundle resultData);
|
/frameworks/support/compat/java/android/support/v4/os/ |
IResultReceiver.aidl | 23 void send(int resultCode, in Bundle resultData);
|
ResultReceiver.java | 50 MyRunnable(int resultCode, Bundle resultData) { 52 mResultData = resultData; 63 public void send(int resultCode, Bundle resultData) { 65 mHandler.post(new MyRunnable(resultCode, resultData)); 67 onReceiveResult(resultCode, resultData); 87 * @param resultData Any additional data provided by you. 89 public void send(int resultCode, Bundle resultData) { 92 mHandler.post(new MyRunnable(resultCode, resultData)); 94 onReceiveResult(resultCode, resultData); 101 mReceiver.send(resultCode, resultData); [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ResultReceiverTest.java | 21 assertEquals(bundle, testResultReceiver.resultData); 26 Bundle resultData; 33 protected void onReceiveResult(int resultCode, Bundle resultData) { 35 this.resultData = resultData;
|
/external/deqp/executor/ |
xeTestLogParser.hpp | 47 virtual void testCaseResultUpdated (const TestCaseResultPtr& resultData) = DE_NULL; 48 virtual void testCaseResultComplete (const TestCaseResultPtr& resultData) = DE_NULL;
|
xeBatchExecutor.hpp | 60 void testCaseResultUpdated (const TestCaseResultPtr& resultData); 61 void testCaseResultComplete (const TestCaseResultPtr& resultData);
|
/packages/apps/Settings/src/com/android/settings/ |
SaveChosenLockWorkerBase.java | 98 protected void finish(Intent resultData) { 100 mResultData = resultData; 117 protected void onPostExecute(Intent resultData) { 118 finish(resultData); 123 public void onChosenLockSaveFinished(boolean wasSecureBefore, Intent resultData);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowResultReceiver.java | 19 public void send(int resultCode, android.os.Bundle resultData) { 23 onReceiveResult.invoke(realResultReceiver, resultCode, resultData);
|
/cts/tests/tests/os/src/android/os/cts/ |
ResultReceiverTest.java | 59 protected void onReceiveResult(int resultCode, Bundle resultData) { 60 super.onReceiveResult(resultCode, resultData); 61 mResultData = resultData;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
SendToClientBlockingTest.java | 31 private int resultData = 0; 44 resultData = mData[0]; 90 "The data is:" + data, resultId == id && resultData == data);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiDialogActivity.java | 89 Intent resultData = new Intent(); 93 resultData.putExtra(KEY_ACCESS_POINT_STATE, accessPointState); 120 Intent resultData = new Intent(); 124 resultData.putExtra(KEY_ACCESS_POINT_STATE, accessPointState); 127 resultData.putExtra(KEY_WIFI_CONFIGURATION, config); 129 setResult(RESULT_CONNECTED, resultData);
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
ActivityTransitionTest.java | 103 assertNotNull(mReceiver.resultData); 104 assertEquals(2, mReceiver.resultData.getInt( 107 assertNotSame(View.VISIBLE, mReceiver.resultData.getInt( 109 assertNotSame(View.VISIBLE, mReceiver.resultData.getInt( 111 long enterTimeReady = mReceiver.resultData.getLong( 113 long returnTimeReady = mReceiver.resultData.getLong( 115 long enterTime = mReceiver.resultData.getLong( 117 long returnTime = mReceiver.resultData.getLong( 270 mReceiver.resultData.getInt(ActivityTransitionActivity.RETURN_VISIBILITY, -1)); 278 mReceiver.resultData.getInt(ActivityTransitionActivity.ENTER_VISIBILITY, -1)) [all...] |
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
AbstractRestrictBackgroundNetworkTestCase.java | 157 final String resultData = getResultData(); 158 if (resultData == null) { 162 result.offer(resultData); 166 final String resultData = result.poll(timeoutMs, TimeUnit.MILLISECONDS); 167 Log.d(TAG, "Ordered broadcast response after " + timeoutMs + "ms: " + resultData ); 168 return resultData; 175 final String resultData = sendOrderedBroadcast(intent); 176 assertNotNull("timeout waiting for ordered broadcast result", resultData); 177 return Integer.valueOf(resultData); 182 final String resultData = sendOrderedBroadcast(intent) [all...] |
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 65 Intent resultData = getActivity().getResultData(); 66 Bitmap bitmap = (Bitmap) resultData.getParcelableExtra("data"); 118 Intent resultData = getActivity().getResultData(); 119 Bitmap bitmap = (Bitmap) resultData.getParcelableExtra("data");
|
VideoCaptureIntentTest.java | 93 Intent resultData = getActivity().getResultData(); 94 mVideoUri = resultData.getData(); 124 Intent resultData = getActivity().getResultData(); 125 mVideoUri = resultData.getData();
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
IntentSenderTest.java | 49 int resultCode, String resultData, Bundle resultExtras) { 76 int resultCode, String resultData, Bundle resultExtras) {
|
/frameworks/base/media/java/android/media/projection/ |
MediaProjectionManager.java | 91 * @param resultData The resulting data from {@link android.app.Activity#onActivityResult(int, 94 public MediaProjection getMediaProjection(int resultCode, @NonNull Intent resultData) { 95 if (resultCode != Activity.RESULT_OK || resultData == null) { 98 IBinder projection = resultData.getIBinderExtra(EXTRA_MEDIA_PROJECTION);
|
/external/autotest/frontend/client/src/autotest/common/table/ |
RpcDataSource.java | 48 List<JSONObject> resultData = handleJsonResult(result); 49 callback.handlePage(resultData);
|
/frameworks/base/core/java/android/view/ |
WindowManagerImpl.java | 132 public void send(int resultCode, Bundle resultData) throws RemoteException { 134 resultData.getParcelableArrayList(PARCEL_KEY_SHORTCUTS_ARRAY);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorUtils.java | 286 public AccountWithDataSet getCreatedAccount(int resultCode, Intent resultData) { 289 if (resultData == null) return null; 291 final String accountType = resultData.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE); 292 final String accountName = resultData.getStringExtra(AccountManager.KEY_ACCOUNT_NAME);
|
/external/deqp/executor/tools/ |
xeBatchResultToJUnit.cpp | 104 void testCaseResultComplete (const xe::TestCaseResultPtr& resultData) 110 xe::parseTestCaseResultFromData(&m_resultParser, &result, *resultData.get());
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 60 Intent resultData = getActivity().getResultData(); 61 Bitmap bitmap = (Bitmap) resultData.getParcelableExtra("data");
|
/packages/apps/Camera2/tests_camera/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 60 Intent resultData = getActivity().getResultData(); 61 Bitmap bitmap = (Bitmap) resultData.getParcelableExtra("data");
|