Home
last modified time | relevance | path

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

1234567

/hardware/google/pixel/usb/
DUsbGadgetUtils.cpp83 return Status::ERROR; in setVidPid()
86 return Status::ERROR; in setVidPid()
122 return Status::ERROR; in resetGadget()
125 return Status::ERROR; in resetGadget()
128 return Status::ERROR; in resetGadget()
131 return Status::ERROR; in resetGadget()
134 return Status::ERROR; in resetGadget()
145 return Status::ERROR; in addGenericAndroidFunctions()
148 return Status::ERROR; in addGenericAndroidFunctions()
151 return Status::ERROR; in addGenericAndroidFunctions()
[all …]
/hardware/interfaces/usb/gadget/1.1/default/lib/
DUsbGadgetUtils.cpp78 if (!WriteStringToFile(vid, VENDOR_ID_PATH)) return Status::ERROR; in setVidPid()
80 if (!WriteStringToFile(pid, PRODUCT_ID_PATH)) return Status::ERROR; in setVidPid()
113 if (!WriteStringToFile("0", DEVICE_CLASS_PATH)) return Status::ERROR; in resetGadget()
115 if (!WriteStringToFile("0", DEVICE_SUB_CLASS_PATH)) return Status::ERROR; in resetGadget()
117 if (!WriteStringToFile("0", DEVICE_PROTOCOL_PATH)) return Status::ERROR; in resetGadget()
119 if (!WriteStringToFile("0", DESC_USE_PATH)) return Status::ERROR; in resetGadget()
121 if (unlinkFunctions(CONFIG_PATH)) return Status::ERROR; in resetGadget()
131 if (!WriteStringToFile("1", DESC_USE_PATH)) return Status::ERROR; in addGenericAndroidFunctions()
133 if (!monitorFfs->addInotifyFd("/dev/usb-ffs/mtp/")) return Status::ERROR; in addGenericAndroidFunctions()
135 if (linkFunction("ffs.mtp", (*functionCount)++)) return Status::ERROR; in addGenericAndroidFunctions()
[all …]
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp130 LOG(ERROR) << "Size of data cannot be odd"; in decodeHex()
139 LOG(ERROR) << "Invalid hex digit at position " << n; in decodeHex()
319 LOG(ERROR) << "Only boolean/null is implemented for SIMPLE"; in cborPrettyPrintInternal()
332 LOG(ERROR) << "Data to pretty print is not valid CBOR: " << message; in cborPrettyPrint()
360 LOG(ERROR) << "RAND_bytes: failed getting " << numBytes << " random"; in getRandom()
371 LOG(ERROR) << "encryptedData too small"; in decryptAes128Gcm()
383 LOG(ERROR) << "EVP_CIPHER_CTX_new: failed"; in decryptAes128Gcm()
388 LOG(ERROR) << "EVP_DecryptInit_ex: failed"; in decryptAes128Gcm()
393 LOG(ERROR) << "EVP_CIPHER_CTX_ctrl: failed setting nonce length"; in decryptAes128Gcm()
398 LOG(ERROR) << "EVP_DecryptInit_ex: failed"; in decryptAes128Gcm()
[all …]
/hardware/google/pixel/pwrstats_util/
DPowerStatsCollector.cpp28 LOG(ERROR) << __func__ << ": bad args; stat is null"; in get()
36 LOG(ERROR) << __func__ << ": a data provider failed"; in get()
49 LOG(ERROR) << __func__ << ": bad args; interval is null"; in get()
57 LOG(ERROR) << __func__ << ": a provider is missing"; in get()
64 LOG(ERROR) << __func__ << ": a data provider failed"; in get()
76 LOG(ERROR) << __func__ << ": bad args; output is null"; in dump()
83 LOG(ERROR) << __func__ << ": a provider is missing"; in dump()
93 LOG(ERROR) << __func__ << ": bad args; stat is null"; in get()
102 LOG(ERROR) << __func__ << ": bad args; interval is null"; in get()
107 LOG(ERROR) << __func__ << ": bad args; start is incorrect type"; in get()
[all …]
Dpwrstats_util.cpp112 LOG(ERROR) << "can't fork" << std::endl; in daemon()
123 LOG(ERROR) << "can't get file limit" << std::endl; in daemon()
137 LOG(ERROR) << "SID creation failed"; in daemon()
154 LOG(ERROR) << "can't change directory to /" << std::endl; in daemon()
167 LOG(ERROR) << "failed to get start stats"; in daemon()
180 LOG(ERROR) << "failed to get interval stats"; in daemon()
190 LOG(ERROR) << "failed to open file"; in daemon()
/hardware/libhardware/modules/camera/3_4/arc/
Dimage_processor.cpp73 LOGF(ERROR) << "Width or height is not even (" << width << " x " << height in GetConvertedSize()
91 LOGF(ERROR) << "Pixel format " << FormatToString(fourcc) in GetConvertedSize()
119 LOGF(ERROR) << "Width or height is not even (" << in_frame.GetWidth() in ConvertFormat()
128 LOGF(ERROR) << "Set data size failed"; in ConvertFormat()
149 LOGF_IF(ERROR, res) << "YUY2ToI420() for YU12 returns " << res; in ConvertFormat()
153 LOGF(ERROR) << "Destination pixel format " in ConvertFormat()
170 LOGF_IF(ERROR, res) << "YU12ToYV12() returns " << res; in ConvertFormat()
184 LOGF_IF(ERROR, res) << "YU12ToNV21() returns " << res; in ConvertFormat()
200 LOGF_IF(ERROR, res) << "I420ToABGR() returns " << res; in ConvertFormat()
216 LOGF_IF(ERROR, res) << "I420ToARGB() returns " << res; in ConvertFormat()
[all …]
Dexif_utils.cpp60 LOGF(ERROR) << "invalid image size " << width << "x" << height; in Initialize()
64 LOGF(ERROR) << "invalid jpeg quality " << quality; in Initialize()
74 LOGF(ERROR) << "allocate memory for exif_data_ failed"; in Initialize()
94 LOGF(ERROR) << "Adding Make exif entry failed"; in SetMaker()
106 LOGF(ERROR) << "Adding Model exif entry failed"; in SetModel()
127 LOGF(ERROR) << "Adding DateTime exif entry failed"; in SetDateTime()
138 LOGF(ERROR) << "Adding FocalLength exif entry failed"; in SetFocalLength()
151 LOGF(ERROR) << "Adding GPSLatitudeRef exif entry failed"; in SetGpsLatitude()
166 LOGF(ERROR) << "Adding GPSLatitude exif entry failed"; in SetGpsLatitude()
179 LOGF(ERROR) << "Adding GPSLongitudeRef exif entry failed"; in SetGpsLongitude()
[all …]
Dframe_buffer.cpp28 LOGF(ERROR) << "Buffer overflow: Buffer only has " << buffer_size_ in SetDataSize()
74 LOGF(ERROR) << "Unmap failed"; in ~V4L2FrameBuffer()
81 LOGF(ERROR) << "The buffer is already mapped"; in Map()
86 LOGF(ERROR) << "mmap() failed: " << strerror(errno); in Map()
97 LOGF(ERROR) << "mummap() failed: " << strerror(errno); in Unmap()
115 LOGF(ERROR) << "Failed to get gralloc module."; in GrallocFrameBuffer()
126 LOGF(ERROR) << "Unmap failed"; in ~GrallocFrameBuffer()
133 LOGF(ERROR) << "The buffer is already mapped"; in Map()
162 LOGF(ERROR) << "Failed to gralloc lock buffer: " << ret; in Map()
180 LOGF(ERROR) << "Failed to unmap buffer: "; in Unmap()
/hardware/interfaces/automotive/can/1.0/default/
DCanBusSlcan.cpp59 PLOG(ERROR) << "Failed to get the name of the created device"; in updateIfaceName()
83 PLOG(ERROR) << "SLCAN Failed to open " << mUartName; in preUp()
95 PLOG(ERROR) << "Failed to read attrs of" << mUartName; in preUp()
110 PLOG(ERROR) << "Failed to read serial settings from " << mUartName; in preUp()
117 PLOG(ERROR) << "Failed to set low latency mode on " << mUartName; in preUp()
124 PLOG(ERROR) << "Failed to apply terminal settings to " << mUartName; in preUp()
130 PLOG(ERROR) << "Failed to apply CAN bitrate"; in preUp()
137 PLOG(ERROR) << "Failed to set open flag"; in preUp()
143 PLOG(ERROR) << "Failed to set line discipline to slcan"; in preUp()
154 LOG(ERROR) << "Failed to reset line discipline!"; in postDown()
[all …]
DCanController.cpp81 LOG(ERROR) << "Failed to open " << serialPath.parent_path(); in getIfaceName()
101 LOG(ERROR) << "Failed to open " << fsItr->path() << " to get net name!"; in getIfaceName()
112 LOG(ERROR) << "Failed to verify " << fsItr->path() << " has valid net name!"; in getIfaceName()
117 LOG(ERROR) << "Found more than one net name in " << fsItr->path() << "!"; in getIfaceName()
129 LOG(ERROR) << "Failed search filesystem: " << fsStatus; in getIfaceName()
144 LOG(ERROR) << "Failed to read serial number from " << serialnoPath; in readSerialNo()
163 LOG(ERROR) << "Failed to open " << kDevPath; in findUsbDevice()
172 LOG(ERROR) << "Failed check if " << fsStatus; in findUsbDevice()
210 LOG(ERROR) << "Error searching filesystem: " << fsStatus; in findUsbDevice()
222 LOG(ERROR) << "Bus name " << config.name << " is invalid"; in upInterface()
[all …]
/hardware/interfaces/wifi/1.4/default/
Dwifi_nan_iface.cpp61 LOG(ERROR) << "Callback invoked on an invalid object"; in WifiNanIface()
67 LOG(ERROR) << "Failed to convert nan response header"; in WifiNanIface()
77 LOG(ERROR) << "Failed to invoke the callback"; in WifiNanIface()
87 LOG(ERROR) << "Failed to invoke the callback"; in WifiNanIface()
100 LOG(ERROR) << "Failed to invoke the callback"; in WifiNanIface()
110 LOG(ERROR) << "Failed to invoke the callback"; in WifiNanIface()
121 LOG(ERROR) << "Failed to invoke the callback"; in WifiNanIface()
134 LOG(ERROR) << "Failed to invoke the callback"; in WifiNanIface()
145 LOG(ERROR) << "Failed to invoke the callback"; in WifiNanIface()
155 LOG(ERROR) << "Failed to invoke the callback"; in WifiNanIface()
[all …]
Dwifi.cpp116 LOG(ERROR) << "Failed to invoke onStart callback"; in startInternal()
123 LOG(ERROR) << "Failed to invoke onFailure callback"; in startInternal()
126 LOG(ERROR) << "Wifi HAL start failed"; in startInternal()
151 LOG(ERROR) << "Failed to invoke onStop callback"; in stopInternal()
158 LOG(ERROR) << "Failed to invoke onFailure callback"; in stopInternal()
161 LOG(ERROR) << "Wifi HAL stop failed"; in stopInternal()
188 LOG(ERROR) << "Failed to initialize firmware mode controller"; in initializeModeControllerAndLegacyHal()
193 LOG(ERROR) << "Failed to initialize legacy HAL: " in initializeModeControllerAndLegacyHal()
206 LOG(ERROR) << "Failed to stop legacy HAL: " in stopLegacyHalAndDeinitializeModeController()
211 LOG(ERROR) << "Failed to deinitialize firmware mode controller"; in stopLegacyHalAndDeinitializeModeController()
Dwifi_chip.cpp132 PLOG(ERROR) << "Failed to set active wlan iface name property"; in setActiveWlanIfaceNameProperty()
145 PLOG(ERROR) << "Failed to open directory"; in removeOldFilesInternal()
159 PLOG(ERROR) << "Failed to get file stat for " << cur_file_path; in removeOldFilesInternal()
174 PLOG(ERROR) << "Error deleting file"; in removeOldFilesInternal()
198 PLOG(ERROR) << "Error writing cpio header to file " << file_name; in cpioWriteHeader()
202 PLOG(ERROR) << "Error writing filename to file " << file_name; in cpioWriteHeader()
211 PLOG(ERROR) << "Error padding 0s to file " << file_name; in cpioWriteHeader()
227 PLOG(ERROR) << "Error reading file"; in cpioWriteFileContent()
232 PLOG(ERROR) << "Error writing data to file"; in cpioWriteFileContent()
237 PLOG(ERROR) << "Unexpected read result"; in cpioWriteFileContent()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_app.c912 goto ERROR; in setAecLock()
919 goto ERROR; in setAecLock()
925 goto ERROR; in setAecLock()
928 ERROR: in setAecLock()
939 goto ERROR; in setAwbLock()
946 goto ERROR; in setAwbLock()
952 goto ERROR; in setAwbLock()
955 ERROR: in setAwbLock()
967 goto ERROR; in set3Acommand()
974 goto ERROR; in set3Acommand()
[all …]
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DHintManager.cc37 LOG(ERROR) << "NodeLooperThread not present"; in ValidateHint()
99 LOG(ERROR) << "Failed to dump fd: " << fd; in DumpToFd()
104 LOG(ERROR) << "Failed to dump fd: " << fd; in DumpToFd()
118 LOG(ERROR) << "Failed to read JSON config from " << config_path; in GetFromJSON()
124 LOG(ERROR) << "Failed to parse Nodes section from " << config_path; in GetFromJSON()
131 LOG(ERROR) << "Failed to parse Actions section from " << config_path; in GetFromJSON()
157 LOG(ERROR) << "Failed to parse JSON config"; in ParseNodes()
166 LOG(ERROR) << "Failed to read " in ParseNodes()
174 LOG(ERROR) << "Duplicate Node[" << i << "]'s Name"; in ParseNodes()
182 LOG(ERROR) << "Failed to read " in ParseNodes()
[all …]
/hardware/interfaces/automotive/can/1.0/default/libnetdevice/
Dcan.cpp40 LOG(ERROR) << "Interface " << ifname << " doesn't exists"; in socket()
46 LOG(ERROR) << "Failed to create CAN socket"; in socket()
51 PLOG(ERROR) << "Can't receive error frames, CAN setsockpt failed"; in socket()
56 LOG(ERROR) << "Couldn't put CAN socket in non-blocking mode"; in socket()
61 LOG(ERROR) << "Can't bind to CAN interface " << ifname; in socket()
76 LOG(ERROR) << "Can't find interface " << ifname; in setBitrate()
DNetlinkSocket.cpp26 PLOG(ERROR) << "Can't open Netlink socket"; in NetlinkSocket()
35 PLOG(ERROR) << "Can't bind Netlink socket"; in NetlinkSocket()
60 PLOG(ERROR) << "Can't send Netlink message"; in send()
82 PLOG(ERROR) << "Failed to receive Netlink message"; in receiveAck()
88 LOG(ERROR) << "Failed to receive Netlink message: truncated"; in receiveAck()
103 LOG(ERROR) << "Received Netlink error message: " << nlerr->error; in receiveAck()
/hardware/interfaces/automotive/evs/1.1/default/
DEvsUltrasonicsArray.cpp147 LOG(ERROR) << "SurroundViewHidlTest getService ashmem failed"; in EvsUltrasonicsArray()
174 LOG(ERROR) << "Error - releasing data frame despite remote ownership"; in forceShutdown()
209 LOG(ERROR) << "Ignoring setMaxFramesInFlight with less than one buffer requested"; in setMaxFramesInFlight()
229 LOG(ERROR) << "ignoring doneWithFrame called with invalid dataFrameId " in doneWithDataFrame()
235 LOG(ERROR) << "ignoring doneWithFrame called on frame " << dataFrameDesc.dataFrameId in doneWithDataFrame()
267 LOG(ERROR) << "ignoring startStream call when a stream is already running."; in startStream()
274 LOG(ERROR) in startStream()
322 LOG(ERROR) << "Ignoring request to set buffer count to zero"; in setAvailableFrames_Locked()
326 LOG(ERROR) << "Rejecting buffer request in excess of internal limit"; in setAvailableFrames_Locked()
339 LOG(ERROR) << "Rolling back to previous frame queue size"; in setAvailableFrames_Locked()
[all …]
/hardware/google/pixel/thermal/utils/
Dconfig_parser.cpp66 LOG(ERROR) << "Failed to read JSON config from " << config_path; in ParseSensorInfo()
74 LOG(ERROR) << "Failed to parse JSON config"; in ParseSensorInfo()
86 LOG(ERROR) << "Failed to read " in ParseSensorInfo()
94 LOG(ERROR) << "Duplicate Sensor[" << i << "]'s Name"; in ParseSensorInfo()
104 LOG(ERROR) << "Invalid " in ParseSensorInfo()
121 LOG(ERROR) << "Invalid " in ParseSensorInfo()
131 LOG(ERROR) << "Invalid " in ParseSensorInfo()
152 LOG(ERROR) << "Invalid " in ParseSensorInfo()
172 LOG(ERROR) << "Invalid " in ParseSensorInfo()
193 LOG(ERROR) << "Invalid " in ParseSensorInfo()
[all …]
/hardware/interfaces/automotive/evs/1.1/vts/functional/
DFrameHandlerUltrasonics.cpp47 LOG(ERROR) << "Received unexpected event"; in notify()
88 LOG(ERROR) << "Size mismatch of receiversIdList and receiversReadingsCountList"; in DataFrameValidator()
93 LOG(ERROR) << "Data frame does not valid hidl memory"; in DataFrameValidator()
103 LOG(ERROR) << "Total waveform data bytes in desc exceed shared memory size"; in DataFrameValidator()
109 LOG(ERROR) << "Failed to map hidl memory"; in DataFrameValidator()
115 LOG(ERROR) << "Failed getPointer from mapped shared memory"; in DataFrameValidator()
125 LOG(ERROR) << "Receiver Id mismatch"; in DataFrameValidator()
130 LOG(ERROR) << "Resonance reading is not in range [0, 1]"; in DataFrameValidator()
/hardware/interfaces/automotive/can/1.0/tools/configurator/
Dcanprototools.cpp53 LOG(ERROR) << "Can't open " << filepath << " for reading"; in parseConfigFile()
71 LOG(ERROR) << "Failed to parse (text format) " << filepath; in parseConfigFile()
75 LOG(ERROR) << "Failed to parse (binary format) " << filepath; in parseConfigFile()
90 LOG(ERROR) << "Invalid config: native type bus must have an iface name xor a " in fromPbBus()
105 LOG(ERROR) << "Invalid config: slcan type bus must have a tty name"; in fromPbBus()
119 LOG(ERROR) << "Invalid config: native type bus must have an iface name"; in fromPbBus()
128 LOG(ERROR) << "Interface index out of range: " << index; in fromPbBus()
135 LOG(ERROR) << "Invalid config: bad interface type for " << bus_cfg.name; in fromPbBus()
/hardware/google/pixel/thermal/
Dthermal-helper.cpp70 LOG(ERROR) << "Error reading Cpu present file: " << kCpuPresentFile; in getNumberOfCores()
75 LOG(ERROR) << "Error parsing Cpu present file content: " << file; in getNumberOfCores()
81 LOG(ERROR) << "Error parsing Cpu present min and max: " << min_core << " - " << max_core; in getNumberOfCores()
93 LOG(ERROR) << "Error reading Cpu usage file: " << kCpuUsageFile; in parseCpuUsagesFileAndAssignUsages()
118 LOG(ERROR) << "Could not open Cpu online file: " << cpu_online_path; in parseCpuUsagesFileAndAssignUsages()
128 LOG(ERROR) << "Unexpected cpu number: " << words[0]; in parseCpuUsagesFileAndAssignUsages()
157 PLOG(ERROR) << "Failed to read from " << path; in parseThermalPathMap()
226 LOG(ERROR) << "readCoolingDevice: failed to read cooling_device: " << cooling_device; in readCoolingDevice()
244 LOG(ERROR) << "readTemperature: sensor not found: " << sensor_name; in readTemperature()
249 LOG(ERROR) << "readTemperature: failed to read sensor: " << sensor_name; in readTemperature()
[all …]
/hardware/interfaces/boot/1.1/default/boot_control/
Dlibboot_control.cpp83 PLOG(ERROR) << "failed to open " << misc_device; in LoadBootloaderControl()
87 PLOG(ERROR) << "failed to lseek " << misc_device; in LoadBootloaderControl()
91 PLOG(ERROR) << "failed to read " << misc_device; in LoadBootloaderControl()
101 PLOG(ERROR) << "failed to open " << misc_device; in UpdateAndSaveBootloaderControl()
105 PLOG(ERROR) << "failed to lseek " << misc_device; in UpdateAndSaveBootloaderControl()
109 PLOG(ERROR) << "failed to write " << misc_device; in UpdateAndSaveBootloaderControl()
203 LOG(ERROR) << "Slot suffix property is not set"; in Init()
211 LOG(ERROR) << "Could not find bootloader message block device: " << err; in Init()
217 LOG(ERROR) << "Failed to load bootloader control block"; in Init()
365 LOG(ERROR) << "Could not read merge status: " << err; in InitMiscVirtualAbMessageIfNeeded()
[all …]
/hardware/google/pixel/health/
DCycleCountBackupRestore.cpp54 LOG(ERROR) << "Failed to read " << serial_path_; in CheckSerial()
59 LOG(ERROR) << "Failed to read " << kPersistSerial; in CheckSerial()
66 LOG(ERROR) << "Write to " << kPersistSerial << " error: " << strerror(errno); in CheckSerial()
96 LOG(ERROR) << "Failed to read " << path; in Read()
103 LOG(ERROR) << "data format \"" << buffer << "\" is wrong in " << path; in Read()
124 LOG(ERROR) << "Write to " << path << " error: " << strerror(errno); in Write()
/hardware/google/pixel/pwrstats_util/dataproviders/
DRailEnergyDataProvider.cpp31 LOG(ERROR) << "unable to get power.stats HAL service"; in getImpl()
54 LOG(ERROR) << __func__ << ": no rail information available"; in getImpl()
63 LOG(ERROR) << __func__ << ": unable to get rail energy"; in getImpl()
76 LOG(ERROR) << __func__ << ": failed to get rail energy stats"; in getImpl()
93 LOG(ERROR) << __func__ << ": mismatched data"; in getImpl()
102 LOG(ERROR) << __func__ << ": mismatched data"; in getImpl()

1234567