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 | 84 int32_t devAddr = info.devNum; in DeviceEvent()
|
/base/startup/init/test/unittest/ueventd/ |
D | ueventd_event_unittest.cpp | 206 ueventdBuffer.append(std::string("DEVNUM=") + std::to_string(uevent.devNum) + '\000'); in GenerateUeventBuffer() 249 .devNum = 2, 261 EXPECT_EQ(outEvent.devNum, 2); 332 .devNum = 2, 362 .devNum = 2, 394 .devNum = 2, 465 .devNum = -1, 480 .devNum = 4, 510 .devNum = 2, 521 EXPECT_EQ(outEvent.devNum, 2); [all …]
|
/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 | 530 if (uevent->busNum < 0 || uevent->devNum < 0) { in HandleOtherDeviceEvent() 536 "/dev/bus/usb/%03d/%03d", uevent->busNum, uevent->devNum) == -1) { in HandleOtherDeviceEvent() 537 … INIT_LOGE("Make usb device node for device [%d : %d]", uevent->busNum, uevent->devNum); in HandleOtherDeviceEvent()
|
D | ueventd.c | 242 uevent->devNum = StringToInt(event + strlen("DEVNUM="), -1); in AddUevent() 275 uevent->devNum = -1; in ParseUeventMessage()
|
/base/security/device_auth/frameworks/src/lite/ |
D | ipc_adapt.c | 613 int32_t devNum = 0; in OnTrustDevNumChangedStub() local 618 inOutLen = sizeof(devNum); in OnTrustDevNumChangedStub() 619 …(void)GetIpcRequestParamByType(cbDataCache, cacheNum, PARAM_TYPE_DATA_NUM, (uint8_t *)(&devNum), &… in OnTrustDevNumChangedStub() 620 onTrustDevNumChangedHook(devNum); in OnTrustDevNumChangedStub()
|
/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/ |
D | ipc_sdk.c | 1240 …dDevIpcResult(const IpcDataInfo *replies, int32_t cacheNum, char **outDevInfoVec, uint32_t *devNum) in TrustedDevIpcResult() argument 1259 GetIpcReplyByType(replies, cacheNum, PARAM_TYPE_DATA_NUM, (uint8_t *)devNum, &inOutLen); in TrustedDevIpcResult()
|