Searched refs:devNum (Results 1 – 10 of 10) sorted by relevance
/base/usb/usb_manager/services/native/src/ |
D | usb_host_manager.cpp | 42 bool UsbHostManager::DelDevice(uint8_t busNum, uint8_t devNum) in DelDevice() argument 44 std::string name = std::to_string(busNum) + "-" + std::to_string(devNum); in DelDevice() 48 devNum); in DelDevice() 52 …RVICE, "device:%{public}s bus:%{public}hhu dev:%{public}hhu erase ", name.c_str(), busNum, devNum); in DelDevice() 82 uint8_t devNum = dev->GetDevAddr(); in AddDevice() local 83 std::string name = std::to_string(busNum) + "-" + std::to_string(devNum); in AddDevice() 87 busNum, devNum); in AddDevice() 93 …RVICE, "device:%{public}s bus:%{public}hhu dev:%{public}hhu insert", name.c_str(), busNum, devNum); in AddDevice()
|
D | usb_service_subscriber.cpp | 83 int32_t devAddr = info.devNum; in DeviceEvent()
|
/base/startup/init/test/unittest/ueventd/ |
D | ueventd_event_unittest.cpp | 202 ueventdBuffer.append(std::string("DEVNUM=") + std::to_string(uevent.devNum) + '\000'); in GenerateUeventBuffer() 245 .devNum = 2, 257 EXPECT_EQ(outEvent.devNum, 2); 326 .devNum = 2, 356 .devNum = 2, 388 .devNum = 2, 459 .devNum = -1, 474 .devNum = 4,
|
/base/usb/usb_manager/services/native/include/ |
D | usb_host_manager.h | 36 bool DelDevice(uint8_t busNum, uint8_t devNum);
|
/base/startup/init/ueventd/include/ |
D | ueventd.h | 57 int devNum; member
|
/base/startup/init/ueventd/ |
D | ueventd_device_handler.c | 501 if (uevent->busNum < 0 || uevent->devNum < 0) { in HandleOtherDeviceEvent() 507 "/dev/bus/usb/%03d/%03d", uevent->busNum, uevent->devNum) == -1) { in HandleOtherDeviceEvent() 508 … INIT_LOGE("Make usb device node for device [%d : %d]", uevent->busNum, uevent->devNum); in HandleOtherDeviceEvent()
|
D | ueventd.c | 247 uevent->devNum = StringToInt(event + strlen("DEVNUM="), -1); in AddUevent() 264 uevent->devNum = -1; in ParseUeventMessage()
|
/base/security/device_auth/frameworks/src/standard/ |
D | ipc_adapt.cpp | 615 int32_t devNum = 0; in OnTrustDevNumChangedStub() local 621 inOutLen = sizeof(devNum); in OnTrustDevNumChangedStub() 623 reinterpret_cast<uint8_t *>(&devNum), &inOutLen); in OnTrustDevNumChangedStub() 624 onTrustDevNumChangedHook(devNum); in OnTrustDevNumChangedStub()
|
/base/security/device_auth/frameworks/src/lite/ |
D | ipc_adapt.c | 626 int32_t devNum = 0; in OnTrustDevNumChangedStub() local 631 inOutLen = sizeof(devNum); in OnTrustDevNumChangedStub() 632 …(void)GetIpcRequestParamByType(cbDataCache, cacheNum, PARAM_TYPE_DATA_NUM, (uint8_t *)(&devNum), &… in OnTrustDevNumChangedStub() 633 onTrustDevNumChangedHook(devNum); in OnTrustDevNumChangedStub()
|
/base/security/device_auth/frameworks/src/ |
D | ipc_sdk.c | 1309 …dDevIpcResult(const IpcDataInfo *replies, int32_t cacheNum, char **outDevInfoVec, uint32_t *devNum) in TrustedDevIpcResult() argument 1328 GetIpcReplyByType(replies, cacheNum, PARAM_TYPE_DATA_NUM, (uint8_t *)devNum, &inOutLen); in TrustedDevIpcResult()
|