Home
last modified time | relevance | path

Searched refs:devNum (Results 1 – 10 of 10) sorted by relevance

/base/usb/usb_manager/services/native/src/
Dusb_host_manager.cpp42 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()
Dusb_service_subscriber.cpp83 int32_t devAddr = info.devNum; in DeviceEvent()
/base/startup/init/test/unittest/ueventd/
Dueventd_event_unittest.cpp202 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/
Dusb_host_manager.h36 bool DelDevice(uint8_t busNum, uint8_t devNum);
/base/startup/init/ueventd/include/
Dueventd.h57 int devNum; member
/base/startup/init/ueventd/
Dueventd_device_handler.c501 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()
Dueventd.c247 uevent->devNum = StringToInt(event + strlen("DEVNUM="), -1); in AddUevent()
264 uevent->devNum = -1; in ParseUeventMessage()
/base/security/device_auth/frameworks/src/standard/
Dipc_adapt.cpp615 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/
Dipc_adapt.c626 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/
Dipc_sdk.c1309 …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()