Searched refs:folderId (Results 1 - 14 of 14) sorted by relevance

/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
H A DPartnerBookmarksContract.java81 * @param folderId the ID of the folder to point to
83 public static final Uri buildFolderUri(long folderId) { argument
84 return ContentUris.withAppendedId(CONTENT_URI_PARTNER_BOOKMARKS_FOLDER, folderId);
/packages/apps/Browser/tests/src/com/android/browser/tests/
H A DBP2ProviderTests.java76 long folderId = ContentUris.parseId(folderUri);
77 assertTrue("Failed to parse folder id!", folderId > 0);
82 values.put(BrowserContract.Bookmarks.PARENT, folderId);
93 assertEquals(folderId, insertedParentId);
111 assertEquals(folderId, insertedParentId);
131 assertNotSame(folderId, insertedParentId);
/packages/apps/Browser/src/com/android/browser/addbookmark/
H A DFolderSpinnerAdapter.java55 public void addRecentFolder(long folderId, String folderName) { argument
57 mRecentFolderId = folderId;
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
H A DBluetoothMapEmailProvider.java443 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID);
444 if(folderId == null) {
454 id = insertMessage(accountId, folderId.toString());
471 * @param folderId the ID of the folder to create a new message in.
474 abstract protected String insertMessage(String accountId, String folderId); argument
609 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID);
611 return updateMessage(accountId, messageId, folderId, flagRead);
634 * @param folderId the new folder ID value to set - ignore if null.
638 abstract protected int updateMessage(String accountId, Long messageId, Long folderId, Boolean flagRead); argument
653 long folderId
676 syncFolder(long accountId, long folderId) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContentObserver.java310 long folderId = -1; // Email folder ID field in class:BluetoothMapContentObserver.Msg
320 public Msg(long id, long folderId) { argument
322 this.folderId = folderId;
500 long folderId = c.getInt(c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID));
502 Msg msg = new Msg(id, folderId);
687 int folderId = c.getInt(c.getColumnIndex(
690 BluetoothMapFolderElement folderElement = mFolders.getEmailFolderById(folderId);
703 msg = new Msg(id, folderId);
710 if (folderId !
[all...]
H A DBluetoothMapContent.java1086 private String setWhereFilterFolderTypeEmail(long folderId) { argument
1088 if (folderId >= 0) {
1089 where = BluetoothMapContract.MessageColumns.FOLDER_ID + " = " + folderId;
1365 + " folderId = " + folderElement.getEmailFolderId()
2074 long folderId = c.getLong(c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID));
2075 folderElement = currentFolder.getEmailFolderById(folderId);
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DNestedFolderTeaserView.java450 private static int getLoaderId(final int folderId) { argument
451 return folderId + LOADER_FOLDER_LIST;
515 for (final int folderId : oldFolderIds) {
517 mFolderHolders.remove(folderId);
518 mLoaderManager.destroyLoader(getLoaderId(folderId));
602 final int folderId = getFolderId(loader.getId());
604 final FolderHolder folderHolder = mFolderHolders.get(folderId);
608 LogUtils.d(LOG_TAG, "Folder id %d loader finished", folderId);
666 final int folderId = getFolderId(id);
667 final Uri uri = mFolderHolders.get(folderId)
[all...]
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasFullSyncOperation.java212 private int syncMailbox(final long folderId, final boolean hasCallbackMethod, argument
214 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, folderId);
216 LogUtils.d(TAG, "Could not load folder %d", folderId);
/packages/apps/Email/src/com/android/email/provider/
H A DFolderPickerActivity.java183 String folderId = folder.folderUri.fullUri.getLastPathSegment();
184 Long id = Long.parseLong(folderId);
H A DEmailProvider.java4096 final long folderId = c.getLong(0);
4097 recentFolders[i] = uiUri("uifolder", folderId);
4098 LogUtils.d(TAG, "Default recent folder: %d, with uri %s", folderId,
5537 * @param folderId the folder id to be notified
5540 private void notifyUIFolder(final String folderId, final long accountId) { argument
5541 notifyUI(UIPROVIDER_CONVERSATION_NOTIFIER, folderId);
5542 notifyUI(UIPROVIDER_FOLDER_NOTIFIER, folderId);
5560 final String folderId = (String) message.obj;
5561 LogUtils.d(TAG, "Notifying conversation Uri %s twice", folderId);
5562 notifyUI(UIPROVIDER_CONVERSATION_NOTIFIER, folderId);
5575 notifyUIFolder(final long folderId, final long accountId) argument
[all...]
/packages/apps/Launcher3/src/com/android/launcher3/
H A DAutoInstallsLayout.java451 long folderId = mCallback.insertAndCheck(mDb, mValues);
452 if (folderId < 0) {
468 mValues.put(Favorites.CONTAINER, folderId);
481 long addedId = folderId;
488 Uri uri = Favorites.getContentUri(folderId, false);
H A DLauncherProvider.java1562 ArrayList<Long> folderItems, long folderId) throws IOException, XmlPullParserException {
1573 childValues.put(LauncherSettings.Favorites.CONTAINER, folderId);
1582 if (TAG_FAVORITE.equals(tag) && folderId >= 0) {
1587 } else if (TAG_SHORTCUT.equals(tag) && folderId >= 0) {
1592 } else if (TAG_INCLUDE.equals(tag) && folderId >= 0) {
1593 addToFolder(db, res, parser, folderItems, folderId);
1614 long folderId = addFolder(db, values);
1615 boolean added = folderId >= 0;
1618 addToFolder(db, res, parser, folderItems, folderId);
1623 if (folderItems.size() < 2 && folderId >
1561 addToFolder(SQLiteDatabase db, Resources res, XmlResourceParser parser, ArrayList<Long> folderItems, long folderId) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
H A DMockUiProvider.java276 private static Map<String, Object> createFolderDetailsMap(int folderId, int accountId, argument
278 return createFolderDetailsMap(folderId, accountId, name, false, unread, total);
281 private static Map<String, Object> createFolderDetailsMap(int folderId, int accountId, argument
283 final String folderUri = getMockAccountFolderUri(accountId, folderId);
286 folderMap.put(BaseColumns._ID, folderId);
392 private static String getMockAccountFolderUri(int accountId, int folderId) { argument
393 return getMockAccountUri(accountId) + "/folder/" + folderId;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java921 long folderId = addFolder(db, values);
922 added = folderId >= 0;
937 values.put(LauncherSettings.Favorites.CONTAINER, folderId);
939 if (TAG_FAVORITE.equals(folder_item_name) && folderId >= 0) {
945 } else if (TAG_SHORTCUT.equals(folder_item_name) && folderId >= 0) {
959 if (folderItems.size() < 2 && folderId >= 0) {
961 deleteId(db, folderId);

Completed in 328 milliseconds