Searched refs:types (Results 1 - 20 of 20) sorted by relevance

/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DCompatUtils.java81 public static Constructor<?> getConstructor(Class<?> targetClass, Class<?> ... types) { argument
82 if (targetClass == null || types == null) return null;
84 return targetClass.getConstructor(types);
/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/tests/mocks/
H A DMockAccountTypeManager.java40 public MockAccountTypeManager(AccountType[] types, AccountWithDataSet[] accounts) { argument
41 this.mTypes = types;
/packages/apps/Mms/src/com/android/mms/transaction/
H A DTransactionSettings.java160 static private boolean isValidApnType(String types, String requestType) { argument
162 if (TextUtils.isEmpty(types)) {
166 for (String t : types.split(",")) {
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorUtils.java242 final Set<String> types = Sets.newHashSet();
244 types.add(type.accountType);
246 return types.toArray(new String[types.size()]);
251 * types will be limited to ones that supports editing contacts.
/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/providers/MediaProvider/src/com/android/providers/media/
H A DRingtonePickerActivity.java140 // Get the types of ringtones to show
141 int types = intent.getIntExtra(RingtoneManager.EXTRA_RINGTONE_TYPE, -1);
142 if (types != -1) {
143 mRingtoneManager.setType(types);
/packages/apps/Camera/perftests/panorama/
H A Dbenchmark.cpp18 #include <sys/types.h>
/packages/apps/Nfc/jni/
H A Dcom_android_nfc.cpp315 jint* types = e->GetIntArrayElements(libNfcTypes, 0); local
316 if (types != NULL) {
317 connectedLibNfcType = types[connectedTechIndex];
318 e->ReleaseIntArrayElements(libNfcTypes, types, JNI_ABORT);
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DPowerUsageSummary.java203 int[] types;
209 types = new int[] {
245 types = new int[] {
257 types = new int[] {
276 types = new int[] {
295 types = new int[] {
303 args.putIntArray(PowerUsageDetail.EXTRA_DETAIL_TYPES, types);
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DVpnSettings.java502 String[] types = getContext().getResources()
504 setSummary(types[mProfile.type]);
/packages/inputmethods/LatinIME/native/jni/
H A Dcom_android_inputmethod_latin_BinaryDictionary.cpp35 #include <sys/types.h>
/packages/experimental/procstatlog/
H A Dprocstatlog.c26 #include <sys/types.h>
/packages/inputmethods/PinyinIME/jni/android/
H A Dcom_android_inputmethod_pinyin_PinyinDecoderService.cpp21 #include <sys/types.h>
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailFragment.java828 // invitable types for me profile.)
879 * account types.
1882 // Only allow primary support for Phone and Email content types
2195 * Adapter for the invitable account types; used for the invitable account type list popup.
2205 final List<AccountType> types = contactData.getInvitableAccountTypes();
2206 mAccountTypes = new ArrayList<AccountType>(types.size());
2208 for (int i = 0; i < types.size(); i++) {
2209 mAccountTypes.add(types.get(i));
/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/inputmethods/PinyinIME/jni/share/
H A Duserdict.cpp29 #include <sys/types.h>

Completed in 314 milliseconds