/cts/tests/tests/os/src/android/os/cts/ |
D | PatternMatcherTest.java | 72 String expected2 = "test2"; in testGetPath() local 74 mPatternMatcher = new PatternMatcher(expected2, PatternMatcher.PATTERN_LITERAL); in testGetPath() 75 assertEquals(expected2, mPatternMatcher.getPath()); in testGetPath() 83 String expected2 = "PatternMatcher{PREFIX: test}"; in testToString() local 90 assertEquals(expected2, mPatternMatcher.toString()); in testToString()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorIndexOutOfBoundsExceptionTest.java | 37 String expected2 = "Index " + INDEX + " requested, with a size of " + SIZE; in testConstructors() local 55 assertEquals(expected2, e.getMessage()); in testConstructors()
|
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_SearchSnippetsTest.java | 198 final ContentValues expected2 = new ContentValues(); in testSearchSnippets_MultipleMatchesCorrectSnippet() local 199 expected2.put(Contacts._ID, ids[2]); in testSearchSnippets_MultipleMatchesCorrectSnippet() 200 expected2.put(SearchSnippets.SNIPPET, "[123] Main Street Unit 3113\u2026"); in testSearchSnippets_MultipleMatchesCorrectSnippet() 202 assertCursorStoredValuesWithContactsFilter(uri, ids, expected, expected2); in testSearchSnippets_MultipleMatchesCorrectSnippet() 215 final ContentValues expected2 = new ContentValues(); in testEnterpriseSearchSnippets_MultipleMatchesCorrectSnippet() local 216 expected2.put(Contacts._ID, ids[2]); in testEnterpriseSearchSnippets_MultipleMatchesCorrectSnippet() 217 expected2.put(SearchSnippets.SNIPPET, "[123] Main Street Unit 3113\u2026"); in testEnterpriseSearchSnippets_MultipleMatchesCorrectSnippet() 219 assertCursorStoredValuesWithContactsFilter(uri, ids, expected, expected2); in testEnterpriseSearchSnippets_MultipleMatchesCorrectSnippet()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingLifecycleTests.java | 98 List<Pair<String, String>> expected2 = List.of( in testSecondaryActivityLaunch_replacing() local 104 checkOrder(mEventLog, expected2))); in testSecondaryActivityLaunch_replacing() 140 List<Pair<String, String>> expected2 = List.of( in testSecondaryActivityLaunch_nonReplacing() local 146 checkOrder(mEventLog, expected2))); in testSecondaryActivityLaunch_nonReplacing() 183 List<Pair<String, String>> expected2 = List.of( in testSecondaryActivityLaunch_multiSplit() local 189 checkOrder(mEventLog, expected2))); in testSecondaryActivityLaunch_multiSplit()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | sample.rscript | 28 float4 expected0, float4 expected1, float4 expected2, float4 expected3) { 37 _RS_ASSERT(compare(expected2, result)); 45 float4 expected0, float4 expected1, float4 expected2, float4 expected3) { 54 _RS_ASSERT(compare(expected2, result));
|
/cts/tests/tests/util/src/android/util/cts/ |
D | TypedValueTest.java | 132 final float expected2 = 0.013092041f; in testComplexToFraction() local 134 assertEquals(expected2, TypedValue.complexToFraction(data2, base2, pbase2), 0.0f); in testComplexToFraction() 214 final float expected2 = 0.0f; in testComplexToFloat() local 218 assertEquals(expected2, TypedValue.complexToFloat(complex2), 0.0f); in testComplexToFloat()
|
/cts/tests/location/location_fine/src/android/location/cts/fine/ |
D | LocationProviderBaseTest.java | 152 Location expected2 = new Location(location2); in testReportLocations_stripExtras() local 153 expected2.setExtras(null); in testReportLocations_stripExtras() 154 List<Location> expected = Arrays.asList(expected1, expected2); in testReportLocations_stripExtras()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | InterpolatorTest.java | 64 int expected2 = 200; in testReset2() local 67 interpolator.reset(expected1, expected2); in testReset2() 69 assertEquals(expected2, interpolator.getKeyFrameCount()); in testReset2()
|
D | PathTest.java | 136 Path.FillType expected2 = Path.FillType.INVERSE_EVEN_ODD; in testAccessFillType() local 146 assertEquals(expected2, path.getFillType()); in testAccessFillType()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | TimeTest.java | 499 Time expected2 = new Time(originalTz); in testSwitchTimezone_simpleUtc() local 500 Fields.set(expected2, 2006, 9, 5, 12, 0, 0, 0 /* isDst */, 0, 277, 4); in testSwitchTimezone_simpleUtc() 501 Fields.verifyTimeEquals(expected2, t); in testSwitchTimezone_simpleUtc() 521 Time expected2 = new Time(zone1); in testSwitchTimezone_standardToStandardTime() local 522 Fields.set(expected2, 2007, 2, 10, 12, 0, 0, 0 /* isDst */, 0, 68, 6); in testSwitchTimezone_standardToStandardTime() 523 Fields.verifyTimeEquals(expected2, t); in testSwitchTimezone_standardToStandardTime() 543 Time expected2 = new Time(zone1); in testSwitchTimezone_dstToDstTime() local 544 Fields.set(expected2, 2007, 2, 26, 12, 0, 0, 1 /* isDst */, 3600, 84, 1); in testSwitchTimezone_dstToDstTime() 545 Fields.verifyTimeEquals(expected2, t); in testSwitchTimezone_dstToDstTime() 565 Time expected2 = new Time(zone1); in testSwitchTimezone_standardToDstTime() local [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/ |
D | VrListenerVerifierActivity.java | 618 ComponentName expected2 = new ComponentName(VrListenerVerifierActivity.this, in test() local 620 assertTrue("Activity component must be " + expected2 + ", but was: " + e.arg1, in test() 621 Objects.equals(expected2, e.arg1)); in test()
|
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | GlobalSearchSessionCtsTestBase.java | 623 AppSearchEmail expected2 = in testGlobalQuery_projectionTwoInstances() local 629 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionTwoInstances() 681 AppSearchEmail expected2 = in testGlobalQuery_projectionEmptyTwoInstances() local 685 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionEmptyTwoInstances() 743 AppSearchEmail expected2 = in testGlobalQuery_projectionNonExistentTypeTwoInstances() local 749 assertThat(documents).containsExactly(expected1, expected2); in testGlobalQuery_projectionNonExistentTypeTwoInstances()
|
D | AppSearchSessionCtsTestBase.java | 2133 AppSearchEmail expected2 = in testGetDocuments_projection() local 2139 assertThat(outDocuments).containsExactly(expected1, expected2); in testGetDocuments_projection() 2185 AppSearchEmail expected2 = in testGetDocuments_projectionEmpty() local 2189 assertThat(outDocuments).containsExactly(expected1, expected2); in testGetDocuments_projectionEmpty() 2240 AppSearchEmail expected2 = in testGetDocuments_projectionNonExistentType() local 2246 assertThat(outDocuments).containsExactly(expected1, expected2); in testGetDocuments_projectionNonExistentType() 2297 AppSearchEmail expected2 = in testGetDocuments_wildcardProjection() local 2303 assertThat(outDocuments).containsExactly(expected1, expected2); in testGetDocuments_wildcardProjection() 2351 AppSearchEmail expected2 = in testGetDocuments_wildcardProjectionEmpty() local 2355 assertThat(outDocuments).containsExactly(expected1, expected2); in testGetDocuments_wildcardProjectionEmpty() [all …]
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStore_Audio_Playlists_MembersTest.java | 297 final String expected2 = Audio2.getInstance().getContentValues(mVolumeName) in testStoreAudioPlaylistsMembersExternal() local 299 assertEquals(expected2, c.getString(c.getColumnIndex(Members.DATA))); in testStoreAudioPlaylistsMembersExternal()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverTest.java | 1502 final List<Change> expected2 = Arrays.asList( in testNotifyChange_MultipleFlags() local 1511 && observer2.hadChanges(expected2); in testNotifyChange_MultipleFlags()
|