Home
last modified time | relevance | path

Searched refs:ERROR (Results 1 - 25 of 284) sorted by relevance

12345678910>>...12

/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()
33 LOG(ERROR) << "parse partition from buffer failed"; in ParsePartitionFromBuffer()
46 LOG(ERROR) << "invalid iter ptable"; in LoadPtableFromDevice()
50 LOG(ERROR) << "load ptable from device failed"; 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()
85 LOG(ERROR) << "ge in GetPtableImageBuffer()
[all...]
H A Demmc_ptable.cpp41 LOG(ERROR) << "invaild argument"; in EmmcPatchGptHeader()
61 LOG(ERROR) << "no partition exist"; in EmmcPatchGptHeader()
96 LOG(ERROR) << "emmcPtnDataInfo_ is empty, write failed!"; in WritePartitionTable()
107 LOG(ERROR) << "write gpt fail"; in WritePartitionTable()
117 LOG(ERROR) << "ptbImgBuffer == NULL || imgBufSize < GPT_PARTITION_SIZE"; in ParsePartitionFromBuffer()
129 LOG(ERROR) << "GetPartitionGptHeaderInfo fail"; in ParseGptHeaderByEmmc()
147 LOG(ERROR) << "Primary signature invalid"; in EmmcReadGpt()
165 LOG(ERROR) << "memcpy guid fail"; in EmmcReadGpt()
183 LOG(ERROR) << "input param invalid"; in UpdateCommInitializeGptPartition()
193 LOG(ERROR) << "chec in UpdateCommInitializeGptPartition()
[all...]
H A Dptable.cpp51 LOG(ERROR) << "ptnInfo is empty"; in LoadPtnInfo()
74 LOG(ERROR) << "parse PtableData from json file error"; in InitPtable()
96 LOG(ERROR) << "parse json failed! " << dataVar.first << " is nullptr!"; in ParsePtableDataNode()
110 LOG(ERROR) << PTABLE_CONFIG_PATH << " not exist"; in ParsePtableData()
118 LOG(ERROR) << PTABLE_CONFIG_PATH << " contained json invalid"; in ParsePtableData()
152 LOG(ERROR) << "invaild input"; in MemReadWithOffset()
158 LOG(ERROR) << "open " << filePath << " fail"; in MemReadWithOffset()
164 LOG(ERROR) << "seekp 0x" << std::hex << offset << " bytes in " << filePath << in MemReadWithOffset()
171 LOG(ERROR) << "read 0x" << std::hex << dataSize << " bytes in " << filePath << in MemReadWithOffset()
228 LOG(ERROR) << "siz in VerifyMbrMagicNum()
[all...]
/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()
80 LOG(ERROR) << "ReadUpdaterMessage fclose failed" << " : " << strerror(errno); in ReadUpdaterMessage()
84 LOG(ERROR) << "ReadUpdaterMessag in ReadUpdaterMessage()
[all...]
/base/security/access_token/services/common/background_task_manager/src/
H A Dbackground_task_manager_access_proxy.cpp25 static constexpr int32_t ERROR = -1; member
36 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()
[all...]
/base/update/sys_installer/interfaces/innerkits/ipc_client/src/
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()
64 LOG(ERROR) << "WriteInterfaceToken error"; 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()
97 LOG(ERROR) << "WriteInterfaceToken fail"; in SetUpdateCallback()
103 LOG(ERROR) << "WriteRemoteObject error"; in SetUpdateCallback()
111 LOG(ERROR) << "SendReques in SetUpdateCallback()
[all...]
H A Dmodule_update_proxy.cpp32 LOG(ERROR) << "Can not get remote"; in InstallModulePackage()
38 LOG(ERROR) << "WriteInterfaceToken error"; in InstallModulePackage()
48 LOG(ERROR) << "SendRequest error"; in InstallModulePackage()
60 LOG(ERROR) << "Can not get remote"; in UninstallModulePackage()
66 LOG(ERROR) << "WriteInterfaceToken error"; in UninstallModulePackage()
76 LOG(ERROR) << "SendRequest error"; in UninstallModulePackage()
89 LOG(ERROR) << "Can not get remote"; in GetModulePackageInfo()
95 LOG(ERROR) << "WriteInterfaceToken error"; in GetModulePackageInfo()
105 LOG(ERROR) << "SendRequest error"; in GetModulePackageInfo()
118 LOG(ERROR) << "Ca in ExitModuleUpdate()
[all...]
H A Dmodule_update_kits_impl.cpp69 LOG(ERROR) << "Get samgr object failed"; in GetService()
74 LOG(ERROR) << "Get module update object from samgr failed"; in GetService()
83 LOG(ERROR) << "Failed to add death recipient"; in GetService()
89 LOG(ERROR) << "module update object iface_cast failed"; in GetService()
105 LOG(ERROR) << "Get moduleUpdate failed"; in InstallModulePackage()
116 LOG(ERROR) << "Get moduleUpdate failed"; in UninstallModulePackage()
128 LOG(ERROR) << "Get moduleUpdate failed"; in GetModulePackageInfo()
139 LOG(ERROR) << "Get moduleUpdate failed"; in ExitModuleUpdate()
160 LOG(ERROR) << "GetSystemAbilityManager samgr object null"; in Init()
166 LOG(ERROR) << "systemAbilityI in Init()
[all...]
H A Dsys_installer_kits_impl.cpp69 LOG(ERROR) << "Get samgr failed"; in GetService()
74 LOG(ERROR) << "Get update object from samgr failed"; in GetService()
83 LOG(ERROR) << "Failed to add death recipient"; in GetService()
89 LOG(ERROR) << "account iface_cast failed"; in GetService()
117 LOG(ERROR) << "GetSystemAbilityManager samgr object null"; in Init()
122 LOG(ERROR) << "systemAbilityId " << SYS_INSTALLER_DISTRIBUTED_SERVICE_ID << in Init()
137 LOG(ERROR) << "Init failed"; in SysInstallerInit()
143 LOG(ERROR) << "Get updateService failed"; in SysInstallerInit()
155 LOG(ERROR) << "Get updateService failed"; in StartUpdatePackageZip()
167 LOG(ERROR) << "callbac in SetUpdateCallback()
[all...]
/base/update/sys_installer/services/module_update/util/src/
H A Dmodule_file.cpp70 LOG(ERROR) << "Couldn't read filesystem magic"; in RetrieveFsType()
77 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()
98 LOG(ERROR) << "Failed to open package " << path << ": I/O error"; in ParseImageStat()
103 LOG(ERROR) << "Failed to get fs type " << path; in ParseImageStat()
108 LOG(ERROR) << "Failed to copy fs type " << fsTypePtr; in ParseImageStat()
118 LOG(ERROR) << "Hmpinfo: Failed to get name val"; in ParseHmpVersionInfo()
123 LOG(ERROR) << "Hmpinfo: Failed to get version val"; in ParseHmpVersionInfo()
128 LOG(ERROR) << "Hmpinf in ParseHmpVersionInfo()
[all...]
H A Dmodule_zip_helper.cpp87 LOG(ERROR) << "Cannot get entry number with invalid handle. path=" << zipPath_; in GetNumberOfEntry()
93 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()
120 LOG(ERROR) << "Cannot get file size without located file. path=" << zipPath_; in GetFileSize()
126 LOG(ERROR) << "Get file size error " << err << ". " << filename_ << " in " << zipPath_; in GetFileSize()
136 LOG(ERROR) << "Cannot get file offset without located file. path=" << zipPath_; in GetFileOffset()
142 LOG(ERROR) << "Get file pos error " << err << ". " << filename_ << " in " << zipPath_; in GetFileOffset()
147 LOG(ERROR) << "Cannot get file entry offset"; in GetFileOffset()
157 LOG(ERROR) << "Invali in GetFileEntryOffset()
[all...]
/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()
69 LOG(ERROR) << "Get file info fail " << upgradeFileName; in Execute()
74 LOG(ERROR) << "Error to create output stream"; in Execute()
87 LOG(ERROR) << "Error to Execute bin file update"; in Execute()
103 LOG(ERROR) << "Error to get bin file"; in ExtractBinFile()
110 LOG(ERROR) << "Error to get pkg manager"; in ExtractBinFile()
121 LOG(ERROR) << "Error to create output stream"; in ExtractBinFile()
127 LOG(ERROR) << "Erro in ExtractBinFile()
[all...]
/base/update/updater/services/applypatch/
H A Dpartition_record.cpp37 LOG(ERROR) << "realPath is NULL" << " : " << strerror(errno); in IsPartitionUpdated()
43 LOG(ERROR) << "PartitionRecord: Open misc to recording partition failed" << " : " << strerror(errno); in IsPartitionUpdated()
47 LOG(ERROR) << "PartitionRecord: Seek misc to specific offset failed" << " : " << strerror(errno); in IsPartitionUpdated()
52 LOG(ERROR) << "PartitionRecord: Read from misc partition failed" << " : " << strerror(errno); in IsPartitionUpdated()
76 LOG(ERROR) << "PartitionRecord: Seek misc to record offset failed: " << strerror(errno); in RecordPartitionSetOffset()
80 LOG(ERROR) << "PartitionRecord: Read offset failed: " << strerror(errno); in RecordPartitionSetOffset()
85 LOG(ERROR) << "PartitionRecord: Seek misc to specific offset failed: " << strerror(errno); in RecordPartitionSetOffset()
95 LOG(ERROR) << "PartitionRecord: strncpy_s failed: " << strerror(errno); in RecordPartitionSetInfo()
100 LOG(ERROR) << "PartitionRecord: write failed: " << strerror(errno); in RecordPartitionSetInfo()
105 LOG(ERROR) << "PartitionRecor in RecordPartitionSetInfo()
[all...]
/base/sensors/sensor/frameworks/native/src/
H A Dsensor_agent_proxy.cpp148 CHKPR(user, OHOS::Sensors::ERROR); in ActivateSensor()
149 CHKPR(user->callback, OHOS::Sensors::ERROR); in ActivateSensor()
152 return ERROR; in ActivateSensor()
161 return ERROR; in ActivateSensor()
166 return ERROR; in ActivateSensor()
184 CHKPR(user, OHOS::Sensors::ERROR); in DeactivateSensor()
185 CHKPR(user->callback, OHOS::Sensors::ERROR); in DeactivateSensor()
193 return OHOS::Sensors::ERROR; in DeactivateSensor()
198 return OHOS::Sensors::ERROR; in DeactivateSensor()
219 CHKPR(user, OHOS::Sensors::ERROR); in SetBatch()
[all...]
/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()
54 LOG(ERROR) << "Error get thisPartion: " << idx; in SetPartitionInfo()
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()
108 LOG(ERROR) << "Erro in ParsePartitionInfo()
[all...]
H A Dupdate_processor.cpp124 LOG(ERROR) << "Data writer is null"; in RawImageWriteProcessor()
135 LOG(ERROR) << "Write " << size << " byte(s) failed"; in RawImageWriteProcessor()
154 LOG(ERROR) << "Error to get file info"; in WriteRawImage()
161 LOG(ERROR) << "partition size: " << partitionSize << " is short than image size: " << totalSize_; in WriteRawImage()
171 LOG(ERROR) << "Error to create output stream"; in WriteRawImage()
178 LOG(ERROR) << "Error to extract file"; in WriteRawImage()
192 LOG(ERROR) << "Error to get partitionName"; in Execute()
207 LOG(ERROR) << "Error to get pkg manager"; in Execute()
216 LOG(ERROR) << "Get partition:%s WritePathAndOffset fail \'" << in Execute()
225 LOG(ERROR) << "Erro in Execute()
[all...]
/base/update/updater/services/fs_manager/
H A Dmount.cpp97 LOG(ERROR) << "fstab is not loaded, g_fstab is null."; in UmountForPath()
103 LOG(ERROR) << "Cannot find fstab item for " << path << " to umount."; in UmountForPath()
119 LOG(ERROR) << "Umount " << item->mountPoint << "failed: " << errno; in UmountForPath()
140 LOG(ERROR) << "waitpid failed, " << child; in MountNtfsWithRetry()
143 LOG(ERROR) << "child terminated by exit " << WEXITSTATUS(status); in MountNtfsWithRetry()
145 LOG(ERROR) << "child terminated by signal " << WTERMSIG(status); in MountNtfsWithRetry()
147 LOG(ERROR) << "child stopped by signal " << WSTOPSIG(status); in MountNtfsWithRetry()
156 LOG(ERROR) << "SD card never insert, dont try again, failed to mount " << source << " on " << target; in MountNtfsWithRetry()
161 LOG(ERROR) << "failed to mount " << source << " on " << target << ", errno is " << errno; in MountNtfsWithRetry()
169 LOG(ERROR) << "pat in MountSdcard()
[all...]
/base/sensors/miscdevice/utils/haptic_decoder/he_json/src/
H A Dhe_vibrator_decoder.cpp56 CHKPR(patternJSON, ERROR); in DecodeEffect()
60 CHKCR((ret == SUCCESS), ERROR, "parse pattern fail!"); in DecodeEffect()
66 CHKPR(patternListJSON, ERROR); in DecodeEffect()
68 CHKCR((ret == SUCCESS), ERROR, "parse pattern list fail!"); in DecodeEffect()
73 return ERROR; in DecodeEffect()
82 CHKPR(metadataJSON, ERROR); in ParseVersion()
84 CHKPR(versionJSON, ERROR); in ParseVersion()
92 return ERROR; in ParsePatternList()
97 return ERROR; in ParsePatternList()
102 CHKPR(patternListItemJSON, ERROR); in ParsePatternList()
[all...]
/base/sensors/miscdevice/utils/haptic_decoder/oh_json/src/
H A Ddefault_vibrator_decoder.cpp79 CHKPR(metadataItem, ERROR); in CheckMetadata()
81 CHKPR(versionItem, ERROR); in CheckMetadata()
85 return ERROR; in CheckMetadata()
88 CHKPR(channelNumberItem, ERROR); in CheckMetadata()
92 return ERROR; in CheckMetadata()
101 CHKPR(channelsItem, ERROR); in ParseChannel()
104 return ERROR; in ParseChannel()
109 return ERROR; in ParseChannel()
114 CHKPR(channelItem, ERROR); in ParseChannel()
116 CHKPR(channelParametersItem, ERROR); in ParseChannel()
[all...]
/base/security/access_token/services/privacymanager/src/sensitive/camera_manager/
H A Dcamera_manager_privacy_proxy.cpp24 static constexpr int32_t ERROR = -1; member
34 return ERROR; in MuteCameraPersist()
38 return ERROR; in MuteCameraPersist()
42 return ERROR; in MuteCameraPersist()
47 return ERROR; in MuteCameraPersist()
64 return ERROR; in IsCameraMuted()
68 return ERROR; in IsCameraMuted()
73 return ERROR; in IsCameraMuted()
78 return ERROR; in IsCameraMuted()
/base/sensors/miscdevice/frameworks/native/light/
H A Dlight_agent.cpp28 CHKPR(lightInfo, ERROR); in GetLightList()
33 return ERROR; in GetLightList()
42 return ERROR; in TurnOn()
48 return ERROR; in TurnOn()
57 return ERROR; in TurnOff()
63 return ERROR; in TurnOff()
/base/web/webview/ohos_adapter/media_adapter/src/
H A Dmedia_codec_encoder_adapter_impl.cpp57 return CodecCodeAdapter::ERROR; in CreateVideoCodecByMime()
68 return CodecCodeAdapter::ERROR; in CreateVideoCodecByName()
78 return CodecCodeAdapter::ERROR; in SetCodecCallback()
84 return CodecCodeAdapter::ERROR; in SetCodecCallback()
89 return CodecCodeAdapter::ERROR; in SetCodecCallback()
95 return CodecCodeAdapter::ERROR; in SetCodecCallback()
104 return CodecCodeAdapter::ERROR; in Configure()
109 return CodecCodeAdapter::ERROR; in Configure()
127 return CodecCodeAdapter::ERROR; in Configure()
136 return CodecCodeAdapter::ERROR; in Prepare()
[all...]
/base/update/sys_installer/services/module_update/src/
H A Dmodule_loop.cpp81 LOG(ERROR) << "Failed to clear fd for loopback device"; in MaybeCloseBad()
89 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()
141 LOG(ERROR) << "invalid device path " << devicePath; in ConfigureReadAhead()
149 LOG(ERROR) << "invalid device path " << sysfsDevice; in ConfigureReadAhead()
155 LOG(ERROR) << "Fail to Stat file: " << realPath << ", errno=" << errno; in ConfigureReadAhead()
169 LOG(ERROR) << "Fail to open file: " << realPath << ", errno=" << errno; in ConfigureReadAhead()
175 LOG(ERROR) << "Faile in ConfigureReadAhead()
[all...]
/base/update/updater/services/rust/hash_signed_data/src/
H A Dlib.rs39 updaterlog!(ERROR, "signed data is null");
46 updaterlog!(ERROR, "hash signed data str format is invalid {:?}", signed_data_str);
56 updaterlog!(ERROR, "hash signed data parse failed, err is {}", err);
72 updaterlog!(ERROR, "input invalid, null status hash:{} file_name:{} signed_data:{}",
81 updaterlog!(ERROR, "filename is invalid utf8 str");
89 updaterlog!(ERROR, "get sig for file {} failed, err is {}", file_name, err);
94 updaterlog!(ERROR, "out is too small to hold signature");
112 updaterlog!(ERROR, "signed data is null");
129 updaterlog!(ERROR, "hash data is null");
142 updaterlog!(ERROR, "has
[all...]
/base/update/updater/services/
H A Dupdater.cpp70 LOG(ERROR) << "ExtractUpdaterBinary create stream fail"; in ExtractUpdaterBinary()
76 LOG(ERROR) << "ExtractUpdaterBinary extract file failed"; in ExtractUpdaterBinary()
83 LOG(ERROR) << "verify updater_binary failed"; in ExtractUpdaterBinary()
95 LOG(ERROR) << "pkgManager is nullptr"; in GetUpdatePackageInfo()
111 LOG(ERROR) << "get stash size error"; in IsSpaceCapacitySufficient()
120 LOG(ERROR) << "CheckStatvfs error"; in IsSpaceCapacitySufficient()
134 LOG(ERROR) << "pkgManager is nullptr"; in GetStashSizeList()
142 LOG(ERROR) << "LoadPackageWithoutUnPack failed " << upParams.updatePackage[i]; in GetStashSizeList()
160 LOG(ERROR) << "Create stream fail " << maxStashFileName << " in " << upParams.updatePackage[i]; in GetStashSizeList()
168 LOG(ERROR) << "ExtractFil in GetStashSizeList()
[all...]

Completed in 12 milliseconds

12345678910>>...12