Home
last modified time | relevance | path

Searched refs:resultKey (Results 1 – 25 of 33) sorted by relevance

12

/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DCrossAppDragAndDropTests.java349 private void assertSourceResult(String resultKey, String expectedResult) throws Exception { in assertSourceResult() argument
350 assertResult(mSourceResults, resultKey, expectedResult); in assertSourceResult()
353 private void assertTargetResult(String resultKey, String expectedResult) throws Exception { in assertTargetResult() argument
354 assertResult(mTargetResults, resultKey, expectedResult); in assertTargetResult()
357 private void assertResult(Map<String, String> results, String resultKey, String expectedResult) in assertResult() argument
360 if (results.containsKey(resultKey)) { in assertResult()
361 fail("Unexpected " + resultKey + "=" + results.get(resultKey)); in assertResult()
364 assertTrue("Missing " + resultKey, results.containsKey(resultKey)); in assertResult()
365 assertEquals(resultKey + " result mismatch,", expectedResult, results.get(resultKey)); in assertResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java618 String resultKey = result.split(":")[0].strip(); in parsePerfMetrics() local
622 obj.put(resultKey, strValue); in parsePerfMetrics()
623 } else if (floatKeys.stream().anyMatch(resultKey::contains)) { in parsePerfMetrics()
625 obj.put(resultKey, value); in parsePerfMetrics()
626 } else if (booleanKeys.stream().anyMatch(resultKey::contains)) { in parsePerfMetrics()
628 obj.put(resultKey, value); in parsePerfMetrics()
629 } else if (integerKeys.stream().anyMatch(resultKey::contains)) { in parsePerfMetrics()
631 obj.put(resultKey, value); in parsePerfMetrics()
633 obj.put(resultKey, strValue); in parsePerfMetrics()
712 String resultKey = result.split(":")[0].strip(); in matchPerfMetricsResult() local
[all …]
/cts/tests/devicepolicy/src/android/devicepolicy/cts/utils/
DPolicySetResultUtils.java37 DeviceState deviceState, String policyIdentifier, int resultKey, int targetUser, in assertPolicySetResultReceived() argument
46 .isEqualTo(resultKey) in assertPolicySetResultReceived()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39808/src/android/security/cts/CVE_2021_39808/
DDeviceTest.java56 if (key.equals(context.getString(R.string.resultKey))) { in testService()
70 int result = sh.getInt(context.getString(R.string.resultKey), in testService()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39704/src/android/security/cts/CVE_2021_39704/
DDeviceTest.java59 if (key.equals(context.getString(R.string.resultKey))) { in testdeleteNotificationChannelGroup()
72 int result = sh.getInt(context.getString(R.string.resultKey), in testdeleteNotificationChannelGroup()
DPocActivity.java52 edit.putInt(getString(R.string.resultKey), status); in setExceptionStatus()
DPocService.java85 edit.putInt(getString(R.string.resultKey), result); in setResult()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39626/src/android/security/cts/CVE_2021_39626/
DDeviceTest.java79 int result = mSharedPrefs.getInt(mResources.getString(R.string.resultKey), in tearDown()
117 if (key.equals(mResources.getString(R.string.resultKey))) { in testBtDiscoverable()
125 int result = mSharedPrefs.getInt(mResources.getString(R.string.resultKey), in testBtDiscoverable()
DPocActivity.java98 edit.putInt(getString(R.string.resultKey), result); in sendTestResult()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20138/src/android/security/cts/CVE_2022_20138/
DPocReceiver.java35 edit.putBoolean(context.getString(R.string.resultKey), true); in onReceive()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20007/test-app/src/android/security/cts/CVE_2022_20007/
DDeviceTest.java105 if (key.equals(getStringRes(R.string.resultKey))) { in testRaceCondition()
135 checkResult(getStringRes(R.string.resultKey)); in testRaceCondition()
165 checkResult(getStringRes(R.string.resultKey)); in testRaceCondition()
DFirstPocActivity.java49 edit.putInt(getString(R.string.resultKey), result); in setSharedPreferenes()
DPocMainActivity.java66 edit.putInt(getString(R.string.resultKey), in onCreate()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39797/test-app/src/android/security/cts/CVE_2021_39797_test/
DDeviceTest.java88 if (key.equals(context.getString(R.string.resultKey))) { in testTaskOverride()
99 int result = sharedPrefs.getInt(context.getString(R.string.resultKey), in testTaskOverride()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20353/src/android/security/cts/CVE_2022_20353/
DPocActivity.java54 edit.putInt(getString(R.string.resultKey), result); in sendTestResult()
DDeviceTest.java110 if (key.equals(mContext.getString(R.string.resultKey))) { in testDefaultRingtonePreference()
119 int result = sharedPrefs.getInt(mContext.getString(R.string.resultKey), in testDefaultRingtonePreference()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0954/src/android/security/cts/CVE_2021_0954/
DDeviceTest.java89 if (key.equals(getStringRes(R.string.resultKey))) { in testOverlayButtonPresence()
96 int result = sharedPrefs.getInt(getStringRes(R.string.resultKey), in testOverlayButtonPresence()
DPocService.java100 edit.putInt(getStringRes(R.string.resultKey), result); in sendTestResult()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0487/src/android/security/cts/CVE_2021_0487/
DDeviceTest.java105 if (key.equals(mResources.getString(R.string.resultKey))) { in testOverlayButtonPresence()
115 int result = sharedPrefs.getInt(mResources.getString(R.string.resultKey), in testOverlayButtonPresence()
DPocService.java107 edit.putInt(getString(R.string.resultKey), result); in sendTestResult()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraExtensionCharacteristicsTest.java385 for (CaptureResult.Key resultKey : resultKeys) { in testExtensionResultKeys()
388 resultKey.getName()); in testExtensionResultKeys()
389 assertTrue(msg, staticMeta.areKeysAvailable(resultKey) || in testExtensionResultKeys()
390 extensionResultKeys.contains(resultKey)); in testExtensionResultKeys()
391 resultKeyNames.add(resultKey.getName()); in testExtensionResultKeys()
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/
DDropTarget.java182 private void accessContent(DragEvent event, String resultKey, boolean requestPermissions) { in accessContent() argument
188 if (resultKey.equals(RESULT_KEY_DROP_RESULT)) { in accessContent()
192 logResult(resultKey, result); in accessContent()
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/
DDropTarget.java185 private void accessContent(DragEvent event, String resultKey, boolean requestPermissions) { in accessContent() argument
191 if (resultKey.equals(RESULT_KEY_DROP_RESULT)) { in accessContent()
195 logResult(resultKey, result); in accessContent()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39692/src/android/security/cts/CVE_2021_39692/
DDeviceTest.java110 if (key.equals(resources.getString(R.string.resultKey))) { in testOverlayButtonPresence()
121 int result = sharedPrefs.getInt(resources.getString(R.string.resultKey), in testOverlayButtonPresence()
DPocActivity.java70 edit.putInt(getString(R.string.resultKey), result); in setResult()

12