Home
last modified time | relevance | path

Searched refs:ERROR (Results 1 – 25 of 923) sorted by relevance

12345678910>>...37

/ohos5.0/base/sensors/miscdevice/utils/haptic_decoder/he_json/src/
H A Dhe_vibrator_decoder.cpp73 return ERROR; in DecodeEffect()
92 return ERROR; in ParsePatternList()
97 return ERROR; in ParsePatternList()
108 return ERROR; in ParsePatternList()
126 return ERROR; in ParsePattern()
131 return ERROR; in ParsePattern()
144 return ERROR; in ParsePattern()
167 return ERROR; in ParseEvent()
198 return ERROR; in ParseEvent()
207 return ERROR; in ParseCurve()
[all …]
/ohos5.0/base/sensors/miscdevice/utils/haptic_decoder/oh_json/src/
H A Ddefault_vibrator_decoder.cpp85 return ERROR; in CheckMetadata()
92 return ERROR; in CheckMetadata()
104 return ERROR; in ParseChannel()
109 return ERROR; in ParseChannel()
144 return ERROR; in ParsePattern()
149 return ERROR; in ParsePattern()
182 return ERROR; in ParseEvent()
197 return ERROR; in ParseEvent()
205 return ERROR; in ParseEvent()
237 return ERROR; in ParseCurve()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_resourceManager_interface1.cpp41 return ERROR; in UpdateResConfig()
65 return ERROR; in GetStringByName()
70 return ERROR; in GetStringFormatById()
76 return ERROR; in GetStringFormatByName()
98 return ERROR; in GetStringArrayByName()
120 return ERROR; in GetPatternByName()
125 return ERROR; in GetPluralStringById()
130 return ERROR; in GetPluralStringByName()
135 return ERROR; in GetPluralStringByIdFormat()
140 return ERROR; in GetPluralStringByNameFormat()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/include/
H A Dmock_resourceManager_interface1.cpp41 return ERROR; in UpdateResConfig()
65 return ERROR; in GetStringByName()
70 return ERROR; in GetStringFormatById()
76 return ERROR; in GetStringFormatByName()
98 return ERROR; in GetStringArrayByName()
120 return ERROR; in GetPatternByName()
125 return ERROR; in GetPluralStringById()
130 return ERROR; in GetPluralStringByName()
135 return ERROR; in GetPluralStringByIdFormat()
140 return ERROR; in GetPluralStringByNameFormat()
[all …]
/ohos5.0/base/update/updater/interfaces/kits/misc_info/
H A Dmisc_info.cpp28 LOG(ERROR) << "realPath is NULL" << " : " << strerror(errno); in WriteUpdaterMessage()
34 LOG(ERROR) << "WriteUpdaterMessage fopen failed" << " : " << strerror(errno); in WriteUpdaterMessage()
40 LOG(ERROR) << "WriteUpdaterMessage fwrite failed" << " : " << strerror(errno); in WriteUpdaterMessage()
45 LOG(ERROR) << "WriteUpdaterMessage fsync failed" << " : " << strerror(errno); in WriteUpdaterMessage()
50 LOG(ERROR) << "WriteUpdaterMessage fclose failed" << " : " << strerror(errno); in WriteUpdaterMessage()
60 LOG(ERROR) << "realPath is NULL" << " : " << strerror(errno); in ReadUpdaterMessage()
66 LOG(ERROR) << "ReadUpdaterMessage fopen failed" << " : " << strerror(errno); in ReadUpdaterMessage()
73 LOG(ERROR) << "ReadUpdaterMessage fwrite failed" << " : " << strerror(errno); in ReadUpdaterMessage()
132 LOG(ERROR) << "lseek fp failed"; in WriteUpdaterParaMisc()
174 LOG(ERROR) << "lseek fp failed"; in ReadUpdaterParaMisc()
[all …]
/ohos5.0/base/update/updater/services/ptable_parse/
H A Dcomposite_ptable.cpp23 LOG(ERROR) << "input invalid"; in ParsePartitionFromBuffer()
29 LOG(ERROR) << "invalid iter ptable"; in ParsePartitionFromBuffer()
46 LOG(ERROR) << "invalid iter ptable"; in LoadPtableFromDevice()
62 LOG(ERROR) << "invalid iter ptable"; in WritePartitionTable()
66 LOG(ERROR) << "write ptable failed"; in WritePartitionTable()
76 LOG(ERROR) << "input invalid"; in GetPtableImageBuffer()
81 LOG(ERROR) << "invalid iter ptable"; in GetPtableImageBuffer()
95 LOG(ERROR) << "input invalid"; in EditPartitionBuf()
100 LOG(ERROR) << "invalid iter ptable"; in EditPartitionBuf()
114 LOG(ERROR) << "input is null"; in AddChildPtable()
[all …]
H A Dptable_manager.cpp81 LOG(ERROR) << "pPtable_ is nullptr"; in InitPtableManager()
85 LOG(ERROR) << "init ptable error"; in InitPtableManager()
201 LOG(ERROR) << "print partition info:"; in PrintPtableInfo()
238 LOG(ERROR) << "invalid input"; in RegisterPtable()
260 LOG(ERROR) << "open bootdev failed"; in GetBootdevType()
294 LOG(ERROR) << "pkgManager is nullptr";
304 LOG(ERROR) << "Invalid imgBufSize";
310 LOG(ERROR) << "new ptable_buffer error";
333 LOG(ERROR) << "pkgManager is nullptr"; in GetPtableBufferFromPkg()
355 LOG(ERROR) << "Error to extract ptable"; in GetPtableBufferFromPkg()
[all …]
H A Dptable.cpp51 LOG(ERROR) << "ptnInfo is empty"; in LoadPtnInfo()
152 LOG(ERROR) << "invaild input"; in MemReadWithOffset()
312 LOG(ERROR) << "input invalid"; in GetPartitionGptHeaderInfo()
336 LOG(ERROR) << "input param invalid"; in PatchBackUpGptHeader()
392 LOG(ERROR) << "starting LBA mismatch"; in CheckGptHeader()
410 LOG(ERROR) << "new buffer failed!"; in PartitionCheckGptHeader()
414 LOG(ERROR) << "copy gpt header fail"; in PartitionCheckGptHeader()
420 LOG(ERROR) << "CheckGptHeader fail"; in PartitionCheckGptHeader()
483 LOG(ERROR) << "memcpy name fail"; in ParsePartitionName()
539 LOG(ERROR) << "invalid input"; in AdjustGpt()
[all …]
H A Demmc_ptable.cpp41 LOG(ERROR) << "invaild argument"; in EmmcPatchGptHeader()
61 LOG(ERROR) << "no partition exist"; in EmmcPatchGptHeader()
107 LOG(ERROR) << "write gpt fail"; in WritePartitionTable()
183 LOG(ERROR) << "input param invalid"; in UpdateCommInitializeGptPartition()
200 LOG(ERROR) << "memcpy_s mbr fail"; in UpdateCommInitializeGptPartition()
233 LOG(ERROR) << "new buffer failed!"; in ReadEmmcGptImageToRam()
252 LOG(ERROR) << "memcpy_s GPT fail"; in ReadEmmcGptImageToRam()
277 LOG(ERROR) << "input invalid"; in GetPtableImageBuffer()
281 LOG(ERROR) << "memcpy_s failed"; in GetPtableImageBuffer()
290 LOG(ERROR) << "input invalid"; in EditPartitionBuf()
[all …]
/ohos5.0/base/update/sys_installer/interfaces/innerkits/ipc_client/src/
H A Dmodule_update_proxy.cpp32 LOG(ERROR) << "Can not get remote"; in InstallModulePackage()
48 LOG(ERROR) << "SendRequest error"; in InstallModulePackage()
60 LOG(ERROR) << "Can not get remote"; in UninstallModulePackage()
76 LOG(ERROR) << "SendRequest error"; in UninstallModulePackage()
89 LOG(ERROR) << "Can not get remote"; in GetModulePackageInfo()
105 LOG(ERROR) << "SendRequest error"; in GetModulePackageInfo()
118 LOG(ERROR) << "Can not get remote"; in ExitModuleUpdate()
133 LOG(ERROR) << "SendRequest error"; in ExitModuleUpdate()
161 LOG(ERROR) << "SendRequest error"; in GetHmpVersionInfo()
180 LOG(ERROR) << "Invalid param"; in StartUpdateHmpPackage()
[all …]
H A Dsys_installer_proxy.cpp33 LOG(ERROR) << "Can not get remote"; in SysInstallerInit()
46 LOG(ERROR) << "SendRequest error"; in SysInstallerInit()
58 LOG(ERROR) << "Can not get remote"; in StartUpdatePackageZip()
74 LOG(ERROR) << "SendRequest error"; in StartUpdatePackageZip()
84 LOG(ERROR) << "Invalid param"; in SetUpdateCallback()
91 LOG(ERROR) << "Can not get remote"; in SetUpdateCallback()
111 LOG(ERROR) << "SendRequest error"; in SetUpdateCallback()
122 LOG(ERROR) << "Can not get remote"; in GetUpdateStatus()
135 LOG(ERROR) << "SendRequest error"; in GetUpdateStatus()
166 LOG(ERROR) << "SendRequest error"; in StartUpdateParaZip()
[all …]
/ohos5.0/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_file.cpp77 LOG(ERROR) << "Couldn't find filesystem magic"; in RetrieveFsType()
85 LOG(ERROR) << "Invalid path " << path; in ParseImageStat()
90 LOG(ERROR) << "stat file " << path << " failed."; in ParseImageStat()
103 LOG(ERROR) << "Failed to get fs type " << path; in ParseImageStat()
118 LOG(ERROR) << "Hmpinfo: Failed to get name val"; in ParseHmpVersionInfo()
308 LOG(ERROR) << "Could not find " << fileName; in ExtractZipFile()
371 LOG(ERROR) << version << " is not right"; in ParseVersion()
388 LOG(ERROR) << "Failed to open file " << path; in Open()
431 LOG(ERROR) << "old hmp version is higher."; in CompareVersion()
455 LOG(ERROR) << "init verified data failed"; in VerifyModuleVerity()
[all …]
H A Dmodule_zip_helper.cpp93 LOG(ERROR) << "Get global info error " << err << ". path=" << zipPath_; in GetNumberOfEntry()
103 LOG(ERROR) << "Cannot locate file with invalid handle. path=" << zipPath_; in LocateFile()
108 LOG(ERROR) << filename << " is not found in " << zipPath_; in LocateFile()
147 LOG(ERROR) << "Cannot get file entry offset"; in GetFileOffset()
157 LOG(ERROR) << "Invalid path " << zipPath_; in GetFileEntryOffset()
162 LOG(ERROR) << "Cannot open package " << zipPath_; in GetFileEntryOffset()
167 LOG(ERROR) << "Unable to read central directory"; in GetFileEntryOffset()
172 LOG(ERROR) << "Check central signature error"; in GetFileEntryOffset()
178 LOG(ERROR) << "Unable to read local file header"; in GetFileEntryOffset()
183 LOG(ERROR) << "Check local header signature error"; in GetFileEntryOffset()
[all …]
H A Dmodule_utils.cpp58 LOG(ERROR) << "Could not mkdir " << path; in CreateDirIfNeeded()
62 LOG(ERROR) << "Could not stat " << path; in CreateDirIfNeeded()
90 LOG(ERROR) << "Invalid file name " << file; in CheckFileSuffix()
109 LOG(ERROR) << "Invalid package path " << filePath; in GetHmpName()
121 LOG(ERROR) << "Invalid package path " << filePath; in GetHmpName()
168 LOG(ERROR) << "buff is null"; in ReadLE16()
179 LOG(ERROR) << "buff is null"; in ReadLE32()
198 LOG(ERROR) << "get real path fail " << filePath; in GetRealPath()
227 LOG(ERROR) << "Failed to remove " << activePath; in Revert()
258 LOG(ERROR) << "get ondemand saIds fail"; in IsHotSa()
[all …]
/ohos5.0/base/update/updater/services/fs_manager/
H A Dmount.cpp95 LOG(ERROR) << "fstab is not loaded, g_fstab is null."; in UmountForPath()
135 LOG(ERROR) << "waitpid failed, " << child; in LoopToMount()
238 LOG(ERROR) << "realpath failed:" << devPath; in ErasePartition()
243 LOG(ERROR) << "open failed:" << realPath; in ErasePartition()
250 LOG(ERROR) << "get partition size failed:" << size; in ErasePartition()
260 LOG(ERROR) << "erase partition failed"; in ErasePartition()
301 LOG(ERROR) << "Format " << path << " failed"; in FormatPartition()
310 LOG(ERROR) << "live update mode"; in SetupPartitions()
315 LOG(ERROR) << "Fstab is invalid"; in SetupPartitions()
349 LOG(ERROR) << "mountPoint empty error."; in GetBlockDeviceByMountPoint()
[all …]
/ohos5.0/base/security/access_token/services/common/background_task_manager/src/
H A Dbackground_task_manager_access_proxy.cpp36 return ERROR; in SubscribeBackgroundTask()
40 return ERROR; in SubscribeBackgroundTask()
45 return ERROR; in SubscribeBackgroundTask()
51 return ERROR; in SubscribeBackgroundTask()
56 return ERROR; in SubscribeBackgroundTask()
68 return ERROR; in UnsubscribeBackgroundTask()
72 return ERROR; in UnsubscribeBackgroundTask()
77 return ERROR; in UnsubscribeBackgroundTask()
88 return ERROR; in UnsubscribeBackgroundTask()
101 return ERROR; in GetContinuousTaskApps()
[all …]
/ohos5.0/base/update/sys_installer/services/module_update/src/
H A Dmodule_loop.cpp89 LOG(ERROR) << "loop-control is not ready"; in PreAllocateLoopDevices()
94 LOG(ERROR) << "Failed to open loop-control"; in PreAllocateLoopDevices()
103 LOG(ERROR) << "Failed to open " << BLOCK_DEV_PATH; in PreAllocateLoopDevices()
130 LOG(ERROR) << "Failed to add loop device"; in PreAllocateLoopDevices()
175 LOG(ERROR) << "Failed to write to " << realPath; in ConfigureReadAhead()
244 LOG(ERROR) << "invalid target " << target; in SetUpLoopDevice()
313 LOG(ERROR) << "Failed to open loop-control"; in CreateLoopDevice()
330 LOG(ERROR) << "Failed to configure device"; in CreateLoopDevice()
334 LOG(ERROR) << "Failed to configure read ahead"; in CreateLoopDevice()
346 LOG(ERROR) << "Failed to open loop dir"; in RemoveDmLoopDevice()
[all …]
/ohos5.0/base/update/updater/services/flow_update/update_bin/
H A Dbin_process.cpp46 LOG(ERROR) << "Error to get bin file"; in Execute()
53 LOG(ERROR) << "Error to get pkg manager"; in Execute()
59 LOG(ERROR) << "Error to get ringbuffer"; in Execute()
74 LOG(ERROR) << "Error to create output stream"; in Execute()
103 LOG(ERROR) << "Error to get bin file"; in ExtractBinFile()
110 LOG(ERROR) << "Error to get pkg manager"; in ExtractBinFile()
147 LOG(ERROR) << "ring buffer is nullptr"; in UnCompressDataProducer()
206 LOG(ERROR) << "Error to get file stream"; in ProcessBinFile()
216 LOG(ERROR) << "Error to get pkgFileName"; in ProcessBinFile()
223 LOG(ERROR) << "Error to get pkg manager"; in ProcessBinFile()
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/rpcid_decode/
H A Dsyscap_tool.c24 const int32_t ERROR = -1; variable
47 return ERROR; in RPCIDStreamDecodeToBuffer()
52 return ERROR; in RPCIDStreamDecodeToBuffer()
57 return ERROR; in RPCIDStreamDecodeToBuffer()
64 return ERROR; in RPCIDStreamDecodeToBuffer()
70 return ERROR; in RPCIDStreamDecodeToBuffer()
76 return ERROR; in RPCIDStreamDecodeToBuffer()
82 return ERROR; in RPCIDStreamDecodeToBuffer()
86 return ERROR; in RPCIDStreamDecodeToBuffer()
91 return ERROR; in RPCIDStreamDecodeToBuffer()
[all …]
/ohos5.0/base/update/updater/services/updater_binary/
H A Dupdate_partitions.cpp35 LOG(ERROR) << "Error get valueint"; in CheckValueInt()
44 LOG(ERROR) << "Error get valuestring"; in CheckValueString()
59 LOG(ERROR) << "Error get start"; in SetPartitionInfo()
66 LOG(ERROR) << "Error get length"; in SetPartitionInfo()
75 LOG(ERROR) << "Error get partName"; in SetPartitionInfo()
82 LOG(ERROR) << "Error get fsType"; in SetPartitionInfo()
97 LOG(ERROR) << "Error get root"; in ParsePartitionInfo()
102 LOG(ERROR) << "Error get Partitions"; in ParsePartitionInfo()
166 LOG(ERROR) << "Error to extract file"; in SetNewPartition()
190 LOG(ERROR) << "Partition is empty "; in SetNewPartition()
[all …]
H A Dupdate_processor.cpp124 LOG(ERROR) << "Data writer is null"; in RawImageWriteProcessor()
154 LOG(ERROR) << "Error to get file info";
178 LOG(ERROR) << "Error to extract file";
225 LOG(ERROR) << "Error to create writer"; in Execute()
255 LOG(ERROR) << "Error to get destPath"; in Execute()
270 LOG(ERROR) << "Error to get file info"; in Execute()
286 LOG(ERROR) << "Error to extract file"; in Execute()
354 LOG(ERROR) << "ring buffer is nullptr"; in UnCompressDataProducer()
395 LOG(ERROR) << "Fail to creat env"; in ExecUpdate()
490 LOG(ERROR) << "pkgManager is nullptr"; in ProcessUpdater()
[all …]
/ohos5.0/base/sensors/sensor/frameworks/native/src/
H A Dsensor_agent_proxy.cpp156 return ERROR; in ActivateSensor()
165 return ERROR; in ActivateSensor()
170 return ERROR; in ActivateSensor()
322 return ERROR; in SetMode()
354 return ERROR; in ConvertSensorInfos()
359 return ERROR; in ConvertSensorInfos()
362 CHKPR(sensorInfos_, ERROR); in ConvertSensorInfos()
367 CHKCR(ret == EOK, ERROR); in ConvertSensorInfos()
370 CHKCR(ret == EOK, ERROR); in ConvertSensorInfos()
400 return ERROR; in GetAllSensors()
[all …]
/ohos5.0/foundation/multimedia/media_foundation/services/media_monitor/server/src/
H A Dmedia_audio_encoder.cpp91 return ERROR; in Init()
96 return ERROR; in Init()
104 return ERROR; in Init()
130 return ERROR; in Convert()
149 return ERROR; in EncodePcmFiles()
156 return ERROR; in EncodePcmFiles()
183 return ERROR; in EncodePcmToFlac()
188 return ERROR; in EncodePcmToFlac()
193 return ERROR; in EncodePcmToFlac()
199 return ERROR; in EncodePcmToFlac()
[all …]
/ohos5.0/base/update/updater/utils/
H A Dutils.cpp114 LOG(ERROR) << "Copy updater log failed!"; in SaveLogs()
126 LOG(ERROR) << "Copy stage log failed!"; in SaveLogs()
133 LOG(ERROR) << "Invalid filename"; in DeleteFile()
162 LOG(ERROR) << "str is empty"; in Trim()
220 LOG(ERROR) << "failed to copy update"; in SetRebootMisc()
459 LOG(ERROR) << "pkgManager is nullptr"; in CreateCompressLogFile()
568 LOG(ERROR) << "Dest filePath error"; in CopyUpdaterLogs()
599 LOG(ERROR) << "copy log file failed."; in CopyUpdaterLogs()
622 LOG(ERROR) << "open result file failed"; in CheckResultFail()
691 LOG(ERROR) << "filePath error"; in GetDirSizeForFile()
[all …]
/ohos5.0/base/update/updater/services/
H A Dupdater.cpp95 LOG(ERROR) << "pkgManager is nullptr"; in GetUpdatePackageInfo()
111 LOG(ERROR) << "get stash size error"; in IsSpaceCapacitySufficient()
120 LOG(ERROR) << "CheckStatvfs error"; in IsSpaceCapacitySufficient()
255 LOG(ERROR) << "pkgManager is nullptr"; in DoInstallUpdaterPackage()
302 LOG(ERROR) << "check output fail"; in SetProgress()
337 LOG(ERROR) << "check output fail"; in HandleChildOutput()
397 LOG(ERROR) << "fdopen pipeRead failed"; in HandlePipeMsg()
420 LOG(ERROR) << "waitpid error"; in CheckProcStatus()
446 LOG(ERROR) << "Create pipe failed: "; in StartUpdaterProc()
451 LOG(ERROR) << "pkgManager is nullptr"; in StartUpdaterProc()
[all …]

12345678910>>...37