Home
last modified time | relevance | path

Searched refs:RESULT_KEY (Results 1 – 12 of 12) sorted by relevance

/cts/tests/app/src/android/app/cts/
DRemoteInputTest.java31 private static final String RESULT_KEY = "result_key"; // value doesn't matter field in RemoteInputTest
73 new RemoteInput.Builder(RESULT_KEY) in testRemoteInputBuilder_setDataAndTextAndChoices()
89 new RemoteInput.Builder(RESULT_KEY) in testRemoteInputBuilder_setEditChoicesBeforeSending()
101 new RemoteInput.Builder(RESULT_KEY) in testRemoteInputBuilder_setEditChoicesBeforeSendingRequiresFreeInput()
246 assertTrue(getResults.containsKey(RESULT_KEY)); in verifyIntentHasTextResults()
247 assertEquals(expected, getResults.getCharSequence(RESULT_KEY, "default")); in verifyIntentHasTextResults()
251 Map<String, Uri> getResults = RemoteInput.getDataResultsFromIntent(intent, RESULT_KEY); in verifyIntentHasDataResults()
259 return new RemoteInput.Builder(RESULT_KEY).build(); // allowFreeForm defaults to true in newTextRemoteInput()
266 return new RemoteInput.Builder(RESULT_KEY) in newChoicesOnlyRemoteInput()
273 return new RemoteInput.Builder(RESULT_KEY) in newDataOnlyRemoteInput()
[all …]
/cts/tests/tests/uidmigration/DataTestApp/src/android/uidmigration/cts/
DDataProvider.kt26 private const val RESULT_KEY = "result" constant
45 data.putString(RESULT_KEY, uuid) in checkData()
/cts/hostsidetests/ui/src/android/ui/cts/
DTaskSwitchingTest.java51 private static final String RESULT_KEY = "COMPATIBILITY_TEST_RESULT"; field in TaskSwitchingTest
135 if (testMetrics.containsKey(RESULT_KEY)) { in testEnded()
137 mReport = ReportLog.parse(testMetrics.get(RESULT_KEY)); in testEnded()
/cts/tests/tests/uidmigration/src/android/uidmigration/cts/
DAppIdMigrationTest.kt43 private const val RESULT_KEY = "result" constant
132 val oldUUID = result.getString(RESULT_KEY).assertNotNull() in <lambda>()
141 val newUUID = result.getString(RESULT_KEY) in <lambda>()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_0339.java49 private static final String RESULT_KEY = "testactivityresult"; field in CVE_2021_0339
72 callbackReturn.complete(result.getInt(RESULT_KEY))); in testPocCVE_2021_0339()
122 res.putInt(RESULT_KEY, duration); in onActivityResult()
/cts/hostsidetests/multidevices/tools/
Drun_all_tests.py28 RESULT_KEY = 'result' variable
164 test_results.setdefault(test_key, {RESULT_KEY: result})
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
DDeviceReportTest.java52 private static final String RESULT_KEY = "COMPATIBILITY_TEST_RESULT"; field in DeviceReportTest
84 String metrics = inst.mResults.getString(RESULT_KEY); in testSubmit()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20115/src/android/security/cts/CVE_2022_20115/
DDeviceTest.java132 if (key.equals(mContext.getResources().getString(R.string.RESULT_KEY))) { in testCellLocation()
146 result = sh.getInt(mContext.getResources().getString(R.string.RESULT_KEY), in testCellLocation()
DPocActivity.java40 edit.putInt(getString(R.string.RESULT_KEY), result); in setResultForSP()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2020-0338/src/android/security/cts/CVE_2020_0338/
DDeviceTest.java62 result = sh.getInt(context.getResources().getString(R.string.RESULT_KEY), 0); in testCVE_2020_0338()
DPocActivity.java38 edit.putInt(getString(R.string.RESULT_KEY), result); in setResult()
/cts/apps/CameraITS/tools/
Drun_all_tests.py48 RESULT_KEY = 'result' variable
229 if RESULT_KEY not in results[scene]:
231 if results[scene][RESULT_KEY] not in RESULT_VALUES:
780 results[s] = {RESULT_KEY: RESULT_NOT_EXECUTED}
1003 results[s][RESULT_KEY] = (RESULT_PASS if num_fail == 0 else RESULT_FAIL)