Home
last modified time | relevance | path

Searched refs:BluetoothPbapService (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DPbapStateMachine.java78 private BluetoothPbapService mService;
93 private PbapStateMachine(@NonNull BluetoothPbapService service, Looper looper, in PbapStateMachine()
110 static PbapStateMachine make(BluetoothPbapService service, Looper looper, in make()
158 BluetoothPbapService.BLUETOOTH_PERM); in broadcastConnectionState()
231 mServiceHandler.removeMessages(BluetoothPbapService.USER_TIMEOUT, in processMessage()
233 mServiceHandler.obtainMessage(BluetoothPbapService.USER_TIMEOUT, in processMessage()
278 mServiceHandler.obtainMessage(BluetoothPbapService.MSG_STATE_MACHINE_DONE, in enter()
313 Intent i = new Intent(BluetoothPbapService.USER_CONFIRM_TIMEOUT_ACTION); in processMessage()
336 mServiceHandler.obtainMessage(BluetoothPbapService.MSG_ACQUIRE_WAKE_LOCK)); in startObexServerSession()
370 clickIntent.putExtra(BluetoothPbapService.EXTRA_DEVICE, mRemoteDevice); in createPbapNotification()
[all …]
DBluetoothPbapActivity.java66 private static final boolean V = BluetoothPbapService.VERBOSE;
95 if (!BluetoothPbapService.USER_CONFIRM_TIMEOUT_ACTION.equals(intent.getAction())) {
107 mDevice = i.getParcelableExtra(BluetoothPbapService.EXTRA_DEVICE); in onCreate()
108 if (action != null && action.equals(BluetoothPbapService.AUTH_CHALL_ACTION)) { in onCreate()
117 new IntentFilter(BluetoothPbapService.USER_CONFIRM_TIMEOUT_ACTION)); in onCreate()
165 sendIntentToReceiver(BluetoothPbapService.AUTH_RESPONSE_ACTION, in onPositive()
166 BluetoothPbapService.EXTRA_SESSION_KEY, mSessionKey); in onPositive()
176 sendIntentToReceiver(BluetoothPbapService.AUTH_CANCELLED_ACTION, null, null); in onNegative()
185 intent.setPackage(BluetoothPbapService.THIS_PACKAGE_NAME); in sendIntentToReceiver()
186 intent.putExtra(BluetoothPbapService.EXTRA_DEVICE, mDevice); in sendIntentToReceiver()
DBluetoothPbapService.java71 public class BluetoothPbapService extends ProfileService implements IObexConnectionHandler { class
173 private static BluetoothPbapService sBluetoothPbapService;
353 mServerSockets = ObexServerSockets.create(BluetoothPbapService.this); in handleMessage()
622 public static synchronized BluetoothPbapService getBluetoothPbapService() { in getBluetoothPbapService()
634 private static synchronized void setBluetoothPbapService(BluetoothPbapService instance) { in setBluetoothPbapService()
657 private BluetoothPbapService mService;
659 private BluetoothPbapService getService() { in getService()
670 PbapBinder(BluetoothPbapService service) { in PbapBinder()
687 BluetoothPbapService service = getService(); in getConnectedDevices()
699 BluetoothPbapService service = getService(); in getDevicesMatchingConnectionStates()
[all …]
DBluetoothPbapUtils.java50 private static final boolean V = BluetoothPbapService.VERBOSE;
213 handler.sendMessage(handler.obtainMessage(BluetoothPbapService.CONTACTS_LOADED)); in loadAllContacts()
370 handler.sendMessage(handler.obtainMessage(BluetoothPbapService.ROLLOVER_COUNTERS)); in updateSecondaryVersionCounter()
422 handler.obtainMessage(BluetoothPbapService.LOAD_CONTACTS), in fetchAndSetContacts()
DBluetoothPbapVcardManager.java73 private static final boolean V = BluetoothPbapService.VERBOSE;
145 String name = BluetoothPbapService.getLocalPhoneName(); in getOwnerPhoneNumberVcard()
146 String number = BluetoothPbapService.getLocalPhoneNum(); in getOwnerPhoneNumberVcard()
261 ownerName = BluetoothPbapService.getLocalPhoneName(); in getPhonebookNameList()
324 ownerName = BluetoothPbapService.getLocalPhoneName(); in getSelectedPhonebookNameList()
DBluetoothPbapAuthenticator.java76 BluetoothPbapService.USER_CONFIRM_TIMEOUT_VALUE); in waitUserConfirmation()
DBluetoothPbapObexServer.java65 private static final boolean D = BluetoothPbapService.DEBUG;
67 private static final boolean V = BluetoothPbapService.VERBOSE;
1396 msg.what = BluetoothPbapService.MSG_ACQUIRE_WAKE_LOCK; in notifyUpdateWakeLock()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbap/
DBluetoothPbapServiceTest.java46 private BluetoothPbapService mService;
63 TestUtils.startService(mServiceRule, BluetoothPbapService.class); in setUp()
64 mService = BluetoothPbapService.getBluetoothPbapService(); in setUp()
76 TestUtils.stopService(mServiceRule, BluetoothPbapService.class); in tearDown()
77 mService = BluetoothPbapService.getBluetoothPbapService(); in tearDown()
84 Assert.assertNotNull(BluetoothPbapService.getBluetoothPbapService()); in testInitialize()
DPbapStateMachineTest.java60 private BluetoothPbapService mBluetoothPbapService;
79 mBluetoothPbapService = mock(BluetoothPbapService.class); in setUp()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DConfig.java43 import com.android.bluetooth.pbap.BluetoothPbapService;
99 new ProfileConfig(BluetoothPbapService.class, R.bool.profile_supported_pbap,
DAdapterService.java97 import com.android.bluetooth.pbap.BluetoothPbapService;
239 private BluetoothPbapService mPbapService;
1035 mPbapService = BluetoothPbapService.getBluetoothPbapService(); in initProfileServices()