/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | TestUtils.java | 31 import com.android.bluetooth.btservice.AdapterService; 87 public static void setAdapterService(AdapterService adapterService) in setAdapterService() 90 + " AdapterService", AdapterService.getAdapterService()); in setAdapterService() 96 AdapterService.class.getDeclaredMethod("setAdapterService", AdapterService.class); in setAdapterService() 111 public static void clearAdapterService(AdapterService adapterService) in clearAdapterService() 115 AdapterService.getAdapterService()); in clearAdapterService() 118 AdapterService.class.getDeclaredMethod("clearAdapterService", AdapterService.class); in clearAdapterService() 138 AdapterService adapterService = AdapterService.getAdapterService(); in startService() 144 startIntent.putExtra(AdapterService.EXTRA_ACTION, in startService() 145 AdapterService.ACTION_SERVICE_STATE_CHANGED); in startService() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 145 public class AdapterService extends Service { class 220 private static AdapterService sAdapterService; 222 public static synchronized AdapterService getAdapterService() { in getAdapterService() 226 private static synchronized void setAdapterService(AdapterService instance) { in setAdapterService() 234 private static synchronized void clearAdapterService(AdapterService current) { in clearAdapterService() 1201 private AdapterService mService; 1203 AdapterServiceBinder(AdapterService svc) { in AdapterServiceBinder() 1213 public AdapterService getService() { in getService() 1223 AdapterService service = getService(); in getState() 1233 AdapterService service = getService(); in enable() [all …]
|
D | ProfileService.java | 62 private AdapterService mAdapterService; 177 String action = intent.getStringExtra(AdapterService.EXTRA_ACTION); in onStartCommand() 178 if (AdapterService.ACTION_SERVICE_STATE_CHANGED.equals(action)) { in onStartCommand() 268 mAdapterService = AdapterService.getAdapterService(); in doStart()
|
D | AdapterState.java | 86 private AdapterService mAdapterService; 97 private AdapterState(AdapterService service) { in AdapterState() 128 public static AdapterState make(AdapterService service) { in make()
|
D | BluetoothSocketManagerBinder.java | 32 private AdapterService mService; 34 BluetoothSocketManagerBinder(AdapterService service) { in BluetoothSocketManagerBinder()
|
D | JniCallbacks.java | 25 private AdapterService mAdapterService; 28 JniCallbacks(AdapterService adapterService, AdapterProperties adapterProperties) { in JniCallbacks()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | AdvertiseManager.java | 31 import com.android.bluetooth.btservice.AdapterService; 47 private final AdapterService mAdapterService; 55 AdvertiseManager(GattService service, AdapterService adapterService) { in AdvertiseManager() 197 String deviceName = AdapterService.getAdapterService().getName(); in startAdvertisingSet() 282 String deviceName = AdapterService.getAdapterService().getName(); in setAdvertisingData() 293 String deviceName = AdapterService.getAdapterService().getName(); in setScanResponseData() 323 String deviceName = AdapterService.getAdapterService().getName(); in setPeriodicAdvertisingData()
|
D | PeriodicScanManager.java | 28 import com.android.bluetooth.btservice.AdapterService; 43 private final AdapterService mAdapterService; 50 PeriodicScanManager(AdapterService adapterService) { in PeriodicScanManager()
|
D | AppScanStats.java | 28 import com.android.bluetooth.btservice.AdapterService; 106 return AdapterService.getAdapterService().getScanQuotaCount(); in getNumScanDurationsKept() 114 return AdapterService.getAdapterService().getScanQuotaWindowMillis(); in getExcessiveScanningPeriodMillis() 119 return AdapterService.getAdapterService().getScanTimeoutMillis(); in getScanTimeoutMillis()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | AdapterServiceTest.java | 83 private AdapterService mAdapterService; 84 private AdapterService.AdapterServiceBinder mServiceBinder; 123 AdapterService adapterService = new AdapterService(); in setupClass() 147 () -> mAdapterService = new AdapterService()); in setUp() 148 mServiceBinder = new AdapterService.AdapterServiceBinder(mAdapterService); in setUp() 508 SystemProperties.get(AdapterService.BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY, ""); in testSnoopLoggingChange() 509 SystemProperties.set(AdapterService.BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY, "false"); in testSnoopLoggingChange() 515 SystemProperties.get(AdapterService.BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY, in testSnoopLoggingChange() 518 SystemProperties.set(AdapterService.BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY, "true"); in testSnoopLoggingChange() 548 SystemProperties.set(AdapterService.BLUETOOTH_BTSNOOP_LOG_MODE_PROPERTY, snoopSetting); in testSnoopLoggingChange()
|
D | ProfileServiceTest.java | 58 @Mock private AdapterService mMockAdapterService; 71 startIntent.putExtra(AdapterService.EXTRA_ACTION, in setProfileState() 72 AdapterService.ACTION_SERVICE_STATE_CHANGED); in setProfileState() 123 Assert.assertNotNull(AdapterService.getAdapterService()); in setUp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetObjectsFactory.java | 23 import com.android.bluetooth.btservice.AdapterService; 74 HeadsetService headsetService, AdapterService adapterService, in makeStateMachine()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkService.java | 30 import com.android.bluetooth.btservice.AdapterService; 51 private AdapterService mAdapterService; 70 mAdapterService = Objects.requireNonNull(AdapterService.getAdapterService(), in start() 72 mDatabaseManager = Objects.requireNonNull(AdapterService.getAdapterService().getDatabase(), in start()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppServiceTest.java | 31 import com.android.bluetooth.btservice.AdapterService; 52 @Mock private AdapterService mAdapterService;
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/sap/ |
D | SapServiceTest.java | 31 import com.android.bluetooth.btservice.AdapterService; 52 @Mock private AdapterService mAdapterService;
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerServiceTest.java | 31 import com.android.bluetooth.btservice.AdapterService; 52 @Mock private AdapterService mAdapterService;
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapServiceTest.java | 31 import com.android.bluetooth.btservice.AdapterService; 53 @Mock private AdapterService mAdapterService;
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapServiceTest.java | 31 import com.android.bluetooth.btservice.AdapterService; 53 @Mock private AdapterService mAdapterService;
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbapclient/ |
D | PbapClientServiceTest.java | 31 import com.android.bluetooth.btservice.AdapterService; 53 @Mock private AdapterService mAdapterService;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/ |
D | SdpManager.java | 36 import com.android.bluetooth.btservice.AdapterService; 67 private static AdapterService sAdapterService; 209 private SdpManager(AdapterService adapterService) { in SdpManager() 219 public static SdpManager init(AdapterService adapterService) { in init()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pan/ |
D | PanServiceTest.java | 34 import com.android.bluetooth.btservice.AdapterService; 56 @Mock private AdapterService mAdapterService;
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/gatt/ |
D | GattServiceTest.java | 14 import com.android.bluetooth.btservice.AdapterService; 38 @Mock private AdapterService mAdapterService;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidHostService.java | 42 import com.android.bluetooth.btservice.AdapterService; 97 mDatabaseManager = Objects.requireNonNull(AdapterService.getAdapterService().getDatabase(), in start() 213 AdapterService adapterService = AdapterService.getAdapterService(); 893 AdapterService adapterService = AdapterService.getAdapterService(); in okToConnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 34 import com.android.bluetooth.btservice.AdapterService; 84 private AdapterService mAdapterService; 625 AdapterService.getAdapterService().getDatabase() in setConnectionPolicy() 649 return AdapterService.getAdapterService().getDatabase() in getConnectionPolicy() 674 mAdapterService = AdapterService.getAdapterService(); in start()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MapClientService.java | 39 import com.android.bluetooth.btservice.AdapterService; 63 private AdapterService mAdapterService; 302 mAdapterService = AdapterService.getAdapterService(); in start() 303 mDatabaseManager = Objects.requireNonNull(AdapterService.getAdapterService().getDatabase(), in start()
|