/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 74 public class BluetoothPbapService extends ProfileService implements IObexConnectionHandler { class 167 private static BluetoothPbapService sBluetoothPbapService; 176 public BluetoothPbapService(Context ctx) { in BluetoothPbapService() method in BluetoothPbapService 424 protected static void createNotification(BluetoothPbapService context) { in createNotification() 459 BluetoothPbapService service, BluetoothDevice remoteDevice) { in handleNotificationTask() 496 mServerSockets = ObexServerSockets.create(BluetoothPbapService.this); in handleMessage() 509 BluetoothPbapUtils.fetchPbapParams(BluetoothPbapService.this); in handleMessage() 522 BluetoothPbapService.this.sendBroadcast( in handleMessage() 812 public static synchronized BluetoothPbapService getBluetoothPbapService() { in getBluetoothPbapService() 824 private static synchronized void setBluetoothPbapService(BluetoothPbapService instance) { in setBluetoothPbapService() [all …]
|
D | PbapStateMachine.java | 78 private BluetoothPbapService mService; 93 @NonNull BluetoothPbapService service, in PbapStateMachine() 118 BluetoothPbapService service, in make() 258 BluetoothPbapService.USER_TIMEOUT, PbapStateMachine.this); in processMessage() 260 .obtainMessage(BluetoothPbapService.USER_TIMEOUT, PbapStateMachine.this) in processMessage() 321 BluetoothPbapService.MSG_STATE_MACHINE_DONE, PbapStateMachine.this) in enter() 360 Intent i = new Intent(BluetoothPbapService.USER_CONFIRM_TIMEOUT_ACTION); in processMessage() 381 mServiceHandler.obtainMessage(BluetoothPbapService.MSG_ACQUIRE_WAKE_LOCK)); in startObexServerSession() 417 clickIntent.putExtra(BluetoothPbapService.EXTRA_DEVICE, mRemoteDevice); in createPbapNotification() 419 clickIntent.setAction(BluetoothPbapService.AUTH_CHALL_ACTION); in createPbapNotification() [all …]
|
D | BluetoothPbapActivity.java | 86 if (!BluetoothPbapService.USER_CONFIRM_TIMEOUT_ACTION.equals( 101 mDevice = i.getParcelableExtra(BluetoothPbapService.EXTRA_DEVICE); in onCreate() 102 if (action != null && action.equals(BluetoothPbapService.AUTH_CHALL_ACTION)) { in onCreate() 117 IntentFilter filter = new IntentFilter(BluetoothPbapService.USER_CONFIRM_TIMEOUT_ACTION); in onCreate() 174 BluetoothPbapService.AUTH_RESPONSE_ACTION, in onPositive() 175 BluetoothPbapService.EXTRA_SESSION_KEY, in onPositive() 187 sendIntentToReceiver(BluetoothPbapService.AUTH_CANCELLED_ACTION, null, null); in onNegative() 197 intent.putExtra(BluetoothPbapService.EXTRA_DEVICE, mDevice); in sendIntentToReceiver()
|
D | BluetoothPbapAuthenticator.java | 66 BluetoothPbapService.USER_CONFIRM_TIMEOUT_VALUE); in waitUserConfirmation()
|
D | BluetoothPbapUtils.java | 287 handler.sendMessage(handler.obtainMessage(BluetoothPbapService.CONTACTS_LOADED)); in loadAllContacts() 475 handler.sendMessage(handler.obtainMessage(BluetoothPbapService.ROLLOVER_COUNTERS)); in updateSecondaryVersionCounter() 540 handler.obtainMessage(BluetoothPbapService.LOAD_CONTACTS), in fetchAndSetContacts()
|
D | BluetoothPbapVcardManager.java | 123 String name = BluetoothPbapService.getLocalPhoneName(); in getOwnerPhoneNumberVcard() 124 String number = BluetoothPbapService.getLocalPhoneNum(); in getOwnerPhoneNumberVcard() 291 ownerName = BluetoothPbapService.getLocalPhoneName(); in getPhonebookNameList() 380 ownerName = BluetoothPbapService.getLocalPhoneName(); in getSelectedPhonebookNameList()
|
D | BluetoothPbapObexServer.java | 489 boolean isSimEnabled = BluetoothPbapService.isSimEnabled(); in onGet() 648 BluetoothPbapService.isSimEnabled() ? LEGAL_PATH_WITH_SIM : LEGAL_PATH; in isLegalPath() 1733 msg.what = BluetoothPbapService.MSG_ACQUIRE_WAKE_LOCK; in notifyUpdateWakeLock()
|
D | BluetoothPbapSimVcardManager.java | 301 nameList.add(BluetoothPbapService.getLocalPhoneName()); in getSIMPhonebookNameList()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapServiceTest.java | 61 private BluetoothPbapService mService; 85 mService = new BluetoothPbapService(targetContext); in setUp() 104 mService = BluetoothPbapService.getBluetoothPbapService(); in tearDown() 112 assertThat(BluetoothPbapService.getBluetoothPbapService()).isNotNull(); in initialize() 192 Intent intent = new Intent(BluetoothPbapService.AUTH_RESPONSE_ACTION); in broadcastReceiver_onReceive_withActionAuthResponse() 194 intent.putExtra(BluetoothPbapService.EXTRA_SESSION_KEY, sessionKey); in broadcastReceiver_onReceive_withActionAuthResponse() 195 intent.putExtra(BluetoothPbapService.EXTRA_DEVICE, mRemoteDevice); in broadcastReceiver_onReceive_withActionAuthResponse() 211 Intent intent = new Intent(BluetoothPbapService.AUTH_CANCELLED_ACTION); in broadcastReceiver_onReceive_withActionAuthCancelled() 212 intent.putExtra(BluetoothPbapService.EXTRA_DEVICE, mRemoteDevice); in broadcastReceiver_onReceive_withActionAuthCancelled()
|
D | BluetoothPbapServiceBinderTest.java | 43 @Mock private BluetoothPbapService mService; 47 BluetoothPbapService.PbapBinder mBinder; 52 mBinder = new BluetoothPbapService.PbapBinder(mService); in setUp()
|
D | BluetoothPbapSimVcardManagerTest.java | 256 String prevLocalPhoneName = BluetoothPbapService.getLocalPhoneName(); in testGetSIMPhonebookNameList_orderByIndexed() 259 BluetoothPbapService.setLocalPhoneName(localPhoneName); in testGetSIMPhonebookNameList_orderByIndexed() 302 BluetoothPbapService.setLocalPhoneName(prevLocalPhoneName); in testGetSIMPhonebookNameList_orderByIndexed() 308 String prevLocalPhoneName = BluetoothPbapService.getLocalPhoneName(); in testGetSIMPhonebookNameList_orderByAlphabet() 311 BluetoothPbapService.setLocalPhoneName(localPhoneName); in testGetSIMPhonebookNameList_orderByAlphabet() 354 BluetoothPbapService.setLocalPhoneName(prevLocalPhoneName); in testGetSIMPhonebookNameList_orderByAlphabet()
|
D | PbapStateMachineTest.java | 59 private BluetoothPbapService mBluetoothPbapService; 78 mBluetoothPbapService = mock(BluetoothPbapService.class); in setUp()
|
D | BluetoothPbapActivityTest.java | 76 mIntent.setAction(BluetoothPbapService.AUTH_CHALL_ACTION); in setUp() 144 Intent intent = new Intent(BluetoothPbapService.USER_CONFIRM_TIMEOUT_ACTION); in onReceiveTimeoutIntent_sendsDismissDialogMessage()
|
D | BluetoothPbapAuthenticatorTest.java | 112 BluetoothPbapService.USER_CONFIRM_TIMEOUT_VALUE); in testOnAuthenticationChallenge()
|
D | BluetoothPbapVcardManagerTest.java | 295 BluetoothPbapService.setLocalPhoneName(localPhoneName); in testGetPhonebookNameList()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | Config.java | 47 import com.android.bluetooth.pbap.BluetoothPbapService; 126 new ProfileConfig(BluetoothPbapService.isEnabled(), BluetoothProfile.PBAP), 175 new ProfileConfig(BluetoothPbapService.isEnabled(), BluetoothProfile.PBAP),
|
D | AdapterService.java | 145 import com.android.bluetooth.pbap.BluetoothPbapService; 307 private BluetoothPbapService mPbapService; 1535 Map.entry(BluetoothProfile.PBAP, BluetoothPbapService::new), 1990 mPbapService = BluetoothPbapService.getBluetoothPbapService(); in initProfileServices()
|