Searched defs:setAdapterService (Results 1 - 2 of 2) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
H A DTestUtils.java76 * @throws NoSuchMethodException when setAdapterService method is not found
77 * @throws IllegalAccessException when setAdapterService method cannot be accessed
78 * @throws InvocationTargetException when setAdapterService method cannot be invoked, which
79 * should never happen since setAdapterService is a static method
81 public static void setAdapterService(AdapterService adapterService) method in class:TestUtils
90 AdapterService.class.getDeclaredMethod("setAdapterService", AdapterService.class);
99 * {@link TestUtils#setAdapterService(AdapterService)}
121 * {@link #setAdapterService(AdapterService)} must be called with a mocked
152 * {@link #setAdapterService(AdapterService)} must be called with a mocked
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterService.java143 private static synchronized void setAdapterService(AdapterService instance) { method in class:AdapterService
144 Log.d(TAG, "setAdapterService() - trying to set service to " + instance);
410 setAdapterService(this);

Completed in 899 milliseconds