/packages/apps/Dialer/src/com/android/dialer/list/ |
RegularSearchListAdapter.java | 52 final long directoryId = partition.getDirectoryId(); 53 final boolean isExtendedDirectory = isExtendedDirectory(directoryId); 70 && DirectoryCompat.isEnterpriseDirectoryId(directoryId) 77 cacheInfo.setExtendedSource(sourceName, directoryId); 79 cacheInfo.setDirectorySource(sourceName, directoryId);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/ |
EnterprisePolicyGuard.java | 90 final long directoryId = Long.parseLong(directory); 91 if (Directory.isRemoteDirectoryId(directoryId)
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
DirectoryListLoader.java | 164 long directoryId = cursor.getLong(DirectoryQuery.ID); 166 && DirectoryCompat.isInvisibleDirectory(directoryId)) { 183 result.addRow(new Object[]{directoryId, directoryType, displayName, photoSupport});
|
ContactListAdapter.java | 177 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); 178 if (uri != null && directoryId != Directory.DEFAULT) { 180 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(directoryId)).build(); 201 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); 202 if (getSelectedContactDirectoryId() != directoryId) { 211 return directoryId != Directory.DEFAULT && directoryId != Directory.LOCAL_INVISIBLE
|
ContactEntryListFragment.java | 87 private static final String DIRECTORY_ID_ARG_KEY = "directoryId"; 347 long directoryId = args != null && args.containsKey(DIRECTORY_ID_ARG_KEY) 350 mAdapter.configureLoader(loader, directoryId); 374 long directoryId = partition.getDirectoryId(); 376 if (directoryId == Directory.DEFAULT) { 383 args.putLong(DIRECTORY_ID_ARG_KEY, directoryId); [all...] |
PhoneNumberListAdapter.java | 195 public void configureLoader(CursorLoader loader, long directoryId) { 200 if (isExtendedDirectory(directoryId)) { 201 final DirectoryPartition directory = getExtendedDirectoryFromId(directoryId); 215 = DirectoryCompat.isRemoteDirectoryId(directoryId); 229 String.valueOf(directoryId)); 232 String.valueOf(getDirectoryResultLimit(getDirectoryById(directoryId)))); 241 applyFilter(loader, builder, directoryId, getFilter()); 274 protected boolean isExtendedDirectory(long directoryId) { 275 return directoryId >= mFirstExtendedDirectoryId; 278 private DirectoryPartition getExtendedDirectoryFromId(long directoryId) { [all...] |
ContactEntryListAdapter.java | 211 public abstract void configureLoader(CursorLoader loader, long directoryId); 627 final long directoryId = directoryPartition.getDirectoryId(); 628 final long userType = ContactsUtils.determineUserType(directoryId, null); 641 long directoryId = directoryPartition.getDirectoryId(); 645 if (!DirectoryCompat.isRemoteDirectoryId(directoryId)) { 792 long directoryId = ((DirectoryPartition)getPartition(partitionIndex)).getDirectoryId(); 794 if (uri != null && directoryId != Directory.DEFAULT) { 796 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(directoryId)).build();
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
CallerInfo.java | 318 // Determine userType by directoryId and contactId 321 final Long directoryId = directory == null ? null : Longs.tryParse(directory); 322 info.userType = ContactsUtils.determineUserType(directoryId, contactId);
|
CallerInfoAsyncQuery.java | 441 long directoryId = directoryIds[i]; 442 Uri uri = ContactInfoHelper.getContactInfoLookupUri(info.phoneNumber, directoryId); 444 Log.d(LOG_TAG, "directoryId: " + directoryId + " uri: " + uri); 447 listenerFactory.newListener(directoryId); 496 DirectoryQueryCompleteListener(long directoryId) { 497 mDirectoryId = directoryId; 515 long directoryId) { 528 addCallerInfoIntoCache(ci, directoryId); 533 private void addCallerInfoIntoCache(CallerInfo ci, long directoryId) { [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactDirectoryManagerTest.java | 523 long directoryId = cursor.getLong(0); 527 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(directoryId)).build(); 563 long directoryId = cursor.getLong(0); 567 ContactsContract.DIRECTORY_PARAM_KEY, String.valueOf(directoryId)).build();
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientAlternatesAdapter.java | 134 recipientEntries = processContactEntries(c, null /* directoryId */); 201 final long directoryId = paramsList.get(i).directoryId; 204 directoryId, account, context, query, permissionsCheckListener); 209 processContactEntries(directoryContactsCursor, directoryId); 249 Long directoryId) { 262 directoryId, 342 private static Cursor doQuery(CharSequence constraint, int limit, Long directoryId, 357 if (directoryId != null) { 359 String.valueOf(directoryId)); [all...] |
BaseRecipientAdapter.java | 108 public long directoryId; 145 public final Long directoryId; 157 Long directoryId, 167 this.directoryId = directoryId; 174 public TemporaryEntry(Cursor cursor, Long directoryId) { 180 this.directoryId = directoryId; 265 null /* directoryId */); 285 null /* directoryId */), [all...] |
/frameworks/ex/common/java/com/android/common/contacts/ |
BaseEmailAddressAdapter.java | 99 public long directoryId; 215 public DirectoryPartitionFilter(int partitionIndex, long directoryId) { 217 this.mDirectoryId = directoryId; 382 partition.directoryId = id; 469 partition.filter = new DirectoryPartitionFilter(i, partition.directoryId);
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
ContactsTest.java | 439 final long directoryId = getEnterpriseRemoteDirectoryIdSliently(); 440 if (directoryId != 0) { // if directoryId == 0, it means it can't access managed directory 443 directoryId); 458 final long directoryId = getEnterpriseRemoteDirectoryIdSliently(); 459 if (directoryId != 0) { // if directoryId == 0, it means it can't access managed directory 462 directoryId); 529 final long directoryId = cursor.getLong(0); 530 if (directoryId == Directory.DEFAULT) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/ |
ContactLoader.java | 391 final long directoryId = 402 directoryId, 641 final long directoryId = directoryParameter == null 662 if (directoryId == Directory.DEFAULT || directoryId == Directory.LOCAL_INVISIBLE) { 669 return new Contact(mRequestedUri, contactUri, lookupUri, directoryId, lookupKey, 763 long directoryId = result.getDirectoryId(); 766 ContentUris.withAppendedId(Directory.CONTENT_URI, directoryId), [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsProvider2.java | [all...] |