Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 62) sorted by relevance

123

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DContactEditorUtilsTest.java75 private void setAccountTypes(AccountType... types) { in setAccountTypes() argument
76 mAccountTypes.mTypes = types; in setAccountTypes()
84 String[] types; in testGetWritableAccountTypeStrings() local
89 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
90 MoreAsserts.assertEquals(types, new String[0]); in testGetWritableAccountTypeStrings()
95 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
96 MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types)); in testGetWritableAccountTypeStrings()
101 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
103 Sets.newHashSet(types)); in testGetWritableAccountTypeStrings()
108 types = mTarget.getWritableAccountTypeStrings(); in testGetWritableAccountTypeStrings()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DAccountTypeManagerTest.java55 Map<AccountTypeWithDataSet, AccountType> types = in testFindAllInvitableAccountTypes() local
58 assertEquals(0, types.size()); in testFindAllInvitableAccountTypes()
60 types.clear(); in testFindAllInvitableAccountTypes()
133 … private static Map<AccountTypeWithDataSet, AccountType> buildAccountTypes(AccountType... types) { in buildAccountTypes() argument
135 for (AccountType type : types) { in buildAccountTypes()
158 Map<AccountTypeWithDataSet, AccountType> types, in verifyAccountTypes() argument
162 AccountTypeManagerImpl.findAllInvitableAccountTypes(getContext(), accounts, types); in verifyAccountTypes()
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/
DCallLogListItemHelperTest.java137 private void setPhoneCallDetailsWithTypes(int... types) { in setPhoneCallDetailsWithTypes() argument
140 TEST_GEOCODE, types, TEST_DATE, TEST_DURATION), in setPhoneCallDetailsWithTypes()
145 private void setUnreadPhoneCallDetailsWithTypes(int... types) { in setUnreadPhoneCallDetailsWithTypes() argument
148 TEST_GEOCODE, types, TEST_DATE, TEST_DURATION), in setUnreadPhoneCallDetailsWithTypes()
DCallLogGroupBuilderTest.java238 private void assertCallsAreGrouped(int... types) { in assertCallsAreGrouped() argument
241 addMultipleOldCallLogEntries(TEST_NUMBER1, types); in assertCallsAreGrouped()
244 assertGroupIs(0, types.length, false, mFakeGroupCreator.groups.get(0)); in assertCallsAreGrouped()
249 private void assertCallsAreNotGrouped(int... types) { in assertCallsAreNotGrouped() argument
252 addMultipleOldCallLogEntries(TEST_NUMBER1, types); in assertCallsAreNotGrouped()
258 private void addMultipleOldCallLogEntries(String number, int... types) { in addMultipleOldCallLogEntries() argument
259 for (int type : types) { in addMultipleOldCallLogEntries()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorUtils.java242 final Set<String> types = Sets.newHashSet(); in getWritableAccountTypeStrings() local
244 types.add(type.accountType); in getWritableAccountTypeStrings()
246 return types.toArray(new String[types.size()]); in getWritableAccountTypeStrings()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java81 public static Constructor<?> getConstructor(Class<?> targetClass, Class<?> ... types) { in getConstructor() argument
82 if (targetClass == null || types == null) return null; in getConstructor()
84 return targetClass.getConstructor(types); in getConstructor()
/packages/apps/Mms/src/com/android/mms/transaction/
DTransactionSettings.java160 static private boolean isValidApnType(String types, String requestType) { in isValidApnType() argument
162 if (TextUtils.isEmpty(types)) { in isValidApnType()
166 for (String t : types.split(",")) { in isValidApnType()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
DMockAccountTypeManager.java40 public MockAccountTypeManager(AccountType[] types, AccountWithDataSet[] accounts) { in MockAccountTypeManager() argument
41 this.mTypes = types; in MockAccountTypeManager()
/packages/providers/MediaProvider/src/com/android/providers/media/
DRingtonePickerActivity.java141 int types = intent.getIntExtra(RingtoneManager.EXTRA_RINGTONE_TYPE, -1); in onCreate() local
142 if (types != -1) { in onCreate()
143 mRingtoneManager.setType(types); in onCreate()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java223 private void assertLookupKey(String lookupKey, int[] accountHashCodes, int[] types, in assertLookupKey() argument
227 assertEquals(types.length, list.size()); in assertLookupKey()
232 assertEquals(types[i], segment.lookupType); in assertLookupKey()
/packages/apps/Nfc/jni/
Dcom_android_nfc.cpp315 jint* types = e->GetIntArrayElements(libNfcTypes, 0); in nfc_jni_get_connected_technology_libnfc_type() local
316 if (types != NULL) { in nfc_jni_get_connected_technology_libnfc_type()
317 connectedLibNfcType = types[connectedTechIndex]; in nfc_jni_get_connected_technology_libnfc_type()
318 e->ReleaseIntArrayElements(libNfcTypes, types, JNI_ABORT); in nfc_jni_get_connected_technology_libnfc_type()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageSummary.java203 int[] types; in onPreferenceTreeClick() local
209 types = new int[] { in onPreferenceTreeClick()
245 types = new int[] { in onPreferenceTreeClick()
257 types = new int[] { in onPreferenceTreeClick()
276 types = new int[] { in onPreferenceTreeClick()
295 types = new int[] { in onPreferenceTreeClick()
303 args.putIntArray(PowerUsageDetail.EXTRA_DETAIL_TYPES, types); in onPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java502 String[] types = getContext().getResources() in update() local
504 setSummary(types[mProfile.type]); in update()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java2205 final List<AccountType> types = contactData.getInvitableAccountTypes(); in InvitableAccountTypesAdapter() local
2206 mAccountTypes = new ArrayList<AccountType>(types.size()); in InvitableAccountTypesAdapter()
2208 for (int i = 0; i < types.size(); i++) { in InvitableAccountTypesAdapter()
2209 mAccountTypes.add(types.get(i)); in InvitableAccountTypesAdapter()
/packages/apps/Mms/
DNOTICE46 and conversions to other media types.
/packages/wallpapers/LivePicker/
DNOTICE46 and conversions to other media types.
/packages/wallpapers/MusicVisualization/
DNOTICE46 and conversions to other media types.
/packages/providers/DrmProvider/
DNOTICE46 and conversions to other media types.
/packages/apps/PackageInstaller/
DNOTICE46 and conversions to other media types.
/packages/apps/SoundRecorder/
DNOTICE46 and conversions to other media types.
/packages/providers/UserDictionaryProvider/
DNOTICE46 and conversions to other media types.
/packages/wallpapers/Basic/
DNOTICE46 and conversions to other media types.
/packages/apps/Camera/jni/
DNOTICE46 and conversions to other media types.
/packages/providers/TelephonyProvider/
DNOTICE46 and conversions to other media types.
/packages/providers/MediaProvider/
DNOTICE46 and conversions to other media types.

123