/base/powermgr/battery_manager/services/native/test/unittest/src/ |
D | battery_dump_test.cpp | 41 int32_t fd = 1; variable 56 int32_t fd = 1; variable 71 int32_t fd = 1; variable 86 int32_t fd = 1; variable 101 int32_t fd = 1; variable 116 int32_t fd = 1; variable 131 int32_t fd = 1; variable 145 int32_t fd = 1; variable 159 int32_t fd = 1; variable 175 int32_t fd = 1; variable [all …]
|
/base/hiviewdfx/hidumper_lite/ |
D | hidumper.c | 85 static void ExecAction(int fd, unsigned int cmd) in ExecAction() 98 static void DumpALLInfo(int fd) in DumpALLInfo() 103 static void DumpCpuUsage(int fd) in DumpCpuUsage() 108 static void DumpMemUsage(int fd) in DumpMemUsage() 113 static void DumpTaskInfo(int fd) in DumpTaskInfo() 118 static void DumpMemData(int fd, struct MemDumpParam *param) in DumpMemData() 132 static void InjectKernelCrash(int fd) in InjectKernelCrash() 142 static void DumpFaultLog(int fd) in DumpFaultLog() 156 int ParameterMatching(int argc, const char *argv[], int fd) in ParameterMatching() 207 int fd = -1; in main() local
|
/base/startup/init/services/param/liteos/ |
D | param_hal.c | 50 static int ParamFileClose(int fd) in ParamFileClose() 59 static int ParamFileRead(int fd, char* buf, unsigned int len) in ParamFileRead() 68 static int ParamFileWrite(int fd, const char* buf, unsigned int len) in ParamFileWrite() 89 int fd = open(path, O_RDONLY); in ParamFileStat() local 124 int fd = -1; in LoadPersistParam() local 169 static int PersistWrite(int fd, const char *name, const char *value) in PersistWrite() 194 int fd = ParamFileOpen(PARAM_PERSIST_SAVE_PATH, MODE_APPEND, 0); in SavePersistParam() local 210 int fd = ParamFileOpen(PARAM_PERSIST_SAVE_PATH, MODE_CREATE, 0); in BatchSavePersistParamBegin() local 222 int fd = (int)handle; in BatchSavePersistParam() local 232 int fd = (int)handle; in BatchSavePersistParamEnd() local
|
/base/powermgr/battery_manager/services/native/src/ |
D | battery_dump.cpp | 30 bool BatteryDump::DumpBatteryHelp(int32_t fd, const std::vector<std::u16string> &args) in DumpBatteryHelp() 40 void BatteryDump::DumpHelp(int32_t fd) in DumpHelp() 50 void BatteryDump::DumpCurrentTime(int32_t fd) in DumpCurrentTime() 65 bool BatteryDump::GetBatteryInfo(int32_t fd, sptr<BatteryService> &service, const std::vector<std::… in GetBatteryInfo() 103 bool BatteryDump::MockUnplugged(int32_t fd, sptr<BatteryService>& service, const std::vector<std::u… in MockUnplugged() 114 bool BatteryDump::ResetPlugged(int32_t fd, sptr<BatteryService>& service, const std::vector<std::u1… in ResetPlugged()
|
/base/telephony/core_service/services/sim/src/ |
D | sim_file.cpp | 283 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessSpnGeneral() local 319 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessSpnCphs() local 348 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessSpnShortCphs() local 479 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessObtainLiLanguage() local 500 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessObtainPlLanguage() local 533 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessObtainGid1Done() local 560 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessObtainGid2Done() local 587 …std::unique_ptr<DiallingNumbersHandlerResult> fd = event->GetUniqueObject<DiallingNumbersHandlerRe… in ProcessGetMsisdnDone() local 609 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessSetMsisdnDone() local 630 std::unique_ptr<ControllerToFileMsg> fd = event->GetUniqueObject<ControllerToFileMsg>(); in ProcessGetSpdiDone() local [all …]
|
/base/security/device_security_level/services/dfx/ |
D | dslm_hidumper.c | 160 static void PrintBanner(int fd) in PrintBanner() 168 static void DumpDeviceDetails(const DslmDeviceInfo *info, int32_t fd) in DumpDeviceDetails() 202 static void DumpHistoryCalls(const DslmDeviceInfo *info, int32_t fd) in DumpHistoryCalls() 230 static void DumpOneDevice(const DslmDeviceInfo *info, int32_t fd) in DumpOneDevice() 242 static void PrintAllDevices(int fd) in PrintAllDevices() 247 static void PrintDefaultStatus(int fd) in PrintDefaultStatus() 267 void DslmDumper(int fd) in DslmDumper()
|
/base/sensors/medical_sensor/services/medical_sensor/src/ |
D | medical_dump.cpp | 46 bool MedicalSensorDump::DumpSensorHelp(int32_t fd, const std::vector<std::u16string> &args) in DumpSensorHelp() 56 void MedicalSensorDump::DumpHelp(int32_t fd) in DumpHelp() 66 bool MedicalSensorDump::DumpSensorList(int32_t fd, in DumpSensorList() 87 bool MedicalSensorDump::DumpSensorChannel(int32_t fd, ClientInfo &clientInfo, const std::vector<std… in DumpSensorChannel() 113 bool MedicalSensorDump::DumpOpeningSensor(int32_t fd, const std::vector<MedicalSensor> &sensors, in DumpOpeningSensor() 131 bool MedicalSensorDump::DumpSensorData(int32_t fd, ClientInfo &clientInfo, const std::vector<std::u… in DumpSensorData() 160 void MedicalSensorDump::DumpCurrentTime(int32_t fd) in DumpCurrentTime() 195 int32_t MedicalSensorDump::Dump(int32_t fd, const std::vector<std::u16string> &args, in Dump()
|
/base/startup/init/services/loopevent/socket/ |
D | le_socket.c | 62 int fd = socket(PF_UNIX, SOCK_STREAM, 0); in CreatePipeSocket_() local 120 int fd = socket(AF_INET, SOCK_STREAM, 0); in CreateTcpSocket_() local 141 int fd = accept(serverFd, (struct sockaddr *)&clientAddr, &addrlen); in AcceptPipeSocket_() local 152 int fd = accept(serverFd, (struct sockaddr *)&clientAddr, &addrlen); in AcceptTcpSocket_() local 160 int fd = -1; in CreateSocket() local 183 int AcceptSocket(int fd, int flags) in AcceptSocket()
|
/base/hiviewdfx/hiview/service/ |
D | hiview_service.cpp | 39 void HiviewService::DumpRequestDispatcher(int fd, const std::vector<std::string> &cmds) in DumpRequestDispatcher() 67 void HiviewService::DumpPluginInfo(int fd, const std::vector<std::string> &cmds) const in DumpPluginInfo() 98 void HiviewService::DumpDetailedInfo(int fd) in DumpDetailedInfo() 134 void HiviewService::DumpPluginUsageInfo(int fd) in DumpPluginUsageInfo() 145 void HiviewService::DumpPluginUsageInfo(int fd, const std::string &pluginName) const in DumpPluginUsageInfo() 172 void HiviewService::DumpThreadUsageInfo(int fd, const std::string &threadName) const in DumpThreadUsageInfo() 195 void HiviewService::DumpPipelineUsageInfo(int fd, const std::string &pipelineName) const in DumpPipelineUsageInfo()
|
/base/startup/init/services/init/ |
D | init_service_file.c | 47 int fd = open(path, file->flags | O_CREAT, file->perm); in CreateFile() local 57 static int SetFileEnv(int fd, const char *pathName) in SetFileEnv() 78 int fd = CreateFile(tmpFile); in CreateServiceFile() local
|
/base/hiviewdfx/hiview/plugins/eventservice/service/ |
D | sys_event_stat.cpp | 98 void SysEventStat::StatSummary(int fd) in StatSummary() 105 void SysEventStat::StatDetail(int fd) in StatDetail() 112 void SysEventStat::StatInvalidDetail(int fd) in StatInvalidDetail() 119 void SysEventStat::Clear(int fd) in Clear() 129 BaseStat::BaseStat(int fd, int64_t validNum, int64_t inValidNum): fd_(fd), validNum_(validNum), inV… in BaseStat() 153 SysEventSummaryStat::SysEventSummaryStat(int fd, int64_t validNum, int64_t inValidNum, in SysEventSummaryStat() 177 void SysEventSummaryStat::StatDomainEvent(int fd, std::map<std::string, int64_t> &events) const in StatDomainEvent() 191 SysEventDetailStat::SysEventDetailStat(int fd, int64_t validNum, int64_t inValidNum, in SysEventDetailStat() 207 void SysEventDetailStat::StatDomainEvent(int fd, std::map<std::string, int64_t> &events) const in StatDomainEvent() 217 SysEventInvalidStat::SysEventInvalidStat(int fd, int64_t validNum, int64_t inValidNum, in SysEventInvalidStat()
|
/base/inputmethod/imf/services/dfx/src/ |
D | inputmethod_dump.cpp | 54 bool InputmethodDump::Dump(int fd, const std::vector<std::string> &args) in Dump() 77 void InputmethodDump::ShowHelp(int fd) in ShowHelp() 87 void InputmethodDump::ShowIllealInfomation(int fd) in ShowIllealInfomation()
|
/base/security/access_token/interfaces/innerkits/token_setproc/src/ |
D | token_setproc.c | 53 int fd = open(TOKENID_DEVNODE, O_RDWR); in GetSelfTokenID() local 69 int fd = open(TOKENID_DEVNODE, O_RDWR); in SetSelfTokenID() local 86 int fd = open(TOKENID_DEVNODE, O_RDWR); in GetFirstCallerTokenID() local 103 int fd = open(TOKENID_DEVNODE, O_RDWR); in SetFirstCallerTokenID() local
|
/base/update/updater/test/unittest/utils/ |
D | utils_unittest.cpp | 101 auto fd = open(path.c_str(), O_RDWR | O_CREAT, 0777); variable 116 auto fd = open(path.c_str(), O_RDWR | O_CREAT, 0777); variable 134 auto fd = open(path.c_str(), O_RDWR | O_CREAT, 0777); variable 153 auto fd = open(path.c_str(), O_RDWR | O_CREAT, 0777); variable 173 auto fd = open(src.c_str(), O_RDWR | O_CREAT, 0777); variable 184 auto fd = open(path.c_str(), O_RDWR | O_CREAT, 0777); variable
|
/base/update/updater/services/applypatch/ |
D | partition_record.cpp | 40 int fd = open(realPath, O_RDONLY | O_EXCL | O_CLOEXEC | O_BINARY); in IsPartitionUpdated() local 81 int fd = open(realPath, O_RDWR | O_EXCL | O_CLOEXEC | O_BINARY); in RecordPartitionUpdateStatus() local 126 int fd = open(miscBlockDevice.c_str(), O_RDWR | O_EXCL | O_CLOEXEC | O_BINARY); in ClearRecordPartitionOffset() local
|
D | transfer_manager.cpp | 53 bool TransferManager::CommandsParser(int fd, const std::vector<std::string> &context) in CommandsParser() 114 int fd = open(path.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in RegisterForRetry() local 136 int fd = open(path.c_str(), O_RDONLY); in ReloadForRetry() local
|
/base/startup/init/services/begetctl/ |
D | misc_daemon.cpp | 40 static void ClearLogo(int fd) in ClearLogo() 57 static void WriteLogoContent(int fd, const std::string &logoPath, uint32_t size) in WriteLogoContent() 89 static int WriteLogo(int fd, const std::string &logoPath) in WriteLogo() 149 int fd = open(MISC_DEVICE_NODE, O_RDWR | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); in WriteLogoToMisc() local
|
/base/startup/init/services/loopevent/loop/ |
D | le_epoll.c | 24 static void GetEpollEvent_(int fd, int op, struct epoll_event *event) in GetEpollEvent_() 51 int fd = GetSocketFd((const TaskHandle)task); in AddEvent_() local 67 int fd = GetSocketFd((const TaskHandle)task); in ModEvent_() local 76 static LE_STATUS DelEvent_(const EventLoop *loop, int fd, int op) in DelEvent_()
|
/base/update/updater/test/unittest/applypatch_test/ |
D | all_cmd_unittest.cpp | 67 int fd = open(transferFile.c_str(), O_RDONLY | O_CLOEXEC); in GetTransferContents() local 77 bool AllCmdUnitTest::WriteTestBin(int fd, const uint8_t &data, size_t size) const in WriteTestBin() 107 int fd = open(filename, O_RDWR); variable 131 int AllCmdUnitTest::AllCmdUnitTestMove(int &fd, std::vector<std::string> &allCmd, TransferManager &… in AllCmdUnitTestMove() 178 int fd = open(filePath.c_str(), O_RDWR | O_CREAT, dirMode); variable
|
/base/startup/init/interfaces/innerkits/fs_manager/libfs_dm/ |
D | fs_dm.c | 81 static int CreateDmDevice(int fd, const char *devName) in CreateDmDevice() 100 static int LoadDmDeviceTable(int fd, const char *devName, in LoadDmDeviceTable() 169 static int ActiveDmDevice(int fd, const char *devName) in ActiveDmDevice() 190 int GetDmDevPath(int fd, char **dmDevPath, const char *devName) in GetDmDevPath() 233 int fd = -1; in FsDmCreateDevice() local
|
/base/sensors/sensor/services/sensor/src/ |
D | sensor_dump.cpp | 98 void SensorDump::ParseCommand(int32_t fd, const std::vector<std::string> &args, const std::vector<S… in ParseCommand() 181 void SensorDump::DumpHelp(int32_t fd) in DumpHelp() 191 bool SensorDump::DumpSensorList(int32_t fd, const std::vector<Sensor> &sensors) in DumpSensorList() 207 bool SensorDump::DumpSensorChannel(int32_t fd, ClientInfo &clientInfo) in DumpSensorChannel() 224 bool SensorDump::DumpOpeningSensor(int32_t fd, const std::vector<Sensor> &sensors, ClientInfo &clie… in DumpOpeningSensor() 238 bool SensorDump::DumpSensorData(int32_t fd, ClientInfo &clientInfo) in DumpSensorData() 261 void SensorDump::DumpCurrentTime(int32_t fd) in DumpCurrentTime()
|
/base/time/time_service/services/dfx/src/ |
D | time_cmd_dispatcher.cpp | 24 bool TimeCmdDispatcher::Dispatch(int fd, const std::vector<std::string> &args) in Dispatch() 47 std::string TimeCmdDispatcher::getCmdTitle(int fd, const std::vector<std::string> &args) in getCmdTitle()
|
/base/powermgr/powermgr_lite/services/src/power/small/ |
D | running_lock_handler.c | 32 int32_t fd = open(path, O_RDWR); in OpenLockFile() local 39 static int32_t WriteLock(int32_t fd, const char *name) in WriteLock()
|
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/test/unittest/common/ |
D | event_logger_catcher_test.cpp | 90 int EventloggerCatcherTest::GetFdSize(int32_t fd) in GetFdSize() 156 auto fd = open(logPath.c_str(), O_CREAT | O_WRONLY | O_TRUNC, defaultLogFileMode); in StartCreate() local 200 auto fd = JudgmentsFileSize(minQuantity, "EventloggerCatcherTest001"); variable 269 auto fd = JudgmentsFileSize(minQuantity, "EventloggerCatcherTest002"); variable 336 auto fd = JudgmentsFileSize(minQuantity, "EventloggerCatcherTest003"); variable
|
/base/startup/init/interfaces/innerkits/socket/ |
D | init_socket.c | 34 int fd = strtol(val, NULL, N_DEC); in GetControlFromEnv() local 46 int fd = GetControlFromEnv(path, MAX_SOCKET_ENV_PREFIX_LEN); in GetControlSocket() local
|