Home
last modified time | relevance | path

Searched refs:instanceId (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothGattService.java122 int instanceId, int serviceType) { in BluetoothGattService() argument
125 mInstanceId = instanceId; in BluetoothGattService()
136 public BluetoothGattService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattService() argument
139 mInstanceId = instanceId; in BluetoothGattService()
255 /*package*/ BluetoothGattCharacteristic getCharacteristic(UUID uuid, int instanceId) { in getCharacteristic() argument
258 && characteristic.getInstanceId() == instanceId) { in getCharacteristic()
271 public void setInstanceId(int instanceId) { in setInstanceId() argument
272 mInstanceId = instanceId; in setInstanceId()
DBluetoothGattCharacteristic.java256 UUID uuid, int instanceId, in BluetoothGattCharacteristic() argument
258 initCharacteristic(service, uuid, instanceId, properties, permissions); in BluetoothGattCharacteristic()
266 public BluetoothGattCharacteristic(UUID uuid, int instanceId, in BluetoothGattCharacteristic() argument
268 initCharacteristic(null, uuid, instanceId, properties, permissions); in BluetoothGattCharacteristic()
272 UUID uuid, int instanceId, in initCharacteristic() argument
275 mInstance = instanceId; in initCharacteristic()
363 /*package*/ BluetoothGattDescriptor getDescriptor(UUID uuid, int instanceId) { in getDescriptor() argument
366 && descriptor.getInstanceId() == instanceId) { in getDescriptor()
418 public void setInstanceId(int instanceId) { in setInstanceId() argument
419 mInstance = instanceId; in setInstanceId()
DBluetoothGattIncludedService.java49 public BluetoothGattIncludedService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattIncludedService() argument
51 mInstanceId = instanceId; in BluetoothGattIncludedService()
DBluetoothGattDescriptor.java245 public void setInstanceId(int instanceId) { in setInstanceId() argument
246 mInstance = instanceId; in setInstanceId()
DBluetoothGatt.java726 int instanceId) { in getService() argument
729 && svc.getInstanceId() == instanceId in getService()
744 int instanceId) { in getCharacteristicById() argument
747 if (charac.getInstanceId() == instanceId) { in getCharacteristicById()
760 /*package*/ BluetoothGattDescriptor getDescriptorById(BluetoothDevice device, int instanceId) { in getDescriptorById() argument
764 if (desc.getInstanceId() == instanceId) { in getDescriptorById()
DBluetoothGattServer.java506 /*package*/ BluetoothGattService getService(UUID uuid, int instanceId, int type) { in getService() argument
509 && svc.getInstanceId() == instanceId in getService()
/frameworks/base/core/java/android/app/usage/
DUsageStats.java263 final int instanceId = right.keyAt(i); in mergeEventMap() local
265 final int index = left.indexOfKey(instanceId); in mergeEventMap()
267 left.put(instanceId, Math.max(left.valueAt(index), event)); in mergeEventMap()
269 left.put(instanceId, event); in mergeEventMap()
422 private void updateActivity(String className, long timeStamp, int eventType, int instanceId) { in updateActivity() argument
431 final int index = mActivities.indexOfKey(instanceId); in updateActivity()
458 mActivities.put(instanceId, eventType); in updateActivity()
465 mActivities.put(instanceId, eventType); in updateActivity()
470 mActivities.delete(instanceId); in updateActivity()
528 public void update(String className, long timeStamp, int eventType, int instanceId) { in update() argument
[all …]
DUsageStatsManagerInternal.java48 int instanceId, ComponentName taskRoot); in reportEvent() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDiscoverySessionState.java55 PeerInfo(int instanceId, byte[] mac) { in PeerInfo() argument
56 mInstanceId = instanceId; in PeerInfo()
/frameworks/base/services/usage/java/com/android/server/usage/
DIntervalStats.java295 int instanceId) { in update() argument
302 usageStats.update(null, timeStamp, eventType, instanceId); in update()
306 usageStats.update(className, timeStamp, eventType, instanceId); in update()
DUsageStatsService.java1623 int instanceId, ComponentName taskRoot) { in reportEvent() argument
1632 event.mInstanceId = instanceId; in reportEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java141 final int instanceId = i % 11; in populateIntervalStats() local
142 event.mClass = ".fake.class.name" + instanceId; in populateIntervalStats()
145 event.mInstanceId = instanceId; in populateIntervalStats()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java560 int cdmaSubscription, Integer instanceId) { in RIL() argument
571 mPhoneId = instanceId == null ? 0 : instanceId; in RIL()