Searched refs:RESULT_KEY (Results 1 – 12 of 12) sorted by relevance
/cts/tests/app/src/android/app/cts/ |
D | RemoteInputTest.java | 31 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/ |
D | DataProvider.kt | 26 private const val RESULT_KEY = "result" constant 45 data.putString(RESULT_KEY, uuid) in checkData()
|
/cts/hostsidetests/ui/src/android/ui/cts/ |
D | TaskSwitchingTest.java | 51 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/ |
D | AppIdMigrationTest.kt | 43 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/ |
D | CVE_2021_0339.java | 49 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/ |
D | run_all_tests.py | 28 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/ |
D | DeviceReportTest.java | 52 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/ |
D | DeviceTest.java | 132 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()
|
D | PocActivity.java | 40 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/ |
D | DeviceTest.java | 62 result = sh.getInt(context.getResources().getString(R.string.RESULT_KEY), 0); in testCVE_2020_0338()
|
D | PocActivity.java | 38 edit.putInt(getString(R.string.RESULT_KEY), result); in setResult()
|
/cts/apps/CameraITS/tools/ |
D | run_all_tests.py | 48 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)
|