Searched refs:getByteArray (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldPreferencesTest.java | 86 p.getByteArray(null, null); in testAbstractMethods() 214 pref.getByteArray(null, new byte[0]); in testGetByteArray() 223 assertTrue(Arrays.equals(new byte[] { 105, -73 }, pref.getByteArray( in testGetByteArray() 226 .getByteArray("testGetByteArrayKey2", new byte[0]))); in testGetByteArray() 227 assertTrue(Arrays.equals(new byte[0], pref.getByteArray("invalidKey", in testGetByteArray() 232 assertTrue(Arrays.equals(b64Array, pref.getByteArray( in testGetByteArray() 234 assertTrue(Arrays.equals("abc".getBytes(), pref.getByteArray( in testGetByteArray() 585 assertTrue(Arrays.equals(new byte[0], pref.getByteArray( in testPutByteArray() 591 .getByteArray("testPutByteArrayKey3", null))); in testPutByteArray() 1004 public byte[] getByteArray(String key, byte[] deflt) { in getByteArray() method in OldPreferencesTest.MockPreferences
|
D | OldAbstractPreferencesTest.java | 550 array = pref.getByteArray("Array", null); in testPutByteArray() 605 array = pref.getByteArray("Value", tmp); in testGetByteArray() 611 array = pref.getByteArray("DoubleValue", tmp); in testGetByteArray() 617 array = pref.getByteArray("Array", tmp); in testGetByteArray() 624 pref.getByteArray(null, tmp); in testGetByteArray() 633 pref.getByteArray("Array", tmp); in testGetByteArray()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | AbstractPreferencesTest.java | 288 assertTrue(Arrays.equals(new byte[0], pref.getByteArray( in testPutByteArray() 294 .getByteArray("testPutByteArrayKey3", null))); in testPutByteArray() 299 pref.getByteArray(null, new byte[0]); in testGetByteArray() 312 assertTrue(Arrays.equals(new byte[] { 105, -73 }, pref.getByteArray( in testGetByteArray() 315 .getByteArray("testGetByteArrayKey2", new byte[0]))); in testGetByteArray() 316 assertTrue(Arrays.equals(new byte[0], pref.getByteArray("invalidKey", in testGetByteArray() 321 assertTrue(Arrays.equals(b64Array, pref.getByteArray( in testGetByteArray() 323 assertTrue(Arrays.equals("abc".getBytes(), pref.getByteArray( in testGetByteArray() 1068 p.getByteArray("key", new byte[0]); in testBackingStoreException() 1197 p.getByteArray("key", new byte[0]); in testRuntimeException() [all …]
|
D | PreferencesTest.java | 291 public byte[] getByteArray(String key, byte[] deflt) { in getByteArray() method in PreferencesTest.MockPreferences
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | Preferences.java | 921 public abstract byte[] getByteArray(String key, byte[] def); in getByteArray() method in Preferences
|
D | AbstractPreferences.java | 661 public byte[] getByteArray(String key, byte[] def) { in getByteArray() method in AbstractPreferences
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 80 byte[] ba = getByteArray(TestUtils.getX509Certificate_v1()); in test_X500Principal_02() 116 byte[] ba = getByteArray(TestUtils.getX509Certificate_v1()); in test_X500Principal_03() 234 byte[] ba = getByteArray(TestUtils.getX509Certificate_v1()); in test_getEncoded() 263 private byte[] getByteArray(byte[] array) { in getByteArray() method in X500PrincipalTest
|