Home
last modified time | relevance | path

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

/aosp12/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
H A DBluetoothMapIMProvider.java71 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_CONVERSATION, in attachInfo()
73 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_CONVOCONTACT, in attachInfo()
106 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
132 newUri = BluetoothMapContract.buildMessageUri(mAuthority); in onMessageChanged()
164 newUri = BluetoothMapContract.buildConvoContactsUri(mAuthority); in onContactChanged()
219 if (table.equals(BluetoothMapContract.TABLE_MESSAGE)) { in delete()
267 if (table.equals(BluetoothMapContract.TABLE_MESSAGE)) { in insert()
512 if (table.equals(BluetoothMapContract.TABLE_ACCOUNT)) { in update()
523 } else if (table.equals(BluetoothMapContract.TABLE_FOLDER)) { in update()
525 } else if (table.equals(BluetoothMapContract.TABLE_MESSAGE)) { in update()
[all …]
H A DBluetoothMapEmailProvider.java91 mMatcher.addURI(mAuthority, BluetoothMapContract.TABLE_ACCOUNT, MATCH_ACCOUNT); in attachInfo()
205 BluetoothMapContract.FILE_MSG_DOWNLOAD_NO_ATTACHMENTS)) { in writeDataToPipe()
247 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
273 newUri = BluetoothMapContract.buildMessageUri(mAuthority); in onMessageChanged()
276 newUri = BluetoothMapContract.buildMessageUri(mAuthority, accountId); in onMessageChanged()
424 if (table.equals(BluetoothMapContract.TABLE_MESSAGE)) { in delete()
470 if (table.equals(BluetoothMapContract.TABLE_MESSAGE)) { in insert()
615 if (table.equals(BluetoothMapContract.TABLE_ACCOUNT)) { in update()
626 } else if (table.equals(BluetoothMapContract.TABLE_FOLDER)) { in update()
628 } else if (table.equals(BluetoothMapContract.TABLE_MESSAGE)) { in update()
[all …]
H A DBluetoothMapContract.java59 public final class BluetoothMapContract { class
63 private BluetoothMapContract() { in BluetoothMapContract() method in BluetoothMapContract
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContent.java44 import com.android.bluetooth.mapapi.BluetoothMapContract;
45 import com.android.bluetooth.mapapi.BluetoothMapContract.ConversationColumns;
777 folderType = BluetoothMapContract.FOLDER_NAME_SENT; in setFolderType()
790 folderType = BluetoothMapContract.FOLDER_NAME_SENT; in setFolderType()
802 if (folderId == BluetoothMapContract.FOLDER_ID_INBOX) { in setFolderType()
1781 if (folderId > BluetoothMapContract.FOLDER_ID_OTHER) { in setWhereFilterFolderTypeIm()
3539 return BluetoothMapContract.FOLDER_NAME_DELETED; in getFolderName()
3544 return BluetoothMapContract.FOLDER_NAME_INBOX; in getFolderName()
3546 return BluetoothMapContract.FOLDER_NAME_SENT; in getFolderName()
3548 return BluetoothMapContract.FOLDER_NAME_DRAFT; in getFolderName()
[all …]
H A DBluetoothMapAccountLoader.java32 import com.android.bluetooth.mapapi.BluetoothMapContract;
68 searchIntents[0] = new Intent(BluetoothMapContract.PROVIDER_INTERFACE_EMAIL); in parsePackages()
69 searchIntents[1] = new Intent(BluetoothMapContract.PROVIDER_INTERFACE_IM); in parsePackages()
86 BluetoothMapContract.PROVIDER_INTERFACE_EMAIL)) in parsePackages()
175 null, BluetoothMapContract.AccountColumns._ID + " DESC"); in parseAccounts()
177 c = mProviderClient.query(uri, BluetoothMapContract.BT_ACCOUNT_PROJECTION, null, in parseAccounts()
178 null, BluetoothMapContract.AccountColumns._ID + " DESC"); in parseAccounts()
194 int idIndex = c.getColumnIndex(BluetoothMapContract.AccountColumns._ID); in parseAccounts()
196 c.getColumnIndex(BluetoothMapContract.AccountColumns.ACCOUNT_DISPLAY_NAME); in parseAccounts()
198 int uciIndex = c.getColumnIndex(BluetoothMapContract.AccountColumns.ACCOUNT_UCI); in parseAccounts()
[all …]
H A DBluetoothMapContentObserver.java60 import com.android.bluetooth.mapapi.BluetoothMapContract;
223 BluetoothMapContract.MessageColumns._ID,
224 BluetoothMapContract.MessageColumns.FOLDER_ID,
225 BluetoothMapContract.MessageColumns.FLAG_READ
229 BluetoothMapContract.MessageColumns._ID,
230 BluetoothMapContract.MessageColumns.FOLDER_ID,
232 BluetoothMapContract.MessageColumns.DATE,
233 BluetoothMapContract.MessageColumns.SUBJECT,
239 BluetoothMapContract.MessageColumns._ID,
242 BluetoothMapContract.MessageColumns.DATE,
[all …]
H A DBluetoothMapObexServer.java34 import com.android.bluetooth.mapapi.BluetoothMapContract;
234 root.addFolder(BluetoothMapContract.FOLDER_NAME_OUTBOX); in addBaseFolders()
235 root.addFolder(BluetoothMapContract.FOLDER_NAME_SENT); in addBaseFolders()
236 root.addFolder(BluetoothMapContract.FOLDER_NAME_DELETED); in addBaseFolders()
254 root.addImFolder(BluetoothMapContract.FOLDER_NAME_INBOX, in addImFolders()
257 BluetoothMapContract.FOLDER_ID_OUTBOX); in addImFolders()
258 root.addImFolder(BluetoothMapContract.FOLDER_NAME_SENT, in addImFolders()
259 BluetoothMapContract.FOLDER_ID_SENT); in addImFolders()
261 BluetoothMapContract.FOLDER_ID_DELETED); in addImFolders()
262 root.addImFolder(BluetoothMapContract.FOLDER_NAME_DRAFT, in addImFolders()
[all …]
H A DBluetoothMapAppObserver.java28 import com.android.bluetooth.mapapi.BluetoothMapContract;
182 Uri uri = BluetoothMapContract.buildAccountUri(app.getProviderAuthority()); in registerObserver()
213 Uri uri = BluetoothMapContract.buildAccountUri(app.getProviderAuthority()); in unregisterObserver()
266 searchIntents[0] = new Intent(BluetoothMapContract.PROVIDER_INTERFACE_EMAIL); in createReceiver()
267 searchIntents[1] = new Intent(BluetoothMapContract.PROVIDER_INTERFACE_IM); in createReceiver()
287 BluetoothMapContract.PROVIDER_INTERFACE_EMAIL)) { in createReceiver()
290 BluetoothMapContract.PROVIDER_INTERFACE_IM)) { in createReceiver()
H A DBluetoothMapSettingsAdapter.java38 import com.android.bluetooth.mapapi.BluetoothMapContract;
320 Uri.parse(account.mBase_uri_no_account + "/" + BluetoothMapContract.TABLE_ACCOUNT); in updateAccount()
322 values.put(BluetoothMapContract.AccountColumns.FLAG_EXPOSE, ((account.mIsChecked) ? 1 : 0)); in updateAccount()
323 values.put(BluetoothMapContract.AccountColumns._ID, account.getId()); // get title in updateAccount()
H A DBluetoothMapUtils.java21 import com.android.bluetooth.mapapi.BluetoothMapContract;
122 if (c.getColumnName(i).equals(BluetoothMapContract.MessageColumns.DATE) in printCursor()
124 .equals(BluetoothMapContract.ConversationColumns.LAST_THREAD_ACTIVITY) in printCursor()
126 .equals(BluetoothMapContract.ChatStatusColumns.LAST_ACTIVE) in printCursor()
128 .equals(BluetoothMapContract.PresenceColumns.LAST_ONLINE)) { in printCursor()