Searched defs:types (Results 1 - 10 of 10) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactLookupKeyTest.java223 private void assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types, argument
227 assertEquals(types.length, list.size());
232 assertEquals(types[i], segment.lookupType);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
H A DMockAccountTypeManager.java40 public MockAccountTypeManager(AccountType[] types, AccountWithDataSet[] accounts) { argument
41 this.mTypes = types;
/packages/apps/Contacts/tests/src/com/android/contacts/model/
H A DAccountTypeManagerTest.java42 // Define account types.
55 Map<AccountTypeWithDataSet, AccountType> types =
58 assertEquals(0, types.size());
60 types.clear();
133 private static Map<AccountTypeWithDataSet, AccountType> buildAccountTypes(AccountType... types) { argument
135 for (AccountType type : types) {
158 Map<AccountTypeWithDataSet, AccountType> types,
162 AccountTypeManagerImpl.findAllInvitableAccountTypes(getContext(), accounts, types);
156 verifyAccountTypes( Collection<AccountWithDataSet> accounts, Map<AccountTypeWithDataSet, AccountType> types, AccountType... expectedInvitableTypes ) argument
/packages/apps/Mms/src/com/android/mms/transaction/
H A DTransactionSettings.java153 static private boolean isValidApnType(String types, String requestType) { argument
155 if (TextUtils.isEmpty(types)) {
159 for (String t : types.split(",")) {
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
H A DCallLogListItemHelperTest.java137 private void setPhoneCallDetailsWithTypes(int... types) { argument
140 TEST_GEOCODE, types, TEST_DATE, TEST_DURATION),
145 private void setUnreadPhoneCallDetailsWithTypes(int... types) { argument
148 TEST_GEOCODE, types, TEST_DATE, TEST_DURATION),
H A DCallLogGroupBuilderTest.java112 // Does not group with other types of calls, include voicemail themselves.
122 // Does not group with other types of calls.
237 /** Asserts that calls of the given types are grouped together into a single group. */
238 private void assertCallsAreGrouped(int... types) { argument
241 addMultipleOldCallLogEntries(TEST_NUMBER1, types);
244 assertGroupIs(0, types.length, false, mFakeGroupCreator.groups.get(0));
248 /** Asserts that calls of the given types are not grouped together at all. */
249 private void assertCallsAreNotGrouped(int... types) { argument
252 addMultipleOldCallLogEntries(TEST_NUMBER1, types);
257 /** Adds a set of calls with the given types, al
258 addMultipleOldCallLogEntries(String number, int... types) argument
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
H A DContactEditorUtilsTest.java66 // Initialize with 0 types, 0 accounts.
75 private void setAccountTypes(AccountType... types) { argument
76 mAccountTypes.mTypes = types;
84 String[] types;
86 // 0 writable types
89 types = mTarget.getWritableAccountTypeStrings();
90 MoreAsserts.assertEquals(types, new String[0]);
95 types = mTarget.getWritableAccountTypeStrings();
96 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types));
98 // 2 writable types
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DCompatUtils.java94 public static Constructor<?> getConstructor(Class<?> targetClass, Class<?> ... types) { argument
95 if (targetClass == null || types == null) return null;
97 return targetClass.getConstructor(types);
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DEntityModifierTests.java166 protected AccountTypeManager getAccountTypes(AccountType... types) { argument
167 return new MockAccountTypeManager(types, null);
207 // Build a source and pull specific types
252 // Build a source and pull specific types
281 // Build a source and pull specific types
747 // We should silently ignore types unsupported by account type
/packages/apps/Nfc/jni/
H A Dcom_android_nfc.cpp314 jint* types = e->GetIntArrayElements(libNfcTypes, 0); local
315 if (types != NULL) {
316 connectedLibNfcType = types[connectedTechIndex];
317 e->ReleaseIntArrayElements(libNfcTypes, types, JNI_ABORT);

Completed in 7736 milliseconds