/drivers/hdf_core/framework/core/shared/src/ |
D | svcmgr_ioservice.c | 24 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/ |
D | hdf_service_info.h | 17 uint16_t devClass; member 26 info->devClass = devNode->deviceObject.deviceClass; in HdfServiceInfoInit()
|
D | hdf_service_record.h | 21 uint16_t devClass; member
|
/drivers/hdf_core/framework/core/manager/src/ |
D | devsvc_manager.c | 47 .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()
|
D | devsvc_manager_ext.c | 40 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/ |
D | iservmgr_hdi.h | 59 uint16_t devClass; member
|
/drivers/hdf_core/framework/core/host/src/ |
D | devsvc_manager_clnt.c | 23 if (servinfo->devClass >= DEVICE_CLASS_MAX) { in DevSvcManagerClntAddService() 44 if (servinfo->devClass >= DEVICE_CLASS_MAX) { in DevSvcManagerClntUpdateService()
|
/drivers/hdf_core/adapter/uhdf2/host/src/ |
D | devsvc_manager_proxy.c | 37 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/ |
D | hdf_dbg.cpp | 127 … 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/ |
D | service_manager_hdi_test.cpp | 303 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);
|
D | service_manager_hdi_c_test.cpp | 337 …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/ |
D | devmgr_dump.c | 285 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()
|
D | devsvc_manager_stub.c | 209 info->devClass = DEVICE_CLASS_DEFAULT; in DevSvcMgrStubGetPara() 210 if (!HdfSbufReadUint16(data, &info->devClass)) { in DevSvcMgrStubGetPara()
|
D | devmgr_service_stub.c | 276 info.devClass = DEVICE_CLASS_DEFAULT; in DevmgrServiceStubStartService()
|
/drivers/hdf_core/framework/core/manager/test/unittest/common/ |
D | hdf_ioservice_test.cpp | 747 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/ |
D | iservmgr_client.cpp | 146 info.devClass = reply.ReadUint16(); in HdfDevMgrDbgFillServiceInfo()
|
/drivers/hdf_core/adapter/uhdf2/host/test/unittest/ |
D | devhost_test.cpp | 105 servInfo.devClass = DEVICE_CLASS_MAX;
|