Searched refs:expectedType (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | PreferenceUtil.java | 25 public static boolean checkPreferenceType(Preference preference, Class expectedType) { in checkPreferenceType() argument 26 return expectedType.isInstance(preference); in checkPreferenceType() 34 public static void requirePreferenceType(Preference preference, Class expectedType) { in requirePreferenceType() argument 35 if (!checkPreferenceType(preference, expectedType)) { in requirePreferenceType() 37 "Preference should be of type " + expectedType.getName()); in requirePreferenceType()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | TypedUriMatcherImplTest.java | 92 private void assertUriTypeMatch(UriType expectedType, String uri) { in assertUriTypeMatch() argument 93 assertEquals(expectedType, mTypedUriMatcherImpl.match(Uri.parse(uri))); in assertUriTypeMatch()
|
/packages/services/Car/tools/emulator/ |
D | vhal_emulator_test.py | 154 def _rxMsgAndValidate(self, expectedType, expectedStatus): argument 157 if rxMsg.msg_type != expectedType: 158 … self._log.error("rxMsg Type expected: 0x%X, received: 0x%X", expectedType, rxMsg.msg_type)
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
D | TetherServiceTest.java | 305 private boolean waitForProvisionRequest(int expectedType) { in waitForProvisionRequest() argument 308 if (mLastTetherRequestType == expectedType) { in waitForProvisionRequest() 315 expectedType, mLastTetherRequestType)); in waitForProvisionRequest()
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ChannelImplTest.java | 235 int expectedType, String inputPackageName, String appLinkText, Intent appLinkIntent) { in assertAppLinkType() argument 250 .isEqualTo(expectedType); in assertAppLinkType()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactDeltaListTests.java | 192 final String expectedType = getTypeString(expected); in assertDiffPattern() local 194 assertEquals("Unexpected type", expectedType, foundType); in assertDiffPattern()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 3526 private String getResourceName(Resources resources, String expectedType, Integer resourceId) { in getResourceName() argument 3535 if (!expectedType.equals(resourceTypeName)) { in getResourceName() 3537 resourceTypeName + " but " + expectedType + " is required."); in getResourceName()
|