Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java812 long folderId = -1; // Email folder ID field in BluetoothMapContentObserver.Msg
824 public Msg(long id, long folderId, int readFlag) { in Msg() argument
826 this.folderId = folderId; in Msg()
1207 long folderId = c.getInt(c.getColumnIndex( in initMsgList() local
1211 Msg msg = new Msg(id, folderId, readFlag); in initMsgList()
1597 int folderId = c.getInt(c.getColumnIndex( in handleMsgListChangesMsg() local
1602 BluetoothMapFolderElement folderElement = mFolders.getFolderById(folderId); in handleMsgListChangesMsg()
1615 msg = new Msg(id, folderId, 0, readFlag); in handleMsgListChangesMsg()
1651 if (folderId != msg.folderId && msg.folderId != -1) { in handleMsgListChangesMsg()
1652 if (D) Log.d(TAG, "new folderId: " + folderId + " old folderId: " in handleMsgListChangesMsg()
[all …]
DBluetoothMapContent.java749 int folderId = 0; in setFolderType() local
751 folderId = c.getInt(fi.mSmsColFolder); in setFolderType()
752 if (folderId == 1) in setFolderType()
754 else if (folderId == 2) in setFolderType()
756 else if (folderId == 3) in setFolderType()
758 else if (folderId == 4 || folderId == 5 || folderId == 6) in setFolderType()
763 folderId = c.getInt(fi.mMmsColFolder); in setFolderType()
764 if (folderId == 1) in setFolderType()
766 else if (folderId == 2) in setFolderType()
768 else if (folderId == 3) in setFolderType()
[all …]
DBluetoothMapFolderElement.java87 public void setFolderId(long folderId) { in setFolderId() argument
88 this.mFolderId = folderId; in setFolderId()
/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 …]
DBluetoothMapIMProvider.java519 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update() local
522 return updateMessage(accountId, messageId, folderId, flagRead); in update()
553 abstract protected int updateMessage(String accountId, Long messageId, Long folderId, in updateMessage() argument
611 long folderId = extras.getLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, -1); in call() local
612 if(folderId == -1) { in call()
616 ret = syncFolder(accountId, folderId); in call()
646 abstract protected int syncFolder(long accountId, long folderId); in syncFolder() argument
/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.java572 long folderId = mCallback.insertAndCheck(mDb, mValues); in parseAndAdd() local
573 if (folderId < 0) { in parseAndAdd()
590 mValues.put(Favorites.CONTAINER, folderId); in parseAndAdd()
605 long addedId = folderId; in parseAndAdd()
612 Uri uri = Favorites.getContentUri(folderId); in parseAndAdd()
DLauncherModel.java2276 for (long folderId : LauncherAppState.getLauncherProvider() in loadWorkspace()
2278 sBgWorkspaceItems.remove(sBgFolders.get(folderId)); in loadWorkspace()
2279 sBgFolders.remove(folderId); in loadWorkspace()
2280 sBgItemsIdMap.remove(folderId); in loadWorkspace()
3719 public FolderInfo findFolderById(Long folderId) {
3721 return sBgFolders.get(folderId);
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java980 long folderId = addFolder(db, values); in loadFavorites() local
981 added = folderId >= 0; in loadFavorites()
996 values.put(LauncherSettings.Favorites.CONTAINER, folderId); in loadFavorites()
998 if (TAG_FAVORITE.equals(folder_item_name) && folderId >= 0) { in loadFavorites()
1004 } else if (TAG_SHORTCUT.equals(folder_item_name) && folderId >= 0) { in loadFavorites()
1018 if (folderItems.size() < 2 && folderId >= 0) { in loadFavorites()
1020 deleteId(db, folderId); in loadFavorites()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DManagedProfileHeuristic.java166 long folderId = mPrefs.getLong(folderIdKey, 0); in finalizeWorkFolder() local
167 final FolderInfo workFolder = mModel.findFolderById(folderId); in finalizeWorkFolder()
174 saveWorkFolderShortcuts(folderId, workFolder.contents.size()); in finalizeWorkFolder()
/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 …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DMigrateFromRestoreTask.java644 private int getFolderItemsCount(long folderId) { in getFolderItemsCount() argument
647 Favorites.CONTAINER + " = " + folderId, null, null, null); in getFolderItemsCount()