Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapIMProvider.java69 mMatcher.addURI(mAuthority, BluetoothMapContract.TABLE_ACCOUNT, MATCH_ACCOUNT); in attachInfo()
70 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_MESSAGE, MATCH_MESSAGE); in attachInfo()
71 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_CONVERSATION, in attachInfo()
73 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_CONVOCONTACT, in attachInfo()
106 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
108 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
132 newUri = BluetoothMapContract.buildMessageUri(mAuthority); in onMessageChanged()
135 newUri = BluetoothMapContract.buildMessageUri(mAuthority, accountId); in onMessageChanged()
137 newUri = BluetoothMapContract.buildMessageUriWithId(mAuthority, accountId, in onMessageChanged()
164 newUri = BluetoothMapContract.buildConvoContactsUri(mAuthority); in onContactChanged()
[all …]
DBluetoothMapEmailProvider.java91 mMatcher.addURI(mAuthority, BluetoothMapContract.TABLE_ACCOUNT, MATCH_ACCOUNT); in attachInfo()
92 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_FOLDER, MATCH_FOLDER); in attachInfo()
93 mMatcher.addURI(mAuthority, "#/" + BluetoothMapContract.TABLE_MESSAGE, MATCH_MESSAGE); in attachInfo()
202 if (format.equalsIgnoreCase(BluetoothMapContract.FILE_MSG_NO_ATTACHMENTS)) { in writeDataToPipe()
205 BluetoothMapContract.FILE_MSG_DOWNLOAD_NO_ATTACHMENTS)) { in writeDataToPipe()
208 } else if (format.equalsIgnoreCase(BluetoothMapContract.FILE_MSG_DOWNLOAD)) { in writeDataToPipe()
247 newUri = BluetoothMapContract.buildAccountUri(mAuthority); in onAccountChanged()
249 newUri = BluetoothMapContract.buildAccountUriwithId(mAuthority, accountId); in onAccountChanged()
273 newUri = BluetoothMapContract.buildMessageUri(mAuthority); in onMessageChanged()
276 newUri = BluetoothMapContract.buildMessageUri(mAuthority, accountId); in onMessageChanged()
[all …]
DBluetoothMapContract.java59 public final class BluetoothMapContract { class
63 private BluetoothMapContract() { in BluetoothMapContract() method in BluetoothMapContract
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContent.java44 import com.android.bluetooth.mapapi.BluetoothMapContract;
45 import com.android.bluetooth.mapapi.BluetoothMapContract.ConversationColumns;
326 mMessageColId = c.getColumnIndex(BluetoothMapContract.MessageColumns._ID); in setMessageColumns()
327 mMessageColDate = c.getColumnIndex(BluetoothMapContract.MessageColumns.DATE); in setMessageColumns()
328 mMessageColSubject = c.getColumnIndex(BluetoothMapContract.MessageColumns.SUBJECT); in setMessageColumns()
329 mMessageColFolder = c.getColumnIndex(BluetoothMapContract.MessageColumns.FOLDER_ID); in setMessageColumns()
330 mMessageColRead = c.getColumnIndex(BluetoothMapContract.MessageColumns.FLAG_READ); in setMessageColumns()
331 mMessageColSize = c.getColumnIndex(BluetoothMapContract.MessageColumns.MESSAGE_SIZE); in setMessageColumns()
333 c.getColumnIndex(BluetoothMapContract.MessageColumns.FROM_LIST); in setMessageColumns()
334 mMessageColToAddress = c.getColumnIndex(BluetoothMapContract.MessageColumns.TO_LIST); in setMessageColumns()
[all …]
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()
171 Uri.parse(app.mBase_uri_no_account + "/" + BluetoothMapContract.TABLE_ACCOUNT); in parseAccounts()
174 c = mProviderClient.query(uri, BluetoothMapContract.BT_IM_ACCOUNT_PROJECTION, null, in parseAccounts()
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()
[all …]
DBluetoothMapContentObserver.java58 import com.android.bluetooth.mapapi.BluetoothMapContract;
59 import com.android.bluetooth.mapapi.BluetoothMapContract.MessageColumns;
221 BluetoothMapContract.MessageColumns._ID,
222 BluetoothMapContract.MessageColumns.FOLDER_ID,
223 BluetoothMapContract.MessageColumns.FLAG_READ
227 BluetoothMapContract.MessageColumns._ID,
228 BluetoothMapContract.MessageColumns.FOLDER_ID,
229 BluetoothMapContract.MessageColumns.FLAG_READ,
230 BluetoothMapContract.MessageColumns.DATE,
231 BluetoothMapContract.MessageColumns.SUBJECT,
[all …]
DBluetoothMapObexServer.java34 import com.android.bluetooth.mapapi.BluetoothMapContract;
152 BluetoothMapContract.buildFolderUri(mAuthority, Long.toString(mAccountId)); in BluetoothMapObexServer()
233 root.addFolder(BluetoothMapContract.FOLDER_NAME_INBOX); // root/telecom/msg/inbox in addBaseFolders()
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()
244 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_INBOX); // root/telecom/msg/inbox in addSmsMmsFolders()
245 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_OUTBOX); in addSmsMmsFolders()
246 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_SENT); in addSmsMmsFolders()
247 root.addSmsMmsFolder(BluetoothMapContract.FOLDER_NAME_DELETED); in addSmsMmsFolders()
[all …]
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()
DBluetoothMapUtils.java21 import com.android.bluetooth.mapapi.BluetoothMapContract;
127 if (c.getColumnName(i).equals(BluetoothMapContract.MessageColumns.DATE) in printCursor()
129 .equals(BluetoothMapContract.ConversationColumns.LAST_THREAD_ACTIVITY) in printCursor()
131 .equals(BluetoothMapContract.ChatStatusColumns.LAST_ACTIVE) in printCursor()
133 .equals(BluetoothMapContract.PresenceColumns.LAST_ONLINE)) { in printCursor()
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()