Home
last modified time | relevance | path

Searched refs:svc (Results 1 – 25 of 46) sorted by relevance

12

/packages/modules/Bluetooth/system/service/
Dgatt_server.cc69 std::vector<btgatt_db_element_t> svc; in AddService() local
71 svc.push_back({ in AddService()
78 svc.push_back({.uuid = characteristic.uuid(), in AddService()
83 svc.push_back({.uuid = descriptor.uuid(), in AddService()
89 svc.push_back({.type = BTGATT_DB_INCLUDED_SERVICE, in AddService()
96 server_id_, svc.data(), svc.size()); in AddService()
298 std::vector<btgatt_db_element_t> svc) { in ServiceAddedCallback() argument
304 << " first handle: " << svc[0].attribute_handle in ServiceAddedCallback()
305 << " service Uuid: " << Uuid(svc[0].uuid).ToString() in ServiceAddedCallback()
306 << " count: " << svc.size(); in ServiceAddedCallback()
[all …]
/packages/services/Car/cpp/evs/manager/aidl/wrappers/include/
DAidlEnumerator.h58 explicit AidlEnumerator(const ::android::sp<hidlevs::V1_0::IEvsEnumerator>& svc);
90 explicit IHidlEnumerator(const ::android::sp<hidlevs::V1_0::IEvsEnumerator>& svc) : in IHidlEnumerator() argument
91 mHidlEnumerator(svc) {} in IHidlEnumerator()
112 explicit ImplV0(const ::android::sp<hidlevs::V1_0::IEvsEnumerator>& svc) : in ImplV0() argument
113 IHidlEnumerator(svc) {} in ImplV0()
130 explicit ImplV1(const ::android::sp<hidlevs::V1_1::IEvsEnumerator>& svc) : in ImplV1() argument
131 IHidlEnumerator(svc), mHidlEnumerator(svc) {} in ImplV1()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DGattDebugUtils.java80 static boolean handleDebugAction(GattService svc, Intent intent) { in handleDebugAction() argument
97 svc.gattTestCommand(0x01, null, null, bEnable ? 1 : 0, 0, 0, 0, 0); in handleDebugAction()
103 svc.gattTestCommand(0x02, null, address, type, addrType, 0, 0, 0); in handleDebugAction()
106 svc.gattTestCommand(0x03, null, null, 0, 0, 0, 0, 0); in handleDebugAction()
113 svc.gattTestCommand(0x04, uuid, null, type, shdl, ehdl, 0, 0); in handleDebugAction()
121 svc.gattTestCommand(0xF0, null, null, authReq, ioCap, initKey, respKey, maxKey); in handleDebugAction()
DGattService.java586 BluetoothGattBinder(GattService svc) { in BluetoothGattBinder() argument
587 mService = svc; in BluetoothGattBinder()
1301 public void addService(int serverIf, BluetoothGattService svc, in addService() argument
1304 addService(serverIf, svc, attributionSource); in addService()
1310 private void addService(int serverIf, BluetoothGattService svc, in addService() argument
1317 service.addService(serverIf, svc, attributionSource); in addService()
3940 BluetoothGattService svc = null; in onServiceAdded() local
3946 svc = new BluetoothGattService(svcEl.uuid, svcEl.attributeHandle, in onServiceAdded()
3951 svc = new BluetoothGattService(svcEl.uuid, svcEl.attributeHandle, in onServiceAdded()
3955 svc.addCharacteristic( in onServiceAdded()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/
DMediaControlProfile.java689 MediaControlGattService svc = new MediaControlGattService(mMcpService, this, ccid); in init() local
690 svc.init(isGenericMcs ? BluetoothUuid.GENERIC_MEDIA_CONTROL.getUuid() in init()
692 mServiceMap.put(appToken, svc); in init()
696 public void injectGattServiceForTesting(String appToken, MediaControlGattServiceInterface svc) { in injectGattServiceForTesting() argument
697 mServiceMap.put(appToken, svc); in injectGattServiceForTesting()
709 for (MediaControlGattServiceInterface svc : mServiceMap.values()) { in cleanup()
710 svc.destroy(); in cleanup()
778 for (MediaControlGattServiceInterface svc : mServiceMap.values()) { in onDeviceAuthorizationSet()
779 svc.onDeviceAuthorizationSet(device); in onDeviceAuthorizationSet()
785 for (MediaControlGattServiceInterface svc : mServiceMap.values()) { in dump()
[all …]
DMcpService.java251 BluetoothMcpServiceBinder(McpService svc) { in BluetoothMcpServiceBinder() argument
252 mService = svc; in BluetoothMcpServiceBinder()
/packages/services/Car/cpp/evs/sampleDriver/aidl/include/
DGlWrapper.h38 bool initialize(const std::shared_ptr<automotivedisplay::ICarDisplayProxy>& svc,
48 void showWindow(const std::shared_ptr<automotivedisplay::ICarDisplayProxy>& svc,
50 void hideWindow(const std::shared_ptr<automotivedisplay::ICarDisplayProxy>& svc,
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothGattServer.java414 for (BluetoothGattService svc : mServices) { in getCharacteristicByHandle()
415 for (BluetoothGattCharacteristic charac : svc.getCharacteristics()) { in getCharacteristicByHandle()
430 for (BluetoothGattService svc : mServices) { in getDescriptorByHandle()
431 for (BluetoothGattCharacteristic charac : svc.getCharacteristics()) { in getDescriptorByHandle()
557 for (BluetoothGattService svc : mServices) { in getService()
558 if (svc.getType() == type in getService()
559 && svc.getInstanceId() == instanceId in getService()
560 && svc.getUuid().equals(uuid)) { in getService()
561 return svc; in getService()
DBluetoothGatt.java811 for (BluetoothGattService svc : mServices) { in getService()
812 if (svc.getDevice().equals(device) in getService()
813 && svc.getInstanceId() == instanceId in getService()
814 && svc.getUuid().equals(uuid)) { in getService()
815 return svc; in getService()
829 for (BluetoothGattService svc : mServices) { in getCharacteristicById()
830 for (BluetoothGattCharacteristic charac : svc.getCharacteristics()) { in getCharacteristicById()
845 for (BluetoothGattService svc : mServices) { in getDescriptorById()
846 for (BluetoothGattCharacteristic charac : svc.getCharacteristics()) { in getDescriptorById()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bass_client/
DBassObjectsFactory.java74 BassClientService svc, Looper looper) { in makeStateMachine() argument
75 return BassClientStateMachine.make(device, svc, looper); in makeStateMachine()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsEntry.java263 public void addService(ServiceState svc) { in addService() argument
264 ArrayList<Service> services = mServices.get(svc.getPackage()); in addService()
267 mServices.put(svc.getPackage(), services); in addService()
269 services.add(new Service(svc)); in addService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientStateMachine.java95 HapClientStateMachine(BluetoothDevice device, HapClientService svc, in HapClientStateMachine() argument
99 mService = svc; in HapClientStateMachine()
115 static HapClientStateMachine make(BluetoothDevice device, HapClientService svc, in make() argument
118 HapClientStateMachine hearingAccessSm = new HapClientStateMachine(device, svc, in make()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java95 HearingAidStateMachine(BluetoothDevice device, HearingAidService svc, in HearingAidStateMachine() argument
99 mService = svc; in HearingAidStateMachine()
115 static HearingAidStateMachine make(BluetoothDevice device, HearingAidService svc, in make() argument
118 HearingAidStateMachine HearingAidSm = new HearingAidStateMachine(device, svc, in make()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlStateMachine.java67 VolumeControlStateMachine(BluetoothDevice device, VolumeControlService svc, in VolumeControlStateMachine() argument
72 mService = svc; in VolumeControlStateMachine()
88 static VolumeControlStateMachine make(BluetoothDevice device, VolumeControlService svc, in make() argument
91 VolumeControlStateMachine VolumeControlSm = new VolumeControlStateMachine(device, svc, in make()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioStateMachine.java95 LeAudioStateMachine(BluetoothDevice device, LeAudioService svc, in LeAudioStateMachine() argument
99 mService = svc; in LeAudioStateMachine()
115 static LeAudioStateMachine make(BluetoothDevice device, LeAudioService svc, in make() argument
118 … LeAudioStateMachine LeAudioSm = new LeAudioStateMachine(device, svc, nativeInterface, looper); in make()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStateMachine.java66 CsipSetCoordinatorStateMachine(BluetoothDevice device, CsipSetCoordinatorService svc, in CsipSetCoordinatorStateMachine() argument
70 mService = svc; in CsipSetCoordinatorStateMachine()
87 CsipSetCoordinatorService svc, CsipSetCoordinatorNativeInterface nativeInterface, in make() argument
91 new CsipSetCoordinatorStateMachine(device, svc, nativeInterface, looper); in make()
/packages/modules/Bluetooth/system/bta/gatt/
Ddatabase.cc45 bool HandleInRange(const Service& svc, uint16_t handle) { in HandleInRange() argument
46 return handle >= svc.handle && handle <= svc.end_handle; in HandleInRange()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java110 PbapClientStateMachine(PbapClientService svc, BluetoothDevice device) { in PbapClientStateMachine() argument
113 mService = svc; in PbapClientStateMachine()
DPbapClientService.java329 BluetoothPbapClientBinder(PbapClientService svc) { in BluetoothPbapClientBinder() argument
330 mService = svc; in BluetoothPbapClientBinder()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTestConnectivityManager.java92 public TestConnectivityManager(Context ctx, IConnectivityManager svc) { in TestConnectivityManager() argument
93 super(ctx, svc); in TestConnectivityManager()
/packages/modules/Bluetooth/system/include/hardware/
Dbluetooth_headset_interface.h159 virtual bt_status_t CindResponse(int svc, int num_active, int num_held,
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DGattServiceBinderTest.java521 BluetoothGattService svc = mock(BluetoothGattService.class); in addService() local
523 mBinder.addService(serverIf, svc, mAttributionSource, in addService()
526 verify(mService).addService(serverIf, svc, mAttributionSource); in addService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/
DA2dpSinkService.java211 A2dpSinkServiceBinder(A2dpSinkService svc) { in A2dpSinkServiceBinder() argument
212 mService = svc; in A2dpSinkServiceBinder()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryService.java543 BluetoothBatteryBinder(BatteryService svc) { in BluetoothBatteryBinder() argument
544 mServiceRef = new WeakReference<>(svc); in BluetoothBatteryBinder()
/packages/services/Car/service/src/com/android/car/evs/
DCarEvsService.java194 CarEvsService svc = mService.get(); in onCallbackDied() local
195 if (svc != null) { in onCallbackDied()
196 svc.handleClientDisconnected(listener); in onCallbackDied()

12