Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapEmailProvider.java465 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in insert() local
466 if (folderId == null) { in insert()
480 id = insertMessage(accountId, folderId.toString()); in insert()
502 protected abstract String insertMessage(String accountId, String folderId); in insertMessage() argument
654 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update() local
657 return updateMessage(accountId, messageId, folderId, flagRead); in update()
689 String accountId, Long messageId, Long folderId, Boolean flagRead); in updateMessage() argument
712 long folderId = extras.getLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, -1); in call() local
713 if (folderId == -1) { in call()
717 int ret = syncFolder(accountId, folderId); in call()
[all …]
DBluetoothMapIMProvider.java558 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update() local
561 return updateMessage(accountId, messageId, folderId, flagRead); in update()
597 String accountId, Long messageId, Long folderId, Boolean flagRead); in updateMessage() argument
662 long folderId = extras.getLong(BluetoothMapContract.EXTRA_UPDATE_FOLDER_ID, -1); in call() local
663 if (folderId == -1) { in call()
667 ret = syncFolder(accountId, folderId); in call()
698 protected abstract int syncFolder(long accountId, long folderId); in syncFolder() argument
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java925 public long folderId = -1; // Email folder ID field in BluetoothMapContentObserver.Msg
939 Msg(long id, long folderId, int readFlag) { in Msg() argument
941 this.folderId = folderId; in Msg()
1418 long folderId = in initMsgList() local
1426 Msg msg = new Msg(id, folderId, readFlag); in initMsgList()
2039 int folderId = in handleMsgListChangesMsg() local
2048 BluetoothMapFolderElement folderElement = mFolders.getFolderById(folderId); in handleMsgListChangesMsg()
2061 msg = new Msg(id, folderId, 0, readFlag); in handleMsgListChangesMsg()
2132 if (folderId != msg.folderId && msg.folderId != -1) { in handleMsgListChangesMsg()
2136 + folderId in handleMsgListChangesMsg()
[all …]
DBluetoothMapFolderElement.java83 public void setFolderId(long folderId) { in setFolderId() argument
84 this.mFolderId = folderId; in setFolderId()
DBluetoothMapContent.java1723 private String setWhereFilterFolderTypeEmail(long folderId) { in setWhereFilterFolderTypeEmail() argument
1725 if (folderId >= 0) { in setWhereFilterFolderTypeEmail()
1726 where = BluetoothMapContract.MessageColumns.FOLDER_ID + " = " + folderId; in setWhereFilterFolderTypeEmail()
1739 private String setWhereFilterFolderTypeIm(long folderId) { in setWhereFilterFolderTypeIm() argument
1741 if (folderId > BluetoothMapContract.FOLDER_ID_OTHER) { in setWhereFilterFolderTypeIm()
1742 where = BluetoothMapContract.MessageColumns.FOLDER_ID + " = " + folderId; in setWhereFilterFolderTypeIm()
4118 long folderId = in getEmailMessage() local
4122 folderElement = currentFolder.getFolderById(folderId); in getEmailMessage()
4263 long threadId, folderId; in getIMMessage() local
4298 folderId = in getIMMessage()
[all …]
/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/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAutoInstallsLayoutTest.kt156 val folderId = callback.items[0][_ID] in items_added_to_folder() constant
157 assertThat(callback.items[1][CONTAINER]).isEqualTo(folderId) in items_added_to_folder()
158 assertThat(callback.items[2][CONTAINER]).isEqualTo(folderId) in items_added_to_folder()
159 assertThat(callback.items[3][CONTAINER]).isEqualTo(folderId) in items_added_to_folder()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DFolderAdaptiveIcon.java77 ActivityContext activity, int folderId, Point size) { in createFolderAdaptiveIcon() argument
110 FolderIcon icon = activity.findFolderIcon(folderId); in createFolderAdaptiveIcon()
112 throw new IllegalArgumentException("Folder not found with id: " + folderId); in createFolderAdaptiveIcon()
/packages/apps/Launcher3/src/com/android/launcher3/
DAutoInstallsLayout.java595 int folderId = mCallback.insertAndCheck(mDb, mValues); in parseAndAdd() local
596 if (folderId < 0) { in parseAndAdd()
613 mValues.put(Favorites.CONTAINER, folderId); in parseAndAdd()
628 int addedId = folderId; in parseAndAdd()
635 mDb.delete(TABLE_NAME, itemIdMatch(folderId), null); in parseAndAdd()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapapi/
DBluetoothMapEmailProviderTest.java465 protected String insertMessage(String accountId, String folderId) { in insertMessage() argument
502 String accountId, Long messageId, Long folderId, Boolean flagRead) { in updateMessage() argument
507 protected int syncFolder(long accountId, long folderId) { in syncFolder() argument
DBluetoothMapIMProviderTest.java761 String accountId, Long messageId, Long folderId, Boolean flagRead) { in updateMessage() argument
766 protected int syncFolder(long accountId, long folderId) { in syncFolder() argument
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapContentObserverTest.java717 Assert.assertEquals(msg.folderId, TEST_DELETE_FOLDER_ID); in setEmailMessageStatusDelete_withStatusValueYes()
751 msg.folderId = TEST_DELETE_FOLDER_ID; in setEmailMessageStatusDelete_withStatusValueNo()
764 Assert.assertEquals(msg.folderId, TEST_INBOX_FOLDER_ID); in setEmailMessageStatusDelete_withStatusValueNo()
779 msg.folderId = TEST_DELETE_FOLDER_ID; in setEmailMessageStatusDelete_withStatusValueNo_andOldFolderIdMinusOne()
792 Assert.assertEquals(msg.folderId, TEST_INBOX_FOLDER_ID); in setEmailMessageStatusDelete_withStatusValueNo_andOldFolderIdMinusOne()
809 msg.folderId = TEST_DELETE_FOLDER_ID; in setEmailMessageStatusDelete_withStatusValueNo_andInboxFolderNull()
822 Assert.assertEquals(msg.folderId, TEST_OLD_FOLDER_ID); in setEmailMessageStatusDelete_withStatusValueNo_andInboxFolderNull()
1017 Assert.assertEquals(msg.folderId, TEST_INBOX_FOLDER_ID); in initMsgList_withMsg()
1240 mObserver.getMsgListMsg().get(TEST_HANDLE_ONE).folderId, TEST_DELETE_FOLDER_ID); in handleMsgListChangesMsg_withExistingMessage_andNonNullDeletedFolder()
1277 mObserver.getMsgListMsg().get(TEST_HANDLE_ONE).folderId, TEST_SENT_FOLDER_ID); in handleMsgListChangesMsg_withExistingMessage_andNonNullSentFolder()
[all …]
DMsgTest.java40 assertThat(msg.folderId).isEqualTo(TEST_FOLDER_ID); in constructor()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridSizeMigrationUtil.java295 int id, int folderId, String srcTableName, String destTableName) { in copyEntryAndUpdate() argument
296 return copyEntryAndUpdate(helper, null, id, folderId, srcTableName, destTableName); in copyEntryAndUpdate()
300 int id, int folderId, String srcTableName, String destTableName) { in copyEntryAndUpdate() argument
311 values.put(LauncherSettings.Favorites.CONTAINER, folderId); in copyEntryAndUpdate()
DLoaderTask.java642 for (int folderId : deletedFolderIds) { in sanitizeFolders()
643 mBgDataModel.workspaceItems.remove(mBgDataModel.collections.get(folderId)); in sanitizeFolders()
644 mBgDataModel.collections.remove(folderId); in sanitizeFolders()
645 mBgDataModel.itemsIdMap.remove(folderId); in sanitizeFolders()