Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanNativeInterface.java30 public class ScanNativeInterface { class
31 private static final String TAG = ScanNativeInterface.class.getSimpleName();
33 private static ScanNativeInterface sInterface;
38 private ScanNativeInterface() {} in ScanNativeInterface() method in ScanNativeInterface
45 public static ScanNativeInterface getInstance() { in getInstance()
46 synchronized (ScanNativeInterface.class) { in getInstance()
48 sInterface = new ScanNativeInterface(); in getInstance()
56 public static void setInstance(ScanNativeInterface instance) { in setInstance()
57 synchronized (ScanNativeInterface.class) { in setInstance()
DScanObjectsFactory.java62 public ScanNativeInterface getScanNativeInterface() { in getScanNativeInterface()
63 return ScanNativeInterface.getInstance(); in getScanNativeInterface()
DScanManager.java981 private ScanNativeInterface mNativeInterface;
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java84 import com.android.bluetooth.le_scan.ScanNativeInterface;
159 private @Mock ScanNativeInterface mScanNativeInterface;
230 ScanNativeInterface.setInstance(mScanNativeInterface); in setUp()
360 ScanNativeInterface.setInstance(null); in tearDown()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanManagerTest.java141 @Mock private ScanNativeInterface mScanNativeInterface;