Home
last modified time | relevance | path

Searched refs:TEST_VALUE (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordPolicyTest.java51 public static final int TEST_VALUE = 10; field in PasswordPolicyTest
85 assertEquals(TEST_VALUE, minMetrics.length); in testGetMinMetrics_numeric()
109 assertEquals(TEST_VALUE, minMetrics.length); in testGetMinMetrics_numericComplex()
125 assertEquals(TEST_VALUE, minMetrics.length); in testGetMinMetrics_alphabetic()
141 assertEquals(TEST_VALUE, minMetrics.length); in testGetMinMetrics_alphanumeric()
157 assertEquals(TEST_VALUE, minMetrics.length); in testGetMinMetrics_complex()
158 assertEquals(TEST_VALUE, minMetrics.letters); in testGetMinMetrics_complex()
159 assertEquals(TEST_VALUE, minMetrics.lowerCase); in testGetMinMetrics_complex()
160 assertEquals(TEST_VALUE, minMetrics.upperCase); in testGetMinMetrics_complex()
161 assertEquals(TEST_VALUE, minMetrics.symbols); in testGetMinMetrics_complex()
[all …]
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiKeystoreTest.java51 public static final byte[] TEST_VALUE = new byte[]{10, 11, 12}; field in WifiKeystoreTest
81 WifiKeystore.put(TEST_ALIAS, TEST_VALUE); in testPut()
92 when(mWifiBlobStore.get(anyString())).thenReturn(TEST_VALUE); in testGet_wifiBlobStoreDb()
93 assertArrayEquals(TEST_VALUE, WifiKeystore.get(TEST_ALIAS)); in testGet_wifiBlobStoreDb()
106 when(mLegacyKeystore.get(anyString(), anyInt())).thenReturn(TEST_VALUE); in testGet_legacyDb()
107 assertArrayEquals(TEST_VALUE, WifiKeystore.get(TEST_ALIAS)); in testGet_legacyDb()
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DPnoSettingsTest.java47 private static final int TEST_VALUE = 42; field in PnoSettingsTest
108 map.put(pnoSettings1, TEST_VALUE); in testAsHashMapKey()
110 assertEquals(TEST_VALUE, map.get(pnoSettings2).intValue()); in testAsHashMapKey()
DSingleScanSettingsTest.java44 private static final int TEST_VALUE = 42; field in SingleScanSettingsTest
119 map.put(scanSettings1, TEST_VALUE); in testAsHashMapKey()
121 assertEquals(TEST_VALUE, map.get(scanSettings2).intValue()); in testAsHashMapKey()
/frameworks/base/apct-tests/perftests/packagemanager/src/android/os/
DPackageManagerPerfTest.java63 private static final String TEST_VALUE = "value"; field in PackageManagerPerfTest
90 bundle.putString(TEST_FIELD, TEST_VALUE); in installTestApp()
124 assertEquals(bundle.getString(TEST_FIELD), TEST_VALUE); in testGetAppMetadata() local
/frameworks/base/media/tests/MediaRouter/src/com/android/mediaroutertest/
DMediaRouter2ManagerTest.java91 private static final String TEST_VALUE = "test_value"; field in MediaRouter2ManagerTest
860 controllerHints.putString(TEST_KEY, TEST_VALUE); in testRouter2SetOnGetControllerHintsListener()
881 assertThat(controlHints).string(TEST_KEY).isEqualTo(TEST_VALUE); in testRouter2SetOnGetControllerHintsListener()