Searched refs:expected (Results 51 - 64 of 64) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java82 ParseException(StreamTokenizer state, String expected) { argument
83 super("expected " + expected + ", saw " + state.toString());
/frameworks/base/core/java/android/os/
H A DStrictMode.java1962 Integer expected = sExpectedActivityInstanceCount.get(klass);
1963 Integer newExpected = expected == null ? 1 : expected + 1;
1982 Integer expected = sExpectedActivityInstanceCount.get(klass);
1983 int newExpected = (expected == null || expected == 0) ? 0 : expected - 1;
/frameworks/base/core/tests/coretests/src/android/net/
H A DLinkPropertiesTest.java256 } catch (IllegalArgumentException expected) {}
266 } catch (IllegalArgumentException expected) {}
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerBaseTest.java188 * @param size The expected size of the file
543 * @param expected The expected int value
545 private void verifyInt(Cursor cursor, String columnName, int expected) { argument
548 assertEquals(expected, actual);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DVideoEditorHelper.java109 public boolean checkRange(long expected, long actual, long rangePercent) { argument
111 range = (100 * actual) / expected;
325 "\t<expected> " + vCodec + "\t<actual> " + mvi.getVideoType(),
331 "\t<expected> " + export_height + "\t<actual> " + mvi.getHeight(),
338 "<expected> " + (startTime + endTime) + "\t<actual> " +
346 "<expected> " + (endTime - startTime) + "\t<actual> " +
372 "\t<expected> " + vCodec + "\t<actual> " + mvi.getVideoType(),
379 "\t<expected> " + aCodec + "\t<actual> " + mvi.getAudioType(),
385 "\t<expected> " + export_height + "\t<actual> " + mvi.getHeight(),
392 fileName + "<expected> "
[all...]
/frameworks/base/core/tests/coretests/src/android/os/
H A DMemoryFileTest.java113 } catch (IndexOutOfBoundsException expected) {
/frameworks/base/keystore/tests/src/android/security/
H A DAndroidKeyStoreTest.java1088 * The amount of time to allow before and after expected time for variance
1120 assertTrue("The alias should be in the expected set", expectedSet.contains(alias));
1123 assertTrue("The expected set and actual set should be exactly equal", expectedSet.isEmpty());
1393 Certificate[] expected = new Certificate[2];
1394 expected[0] = cf.generateCertificate(new ByteArrayInputStream(FAKE_RSA_USER_1));
1395 expected[1] = cf.generateCertificate(new ByteArrayInputStream(FAKE_RSA_CA_1));
1400 assertEquals("Returned certificate chain should be correct size", expected.length,
1402 assertEquals("First certificate should be user certificate", expected[0], actual[0]);
1403 assertEquals("Second certificate should be CA certificate", expected[1], actual[1]);
1859 PrivateKeyEntry expected
[all...]
H A DAndroidKeyPairGeneratorTest.java452 } catch (IllegalStateException expected) {
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DContainerEncryptionParamsTest.java54 ContainerEncryptionParams expected = new ContainerEncryptionParams(ENC_ALGORITHM,
59 expected.writeToParcel(parcel, 0);
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DAbstractProxyTest.java235 } catch (IOException expected) {
/frameworks/base/core/jni/
H A Dandroid_text_format_Time.cpp384 static bool check_char(JNIEnv* env, const ScopedStringChars& s, int spos, jchar expected) argument
387 if (c != expected) {
390 c, spos, expected);
402 "String too short -- expected at least 8 characters.");
483 "String too short --- expected at least 10 characters.");
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DDelegateClassAdapterTest.java82 // This is expected to fail since the native method is not implemented.
112 // This is expected to fail since the native method has NOT been
139 @Test(expected=UnsupportedOperationException.class)
/frameworks/base/media/java/android/media/
H A DMediaScanner.java653 private boolean convertGenreCode(String input, String expected) { argument
655 if (output.equals(expected)) {
658 Log.d(TAG, "'" + input + "' -> '" + output + "', expected '" + expected + "'");
/frameworks/base/services/java/com/android/server/content/
H A DSyncStorageEngine.java1951 } catch (NullPointerException expected) {

Completed in 6501 milliseconds

123