Searched defs:instance (Results 1 - 25 of 75) sorted by path

123

/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_hfp.cpp77 static bluetooth::headset::Callbacks* instance = new JniHeadsetCallbacks(); local
78 return instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpService.java238 private static synchronized void setA2dpService(A2dpService instance) { argument
240 Log.d(TAG, "setA2dpService(): set to: " + instance);
242 sA2dpService = instance;
988 * <li> Delete the state machine instance if the device is disconnected and unbond
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
H A DA2dpSinkService.java99 private static synchronized void setA2dpSinkService(A2dpSinkService instance) { argument
101 Log.d(TAG, "setA2dpSinkService(): set to: " + instance);
103 sA2dpSinkService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
H A DAvrcpControllerService.java246 private static synchronized void setAvrcpControllerService(AvrcpControllerService instance) { argument
248 Log.d(TAG, "setAvrcpControllerService(): set to: " + instance);
250 sAvrcpControllerService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterService.java143 private static synchronized void setAdapterService(AdapterService instance) { argument
144 Log.d(TAG, "setAdapterService() - trying to set service to " + instance);
145 if (instance == null) {
148 sAdapterService = instance;
731 * the AdapterService instance passed in the constructor. Furthermore,
737 * why an inner instance class should be avoided.
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java253 * Get the current instance of {@link GattService}
255 * @return current instance of {@link GattService}
270 private static synchronized void setGattService(GattService instance) { argument
272 Log.d(TAG, "setGattService(): set to: " + instance);
274 sGattService = instance;
H A DHandleMap.java41 public int instance = 0; field in class:HandleMap.Entry
48 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { argument
53 this.instance = instance;
57 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, argument
63 this.instance = instance;
100 void addService(int serverIf, int handle, UUID uuid, int serviceType, int instance, argument
102 mEntries.add(new Entry(serverIf, handle, uuid, serviceType, instance, advertisePreferred));
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java150 * Get a static reference to the current health service instance
152 * @return current health service instance
167 private static synchronized void setHealthService(HealthService instance) { argument
169 Log.d(TAG, "setHealthService(): set to: " + instance);
171 sHealthService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
H A DHearingAidService.java194 * Get the HearingAidService instance
195 * @return HearingAidService instance
210 private static synchronized void setHearingAidService(HearingAidService instance) { argument
212 Log.d(TAG, "setHearingAidService(): set to: " + instance);
214 sHearingAidService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DHeadsetService.java673 private static synchronized void setHeadsetService(HeadsetService instance) { argument
674 logD("setHeadsetService(): set to: " + instance);
675 sHeadsetService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
H A DHeadsetClientService.java457 private static synchronized void setHeadsetClientService(HeadsetClientService instance) { argument
459 Log.d(TAG, "setHeadsetClientService(): set to: " + instance);
461 sHeadsetClientService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidDeviceService.java682 * Get the HID Device Service instance
683 * @return HID Device Service instance
697 private static synchronized void setHidDeviceService(HidDeviceService instance) { argument
699 Log.d(TAG, "setHidDeviceService(): set to: " + instance);
701 sHidDeviceService = instance;
H A DHidHostService.java133 private static synchronized void setHidHostService(HidHostService instance) { argument
135 Log.d(TAG, "setHidHostService(): set to: " + instance);
137 sHidHostService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapService.java222 * Start a MAS instance for SMS/MMS and each e-mail account.
643 * Get the current instance of {@link BluetoothMapService}
645 * @return current instance of {@link BluetoothMapService}
660 private static synchronized void setBluetoothMapService(BluetoothMapService instance) { argument
662 Log.d(TAG, "setBluetoothMapService(): set to: " + instance);
664 sBluetoothMapService = instance;
668 * Call this to trigger an update of the MAS instance list.
735 // Start the new instance
786 // Add the SMS/MMS instance
827 * Called from each MAS instance whe
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
H A DMapClientService.java76 private static synchronized void setMapClientService(MapClientService instance) { argument
78 Log.d(TAG, "setMapClientService(): set to: " + instance);
80 sMapClientService = instance;
106 // a map state machine instance doesn't exist yet, create a new one if we can.
164 // a map state machine instance doesn't exist. maybe it is already gone?
211 // a map state machine instance doesn't exist yet, create a new one if we can.
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppService.java277 * Get the current instance of {@link BluetoothOppService}
279 * @return current instance of {@link BluetoothOppService}
294 private static synchronized void setBluetoothOppService(BluetoothOppService instance) { argument
296 Log.d(TAG, "setBluetoothOppService(): set to: " + instance);
298 sBluetoothOppService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
H A DPanService.java100 private static synchronized void setPanService(PanService instance) { argument
102 Log.d(TAG, "setPanService(): set to: " + instance);
104 sPanService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapService.java549 * Get the current instance of {@link BluetoothPbapService}
551 * @return current instance of {@link BluetoothPbapService}
566 private static synchronized void setBluetoothPbapService(BluetoothPbapService instance) { argument
568 Log.d(TAG, "setBluetoothPbapService(): set to: " + instance);
570 sBluetoothPbapService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientService.java257 private static synchronized void setPbapClientService(PbapClientService instance) { argument
259 Log.d(TAG, "setPbapClientService(): set to: " + instance);
261 sPbapClientService = instance;
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
H A DSapService.java671 * Get the current instance of {@link SapService}
673 * @return current instance of {@link SapService}
688 private static synchronized void setSapService(SapService instance) { argument
690 Log.d(TAG, "setSapService(): set to: " + instance);
692 sSapService = instance;
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
H A DHidDeviceTest.java89 private static void setHidDeviceNativeInterfaceInstance(HidDeviceNativeInterface instance) argument
94 method.invoke(null, instance);
/packages/apps/Camera2/src/android/util/
H A DPools.java28 * MyPooledClass instance = sPool.acquire();
29 * return (instance != null) ? instance : new MyPooledClass();
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
60 * @param instance The instance to release.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
65 public boolean release(T instance); argument
110 release(T instance) argument
122 isInPool(T instance) argument
[all...]
/packages/apps/Camera2/src/com/android/camera/app/
H A DCameraServicesImpl.java46 AndroidContext.instance().get());
50 * @return a single instance of of the global camera services.
52 public static CameraServicesImpl instance() { method in class:CameraServicesImpl
H A DFirstRunDetector.java34 Profilers.instance().guard());
37 public static FirstRunDetector instance() { method in class:FirstRunDetector
/packages/apps/Camera2/src/com/android/camera/debug/
H A DLog.java70 public static void d(Tag tag, Object instance, String msg) { argument
72 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg));
76 public static void d(Tag tag, Object instance, String msg, String tags) { argument
78 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg, tags));
94 public static void e(Tag tag, Object instance, String msg) { argument
96 android.util.Log.e(tag.toString(), LogUtil.addTags(instance, msg));
100 public static void e(Tag tag, Object instance, String msg, String tags) { argument
102 android.util.Log.e(tag.toString(), LogUtil.addTags(instance, msg, tags));
118 public static void i(Tag tag, Object instance, String msg) { argument
120 android.util.Log.i(tag.toString(), LogUtil.addTags(instance, ms
124 i(Tag tag, Object instance, String msg, String tags) argument
142 v(Tag tag, Object instance, String msg) argument
148 v(Tag tag, Object instance, String msg, String tags) argument
166 w(Tag tag, Object instance, String msg) argument
172 w(Tag tag, Object instance, String msg, String tags) argument
[all...]

Completed in 304 milliseconds

123