Home
last modified time | relevance | path

Searched refs:expectedResult (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DCapsModeUtilsTests.java40 private static void onePathForCaps(final CharSequence cs, final int expectedResult, in onePathForCaps() argument
42 final int oneTimeResult = expectedResult & mask; in onePathForCaps()
47 private static void allPathsForCaps(final CharSequence cs, final int expectedResult, in allPathsForCaps() argument
52 onePathForCaps(cs, expectedResult, c | w | s, sp, hasSpaceBefore); in allPathsForCaps()
53 onePathForCaps(cs, expectedResult, w | s, sp, hasSpaceBefore); in allPathsForCaps()
54 onePathForCaps(cs, expectedResult, c | s, sp, hasSpaceBefore); in allPathsForCaps()
55 onePathForCaps(cs, expectedResult, c | w, sp, hasSpaceBefore); in allPathsForCaps()
56 onePathForCaps(cs, expectedResult, c, sp, hasSpaceBefore); in allPathsForCaps()
57 onePathForCaps(cs, expectedResult, w, sp, hasSpaceBefore); in allPathsForCaps()
58 onePathForCaps(cs, expectedResult, s, sp, hasSpaceBefore); in allPathsForCaps()
/packages/services/Telephony/tests/src/com/android/phone/
DLocationAccessPolicyTest.java100 LocationAccessPolicy.LocationPermissionResult expectedResult) { in setExpectedResult() argument
101 mExpectedResult = expectedResult; in setExpectedResult()
123 LocationAccessPolicy.LocationPermissionResult expectedResult; field in LocationAccessPolicyTest.Scenario
130 LocationAccessPolicy.LocationPermissionResult expectedResult, in Scenario() argument
139 this.expectedResult = expectedResult; in Scenario()
180 assertEquals(mScenario.expectedResult, in test()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallScreeningServiceFilterTest.java235 CallFilteringResult expectedResult = new CallFilteringResult.Builder() in testDisallowCall() local
259 assertEquals(expectedResult, in testDisallowCall()
269 CallFilteringResult expectedResult = new CallFilteringResult.Builder() in testSilenceCall() local
286 assertEquals(expectedResult, in testSilenceCall()
297 CallFilteringResult expectedResult = new CallFilteringResult.Builder() in testScreenCallFurther() local
314 assertEquals(expectedResult, in testScreenCallFurther()
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/metrics/
DNetworkValidationMetricsTest.java86 ProbeResult expectedResult) { in verifyProbeType() argument
87 assertEquals(expectedResult, NetworkValidationMetrics.httpProbeResultToEnum(inputResult)); in verifyProbeType()
101 ValidationResult expectedResult) { in verifyProbeType() argument
102 assertEquals(expectedResult, NetworkValidationMetrics.validationResultToEnum(inputResult, in verifyProbeType()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DMetadataEntryParserTest.java111 MetadataEntry expectedResult = new MetadataEntry(rawContactInfo, in testParseDataToMetadataEntry() local
117 assertMetaDataEntry(expectedResult, metadataEntry); in testParseDataToMetadataEntry()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/storage/
DDatabaseManagerTest.java1059 void testSetGetCustomMetaCase(boolean stored, int key, byte[] value, boolean expectedResult) { in testSetGetCustomMetaCase() argument
1066 Assert.assertEquals(expectedResult, in testSetGetCustomMetaCase()
1071 Assert.assertEquals(expectedResult, in testSetGetCustomMetaCase()
1073 if (expectedResult) { in testSetGetCustomMetaCase()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/statemachine/
DEapSimChallengeStateTest.java269 List<RandChallengeResult> expectedResult = Arrays.asList( in testGetRandChallengeResults() local
272 assertEquals(expectedResult, actualResult); in testGetRandChallengeResults()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp5409 std::vector<std::string> expectedResult; in TEST_F() local
5413 expectedResult.emplace_back("2001:db8:cafe:d00d::31"); in TEST_F()
5417 expectedResult.emplace_back("1.1.1.31"); in TEST_F()
5420 EXPECT_THAT(result_strs, testing::UnorderedElementsAreArray(expectedResult)); in TEST_F()