Searched defs:instance (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java88 private static synchronized void setA2dpService(A2dpService instance) { argument
89 if (instance != null && instance.isAvailable()) {
91 sAd2dpService = instance;
/packages/apps/Gallery/src/com/android/camera/
H A DBitmapManager.java167 public static synchronized BitmapManager instance() { method in class:BitmapManager
/packages/apps/LegacyCamera/src/com/android/camera/
H A DCameraHolder.java33 * The class is used to hold an {@code android.hardware.Camera} instance.
38 * android.hardware.Camera} instance for a while, so if {@code open()} is
64 public static synchronized CameraHolder instance() { method in class:CameraHolder
199 // Keep the camera instance for 3 seconds.
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java290 private static synchronized void setHeadsetService(HeadsetService instance) { argument
291 if (instance != null && instance.isAvailable()) {
293 sHeadsetService = instance;
/packages/apps/Camera/src/com/android/camera/
H A DCameraHolder.java38 * The class is used to hold an {@code android.hardware.Camera} instance.
43 * android.hardware.Camera} instance for a while, so if {@code open()} is
121 public static synchronized CameraHolder instance() { method in class:CameraHolder
210 mCameraDevice = CameraManager.instance().cameraOpen(cameraId);
H A DCameraManager.java84 public static CameraManager instance() { method in class:CameraManager
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidService.java124 private static synchronized void setHidService(HidService instance) { argument
125 if (instance != null && instance.isAvailable()) {
127 sHidService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterService.java109 private static synchronized void setAdapterService(AdapterService instance) { argument
110 if (instance != null && !instance.mCleaningUp) {
112 sAdapterService = instance;
295 //FIXME: Set static instance here???
471 * the AdapterService instance passed in the constructor. Furthermore,
477 * why an inner instance class should be avoided.
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarProvider2Test.java236 // Wipe instance table so it will be regenerated
340 * given range match the expected instances (each instance is specified by
342 * If you just want to verify that an instance exists in a given date
361 // Convert all the instance date strings to UTC milliseconds
365 for (String instance : dates) {
366 time.parse3339(instance);
393 for (long instance : instances) {
394 if (instance == begin) {
414 + " unexpected instance (\"%s\") at %s",
428 * When this command runs it verifies that the given instance exist
432 long instance; field in class:CalendarProvider2Test.VerifyInstance
[all...]

Completed in 180 milliseconds