Home
last modified time | relevance | path

Searched refs:HidDeviceNativeInterface (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hid/
DHidDeviceNativeInterface.java38 public class HidDeviceNativeInterface { class
44 private static HidDeviceNativeInterface sInstance;
49 private HidDeviceNativeInterface() { in HidDeviceNativeInterface() method in HidDeviceNativeInterface
61 public static HidDeviceNativeInterface getInstance() { in getInstance()
64 sInstance = new HidDeviceNativeInterface(); in getInstance()
72 public static void setInstance(HidDeviceNativeInterface instance) { in setInstance()
DHidDeviceService.java77 private HidDeviceNativeInterface mHidDeviceNativeInterface;
709 mHidDeviceNativeInterface = HidDeviceNativeInterface.getInstance(); in start()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java79 @Mock private HidDeviceNativeInterface mHidDeviceNativeInterface;
90 private static void setHidDeviceNativeInterfaceInstance(HidDeviceNativeInterface instance) in setHidDeviceNativeInterfaceInstance()
93 HidDeviceNativeInterface.class.getDeclaredMethod( in setHidDeviceNativeInterfaceInstance()
94 "setInstance", HidDeviceNativeInterface.class); in setHidDeviceNativeInterfaceInstance()
124 HidDeviceNativeInterface nativeInterface = in setUp()
125 (HidDeviceNativeInterface) field.get(mHidDeviceService); in setUp()
DHidDeviceNativeInterfaceTest.java46 private HidDeviceNativeInterface mNativeInterface;
53 mNativeInterface = HidDeviceNativeInterface.getInstance(); in setUp()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DProfileServiceTest.java40 import com.android.bluetooth.hid.HidDeviceNativeInterface;
84 @Mock private HidDeviceNativeInterface mHidDeviceNativeInterface;
156 HidDeviceNativeInterface.setInstance(mHidDeviceNativeInterface); in setUp()
174 HidDeviceNativeInterface.setInstance(null); in tearDown()