Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/
DRemoteInputTest.java29 private static final String RESULT_KEY = "result_key"; // value doesn't matter field in RemoteInputTest
71 new RemoteInput.Builder(RESULT_KEY) in testRemoteInputBuilder_setDataAndTextAndChoices()
87 new RemoteInput.Builder(RESULT_KEY) in testRemoteInputBuilder_setEditChoicesBeforeSending()
99 new RemoteInput.Builder(RESULT_KEY) in testRemoteInputBuilder_setEditChoicesBeforeSendingRequiresFreeInput()
222 assertTrue(getResults.containsKey(RESULT_KEY)); in verifyIntentHasTextResults()
223 assertEquals(expected, getResults.getCharSequence(RESULT_KEY, "default")); in verifyIntentHasTextResults()
227 Map<String, Uri> getResults = RemoteInput.getDataResultsFromIntent(intent, RESULT_KEY); in verifyIntentHasDataResults()
235 return new RemoteInput.Builder(RESULT_KEY).build(); // allowFreeForm defaults to true in newTextRemoteInput()
242 return new RemoteInput.Builder(RESULT_KEY) in newChoicesOnlyRemoteInput()
249 return new RemoteInput.Builder(RESULT_KEY) in newDataOnlyRemoteInput()
[all …]
/cts/tests/tests/permission/AppThatRunsRationaleTests/src/android/permission/cts/appthatrunsrationaletests/
DTestActivity.java26 private static final String RESULT_KEY = "testactivityresult"; field in TestActivity
37 res.putBoolean(RESULT_KEY, result); in onCreate()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_0339.java46 private static final String RESULT_KEY = "testactivityresult"; field in CVE_2021_0339
69 callbackReturn.complete(result.getInt(RESULT_KEY))); in testPocCVE_2021_0339()
115 res.putInt(RESULT_KEY, duration); in onActivityResult()
/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/apps/CameraITS/tools/
Drun_all_tests.py43 RESULT_KEY = 'result' variable
169 if RESULT_KEY not in results[scene]:
171 if results[scene][RESULT_KEY] not in RESULT_VALUES:
443 results[s] = {RESULT_KEY: RESULT_NOT_EXECUTED}
589 results[s][RESULT_KEY] = (RESULT_PASS if num_fail == 0 else RESULT_FAIL)
/cts/tests/tests/permission/src/android/permission/cts/
DActivityPermissionRationaleTest.java53 private static final String RESULT_KEY = "testactivityresult"; field in ActivityPermissionRationaleTest
75 callbackReturn.complete(result.getBoolean(RESULT_KEY))); in assertAppShowRationaleIs()
/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()