/cts/tests/framework/base/windowmanager/src/android/server/wm/window/ |
D | CrossAppDragAndDropTests.java | 349 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/ |
D | ItsTestActivity.java | 618 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/ |
D | PolicySetResultUtils.java | 37 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/ |
D | DeviceTest.java | 56 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/ |
D | DeviceTest.java | 59 if (key.equals(context.getString(R.string.resultKey))) { in testdeleteNotificationChannelGroup() 72 int result = sh.getInt(context.getString(R.string.resultKey), in testdeleteNotificationChannelGroup()
|
D | PocActivity.java | 52 edit.putInt(getString(R.string.resultKey), status); in setExceptionStatus()
|
D | PocService.java | 85 edit.putInt(getString(R.string.resultKey), result); in setResult()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39626/src/android/security/cts/CVE_2021_39626/ |
D | DeviceTest.java | 79 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()
|
D | PocActivity.java | 98 edit.putInt(getString(R.string.resultKey), result); in sendTestResult()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20138/src/android/security/cts/CVE_2022_20138/ |
D | PocReceiver.java | 35 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/ |
D | DeviceTest.java | 105 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()
|
D | FirstPocActivity.java | 49 edit.putInt(getString(R.string.resultKey), result); in setSharedPreferenes()
|
D | PocMainActivity.java | 66 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/ |
D | DeviceTest.java | 88 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/ |
D | PocActivity.java | 54 edit.putInt(getString(R.string.resultKey), result); in sendTestResult()
|
D | DeviceTest.java | 110 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/ |
D | DeviceTest.java | 89 if (key.equals(getStringRes(R.string.resultKey))) { in testOverlayButtonPresence() 96 int result = sharedPrefs.getInt(getStringRes(R.string.resultKey), in testOverlayButtonPresence()
|
D | PocService.java | 100 edit.putInt(getStringRes(R.string.resultKey), result); in sendTestResult()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0487/src/android/security/cts/CVE_2021_0487/ |
D | DeviceTest.java | 105 if (key.equals(mResources.getString(R.string.resultKey))) { in testOverlayButtonPresence() 115 int result = sharedPrefs.getInt(mResources.getString(R.string.resultKey), in testOverlayButtonPresence()
|
D | PocService.java | 107 edit.putInt(getString(R.string.resultKey), result); in sendTestResult()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CameraExtensionCharacteristicsTest.java | 385 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/ |
D | DropTarget.java | 182 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/ |
D | DropTarget.java | 185 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/ |
D | DeviceTest.java | 110 if (key.equals(resources.getString(R.string.resultKey))) { in testOverlayButtonPresence() 121 int result = sharedPrefs.getInt(resources.getString(R.string.resultKey), in testOverlayButtonPresence()
|
D | PocActivity.java | 70 edit.putInt(getString(R.string.resultKey), result); in setResult()
|