Home
last modified time | relevance | path

Searched refs:ScanNativeInterface (Results 1 – 6 of 6) 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.java64 public ScanNativeInterface getScanNativeInterface() { in getScanNativeInterface()
65 return ScanNativeInterface.getInstance(); in getScanNativeInterface()
DScanManager.java1058 private final ScanNativeInterface mNativeInterface;
/packages/modules/Bluetooth/android/app/tests/instrumentation/com/android/bluetooth/btservice/
DAdapterServiceTest.java80 import com.android.bluetooth.le_scan.ScanNativeInterface;
147 private @Mock ScanNativeInterface mScanNativeInterface;
218 ScanNativeInterface.setInstance(mScanNativeInterface); in setUp()
341 ScanNativeInterface.setInstance(null); in tearDown()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DAdapterServiceTest.java90 import com.android.bluetooth.le_scan.ScanNativeInterface;
166 private @Mock ScanNativeInterface mScanNativeInterface;
240 ScanNativeInterface.setInstance(mScanNativeInterface); in setUp()
358 ScanNativeInterface.setInstance(null); in tearDown()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DScanManagerTest.java137 @Mock private ScanNativeInterface mScanNativeInterface;