Home
last modified time | relevance | path

Searched refs:folderId (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java318 long folderId = -1; // Email folder ID field in BluetoothMapContentObserver.Msg
328 public Msg(long id, long folderId) { in Msg() argument
330 this.folderId = folderId; in Msg()
512 … long folderId = c.getInt(c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID)); in initMsgList() local
514 Msg msg = new Msg(id, folderId); in initMsgList()
703 int folderId = c.getInt(c.getColumnIndex( in handleMsgListChangesEmail() local
706 BluetoothMapFolderElement folderElement = mFolders.getEmailFolderById(folderId); in handleMsgListChangesEmail()
719 msg = new Msg(id, folderId); in handleMsgListChangesEmail()
726 if (folderId != msg.folderId) { in handleMsgListChangesEmail()
727 … if (D) Log.d(TAG, "new folderId: " + folderId + " old folderId: " + msg.folderId); in handleMsgListChangesEmail()
[all …]
DBluetoothMapContent.java949 private String setWhereFilterFolderTypeEmail(long folderId) { in setWhereFilterFolderTypeEmail() argument
951 if (folderId >= 0) { in setWhereFilterFolderTypeEmail()
952 where = BluetoothMapContract.MessageColumns.FOLDER_ID + " = " + folderId; in setWhereFilterFolderTypeEmail()
1928 … long folderId = c.getLong(c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID)); in getEmailMessage() local
1929 folderElement = currentFolder.getEmailFolderById(folderId); in getEmailMessage()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapEmailProvider.java443 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in insert() local
444 if(folderId == null) { in insert()
454 id = insertMessage(accountId, folderId.toString()); in insert()
474 abstract protected String insertMessage(String accountId, String folderId); in insertMessage() argument
609 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update() local
611 return updateMessage(accountId, messageId, folderId, flagRead); in update()
638 …abstract protected int updateMessage(String accountId, Long messageId, Long folderId, Boolean flag… in updateMessage() argument
653 long folderId = extras.getLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, -1); in call() local
654 if(folderId == -1) { in call()
658 int ret = syncFolder(accountId, folderId); in call()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DNestedFolderTeaserView.java414 private static int getLoaderId(final int folderId) { in getLoaderId() argument
415 return folderId + LOADER_FOLDER_LIST; in getLoaderId()
493 for (final int folderId : oldFolderIds) {
495 mFolderHolders.remove(folderId);
496 mLoaderManager.destroyLoader(getLoaderId(folderId));
580 final int folderId = getFolderId(loader.getId());
582 final FolderHolder folderHolder = mFolderHolders.get(folderId);
586 LogUtils.d(LOG_TAG, "Folder id %d loader finished", folderId);
644 final int folderId = getFolderId(id);
645 final Uri uri = mFolderHolders.get(folderId).mFolder.conversationListUri
/packages/apps/Browser/tests/src/com/android/browser/tests/
DBP2ProviderTests.java76 long folderId = ContentUris.parseId(folderUri); in doTestIsValidParent() local
77 assertTrue("Failed to parse folder id!", folderId > 0); in doTestIsValidParent()
82 values.put(BrowserContract.Bookmarks.PARENT, folderId); in doTestIsValidParent()
93 assertEquals(folderId, insertedParentId); in doTestIsValidParent()
111 assertEquals(folderId, insertedParentId); in doTestIsValidParent()
131 assertNotSame(folderId, insertedParentId); in doTestIsValidParent()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java276 private static Map<String, Object> createFolderDetailsMap(int folderId, int accountId, in createFolderDetailsMap() argument
278 return createFolderDetailsMap(folderId, accountId, name, false, unread, total); in createFolderDetailsMap()
281 private static Map<String, Object> createFolderDetailsMap(int folderId, int accountId, in createFolderDetailsMap() argument
283 final String folderUri = getMockAccountFolderUri(accountId, folderId); in createFolderDetailsMap()
286 folderMap.put(BaseColumns._ID, folderId); in createFolderDetailsMap()
392 private static String getMockAccountFolderUri(int accountId, int folderId) { in getMockAccountFolderUri() argument
393 return getMockAccountUri(accountId) + "/folder/" + folderId; in getMockAccountFolderUri()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java520 long folderId = mCallback.insertAndCheck(mDb, mValues); in parseAndAdd() local
521 if (folderId < 0) { in parseAndAdd()
537 mValues.put(Favorites.CONTAINER, folderId); in parseAndAdd()
550 long addedId = folderId; in parseAndAdd()
557 Uri uri = Favorites.getContentUri(folderId, false); in parseAndAdd()
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java921 long folderId = addFolder(db, values); in loadFavorites() local
922 added = folderId >= 0; in loadFavorites()
937 values.put(LauncherSettings.Favorites.CONTAINER, folderId); in loadFavorites()
939 if (TAG_FAVORITE.equals(folder_item_name) && folderId >= 0) { in loadFavorites()
945 } else if (TAG_SHORTCUT.equals(folder_item_name) && folderId >= 0) { in loadFavorites()
959 if (folderItems.size() < 2 && folderId >= 0) { in loadFavorites()
961 deleteId(db, folderId); in loadFavorites()
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasFullSyncOperation.java212 private int syncMailbox(final long folderId, final boolean hasCallbackMethod, in syncMailbox() argument
214 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, folderId); in syncMailbox()
216 LogUtils.d(TAG, "Could not load folder %d", folderId); in syncMailbox()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksContract.java83 public static final Uri buildFolderUri(long folderId) { in buildFolderUri() argument
84 return ContentUris.withAppendedId(CONTENT_URI_PARTNER_BOOKMARKS_FOLDER, folderId); in buildFolderUri()
/packages/apps/Browser/src/com/android/browser/addbookmark/
DFolderSpinnerAdapter.java55 public void addRecentFolder(long folderId, String folderName) { in addRecentFolder() argument
57 mRecentFolderId = folderId; in addRecentFolder()
/packages/apps/Email/provider_src/com/android/email/provider/
DFolderPickerActivity.java183 String folderId = folder.folderUri.fullUri.getLastPathSegment(); in select() local
184 Long id = Long.parseLong(folderId); in select()
DEmailProvider.java4224 final long folderId = c.getLong(0); in defaultRecentFolders() local
4225 recentFolders[i] = uiUri("uifolder", folderId); in defaultRecentFolders()
4226 LogUtils.d(TAG, "Default recent folder: %d, with uri %s", folderId, in defaultRecentFolders()
5668 private void notifyUIFolder(final String folderId, final long accountId) { in notifyUIFolder() argument
5669 notifyUI(UIPROVIDER_CONVERSATION_NOTIFIER, folderId); in notifyUIFolder()
5670 notifyUI(UIPROVIDER_FOLDER_NOTIFIER, folderId); in notifyUIFolder()
5688 final String folderId = (String) message.obj; in notifyUIFolder()
5689 LogUtils.d(TAG, "Notifying conversation Uri %s twice", folderId); in notifyUIFolder()
5690 notifyUI(UIPROVIDER_CONVERSATION_NOTIFIER, folderId); in notifyUIFolder()
5699 message.obj = folderId; in notifyUIFolder()
[all …]