Home
last modified time | relevance | path

Searched refs:BluetoothMapContract (Results 1 – 20 of 20) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DFilterInfoTest.java29 import com.android.bluetooth.mapapi.BluetoothMapContract;
50 BluetoothMapContract.MessageColumns._ID, in setMessageColumns()
51 BluetoothMapContract.MessageColumns.DATE, in setMessageColumns()
52 BluetoothMapContract.MessageColumns.SUBJECT, in setMessageColumns()
53 BluetoothMapContract.MessageColumns.FOLDER_ID, in setMessageColumns()
54 BluetoothMapContract.MessageColumns.FLAG_READ, in setMessageColumns()
55 BluetoothMapContract.MessageColumns.MESSAGE_SIZE, in setMessageColumns()
56 BluetoothMapContract.MessageColumns.FROM_LIST, in setMessageColumns()
57 BluetoothMapContract.MessageColumns.TO_LIST, in setMessageColumns()
58 BluetoothMapContract.MessageColumns.FLAG_ATTACHMENT, in setMessageColumns()
[all …]
DConvoContactInfoTest.java26 import com.android.bluetooth.mapapi.BluetoothMapContract;
42 BluetoothMapContract.ConvoContactColumns.CONVO_ID, in setConvoColumns()
43 BluetoothMapContract.ConvoContactColumns.NAME, in setConvoColumns()
44 BluetoothMapContract.ConvoContactColumns.NICKNAME, in setConvoColumns()
45 BluetoothMapContract.ConvoContactColumns.X_BT_UID, in setConvoColumns()
46 BluetoothMapContract.ConvoContactColumns.CHAT_STATE, in setConvoColumns()
47 BluetoothMapContract.ConvoContactColumns.UCI, in setConvoColumns()
48 BluetoothMapContract.ConvoContactColumns.LAST_ACTIVE, in setConvoColumns()
49 BluetoothMapContract.ConvoContactColumns.PRESENCE_STATE, in setConvoColumns()
50 BluetoothMapContract.ConvoContactColumns.STATUS_TEXT, in setConvoColumns()
[all …]
DBluetoothMapContentTest.java51 import com.android.bluetooth.mapapi.BluetoothMapContract;
89 private static final long TEST_INBOX_FOLDER_ID = BluetoothMapContract.FOLDER_ID_INBOX;
90 private static final long TEST_SENT_FOLDER_ID = BluetoothMapContract.FOLDER_ID_SENT;
677 "MessageColFromAddress", BluetoothMapContract.ConvoContactColumns.UCI in setSenderAddressing_withFilterTypeIm()
795 "MessageColFromAddress", BluetoothMapContract.ConvoContactColumns.NAME in setSenderName_withFilterTypeIm()
883 BluetoothMapContract.MessageColumns.RECEPTION_STATE, in getEmailMessage_withFileNotFoundExceptionForEmailBodyAccess()
884 BluetoothMapContract.MessageColumns.FLAG_READ, in getEmailMessage_withFileNotFoundExceptionForEmailBodyAccess()
885 BluetoothMapContract.MessageColumns.FOLDER_ID, in getEmailMessage_withFileNotFoundExceptionForEmailBodyAccess()
886 BluetoothMapContract.MessageColumns.TO_LIST, in getEmailMessage_withFileNotFoundExceptionForEmailBodyAccess()
887 BluetoothMapContract.MessageColumns.FROM_LIST in getEmailMessage_withFileNotFoundExceptionForEmailBodyAccess()
[all …]
DBluetoothMapContentObserverTest.java50 import com.android.bluetooth.mapapi.BluetoothMapContract;
51 import com.android.bluetooth.mapapi.BluetoothMapContract.MessageColumns;
90 static final long TEST_DELETE_FOLDER_ID = BluetoothMapContract.FOLDER_ID_DELETED;
91 static final long TEST_INBOX_FOLDER_ID = BluetoothMapContract.FOLDER_ID_INBOX;
92 static final long TEST_SENT_FOLDER_ID = BluetoothMapContract.FOLDER_ID_SENT;
93 static final long TEST_DRAFT_FOLDER_ID = BluetoothMapContract.FOLDER_ID_DRAFT;
700 mFolders, BluetoothMapContract.FOLDER_NAME_DELETED, TEST_DELETE_FOLDER_ID); in setEmailMessageStatusDelete_withStatusValueYes()
723 mFolders, BluetoothMapContract.FOLDER_NAME_DELETED, TEST_DELETE_FOLDER_ID); in setEmailMessageStatusDelete_withStatusValueYes_andUpdateCountZero()
743 mCurrentFolder, BluetoothMapContract.FOLDER_NAME_INBOX, TEST_INBOX_FOLDER_ID); in setEmailMessageStatusDelete_withStatusValueNo()
745 mFolders, BluetoothMapContract.FOLDER_NAME_DELETED, TEST_DELETE_FOLDER_ID); in setEmailMessageStatusDelete_withStatusValueNo()
[all …]
DBluetoothMapUtilsTest.java26 import com.android.bluetooth.mapapi.BluetoothMapContract;
62 new String[] {BluetoothMapContract.PresenceColumns.LAST_ONLINE, "Name"}); in printCursor_doesNotCrash()
DBluetoothMapObexServerTest.java41 import com.android.bluetooth.mapapi.BluetoothMapContract;
196 BluetoothMapContract.FolderColumns.NAME, in addEmailFolders()
197 BluetoothMapContract.FolderColumns._ID in addEmailFolders()
210 eq(BluetoothMapContract.FolderColumns.PARENT_FOLDER_ID + " = " + parentId), in addEmailFolders()
DEventTest.java34 import com.android.bluetooth.mapapi.BluetoothMapContract;
54 private static final int TEST_PRESENCE_STATE = BluetoothMapContract.PresenceState.ONLINE;
56 private static final int TEST_CHAT_STATE = BluetoothMapContract.ChatState.COMPOSING;
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapapi/
DBluetoothMapContractTest.java39 "content://" + TEST_AUTHORITY + "/" + BluetoothMapContract.TABLE_ACCOUNT; in testBuildAccountUri()
41 Uri result = BluetoothMapContract.buildAccountUri(TEST_AUTHORITY); in testBuildAccountUri()
51 + BluetoothMapContract.TABLE_ACCOUNT in testBuildAccountUriWithId()
55 Uri result = BluetoothMapContract.buildAccountUriwithId(TEST_AUTHORITY, ACCOUNT_ID); in testBuildAccountUriWithId()
62 "content://" + TEST_AUTHORITY + "/" + BluetoothMapContract.TABLE_MESSAGE; in testBuildMessageUri()
64 Uri result = BluetoothMapContract.buildMessageUri(TEST_AUTHORITY); in testBuildMessageUri()
76 + BluetoothMapContract.TABLE_MESSAGE; in testBuildMessageUri_withAccountId()
78 Uri result = BluetoothMapContract.buildMessageUri(TEST_AUTHORITY, ACCOUNT_ID); in testBuildMessageUri_withAccountId()
90 + BluetoothMapContract.TABLE_MESSAGE in testBuildMessageUriWithId()
95 BluetoothMapContract.buildMessageUriWithId(TEST_AUTHORITY, ACCOUNT_ID, MESSAGE_ID); in testBuildMessageUriWithId()
[all …]
DBluetoothMapIMProviderTest.java147 .appendPath(BluetoothMapContract.TABLE_MESSAGE) in delete_success()
165 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in insert_whenTableNameIsWrong()
177 .appendPath(BluetoothMapContract.TABLE_MESSAGE) in insert_success()
181 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in insert_success()
199 .appendPath(BluetoothMapContract.TABLE_ACCOUNT) in query_forAccountUri()
224 .appendPath(BluetoothMapContract.TABLE_MESSAGE) in query_forMessageUri()
255 .appendPath(BluetoothMapContract.TABLE_CONVERSATION) in query_forConversationUri()
257 BluetoothMapContract.FILTER_ORIGINATOR_SUBSTRING, searchString) in query_forConversationUri()
259 BluetoothMapContract.FILTER_PERIOD_BEGIN, in query_forConversationUri()
262 BluetoothMapContract.FILTER_PERIOD_END, Long.toString(periodEnd)) in query_forConversationUri()
[all …]
DBluetoothMapEmailProviderTest.java136 .appendPath(BluetoothMapContract.TABLE_MESSAGE) in delete_success()
151 .appendPath(BluetoothMapContract.TABLE_MESSAGE) in insert_whenFolderIdIsNull()
169 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in insert_whenTableNameIsWrong()
181 .appendPath(BluetoothMapContract.TABLE_MESSAGE) in insert_success()
185 values.put(BluetoothMapContract.MessageColumns.FOLDER_ID, Long.parseLong(FOLDER_ID)); in insert_success()
203 .appendPath(BluetoothMapContract.TABLE_ACCOUNT) in query_forAccountUri()
228 .appendPath(BluetoothMapContract.TABLE_FOLDER) in query_forFolderUri()
253 .appendPath(BluetoothMapContract.TABLE_MESSAGE) in query_forMessageUri()
291 .appendPath(BluetoothMapContract.TABLE_ACCOUNT) in update_whenSelectionIsNotNull()
311 .appendPath(BluetoothMapContract.TABLE_ACCOUNT) in update_forAccountUri_success()
[all …]
/packages/modules/Bluetooth/android/app/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java66 mMatcher.addURI(mAuthority, BluetoothMapContract.TABLE_ACCOUNT, MATCH_ACCOUNT); in attachInfo()
67 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_MESSAGE, MATCH_MESSAGE); in attachInfo()
69 mAuthority, "#/" + BluetoothMapContract.TABLE_CONVERSATION, MATCH_CONVERSATION); in attachInfo()
71 mAuthority, "#/" + BluetoothMapContract.TABLE_CONVOCONTACT, MATCH_CONVOCONTACT); in attachInfo()
104 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
106 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
131 newUri = BluetoothMapContract.buildMessageUri(mAuthority); in onMessageChanged()
134 newUri = BluetoothMapContract.buildMessageUri(mAuthority, accountId); in onMessageChanged()
137 BluetoothMapContract.buildMessageUriWithId( in onMessageChanged()
170 newUri = BluetoothMapContract.buildConvoContactsUri(mAuthority); in onContactChanged()
[all …]
DBluetoothMapEmailProvider.java93 mMatcher.addURI(mAuthority, BluetoothMapContract.TABLE_ACCOUNT, MATCH_ACCOUNT); in attachInfo()
94 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_FOLDER, MATCH_FOLDER); in attachInfo()
95 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_MESSAGE, MATCH_MESSAGE); in attachInfo()
203 if (format.equalsIgnoreCase(BluetoothMapContract.FILE_MSG_NO_ATTACHMENTS)) { in writeDataToPipe()
206 BluetoothMapContract.FILE_MSG_DOWNLOAD_NO_ATTACHMENTS)) { in writeDataToPipe()
209 } else if (format.equalsIgnoreCase(BluetoothMapContract.FILE_MSG_DOWNLOAD)) { in writeDataToPipe()
249 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
251 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
276 newUri = BluetoothMapContract.buildMessageUri(mAuthority); in onMessageChanged()
279 newUri = BluetoothMapContract.buildMessageUri(mAuthority, accountId); in onMessageChanged()
[all …]
DBluetoothMapContract.java58 public final class BluetoothMapContract { class
60 private BluetoothMapContract() { in BluetoothMapContract() method in BluetoothMapContract
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapAccountLoader.java36 import com.android.bluetooth.mapapi.BluetoothMapContract;
73 searchIntents[0] = new Intent(BluetoothMapContract.PROVIDER_INTERFACE_EMAIL); in parsePackages()
74 searchIntents[1] = new Intent(BluetoothMapContract.PROVIDER_INTERFACE_IM); in parsePackages()
95 BluetoothMapContract.PROVIDER_INTERFACE_EMAIL)) in parsePackages()
185 Uri.parse(app.mBase_uri_no_account + "/" + BluetoothMapContract.TABLE_ACCOUNT); in parseAccounts()
191 BluetoothMapContract.BT_IM_ACCOUNT_PROJECTION, in parseAccounts()
194 BluetoothMapContract.AccountColumns._ID + " DESC"); in parseAccounts()
199 BluetoothMapContract.BT_ACCOUNT_PROJECTION, in parseAccounts()
202 BluetoothMapContract.AccountColumns._ID + " DESC"); in parseAccounts()
224 int idIndex = c.getColumnIndex(BluetoothMapContract.AccountColumns._ID); in parseAccounts()
[all …]
DBluetoothMapContent.java48 import com.android.bluetooth.mapapi.BluetoothMapContract;
49 import com.android.bluetooth.mapapi.BluetoothMapContract.ConversationColumns;
338 mMessageColId = c.getColumnIndex(BluetoothMapContract.MessageColumns._ID); in setMessageColumns()
339 mMessageColDate = c.getColumnIndex(BluetoothMapContract.MessageColumns.DATE); in setMessageColumns()
340 mMessageColSubject = c.getColumnIndex(BluetoothMapContract.MessageColumns.SUBJECT); in setMessageColumns()
341 mMessageColFolder = c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID); in setMessageColumns()
342 mMessageColRead = c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_READ); in setMessageColumns()
343 mMessageColSize = c.getColumnIndex(BluetoothMapContract.MessageColumns.MESSAGE_SIZE); in setMessageColumns()
345 c.getColumnIndex(BluetoothMapContract.MessageColumns.FROM_LIST); in setMessageColumns()
346 mMessageColToAddress = c.getColumnIndex(BluetoothMapContract.MessageColumns.TO_LIST); in setMessageColumns()
[all …]
DBluetoothMapContentObserver.java63 import com.android.bluetooth.mapapi.BluetoothMapContract;
64 import com.android.bluetooth.mapapi.BluetoothMapContract.MessageColumns;
230 BluetoothMapContract.MessageColumns._ID,
231 BluetoothMapContract.MessageColumns.FOLDER_ID,
232 BluetoothMapContract.MessageColumns.FLAG_READ
237 BluetoothMapContract.MessageColumns._ID,
238 BluetoothMapContract.MessageColumns.FOLDER_ID,
239 BluetoothMapContract.MessageColumns.FLAG_READ,
240 BluetoothMapContract.MessageColumns.DATE,
241 BluetoothMapContract.MessageColumns.SUBJECT,
[all …]
DBluetoothMapObexServer.java39 import com.android.bluetooth.mapapi.BluetoothMapContract;
156 BluetoothMapContract.buildFolderUri(mAuthority, Long.toString(mAccountId)); in BluetoothMapObexServer()
226 root.addFolder(BluetoothMapContract.FOLDER_NAME_INBOX); // root/telecom/msg/inbox in addBaseFolders()
227 root.addFolder(BluetoothMapContract.FOLDER_NAME_OUTBOX); in addBaseFolders()
228 root.addFolder(BluetoothMapContract.FOLDER_NAME_SENT); in addBaseFolders()
229 root.addFolder(BluetoothMapContract.FOLDER_NAME_DELETED); in addBaseFolders()
234 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_INBOX); // root/telecom/msg/inbox in addSmsMmsFolders()
235 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_OUTBOX); in addSmsMmsFolders()
236 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_SENT); in addSmsMmsFolders()
237 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_DELETED); in addSmsMmsFolders()
[all …]
DBluetoothMapAppObserver.java32 import com.android.bluetooth.mapapi.BluetoothMapContract;
168 Uri uri = BluetoothMapContract.buildAccountUri(app.getProviderAuthority()); in registerObserver()
206 Uri uri = BluetoothMapContract.buildAccountUri(app.getProviderAuthority()); in unregisterObserver()
250 new Intent(BluetoothMapContract.PROVIDER_INTERFACE_EMAIL); in createReceiver()
252 new Intent(BluetoothMapContract.PROVIDER_INTERFACE_IM); in createReceiver()
277 BluetoothMapContract in createReceiver()
282 BluetoothMapContract in createReceiver()
DBluetoothMapSettingsAdapter.java38 import com.android.bluetooth.mapapi.BluetoothMapContract;
324 Uri.parse(account.mBase_uri_no_account + "/" + BluetoothMapContract.TABLE_ACCOUNT); in updateAccount()
326 values.put(BluetoothMapContract.AccountColumns.FLAG_EXPOSE, ((account.mIsChecked) ? 1 : 0)); in updateAccount()
327 values.put(BluetoothMapContract.AccountColumns._ID, account.getId()); // get title in updateAccount()
DBluetoothMapUtils.java25 import com.android.bluetooth.mapapi.BluetoothMapContract;
138 if (c.getColumnName(i).equals(BluetoothMapContract.MessageColumns.DATE) in printCursor()
141 BluetoothMapContract.ConversationColumns in printCursor()
144 .equals(BluetoothMapContract.ChatStatusColumns.LAST_ACTIVE) in printCursor()
146 .equals(BluetoothMapContract.PresenceColumns.LAST_ONLINE)) { in printCursor()