Home
last modified time | relevance | path

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

1234567

/base/update/sys_installer/interfaces/innerkits/ipc_client/src/
Dsys_installer_proxy.cpp32 LOG(ERROR) << "Can not get remote"; in SysInstallerInit()
44 LOG(ERROR) << "SendRequest error"; in SysInstallerInit()
56 LOG(ERROR) << "Can not get remote"; in StartUpdatePackageZip()
62 LOG(ERROR) << "WriteInterfaceToken error"; in StartUpdatePackageZip()
71 LOG(ERROR) << "SendRequest error"; in StartUpdatePackageZip()
81 LOG(ERROR) << "Invalid param"; in SetUpdateCallback()
88 LOG(ERROR) << "Can not get remote"; in SetUpdateCallback()
94 LOG(ERROR) << "WriteInterfaceToken fail"; in SetUpdateCallback()
100 LOG(ERROR) << "WriteRemoteObject error"; in SetUpdateCallback()
107 LOG(ERROR) << "SendRequest error"; in SetUpdateCallback()
[all …]
Dsys_installer_kits_impl.cpp66 LOG(ERROR) << "Get samgr failed"; in GetService()
71 LOG(ERROR) << "Get update object from samgr failed"; in GetService()
80 LOG(ERROR) << "Failed to add death recipient"; in GetService()
86 LOG(ERROR) << "account iface_cast failed"; in GetService()
111 LOG(ERROR) << "GetSystemAbilityManager samgr object null"; in Init()
116 LOG(ERROR) << "systemAbilityId " << SYS_INSTALLER_DISTRIBUTED_SERVICE_ID << in Init()
131 LOG(ERROR) << "Init failed"; in SysInstallerInit()
137 LOG(ERROR) << "Get updateService failed"; in SysInstallerInit()
149 LOG(ERROR) << "Get updateService failed"; in StartUpdatePackageZip()
162 LOG(ERROR) << "Get updateService failed"; in SetUpdateCallback()
[all …]
/base/security/access_token/services/privacymanager/src/sensitive/camera_manager/
Dcamera_manager_privacy_proxy.cpp24 static constexpr int32_t ERROR = -1; variable
35 return ERROR; in SetMuteCallback()
40 return ERROR; in SetMuteCallback()
44 return ERROR; in SetMuteCallback()
61 return ERROR; in MuteCamera()
65 return ERROR; in MuteCamera()
70 return ERROR; in MuteCamera()
84 return ERROR; in IsCameraMuted()
88 return ERROR; in IsCameraMuted()
93 return ERROR; in IsCameraMuted()
/base/update/updater/services/applypatch/
Dstore.cpp35 LOG(ERROR) << "Failed to get files for free space"; in DoFreeSpace()
40 LOG(ERROR) << "Failed to delete in do free space"; in DoFreeSpace()
59 LOG(ERROR) << "Failed to delete " << path; in FreeStore()
66 LOG(ERROR) << "path is empty."; in CreateNewSpace()
73 LOG(ERROR) << "Create new space, failed to stat"; in CreateNewSpace()
77 LOG(ERROR) << "Failed to make store"; in CreateNewSpace()
81 LOG(ERROR) << "Failed to chown store"; in CreateNewSpace()
122 LOG(ERROR) << "Failed to create store"; in WriteDataToStore()
126 LOG(ERROR) << "Failed to chown"; in WriteDataToStore()
136 LOG(ERROR) << "Write to stash failed"; in WriteDataToStore()
[all …]
Dblock_set.cpp39 LOG(ERROR) << "Invalid block."; in BlockSet()
54 LOG(ERROR) << "Invalid number of block size"; in CheckReliablePair()
59 LOG(ERROR) << "Block size overflow"; in CheckReliablePair()
80 LOG(ERROR) << "Invalid argument, this argument is empty"; in ParserAndInsert()
91 LOG(ERROR) << "Invalid block token argument"; in ParserAndInsert()
95 LOG(ERROR) << "Too small blocks_ in argument"; in ParserAndInsert()
105 LOG(ERROR) << "Invalid number in block token"; in ParserAndInsert()
158 LOG(ERROR) << "Fail to seek"; in ReadDataFromBlock()
163 LOG(ERROR) << "Fail to read"; in ReadDataFromBlock()
183 LOG(ERROR) << "Error to write block set to memory"; in WriteDataToBlock()
[all …]
Ddata_writer.cpp32 LOG(ERROR) << "Datawriter: partition name is empty."; in OpenPath()
37 LOG(ERROR) << "Datawriter: " << path << " is not writable."; in OpenPath()
42 LOG(ERROR) << "realPath is NULL" << " : " << strerror(errno); in OpenPath()
48 … LOG(ERROR) << "Datawriter: open block device " << path << " failed " << " : " << strerror(errno); in OpenPath()
52 LOG(ERROR) << "Datawriter: seek " << path << "failed " << " : " << strerror(errno); in OpenPath()
Dpartition_record.cpp37 LOG(ERROR) << "realPath is NULL" << " : " << strerror(errno); in IsPartitionUpdated()
43 …LOG(ERROR) << "PartitionRecord: Open misc to recording partition failed" << " : " << strerror(errn… 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()
78 LOG(ERROR) << "realPath is NULL" << " : " << strerror(errno); in RecordPartitionUpdateStatus()
84 …LOG(ERROR) << "PartitionRecord: Open misc to recording partition failed" << " : " << strerror(errn… in RecordPartitionUpdateStatus()
128 LOG(ERROR) << "Open misc to recording partition failed" << " : " << strerror(errno); in ClearRecordPartitionOffset()
132 LOG(ERROR) << "Seek misc to specific offset failed" << " : " << strerror(errno); in ClearRecordPartitionOffset()
139 … LOG(ERROR) << "StartUpdater: Write misc initOffset 0 failed" << " : " << strerror(errno); in ClearRecordPartitionOffset()
/base/update/updater/services/ptable_parse/
Dptable_manager.cpp72 LOG(ERROR) << "pPtable_ is nullptr"; in InitPtableManager()
76 LOG(ERROR) << "init ptable error"; in InitPtableManager()
86 LOG(ERROR) << "invalid input: ptnInfo is empty or name is null"; in GetPartitionInfoIndexByName()
111 LOG(ERROR) << "can't find the " << partitionName << " partition in device ptable!"; in IsPartitionChanged()
116 LOG(ERROR) << "can't find the " << partitionName << " partition in package ptable!"; in IsPartitionChanged()
178 LOG(ERROR) << "Write ptable to device failed! pPtable_ is nullptr"; in WritePtableToDevice()
182 LOG(ERROR) << "Write ptable to device failed! Please load ptable first!"; in WritePtableToDevice()
192 LOG(ERROR) << "print partition info:"; in PrintPtableInfo()
204 LOG(ERROR) << "GetPartionInfoByName failed! pPtable_ is nullptr"; in GetPartionInfoByName()
213 LOG(ERROR) << "GetPartionInfoByName failed! Not found " << standardPtnName; in GetPartionInfoByName()
[all …]
Dptable.cpp53 LOG(ERROR) << "parse PtableData from json file error"; in InitPtable()
75 LOG(ERROR) << "parse json failed! " << dataVar.first << " is nullptr!"; in ParsePtableDataNode()
89 LOG(ERROR) << PTABLE_CONFIG_PATH << " not exist"; in ParsePtableData()
97 LOG(ERROR) << PTABLE_CONFIG_PATH << " contained json invalid"; in ParsePtableData()
131 LOG(ERROR) << "invaild input"; in MemReadWithOffset()
137 LOG(ERROR) << "open " << filePath << " fail"; in MemReadWithOffset()
143 LOG(ERROR) << "seekp 0x" << std::hex << offset << " bytes in " << filePath << in MemReadWithOffset()
150 LOG(ERROR) << "read 0x" << std::hex << dataSize << " bytes in " << filePath << in MemReadWithOffset()
207 LOG(ERROR) << "size < (TABLE_SIGNATURE + 1)"; in VerifyMbrMagicNum()
213 …LOG(ERROR) << "MBR magic number does not match, magic buffer is " << *(buffer + MBR_MAGIC_NUM_POS); in VerifyMbrMagicNum()
[all …]
Dufs_ptable.cpp52 LOG(ERROR) << "file " << ufsNode << " is not exist"; in SetDeviceLunNum()
66 LOG(ERROR) << "GetPartitionGptHeaderInfo fail"; in ParseGptHeaderByUfsLun()
78 LOG(ERROR) << "invaild input"; in UfsReadGpt()
82 LOG(ERROR) << "Primary signature invalid"; in UfsReadGpt()
96 LOG(ERROR) << "memcpy guid fail"; in UfsReadGpt()
128 LOG(ERROR) << "invaild argument"; in UfsPatchGptHeader()
146 LOG(ERROR) << "no partition exist"; in UfsPatchGptHeader()
182 LOG(ERROR) << "input param invalid"; in ParsePartitionFromBuffer()
189 LOG(ERROR) << "input param invalid imgBufSize"; in ParsePartitionFromBuffer()
228 LOG(ERROR) << "parse ufs gpt fail"; in ParsePartitionFromBuffer()
[all …]
/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_agent_proxy.cpp137 CHKPR(user, OHOS::Sensors::ERROR); in ActivateSensor()
138 CHKPR(user->callback, OHOS::Sensors::ERROR); in ActivateSensor()
141 return ERROR; in ActivateSensor()
150 return ERROR; in ActivateSensor()
165 CHKPR(user, OHOS::Sensors::ERROR); in DeactivateSensor()
166 CHKPR(user->callback, OHOS::Sensors::ERROR); in DeactivateSensor()
174 return OHOS::Sensors::ERROR; in DeactivateSensor()
189 CHKPR(user, OHOS::Sensors::ERROR); in SetBatch()
196 return OHOS::Sensors::ERROR; in SetBatch()
201 return OHOS::Sensors::ERROR; in SetBatch()
[all …]
/base/update/updater/interfaces/kits/misc_info/
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()
47 LOG(ERROR) << "WriteUpdaterMessage fclose failed" << " : " << strerror(errno); in WriteUpdaterMessage()
57 LOG(ERROR) << "realPath is NULL" << " : " << strerror(errno); in ReadUpdaterMessage()
63 LOG(ERROR) << "ReadUpdaterMessage fopen failed" << " : " << strerror(errno); in ReadUpdaterMessage()
70 LOG(ERROR) << "ReadUpdaterMessage fwrite failed" << " : " << strerror(errno); in ReadUpdaterMessage()
77 LOG(ERROR) << "ReadUpdaterMessage fclose failed" << " : " << strerror(errno); in ReadUpdaterMessage()
81 LOG(ERROR) << "ReadUpdaterMessage memcpy failed" << " : " << strerror(errno); in ReadUpdaterMessage()
/base/update/updater/services/updater_binary/
Dupdate_image_patch.cpp54 LOG(ERROR) << "para count error " << context.GetParamCount(); in GetParam()
66 LOG(ERROR) << "para get error"; in GetParam()
71 LOG(ERROR) << "get " << para.partName << " dev path error"; in GetParam()
81 LOG(ERROR) << "PatchMapFile error"; in GetFileHash()
96 LOG(ERROR) << "ApplyPatch error:" << ret; in ApplyPatch()
103 LOG(ERROR) << "apply patch fail resultSha:" << resultSha << " destHash:" << para.destHash; in ApplyPatch()
109 LOG(ERROR) << "write " << newFile << " to " << para.devPath << " failed"; in ApplyPatch()
119 LOG(ERROR) << "Error to get pkg manager"; in GetPatchFile()
125 LOG(ERROR) << "Error to get file info"; in GetPatchFile()
134 LOG(ERROR) << "Error to create output stream"; in GetPatchFile()
[all …]
/base/update/updater/test/unittest/log_test/
Dlog_unittest.cpp39 SetLogLevel(ERROR);
40 LOG(ERROR) << "this is ut";
44 LOG(ERROR) << "this is ut";
68 SetLogLevel(ERROR);
69 LOG(ERROR) << "this is ut";
75 LOG(ERROR) << "this is ut";
/base/security/access_token/services/privacymanager/src/sensitive/app_manager/
Dapp_manager_privacy_proxy.cpp24 static constexpr int32_t ERROR = -1; variable
36 return ERROR; in RegisterApplicationStateObserver()
40 return ERROR; in RegisterApplicationStateObserver()
44 return ERROR; in RegisterApplicationStateObserver()
50 return ERROR; in RegisterApplicationStateObserver()
63 return ERROR; in UnregisterApplicationStateObserver()
67 return ERROR; in UnregisterApplicationStateObserver()
85 return ERROR; in GetForegroundApplications()
96 return ERROR; in GetForegroundApplications()
/base/update/updater/services/fs_manager/
Dmount.cpp91 LOG(ERROR) << "Cannot find fstab item for " << path << " to umount."; in UmountForPath()
104 LOG(ERROR) << "Umount " << item->mountPoint << "failed: " << errno; in UmountForPath()
116 LOG(ERROR) << "Cannot find fstab item for " << path << " to mount."; in MountForPath()
137 LOG(ERROR) << "realpath failed:" << devPath; in ErasePartition()
142 LOG(ERROR) << "open failed:" << realPath; in ErasePartition()
149 LOG(ERROR) << "get partition size failed:" << size; in ErasePartition()
159 LOG(ERROR) << "erase partition failed"; in ErasePartition()
170 LOG(ERROR) << "Cannot find fstab item for " << path << " to format."; in FormatPartition()
180 …LOG(ERROR) << "Try to format " << item->mountPoint << " with unsupported file system type: " << it… in FormatPartition()
195 LOG(ERROR) << "Format " << path << " failed"; in FormatPartition()
[all …]
/base/update/updater/services/ui/view/page/
Dpage_manager.cpp37 LOG(ERROR) << "create base page failed"; in InitImpl()
41 LOG(ERROR) << "Build page failed"; in InitImpl()
45 LOG(ERROR) << "Build sub page failed"; in InitImpl()
51 LOG(ERROR) << "base page id duplicated:" << pageInfo.id; in InitImpl()
73 LOG(ERROR) << "entry " << entry << " is invalid "; in Init()
91 LOG(ERROR) << "create sub page failed"; in BuildSubPages()
95 LOG(ERROR) << "build sub page failed"; in BuildSubPages()
99 LOG(ERROR) << "sub page id duplicated:" << subPageId; in BuildSubPages()
117 LOG(ERROR) << "page id " << pageId << "not valid"; in IsValidCom()
132 LOG(ERROR) << "cur page is null"; in ShowPage()
[all …]
/base/sensors/miscdevice/interfaces/native/light/src/
Dlight_agent.cpp31 CHKPR(lightInfo, ERROR); in GetLightList()
36 return ERROR; in GetLightList()
45 return ERROR; in TurnOn()
51 return ERROR; in TurnOn()
60 return ERROR; in TurnOff()
66 return ERROR; in TurnOff()
/base/update/updater/services/ui/language/
Dlanguage_ui.cpp56 LOG(ERROR) << "parse language resources failed"; in Init()
80 LOG(ERROR) << "parse file " << file << " error"; in Parse()
102 LOG(ERROR) << file << " is invalid, nodetype is " << static_cast<int>(root.Type()); in ParseJson()
109 LOG(ERROR) << "key is empty"; in ParseJson()
117 LOG(ERROR) << "dont have a " << g_languageDataVars[language_] << " string"; in ParseJson()
126 LOG(ERROR) << "level invalid : " << level; in CheckLevel()
148 LOG(ERROR) << "parse language res error"; in LoadLangRes()
160 LOG(ERROR) << "init failed"; in LoadLangRes()
173 LOG(ERROR) << "get real path failed"; in ParseLanguage()
183 LOG(ERROR) << "locale " << locale << " not recognized"; in ParseLanguage()
/base/sensors/medical_sensor/interfaces/native/src/
Dmedical_native_impl.cpp124 return OHOS::Sensors::ERROR; in GetAllSensors()
130 return OHOS::Sensors::ERROR; in GetAllSensors()
136 return OHOS::Sensors::ERROR; in GetAllSensors()
143 return OHOS::Sensors::ERROR; in GetAllSensors()
148 return OHOS::Sensors::ERROR; in GetAllSensors()
154 return OHOS::Sensors::ERROR; in GetAllSensors()
167 return OHOS::Sensors::ERROR; in ActivateSensor()
171 return OHOS::Sensors::ERROR; in ActivateSensor()
176 return OHOS::Sensors::ERROR; in ActivateSensor()
185 return OHOS::Sensors::ERROR; in ActivateSensor()
[all …]
/base/update/updater/services/
Dupdater.cpp65 LOG(ERROR) << "ExtractUpdaterBinary create stream fail"; in ExtractUpdaterBinary()
79 LOG(ERROR) << "Fail to GetPackageInstance"; in GetUpdatePackageInfo()
96 LOG(ERROR) << "pkgManager is nullptr"; in IsSpaceCapacitySufficient()
102 LOG(ERROR) << "LoadPackageWithoutUnPack failed"; in IsSpaceCapacitySufficient()
109 LOG(ERROR) << "update.bin is not exist"; in IsSpaceCapacitySufficient()
120 LOG(ERROR) << "Statvfs read /sdcard error!"; in IsSpaceCapacitySufficient()
125 LOG(ERROR) << "Statvfs read /data error!"; in IsSpaceCapacitySufficient()
131 LOG(ERROR) << "Can not update, free space is not enough"; in IsSpaceCapacitySufficient()
176 LOG(ERROR) << "Hota update not allow userdata partition change!"; in PtableProcess()
181 LOG(ERROR) << "Ptable changed, write new ptable failed!"; in PtableProcess()
[all …]
/base/update/updater/services/include/log/
Dlog.h31 #undef ERROR
43 LOG(ERROR) << log; \
61 LOG(ERROR) << log; \
76 LOG(ERROR) << log << " : " << strerror(errno); \
82 LOG(ERROR) << log << " : " << strerror(errno); \
89 LOG(ERROR) << log; \
104 ERROR, enumerator
138 { ERROR, "ERROR" },
/base/update/updater/services/ui/
Dupdater_ui_env.cpp66 LOG(ERROR) << "config init failed"; in InitConfig()
99 LOG(ERROR) << "can't access brigntness file"; in InitBrightness()
105 LOG(ERROR) << "open " << maxBrightnessFile << " failed"; in InitBrightness()
111 LOG(ERROR) << "read int from " << maxBrightnessFile << " failed sd maxValue = " << maxValue; in InitBrightness()
117 LOG(ERROR) << "open " << brightnessFile << " failed"; in InitBrightness()
125 LOG(ERROR) << "write int to " << brightnessFile << " failed"; in InitBrightness()
Dupdater_ui_config.cpp36 … LOG(ERROR) << "page path canonical failed, please check your config, dir = " << pagePath.dir; in CanonicalPagePath()
77 LOG(ERROR) << "config array's element should be string"; in SelectConfig()
85 LOG(ERROR) << "real config file should has screenW and screenH key"; in SelectConfig()
95 LOG(ERROR) << "no config matched"; in SelectConfig()
110 LOG(ERROR) << "config path should be string"; in Init()
127 LOG(ERROR) << "config file parse failed: " << UI_CFG_FILE; in Init()
153 LOG(ERROR) << "parse page path error: " << pagePath.dir; in LoadPages()
163 LOG(ERROR) << "load layout error: " << UI_CFG_FILE; in LoadPages()
167 LOG(ERROR) << "page manager init error"; in LoadPages()
/base/update/sys_installer/frameworks/installer_manager/src/
Dinstaller_manager_helper.cpp41 LOG(ERROR) << "statusManager_ nullptr"; in StartUpdatePackageZip()
47 LOG(ERROR) << "get real path failed"; in StartUpdatePackageZip()
58 LOG(ERROR) << "statusManager_ nullptr"; in SetUpdateCallback()
67 LOG(ERROR) << "statusManager_ nullptr"; in GetUpdateStatus()

1234567