Searched refs:BluetoothPan (Results 1 – 8 of 8) sorted by relevance
19 import android.bluetooth.BluetoothPan;234 mConnectionAction = BluetoothPan.ACTION_CONNECTION_STATE_CHANGED; in ConnectProfileReceiver()279 if (mRole != intent.getIntExtra(BluetoothPan.EXTRA_LOCAL_ROLE, -1)) { in onReceive()329 mPan = (BluetoothPan) proxy;366 private BluetoothPan mPan = null;696 if (mPan == null) mPan = (BluetoothPan) connectProxy(adapter, BluetoothProfile.PAN); in enablePan()714 if (mPan == null) mPan = (BluetoothPan) connectProxy(adapter, BluetoothProfile.PAN); in disablePan()1099 role = BluetoothPan.LOCAL_PANU_ROLE; in connectPanOrIncomingPanConnection()1103 role = BluetoothPan.LOCAL_NAP_ROLE; in connectPanOrIncomingPanConnection()1114 mPan = (BluetoothPan) connectProxy(adapter, BluetoothProfile.PAN); in connectPanOrIncomingPanConnection()[all …]
22 import android.bluetooth.BluetoothPan;38 private BluetoothPan mService;55 mService = (BluetoothPan) proxy; in onServiceConnected()166 return mDeviceRoleMap.get(device) == BluetoothPan.LOCAL_NAP_ROLE; in isLocalRoleNap()
30 import android.bluetooth.BluetoothPan;200 BluetoothPan.ACTION_CONNECTION_STATE_CHANGED); in updateLocalProfiles()345 int role = intent.getIntExtra(BluetoothPan.EXTRA_LOCAL_ROLE, 0); in onReceive()
33 import android.bluetooth.BluetoothPan;222 mIntent = new Intent(BluetoothPan.ACTION_CONNECTION_STATE_CHANGED); in stateChangedHandler_receivePanConnectionStateChanged_shouldNotDispatchCallback()243 mIntent = new Intent(BluetoothPan.ACTION_CONNECTION_STATE_CHANGED); in stateChangedHandler_receivePanConnectionStateChangedWithoutProfile_shouldNotRefresh()263 mIntent = new Intent(BluetoothPan.ACTION_CONNECTION_STATE_CHANGED); in stateChangedHandler_receivePanConnectionStateChangedWithProfile_shouldRefresh()
43 public final class BluetoothPan implements BluetoothProfile { class137 /*package*/ BluetoothPan(Context context, ServiceListener listener) { in BluetoothPan() method in BluetoothPan
2527 BluetoothPan pan = new BluetoothPan(context, listener); in getProfileProxy()2598 BluetoothPan pan = (BluetoothPan) proxy; in closeProfileProxy()
54 import android.bluetooth.BluetoothPan;461 ((BluetoothPan) proxy).setBluetoothTethering(enable); in setBluetoothTethering()464 final int result = (((BluetoothPan) proxy).isTetheringOn() == enable) in setBluetoothTethering()
687 android.bluetooth.BluetoothPan