Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/
DFakeBluetoothController.java20 import com.android.systemui.statusbar.policy.BluetoothController;
21 import com.android.systemui.statusbar.policy.BluetoothController.Callback;
28 BluetoothController {
DLeakCheckedTest.java27 import com.android.systemui.statusbar.policy.BluetoothController;
55 BluetoothController.class,
105 if (cls == BluetoothController.class) { in getLeakChecker()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImplTest.java105 BluetoothController.Callback callback = mock(BluetoothController.Callback.class); in testAsyncBondState()
126 BluetoothController.Callback callback = mock(BluetoothController.Callback.class); in testAsyncConnectionState()
149 BluetoothController.Callback callback = mock(BluetoothController.Callback.class); in testNullAsync_DoesNotCrash()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBluetoothControllerImpl.java45 public class BluetoothControllerImpl implements BluetoothController, BluetoothCallback,
331 private final ArrayList<BluetoothController.Callback> mCallbacks = new ArrayList<>();
352 mCallbacks.add((BluetoothController.Callback) msg.obj); in handleMessage()
355 mCallbacks.remove((BluetoothController.Callback) msg.obj); in handleMessage()
361 for (BluetoothController.Callback cb : mCallbacks) { in firePairedDevicesChanged()
367 for (BluetoothController.Callback cb : mCallbacks) { in fireStateChange()
372 private void fireStateChange(BluetoothController.Callback cb) { in fireStateChange()
DBluetoothController.java21 import com.android.systemui.statusbar.policy.BluetoothController.Callback;
26 public interface BluetoothController extends CallbackController<Callback>, Dumpable { interface
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
DConnectedDeviceSignalController.java23 import com.android.systemui.statusbar.policy.BluetoothController;
31 BluetoothController.Callback {
64 private final BluetoothController mController;
76 mController = Dependency.get(BluetoothController.class); in ConnectedDeviceSignalController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBluetoothTile.java50 import com.android.systemui.statusbar.policy.BluetoothController;
60 private final BluetoothController mController;
66 mController = Dependency.get(BluetoothController.class); in BluetoothTile()
246 private final BluetoothController.Callback mCallback = new BluetoothController.Callback() {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServicesTest.java32 import com.android.systemui.statusbar.policy.BluetoothController;
57 mDependency.injectMockDependency(BluetoothController.class); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java73 import com.android.systemui.statusbar.policy.BluetoothController;
74 import com.android.systemui.statusbar.policy.BluetoothController.Callback;
151 private BluetoothController mBluetooth;
159 mBluetooth = Dependency.get(BluetoothController.class); in PhoneStatusBarPolicy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java63 import com.android.systemui.statusbar.policy.BluetoothController;
175 mProviders.put(BluetoothController.class, () -> in start()