/base/msdp/device_status/test/unittest/intention/services/src/ |
H A D | device_test.cpp | 32 const std::string devPath_ = { "/dev/input/event0" }; 62 Device *dev = new Device(deviceId); in HWTEST_F() local 63 CHKPV(dev); in HWTEST_F() 64 dev->SetDevPath(devPath_); in HWTEST_F() 65 int32_t ret = dev->Open(); in HWTEST_F() 67 dev->Close(); in HWTEST_F() 79 Device *dev = new Device(deviceId); in HWTEST_F() local 80 CHKPV(dev); in HWTEST_F() 81 int32_t ret = dev->Open(); in HWTEST_F() 94 Device *dev in HWTEST_F() local 108 Device *dev = new Device(deviceId); HWTEST_F() local 124 Device *dev = new Device(deviceId); HWTEST_F() local 140 Device *dev = new Device(deviceId); HWTEST_F() local 157 Device *dev = new Device(deviceId); HWTEST_F() local 175 Device *dev = new Device(deviceId); HWTEST_F() local 194 Device *dev = new Device(deviceId); HWTEST_F() local 213 Device *dev = new Device(deviceId); HWTEST_F() local 232 Device *dev = new Device(deviceId); HWTEST_F() local 250 Device *dev = new Device(deviceId); HWTEST_F() local 267 Device *dev = new Device(deviceId); HWTEST_F() local 285 Device *dev = new Device(deviceId); HWTEST_F() local [all...] |
/base/update/updater/services/fs_manager/ |
H A D | partitions.cpp | 28 static int DeviceStat(const BlockDevice &dev, struct stat &devStat) in DeviceStat() argument 31 if (!stat (dev.devPath.c_str(), &devStat)) { in DeviceStat() 34 if (stat (dev.devPath.c_str(), &devStat) != EOK) { in DeviceStat() 41 static int DeviceProbeType(BlockDevice &dev) in DeviceProbeType() argument 46 BlockSpecific *specific = BLOCK_SPECIFIC(&dev); in DeviceProbeType() 47 if (DeviceStat(dev, devStat) == 0) { in DeviceProbeType() 58 dev.type = DEVICE_SCSI; in DeviceProbeType() 61 dev.type = DEVICE_EMMC; in DeviceProbeType() 64 dev.type = DEVICE_UNKNOWN; in DeviceProbeType() 84 static bool ReadDeviceSysfsFile(BlockDevice &dev, cons argument 111 SdmmcGetProductInfo(BlockDevice &dev, std::string &type, std::string &name) SdmmcGetProductInfo() argument 121 SetBlockDeviceMode(BlockDevice &dev) SetBlockDeviceMode() argument 142 BlockDeviceClose(const BlockDevice &dev) BlockDeviceClose() argument 199 InitGeneric(BlockDevice &dev, const std::string modelName) InitGeneric() argument 226 InitSdmmc(BlockDevice &dev) InitSdmmc() argument 244 BlockDevice *dev = nullptr; NewBlockDevice() local 291 NewBlockDisk(const BlockDevice &dev, const DiskType diskType) NewBlockDisk() argument 311 struct BlockDevice *dev = nullptr; DiskAlloc() local 327 NewPartition(const BlockDevice &dev, int partn) NewPartition() argument [all...] |
H A D | do_partition.cpp | 68 static void DoFsync(const BlockDevice &dev) in DoFsync() argument 70 BlockSpecific* bs = BLOCK_SPECIFIC(&dev); in DoFsync() 83 if (disk.dev->readOnly) { in BlockSync() 86 DoFsync(*(disk.dev)); in BlockSync() 102 disk.dev->fd = open(disk.dev->devPath.c_str(), RW_MODE); in BlockDiskOpen() 103 if (disk.dev->fd < 0) { in BlockDiskOpen() 104 LOG(WARNING) << "open fail: " << disk.dev->devPath << errno; in BlockDiskOpen() 106 return disk.dev->fd; in BlockDiskOpen() 111 if (disk.dev ! in BlockDiskClose() [all...] |
/base/usb/usb_manager/test/native/mock/include/ |
H A D | usb_impl_mock.h | 57 int32_t GetRawDescriptor(const UsbDev &dev, std::vector<uint8_t> &decriptor) override; 58 int32_t GetStringDescriptor(const UsbDev &dev, uint8_t descId, std::vector<uint8_t> &decriptor) override; 61 MOCK_METHOD1(OpenDevice, int32_t(const UsbDev &dev)); 62 MOCK_METHOD1(CloseDevice, int32_t(const UsbDev &dev)); 63 MOCK_METHOD2(GetDeviceDescriptor, int32_t(const UsbDev &dev, std::vector<uint8_t> &decriptor)); 64 MOCK_METHOD3(GetConfigDescriptor, int32_t(const UsbDev &dev, uint8_t descId, std::vector<uint8_t> &decriptor)); 65 MOCK_METHOD2(GetFileDescriptor, int32_t(const UsbDev &dev, int32_t &fd)); 66 MOCK_METHOD2(SetConfig, int32_t(const UsbDev &dev, uint8_t configIndex)); 67 MOCK_METHOD2(GetConfig, int32_t(const UsbDev &dev, uint8_t &configIndex)); 68 MOCK_METHOD3(ClaimInterface, int32_t(const UsbDev &dev, uint8_ [all...] |
/base/msdp/device_status/intention/services/device_manager/src/ |
H A D | device_manager.cpp | 195 std::shared_ptr<IDevice> dev = FindDevice(devPath); in AddDevice() local 196 if (dev != nullptr) { in AddDevice() 198 return dev; in AddDevice() 208 dev = std::make_shared<Device>(deviceId); in AddDevice() 209 dev->SetDevPath(devPath); in AddDevice() 210 dev->SetSysPath(std::string(rpath)); in AddDevice() 211 if (dev->Open() != RET_OK) { in AddDevice() 215 auto ret = devices_.insert_or_assign(dev->GetId(), dev); in AddDevice() 217 FI_HILOGD("\'%{public}s\' added", dev in AddDevice() 229 std::shared_ptr<IDevice> dev = devIter->second; RemoveDevice() local 243 OnDeviceAdded(std::shared_ptr<IDevice> dev) OnDeviceAdded() argument 265 OnDeviceRemoved(std::shared_ptr<IDevice> dev) OnDeviceRemoved() argument [all...] |
/base/startup/init/interfaces/innerkits/fs_manager/erofs_overlay/ |
H A D | erofs_overlay_common.c | 47 bool CheckIsExt4(const char *dev, uint64_t offset)
in CheckIsExt4() argument 49 int fd = open(dev, O_RDONLY | O_LARGEFILE);
in CheckIsExt4() 51 BEGET_LOGE("cannot open [dev]:%s", dev);
in CheckIsExt4() 56 BEGET_LOGE("cannot seek [dev]:%s", dev);
in CheckIsExt4() 69 BEGET_LOGE("this [dev] %s is ext4:[block cout]: %d, [size]: %d", dev,
in CheckIsExt4() 78 bool CheckIsErofs(const char *dev)
in CheckIsErofs() argument 80 int fd = open(dev, O_RDONL in CheckIsErofs() [all...] |
H A D | erofs_mount_overlay.c | 72 INIT_STATIC uint64_t LookupErofsEnd(const char *dev)
in LookupErofsEnd() argument 75 fd = open(dev, O_RDONLY | O_LARGEFILE);
in LookupErofsEnd() 77 BEGET_LOGE("open dev:[%s] failed.", dev);
in LookupErofsEnd() 82 BEGET_LOGE("lseek dev:[%s] failed.", dev);
in LookupErofsEnd() 90 BEGET_LOGE("read dev:[%s] failed.", dev);
in LookupErofsEnd() 97 BEGET_LOGE("dev:[%s] is not erofs system, magic is 0x%x", dev, s in LookupErofsEnd() 105 GetImgSize(const char *dev, uint64_t offset) GetImgSize() argument 167 GetBlockSize(const char *dev) GetBlockSize() argument 190 GetMapperAddr(const char *dev, uint64_t *start, uint64_t *length) GetMapperAddr() argument 233 ConstructLinearTarget(DmVerityTarget *target, const char *dev, uint64_t mapStart, uint64_t mapLength) ConstructLinearTarget() argument 315 MountRofsDevice(const char *dev, const char *mnt) MountRofsDevice() argument 332 MountExt4Device(const char *dev, const char *mnt, bool isFirstMount) MountExt4Device() argument [all...] |
/base/usb/usb_manager/services/native/src/ |
H A D | usb_host_manager.cpp | 96 UsbDevice *dev = iter->second; in GetProductName() local 97 if (dev == nullptr) { in GetProductName() 101 productName = dev->GetProductName(); in GetProductName() 110 USB_HILOGF(MODULE_SERVICE, "name:%{public}s bus:%{public}hhu dev:%{public}hhu not exist", name.c_str(), busNum, in DelDevice() 115 MODULE_SERVICE, "device:%{public}s bus:%{public}hhu dev:%{public}hhu erase ", name.c_str(), busNum, devNum); in DelDevice() 135 bool UsbHostManager::AddDevice(UsbDevice *dev) in AddDevice() argument 137 if (dev == nullptr) { in AddDevice() 142 auto isSuccess = PublishCommonEvent(CommonEventSupport::COMMON_EVENT_USB_DEVICE_ATTACHED, *dev); in AddDevice() 147 uint8_t busNum = dev->GetBusNum(); in AddDevice() 148 uint8_t devNum = dev in AddDevice() 170 PublishCommonEvent(const std::string &event, const UsbDevice &dev) PublishCommonEvent() argument 231 GetInterfaceDescription(const UsbDevice &dev, std::string &description, int32_t &baseClass) GetInterfaceDescription() argument 254 ReportHostPlugSysEvent(const std::string &event, const UsbDevice &dev) ReportHostPlugSysEvent() argument [all...] |
H A D | usb_service.cpp | 321 const UsbDev dev = {busNum, devAddr}; in OpenDevice() local 326 int32_t ret = usbd_->OpenDevice(dev); in OpenDevice() 346 const UsbDev dev = {busNum, devAddr}; in ResetDevice() local 347 int32_t ret = usbd_->ResetDevice(dev); in ResetDevice() 417 USB_HILOGW(MODULE_USB_SERVICE, "system app, bypass: dev=%{public}s", deviceName.c_str()); in HasRight() 453 USB_HILOGW(MODULE_USB_SERVICE, "system app, bypass: dev=%{public}s", deviceName.c_str()); in RequestRight() 483 USB_HILOGW(MODULE_USB_SERVICE, "system app, bypass: dev=%{public}s", deviceName.c_str()); in RemoveRight() 676 const UsbDev dev = {busNum, devAddr}; in ClaimInterface() local 682 int32_t ret = usbd_->ClaimInterface(dev, interface, force); in ClaimInterface() 697 const UsbDev dev in UsbAttachKernelDriver() local 718 const UsbDev dev = {busNum, devAddr}; UsbDetachKernelDriver() local 739 const UsbDev dev = {busNum, devAddr}; ReleaseInterface() local 794 BulkTransferWrite( const UsbDev &dev, const UsbPipe &pipe, const std::vector<uint8_t> &bufferData, int32_t timeOut) BulkTransferWrite() argument 813 ControlTransfer(const UsbDev &dev, const UsbCtrlTransfer &ctrl, std::vector<uint8_t> &bufferData) ControlTransfer() argument 842 UsbControlTransfer( const UsbDev &dev, const UsbCtrlTransferParams &ctrlParams, std::vector<uint8_t> &bufferData) UsbControlTransfer() argument 881 const UsbDev dev = {busNum, devAddr}; SetActiveConfig() local 897 const UsbDev dev = {busNum, devAddr}; GetActiveConfig() local 914 const UsbDev dev = {busNum, devAddr}; SetInterface() local 930 const UsbDev dev = {busNum, devAddr}; GetRawDescriptor() local 950 const UsbDev dev = {busNum, devAddr}; GetFileDescriptor() local 964 RequestQueue(const UsbDev &dev, const UsbPipe &pipe, const std::vector<uint8_t> &clientData, const std::vector<uint8_t> &bufferData) RequestQueue() argument 984 RequestWait( const UsbDev &dev, int32_t timeOut, std::vector<uint8_t> &clientData, std::vector<uint8_t> &bufferData) RequestWait() argument 1010 const UsbDev dev = {busNum, devAddr}; RequestCancel() local 1027 const UsbDev dev = {busNum, devAddr}; Close() local 1039 const UsbDev dev = {busNum, devAddr}; GetDevStringValFromIdx() local 1095 FillDevStrings(UsbDevice &dev) FillDevStrings() argument 1135 GetDeviceInfoDescriptor(const UsbDev &uDev, std::vector<uint8_t> &descriptor, UsbDevice &dev) GetDeviceInfoDescriptor() argument 1168 GetConfigDescriptor(UsbDevice &dev, std::vector<uint8_t> &descriptor) GetConfigDescriptor() argument 1184 GetDeviceInfo(uint8_t busNum, uint8_t devAddr, UsbDevice &dev) GetDeviceInfo() argument 1441 UsbDev dev = {it->second->GetBusNum(), it->second->GetDevAddr()}; ExecuteManageInterfaceType() local 1455 UsbDev dev = {it->second->GetBusNum(), it->second->GetDevAddr()}; ExecuteManageInterfaceType() local 2156 UsbDev dev = {it->second->GetBusNum(), it->second->GetDevAddr()}; ManageGlobalInterfaceImpl() local 2200 UsbDev dev = {it->second->GetBusNum(), it->second->GetDevAddr()}; ManageDeviceImpl() local 2247 UsbDev dev = {it->second->GetBusNum(), it->second->GetDevAddr()}; ManageInterfaceTypeImpl() local 2319 ManageInterface(const HDI::Usb::V1_0::UsbDev &dev, uint8_t interfaceId, bool disable) ManageInterface() argument 2341 const UsbDev dev = {busNum, devAddr}; ClearHalt() local 2362 const UsbDev dev = {busNum, devAddr}; GetInterfaceActiveStatus() local 2386 const UsbDev dev = {busNum, devAddr}; GetDeviceSpeed() local [all...] |
H A D | usb_report_sys_event.cpp | 27 const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, int32_t ret)
in ReportTransforFaultSysEvent() 31 HiSysEvent::EventType::FAULT, "INTFACE_NAME", interfaceName, "BUS_NUM", dev.busNum, "DEV_ADDR", dev.devAddr,
in ReportTransforFaultSysEvent() 26 ReportTransforFaultSysEvent(const std::string interfaceName, const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, int32_t ret) ReportTransforFaultSysEvent() argument
|
H A D | usb_descriptor_parser.cpp | 41 int32_t UsbDescriptorParser::ParseDeviceDescriptor(const uint8_t *buffer, uint32_t length, UsbDevice &dev) in ParseDeviceDescriptor() argument 61 dev.SetVendorId(deviceDescriptor.idVendor); in ParseDeviceDescriptor() 62 dev.SetProductId(deviceDescriptor.idProduct); in ParseDeviceDescriptor() 63 dev.SetClass(deviceDescriptor.bDeviceClass); in ParseDeviceDescriptor() 64 dev.SetSubclass(deviceDescriptor.bDeviceSubClass); in ParseDeviceDescriptor() 65 dev.SetDescConfigCount(deviceDescriptor.bNumConfigurations); in ParseDeviceDescriptor() 67 dev.SetbMaxPacketSize0(deviceDescriptor.bMaxPacketSize0); in ParseDeviceDescriptor() 68 dev.SetbcdDevice(deviceDescriptor.bcdDevice); in ParseDeviceDescriptor() 69 dev.SetbcdUSB(deviceDescriptor.bcdUSB); in ParseDeviceDescriptor() 70 dev in ParseDeviceDescriptor() [all...] |
/base/telephony/ril_adapter/services/hril_hdf/src/ |
H A D | hril_hdf.c | 97 struct udev_device *dev; in GetUsbDeviceInfo() local 118 dev = udev_device_new_from_syspath(udev, path); in GetUsbDeviceInfo() 119 if (dev == NULL) { in GetUsbDeviceInfo() 122 dev = udev_device_get_parent_with_subsystem_devtype(dev, "usb", "usb_device"); in GetUsbDeviceInfo() 123 if (!dev) { in GetUsbDeviceInfo() 127 const char *cIdVendor = udev_device_get_sysattr_value(dev, "idVendor"); in GetUsbDeviceInfo() 128 const char *cIdProduct = udev_device_get_sysattr_value(dev, "idProduct"); in GetUsbDeviceInfo() 130 udev_device_unref(dev); in GetUsbDeviceInfo()
|
/base/usb/usb_manager/services/native/include/ |
H A D | usb_host_manager.h | 46 bool AddDevice(UsbDevice *dev); 50 bool PublishCommonEvent(const std::string &event, const UsbDevice &dev); 51 void ReportHostPlugSysEvent(const std::string &event, const UsbDevice &dev); 54 int32_t GetInterfaceDescription(const UsbDevice &dev, std::string &description, int32_t &baseClass);
|
H A D | usb_mass_storage_notification.h | 34 void SendNotification(const UsbDevice &dev); 36 const UsbDevice &dev, const std::string &name); 41 bool IsMassStorage(const UsbDevice &dev);
|
H A D | usb_service.h | 87 int32_t BulkTransferRead(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 89 int32_t BulkTransferReadwithLength(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 91 int32_t BulkTransferWrite(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 93 int32_t ControlTransfer(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbCtrlTransfer &ctrl, 95 int32_t UsbControlTransfer(const HDI::Usb::V1_0::UsbDev &dev, 102 int32_t RequestQueue(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 104 int32_t RequestWait(const HDI::Usb::V1_0::UsbDev &dev, int32_t timeOut, std::vector<uint8_t> &clientData, 112 int32_t GetDeviceInfo(uint8_t busNum, uint8_t devAddr, UsbDevice &dev); 114 const HDI::Usb::V1_0::UsbDev &uDev, std::vector<uint8_t> &descriptor, UsbDevice &dev); 115 int32_t GetConfigDescriptor(UsbDevice &dev, st [all...] |
/base/print/print_fwk/services/scan_service/src/ |
H A D | scan_usb_manager.cpp | 69 for (auto dev : devlist) { in RefreshUsbDevice() 70 std::string serialNumber = GetSerialNumber(dev); in RefreshUsbDevice() 76 std::string devicePort = dev.GetName(); in RefreshUsbDevice() 79 SCAN_HILOGI("RefreshDeviceList dev.GetName() %{private}s ", devicePort.c_str()); in RefreshUsbDevice() 99 for (auto dev : devlist) { in RefreshUsbDevicePort() 100 SCAN_HILOGI("RefreshUsbDevicePort dev.GetName() %{private}s ", dev.GetName().c_str()); in RefreshUsbDevicePort() 101 std::string serialNumber = GetSerialNumber(dev); in RefreshUsbDevicePort() 107 std::string devicePort = dev.GetName(); in RefreshUsbDevicePort() 120 SCAN_HILOGI("getSerialNumber dev in GetSerialNumber() 247 UsbDevice *dev = new UsbDevice(devJson); DealUsbDevStatusChange() local [all...] |
/base/usb/usb_manager/services/zidl/include/ |
H A D | usb_server_proxy.h | 54 int32_t BulkTransferRead(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 56 int32_t BulkTransferReadwithLength(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 58 int32_t BulkTransferWrite(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 61 int32_t ControlTransfer(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbCtrlTransfer &ctrl, 63 int32_t UsbControlTransfer(const HDI::Usb::V1_0::UsbDev &dev, 70 int32_t RequestQueue(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 72 int32_t RequestWait(const HDI::Usb::V1_0::UsbDev &dev, int32_t timeOut, std::vector<uint8_t> &clientData, 77 int32_t RegBulkCallback(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe, 79 int32_t UnRegBulkCallback(const HDI::Usb::V1_0::UsbDev &dev, const HDI::Usb::V1_0::UsbPipe &pipe) override; 80 int32_t BulkRead(const HDI::Usb::V1_0::UsbDev &dev, cons [all...] |
/base/startup/init/interfaces/innerkits/fs_manager/erofs_overlay/include/ |
H A D | erofs_overlay_common.h | 41 bool CheckIsExt4(const char *dev, uint64_t offset);
43 bool CheckIsErofs(const char *dev);
|
/base/update/updater/services/include/fs_manager/ |
H A D | partitions.h | 95 struct BlockDevice* dev; member 107 #define BLOCK_SPECIFIC(dev) ((BlockSpecific*) (dev)->specific) 114 extern bool SetBlockDeviceMode(BlockDevice &dev);
|
/base/usb/usb_manager/test/native/mock/src/ |
H A D | usb_impl_mock.cpp | 56 int32_t MockUsbImpl::GetRawDescriptor(const UsbDev &dev, std::vector<uint8_t> &decriptor) in GetRawDescriptor() argument 58 if ((BUS_NUM_OK != dev.busNum) || (DEV_ADDR_OK != dev.devAddr)) { in GetRawDescriptor() 65 int32_t MockUsbImpl::GetStringDescriptor(const UsbDev &dev, uint8_t descId, std::vector<uint8_t> &decriptor) in GetStringDescriptor() argument 68 if ((BUS_NUM_OK != dev.busNum) || (DEV_ADDR_OK != dev.devAddr)) { in GetStringDescriptor()
|
/base/startup/init/interfaces/innerkits/fs_manager/switch_root/ |
H A D | switch_root.c | 30 static void FreeOldRoot(DIR *dir, dev_t dev) in FreeOldRoot() argument 50 if (st.st_dev != dev) { in FreeOldRoot() 63 FreeOldRoot(subDir, dev); in FreeOldRoot() 75 // For sub mountpoint under /dev, /sys, /proc 85 const char *basicMountPoint[] = {"/dev/", "/sys/", "/proc/"}; in UnderBasicMountPoint() 133 static void FreeRootDir(DIR *oldRoot, dev_t dev) in FreeRootDir() argument 136 FreeOldRoot(oldRoot, dev); in FreeRootDir()
|
/base/startup/appspawn/test/unittest/ |
H A D | gencoverage.sh | 122 popd 2>&1 > /dev/null 138 popd 2>&1 > /dev/null 149 popd 2>&1 > /dev/null 159 popd 2>&1 > /dev/null
|
/base/startup/init/test/unittest/tools/ |
H A D | prepare_testdata.sh | 111 popd 2>&1 > /dev/null 127 popd 2>&1 > /dev/null 139 popd 2>&1 > /dev/null 149 popd 2>&1 > /dev/null
|
/base/print/print_fwk/services/print_service/src/ |
H A D | print_usb_manager.cpp | 103 for (auto dev : devlist) { in RefreshUsbPrinterDevice() 105 if (isPrintDevice(dev, printerName)) { in RefreshUsbPrinterDevice() 106 printDeviceMap[printerName] = dev; in RefreshUsbPrinterDevice() 113 PRINT_HILOGI("getProductName dev.GetName() = %{public}s.", usbDevice.GetName().c_str()); in GetProductName() 342 UsbDevice *dev = new (std::nothrow) UsbDevice(devJson); in DealUsbDevStatusChange() local 343 if (dev == nullptr) { in DealUsbDevStatusChange() 344 PRINT_HILOGE("Create dev error"); in DealUsbDevStatusChange() 349 std::string printerName = GetPrinterName(dev->GetName()); in DealUsbDevStatusChange() 350 PRINT_HILOGI("DealUsbDevStatusChange detached dev->GetName() = %{public}s, printerName = %{public}s.", in DealUsbDevStatusChange() 351 dev in DealUsbDevStatusChange() [all...] |
/base/hiviewdfx/hitrace/tools/hitrace_converter/ |
H A D | parse_functions.py | 207 dev = parse_int_field(one_event, "dev", False)
213 return "dev %d,%d ino %d pos %d len %d flags %d" \
214 % (dev >> 20, dev & 0xfffff, ino, pos, len_write, flags)
218 dev = parse_int_field(one_event, "dev", False)
224 return "dev %d,%d ino %d pos %d len %d copied %d" \
225 % (dev >> 20, dev [all...] |