Home
last modified time | relevance | path

Searched refs:resultData (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionTest.java103 assertNotNull(mReceiver.resultData); in testOnSharedElementsArrived()
104 assertEquals(2, mReceiver.resultData.getInt( in testOnSharedElementsArrived()
107 assertNotSame(View.VISIBLE, mReceiver.resultData.getInt( in testOnSharedElementsArrived()
109 assertNotSame(View.VISIBLE, mReceiver.resultData.getInt( in testOnSharedElementsArrived()
111 long enterTimeReady = mReceiver.resultData.getLong( in testOnSharedElementsArrived()
113 long returnTimeReady = mReceiver.resultData.getLong( in testOnSharedElementsArrived()
115 long enterTime = mReceiver.resultData.getLong( in testOnSharedElementsArrived()
117 long returnTime = mReceiver.resultData.getLong( in testOnSharedElementsArrived()
183 assertNotNull(mReceiver.resultData);
184 assertEquals(1, mReceiver.resultData.getInt(
[all …]
/cts/tests/tests/gameservice/CtsGameServiceStartActivityVerifier/src/android/service/games/cts/startactivityverifier/
DMainActivity.java48 final String resultData = resultDataEditable.getText().toString(); in onCreate()
49 if (TextUtils.isEmpty(resultData)) { in onCreate()
53 data.putExtra("data", resultData); in onCreate()
/cts/tests/tests/os/src/android/os/cts/
DResultReceiverTest.java61 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument
62 super.onReceiveResult(resultCode, resultData); in onReceiveResult()
63 mResultData = resultData; in onReceiveResult()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DSendToClientBlockingTest.java31 private int resultData = 0; field in SendToClientBlockingTest
52 resultData = mData[0];
98 "The data is:" + data, resultId == id && resultData == data); in testSendToClientBlocking3Params()
DImageProcessingTest.java127 byte[] resultData = new byte[w * h * 4]; in testBlend()
179 dst.copyTo(resultData); in testBlend()
181 assertTrue(name, similar(resultData,dstData)); in testBlend()
182 Log.v("BlendUnit", name + " " + similar(resultData, dstData)); in testBlend()
249 dst.copyTo(resultData); in testBlend()
251 assertTrue(name, similar(resultData,dstData)); in testBlend()
252 Log.v("BlendUnit", name + " " + similar(resultData, dstData)); in testBlend()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBlockedNumberUtil.java79 protected void onReceiveResult(int resultCode, Bundle resultData) { in runBlockedNumberService()
80 result.putAll(resultData); in runBlockedNumberService()
/cts/tests/tests/security/src/android/security/cts/
DBasePermissionUiTest.kt182 result.resultData!!.getStringArrayExtra("$APP_PACKAGE_NAME.PERMISSIONS")!!.size, in <lambda>()
183 result.resultData!!.getIntArrayExtra("$APP_PACKAGE_NAME.GRANT_RESULTS")!!.size in <lambda>()
188 result.resultData!!.getStringArrayExtra("$APP_PACKAGE_NAME.PERMISSIONS")!! in <lambda>()
190 result.resultData!!.getIntArrayExtra("$APP_PACKAGE_NAME.GRANT_RESULTS")!! in <lambda>()
DDeviceIdleControllerTest.java50 protected void onReceiveResult(int resultCode, Bundle resultData) { in testAddWhiteList()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DDirectShellCommand.java116 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument
135 mResult = new Result(resultCode, resultData, joiner.toString(), resultException); in onReceiveResult()
/cts/tests/sensor/src/android/hardware/cts/accessories/
DHidCommand.kt78 protected fun setGetReportResponse(resultData: HidResultData) { in setGetReportResponse()
81 for (reportData in resultData.reportData) { in setGetReportResponse()
/cts/tests/app/src/android/app/cts/
DInstrumentationHelperService.java72 protected void onReceiveResult(int resultCode, Bundle resultData) { in startInstrumentation()
DCloseSystemDialogsTest.java527 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument
DPendingIntentTest.java75 String resultData, Bundle resultExtras) { in setUp()
DServiceTest.java1399 String resultData, Bundle resultExtras) { in onSendFinished() argument
/cts/tests/tests/content/src/android/content/pm/cts/
DIncrementalDeviceConnection.java190 protected void onReceiveResult(int resultCode, Bundle resultData) { in connectToService()
196 + resultData); in connectToService()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSession2Test.java487 Bundle resultData = new Bundle(); in testCallback_onCommandResult() local
488 resultData.putString(commandResultKey, commandResultValue); in testCallback_onCommandResult()
489 Session2Command.Result commandResult = new Session2Command.Result(resultCode, resultData); in testCallback_onCommandResult()
727 Bundle resultData = new Bundle(); in onSessionCommand() local
728 resultData.putString(commandResultKey, commandResultValue); in onSessionCommand()
730 new Session2Command.Result(resultCode, resultData); in onSessionCommand()
DMediaController2Test.java77 Bundle resultData = new Bundle();
78 resultData.putString(SESSION_RESULT_KEY, SESSION_RESULT_VALUE); in resultData.putString()
79 SESSION_COMMAND_RESULT = new Session2Command.Result(SESSION_RESULT_CODE, resultData);
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DWindowFocusStealer.java49 protected void onReceiveResult(int resultCode, Bundle resultData) { in onReceiveResult() argument
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java405 String resultData = StartActivityVerifierPage.getResultData(result.getSuccess().getData()); in startActivityForResult_startsActivityAndReceivesResultWithData() local
406 assertThat(resultData).isEqualTo("foobar"); in startActivityForResult_startsActivityAndReceivesResultWithData()
566 String resultData = StartActivityVerifierPage.getResultData(result.getSuccess().getData()); in restartGame_withNonGameActivityAbove_gameSessionIsPersisted() local
567 assertThat(resultData).isEqualTo("hello mom!"); in restartGame_withNonGameActivityAbove_gameSessionIsPersisted()
926 public static void setResultData(String resultData) throws Exception {
927 setText(START_ACTIVITY_VERIFIER_PACKAGE_NAME, "result_data_edit_text", resultData);
/cts/tests/AlarmManager/src/android/alarmmanager/cts/
DExactAlarmsTest.java261 final AtomicReference<String> resultData = new AtomicReference<>(null); in assertResultFromTestApp() local
270 resultData.set(getResultData()); in assertResultFromTestApp()
278 return resultData.get(); in assertResultFromTestApp()
/cts/hostsidetests/appsecurity/test-apps/IsolatedSplitApp/src/com/android/cts/isolatedsplitapp/
DSplitAppTest.java369 final Intent resultData = result.getResultData(); in testNativeSplit_withoutExtractLibs_nativeLibraryCannotBeLoaded() local
370 final String errorMessage = resultData.getStringExtra(Intent.EXTRA_RETURN_RESULT); in testNativeSplit_withoutExtractLibs_nativeLibraryCannotBeLoaded()
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/
DQuickAccessWalletClientTest.java620 String resultData, Bundle resultExtras) { in onSendFinished() argument