Home
last modified time | relevance | path

Searched refs:devClass (Results 1 – 17 of 17) sorted by relevance

/drivers/hdf_core/framework/core/shared/src/
Dsvcmgr_ioservice.c24 static int32_t ProcessListenClass(struct SvcMgrIoservice *svcmgrInst, uint16_t devClass, int cmdId) in ProcessListenClass() argument
31 (void)HdfSbufWriteUint16(data, devClass); in ProcessListenClass()
43 static int32_t SetListenClass(struct SvcMgrIoservice *svcmgrInst, uint16_t devClass) in SetListenClass() argument
45 return ProcessListenClass(svcmgrInst, devClass, SVCMGR_REGISTER_LISTENER); in SetListenClass()
48 static int32_t UnSetListenClass(struct SvcMgrIoservice *svcmgrInst, uint16_t devClass) in UnSetListenClass() argument
50 return ProcessListenClass(svcmgrInst, devClass, SVCMGR_UNREGISTER_LISTENER); in UnSetListenClass()
/drivers/hdf_core/framework/core/shared/include/
Dhdf_service_info.h17 uint16_t devClass; member
26 info->devClass = devNode->deviceObject.deviceClass; in HdfServiceInfoInit()
Dhdf_service_record.h21 uint16_t devClass; member
/drivers/hdf_core/framework/core/manager/src/
Ddevsvc_manager.c47 .deviceClass = record->devClass, in NotifyServiceStatusLocked()
53 if ((holder->listenClass & record->devClass) && holder->NotifyStatus != NULL) { in NotifyServiceStatusLocked()
69 if ((listenerHolder->listenClass & record->devClass) == 0) { in NotifyServiceStatusOnRegisterLocked()
73 .deviceClass = record->devClass, in NotifyServiceStatusOnRegisterLocked()
111 record->devClass = servInfo->devClass; in DevSvcManagerAddService()
158 record->devClass = servInfo->devClass; in DevSvcManagerUpdateService()
247 if (record->devClass == deviceClass) { in DevSvcManagerListService()
274 HdfSbufWriteUint16(reply, record->devClass); in DevSvcManagerListAllService()
276 … HDF_LOGD("%{public}s 0x%{public}x %{public}d", record->servName, record->devId, record->devClass); in DevSvcManagerListAllService()
Ddevsvc_manager_ext.c40 uint16_t devClass = DEVICE_CLASS_MAX; in DevSvcManagerExtRegisterListener() local
47 if (!HdfSbufReadUint16(data, &devClass)) { in DevSvcManagerExtRegisterListener()
54 holder->listenClass = devClass; in DevSvcManagerExtRegisterListener()
58 holder = ServStatListenerHolderCreate((uintptr_t)client, devClass); in DevSvcManagerExtRegisterListener()
/drivers/hdf_core/interfaces/inner_api/hdi/
Diservmgr_hdi.h59 uint16_t devClass; member
/drivers/hdf_core/framework/core/host/src/
Ddevsvc_manager_clnt.c23 if (servinfo->devClass >= DEVICE_CLASS_MAX) { in DevSvcManagerClntAddService()
44 if (servinfo->devClass >= DEVICE_CLASS_MAX) { in DevSvcManagerClntUpdateService()
/drivers/hdf_core/adapter/uhdf2/host/src/
Ddevsvc_manager_proxy.c37 if (!HdfSbufWriteUint16(data, servInfo->devClass)) { in WriteServiceInfo()
84 if (servInfo->devClass >= DEVICE_CLASS_MAX) { in DevSvcManagerProxyAddService()
124 if (servInfo->devClass >= DEVICE_CLASS_MAX) { in DevSvcManagerProxyUpdateService()
/drivers/hdf_core/framework/tools/hdf_dbg/
Dhdf_dbg.cpp127 … cout << info.serviceName << ":0x" << std::hex << info.devClass << "\t:0x" << info.devId << endl; in PrintAllServiceInfoUser()
149 uint16_t devClass; in PrintAllServiceInfoKernel() local
150 if (!HdfSbufReadUint16(data, &devClass)) { in PrintAllServiceInfoKernel()
161 cout << serviceName << ":0x" << std::hex << devClass << "\t:0x" << devId << endl; in PrintAllServiceInfoKernel()
/drivers/hdf_core/adapter/uhdf2/hdi/test/servmgr/
Dservice_manager_hdi_test.cpp303 uint16_t devClass; in TestServiceListenerStop() local
311 devClass = status.deviceClass; in TestServiceListenerStop()
329 ASSERT_EQ(devClass, DEVICE_CLASS_DEFAULT); in TestServiceListenerStop()
343 ASSERT_EQ(devClass, DEVICE_CLASS_DEFAULT); in TestServiceListenerStop()
373 uint16_t devClass; in TestSampleService() local
383 devClass = status.deviceClass; in TestSampleService()
410 ASSERT_EQ(devClass, DEVICE_CLASS_DEFAULT); in TestSampleService()
456 uint16_t devClass; variable
466 devClass = status.deviceClass; in __anon4c4667ae0302()
485 ASSERT_EQ(devClass, DEVICE_CLASS_DEFAULT);
Dservice_manager_hdi_c_test.cpp337 …ServiceStatusData() : devClass(0), servStatus(0), callbacked(false), waitStatus(SERVIE_STATUS_STAR… in ServiceStatusData()
340 uint16_t devClass; member
354 ssd->devClass = servstat->deviceClass; in TestOnServiceStatusReceived()
400 ASSERT_EQ(ssd.devClass, DEVICE_CLASS_DEFAULT);
415 ASSERT_EQ(ssd.devClass, DEVICE_CLASS_DEFAULT);
480 ASSERT_EQ(ssd.devClass, DEVICE_CLASS_DEFAULT);
527 ASSERT_EQ(ssd.devClass, DEVICE_CLASS_DEFAULT);
/drivers/hdf_core/adapter/uhdf2/manager/src/
Ddevmgr_dump.c285 uint32_t devClass; in DevMgrFillServiceInfo() local
302 (void)HdfSbufReadUint32(data, &devClass); in DevMgrFillServiceInfo()
303 …devClassLen = sprintf_s(&line[devClassAlign], sizeof(line) - devClassAlign - 1, ":0x%x", devClass); in DevMgrFillServiceInfo()
Ddevsvc_manager_stub.c209 info->devClass = DEVICE_CLASS_DEFAULT; in DevSvcMgrStubGetPara()
210 if (!HdfSbufReadUint16(data, &info->devClass)) { in DevSvcMgrStubGetPara()
Ddevmgr_service_stub.c276 info.devClass = DEVICE_CLASS_DEFAULT; in DevmgrServiceStubStartService()
/drivers/hdf_core/framework/core/manager/test/unittest/common/
Dhdf_ioservice_test.cpp747 IoServiceStatusData(): devClass(0), servStatus(0), callbacked(false) in IoServiceStatusData()
753 uint16_t devClass; member
766 issd->devClass = servstat->deviceClass; in TestOnServiceStatusReceived()
800 ASSERT_EQ(issd->devClass, DEVICE_CLASS_DEFAULT); in TestServiceStop()
815 ASSERT_EQ(issd->devClass, DEVICE_CLASS_DEFAULT); in TestServiceStop()
889 ASSERT_EQ(issd.devClass, DEVICE_CLASS_DEFAULT);
943 ASSERT_EQ(issd.devClass, DEVICE_CLASS_DEFAULT);
/drivers/hdf_core/adapter/uhdf2/hdi/src/
Diservmgr_client.cpp146 info.devClass = reply.ReadUint16(); in HdfDevMgrDbgFillServiceInfo()
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/
Ddevhost_test.cpp105 servInfo.devClass = DEVICE_CLASS_MAX;