Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 263) sorted by relevance

1234567891011

/device/google/bonito/vibrator/
Dservice.cpp81 int error = errno; in loadCalibrationData() local
82 ALOGE("Failed to open %s (%d): %s", AUTOCAL_FILEPATH, error, strerror(error)); in loadCalibrationData()
88 int error = errno; in loadCalibrationData() local
89 ALOGE("Failed to open %s (%d): %s", OL_LRA_PERIOD_FILEPATH, error, strerror(error)); in loadCalibrationData()
95 int error = errno; in loadCalibrationData() local
96 ALOGE("Failed to open %s (%d): %s", CALIBRATION_FILEPATH, error, strerror(error)); in loadCalibrationData()
148 int error = errno; in registerVibratorService() local
149 ALOGE("Failed to open %s (%d): %s", ACTIVATE_PATH, error, strerror(error)); in registerVibratorService()
150 return -error; in registerVibratorService()
155 int error = errno; in registerVibratorService() local
[all …]
/device/google/wahoo/vibrator/
Dservice.cpp71 int error = errno; in loadCalibrationData() local
72 ALOGE("Failed to open %s (%d): %s", AUTOCAL_FILEPATH, error, in loadCalibrationData()
73 strerror(error)); in loadCalibrationData()
79 int error = errno; in loadCalibrationData() local
80 ALOGE("Failed to open %s (%d): %s", OL_LRA_PERIOD_FILEPATH, error, in loadCalibrationData()
81 strerror(error)); in loadCalibrationData()
87 int error = errno; in loadCalibrationData() local
88 ALOGE("Failed to open %s (%d): %s", CALIBRATION_FILEPATH, error, in loadCalibrationData()
89 strerror(error)); in loadCalibrationData()
125 int error = errno; in registerVibratorService() local
[all …]
/device/generic/opengl-transport/host/commands/emugen/
DParser.cpp31 std::string* error) { in parseTypeTokens() argument
61 if (error != NULL) { in parseTypeTokens()
62 *error = "Unexpected empty token !?"; in parseTypeTokens()
71 if (error != NULL) { in parseTypeTokens()
74 *error = "Empty parameter declaration!"; in parseTypeTokens()
82 *error = "Unexpected '*' before type name"; in parseTypeTokens()
120 std::string* error) { in parseTypeDeclaration() argument
126 if (!parseTypeTokens(input, &tokens, error)) { in parseTypeDeclaration()
138 *error = "Missing type name"; in parseTypeDeclaration()
150 std::string* error) { in parseParameterDeclaration() argument
[all …]
DParser_unittest.cpp64 std::string varname, vartype, error; in TEST() local
72 &error)) << text; in TEST()
76 EXPECT_STREQ(kData[n].expectedError, error.c_str()) << text; in TEST()
103 std::string varname, vartype, error; in TEST() local
112 &error)) << text; in TEST()
117 EXPECT_STREQ(kData[n].expectedError, error.c_str()) << text; in TEST()
/device/google/bonito/gpt-utils/
Dgpt-utils.cpp413 goto error; in gpt_get_state()
418 goto error; in gpt_get_state()
426 goto error; in gpt_get_state()
432 goto error; in gpt_get_state()
445 error: in gpt_get_state()
477 goto error; in gpt_set_state()
482 goto error; in gpt_set_state()
490 goto error; in gpt_set_state()
495 goto error; in gpt_set_state()
503 goto error; in gpt_set_state()
[all …]
/device/google/coral/gpt-utils/
Dgpt-utils.cpp413 goto error; in gpt_get_state()
418 goto error; in gpt_get_state()
426 goto error; in gpt_get_state()
432 goto error; in gpt_get_state()
445 error: in gpt_get_state()
477 goto error; in gpt_set_state()
482 goto error; in gpt_set_state()
490 goto error; in gpt_set_state()
495 goto error; in gpt_set_state()
503 goto error; in gpt_set_state()
[all …]
/device/google/crosshatch/gpt-utils/
Dgpt-utils.cpp413 goto error; in gpt_get_state()
418 goto error; in gpt_get_state()
426 goto error; in gpt_get_state()
432 goto error; in gpt_get_state()
445 error: in gpt_get_state()
477 goto error; in gpt_set_state()
482 goto error; in gpt_set_state()
490 goto error; in gpt_set_state()
495 goto error; in gpt_set_state()
503 goto error; in gpt_set_state()
[all …]
/device/generic/goldfish/network/wifi_forwarder/
Dnetlink_socket.cpp39 return Result::error("Netlink socket already initialized"); in init()
43 return Result::error("Netlink socket failed to allocate callbacks"); in init()
47 return Result::error("Failed to allocate netlink socket"); in init()
55 return Result::error("Failed to set buffer sizes: %s", in setBufferSizes()
64 return Result::error("Failed to set OnMsgIn callback"); in setOnMsgInCallback()
73 return Result::error("Failed to set OnMsgOut callback"); in setOnMsgOutCallback()
83 return Result::error("Failed to set OnSeqCheck callback"); in setOnSeqCheckCallback()
91 return Result::error("Failed to set OnAck callback"); in setOnAckCallback()
101 return Result::error("Failed to set OnError callback"); in setOnErrorCallback()
109 return Result::error("WifiNetlinkForwarder socket connect failed: %d", in connectGeneric()
/device/generic/goldfish/dhcp/client/
Dinterface.cpp53 return Result::error("Interface initialized more than once"); in init()
58 return Result::error("Failed to create interface socket for '%s': %s", in init()
100 return Result::error("Failed to set interface MTU %u for '%s': %s", in setMtu()
143 return Result::error("Unable to set interface address: %s", in setAddress()
149 return Result::error("Unable to read netlink response: %s", in setAddress()
154 return Result::error("Received incomplete response from netlink"); in setAddress()
159 return Result::error("Recieved an error from netlink but the " in setAddress()
163 if (err->error) { in setAddress()
164 return Result::error("Could not set interface address: %s", in setAddress()
165 strerror(-err->error)); in setAddress()
[all …]
/device/google/cuttlefish/guest/hals/camera/
DGrallocModule.cpp52 V3Error error = V3Error::NONE; in import() local
56 error = tmp_err; in import()
57 if (error == V3Error::NONE) { in import()
61 if (!ret.isOk() || error != V3Error::NONE) { in import()
119 V3Error error = V3Error::NONE; in lock() local
125 error = tmp_err; in lock()
130 if (!ret.isOk() || error != V3Error::NONE) { in lock()
164 V3Error error; in lock_ycbcr() local
169 error = tmp_err; in lock_ycbcr()
175 if (!ret.isOk() || error != V3Error::NONE) { in lock_ycbcr()
[all …]
/device/google/cuttlefish/guest/hals/gatekeeper/remote/
Dremote_gatekeeper.cpp75 auto error = Send(request, &response); in enroll() local
76 if (error != ERROR_NONE) { in enroll()
77 LOG(ERROR) << "Enroll request gave error: " << error; in enroll()
79 } else if (response.error == ERROR_RETRY) { in enroll()
82 } else if (response.error != ERROR_NONE) { in enroll()
83 LOG(ERROR) << "Enroll response has an error: " << response.error; in enroll()
114 auto error = Send(request, &response); in verify() local
115 if (error != ERROR_NONE) { in verify()
116 LOG(ERROR) << "Verify request gave error: " << error; in verify()
118 } else if (response.error == ERROR_RETRY) { in verify()
[all …]
/device/google/cuttlefish/host/frontend/webrtc/lib/
Dclient_handler.cpp43 ValidationResult(const std::string &error) : error_(error) {} in ValidationResult() argument
46 std::string error() const { return error_.value_or(""); } in error() function in cuttlefish::webrtc_streaming::__anon0ee9f8f90111::ValidationResult
89 void OnFailure(webrtc::RTCError error) override { in OnFailure() argument
92 client_handler->OnCreateSDPFailure(error); in OnFailure()
109 void OnFailure(webrtc::RTCError error) override { in OnFailure() argument
112 client_handler->OnSetSDPFailure(error); in OnFailure()
124 std::function<void(webrtc::RTCError error)> on_error) in CvdOnSetRemoteDescription()
127 void OnSetRemoteDescriptionComplete(webrtc::RTCError error) override { in OnSetRemoteDescriptionComplete() argument
128 on_error_(error); in OnSetRemoteDescriptionComplete()
132 std::function<void(webrtc::RTCError error)> on_error_;
[all …]
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c440 if (err < 0) goto error; in callFromCLCCLine()
443 if (err < 0) goto error; in callFromCLCCLine()
446 if (err < 0) goto error; in callFromCLCCLine()
449 if (err < 0) goto error; in callFromCLCCLine()
452 if (err < 0) goto error; in callFromCLCCLine()
455 if (err < 0) goto error; in callFromCLCCLine()
460 if (err < 0) goto error; in callFromCLCCLine()
477 if (err < 0) goto error; in callFromCLCCLine()
484 error: in callFromCLCCLine()
601 if (err < 0 || p_response->success == 0) goto error; in requestRadioPower()
[all …]
/device/generic/goldfish/network/netmgr/
Dbridge.cpp61 return Result::error("Bridge already initialized"); in createSocket()
65 return Result::error("Unable to create socket for bridge: %s", in createSocket()
77 return Result::error("Cannot create bridge %s: %s", in createBridge()
87 return Result::error("Unable to get bridge %s interface index", in createBridge()
94 return Result::error("Unable to get interface flags for bridge %s: %s", in createBridge()
107 return Result::error("Unable to set interface flags for bridge %s: %s", in createBridge()
122 return Result::error("Bridge unable to %s interface '%s', no such " in doInterfaceOperation()
130 return Result::error("Bridge unable to %s interface '%s': %s", in doInterfaceOperation()
Dmonitor.cpp124 return Result::error("Monitor already initialized"); in openSocket()
129 return Result::error("Monitor failed to open socket: %s", in openSocket()
140 return Result::error("Monitor failed to bind socket: %s", in openSocket()
149 return Result::error("Monitor not initialized yet"); in requestInterfaces()
171 return Result::error("Failed to request interfaces: %s", in requestInterfaces()
/device/generic/goldfish/network/netmgr/commands/
Dwifi_command.cpp78 return Result::error("Invalid wifi command '%s'", args); in onCommand()
83 return Result::error("Empty wifi command"); in onCommand()
89 return Result::error("Missing argument to command '%s'", in onCommand()
100 return Result::error("Unknown wifi command '%s'", subCommand.c_str()); in onCommand()
110 return Result::error("Config failure: could not open template: %s", in writeConfig()
116 return Result::error("Config failure: could not open target: %s", in writeConfig()
124 return Result::error("Config failure: Error reading template: %s", in writeConfig()
130 return Result::error("Config failure: Error writing target: %s", in writeConfig()
190 return Result::error("Unknown SSID '%s'", arguments[0].c_str()); in onBlock()
199 return Result::error("Unknown SSID '%s'", arguments[0].c_str()); in onUnblock()
/device/google/coral/json-c/
Dbits.h25 #define error_ptr(error) ((void*)error) argument
29 #define error_description(error) (json_tokener_get_error(error)) argument
/device/google/crosshatch/json-c/
Dbits.h25 #define error_ptr(error) ((void*)error) argument
29 #define error_description(error) (json_tokener_get_error(error)) argument
/device/google/bonito/json-c/
Dbits.h25 #define error_ptr(error) ((void*)error) argument
29 #define error_description(error) (json_tokener_get_error(error)) argument
/device/generic/goldfish/radio/ril/
Dreference-ril.c329 if (err < 0) goto error; in callFromCLCCLine()
332 if (err < 0) goto error; in callFromCLCCLine()
335 if (err < 0) goto error; in callFromCLCCLine()
338 if (err < 0) goto error; in callFromCLCCLine()
341 if (err < 0) goto error; in callFromCLCCLine()
344 if (err < 0) goto error; in callFromCLCCLine()
349 if (err < 0) goto error; in callFromCLCCLine()
366 if (err < 0) goto error; in callFromCLCCLine()
373 error: in callFromCLCCLine()
509 if (err < 0 || p_response->success == 0) goto error; in requestRadioPower()
[all …]
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/assets/js/
Dcf_webrtc.js56 console.error('Received unexpected ADB message');
169 console.error('WebSocket error:', evt);
183 if (message.error) {
184 console.error(message.error);
196 console.error('Received unsolicited device info');
203 console.error('Unrecognized message type from server: ', type);
204 console.error(message);
215 console.error('Receive offer, but nothing is wating for it');
226 console.error('Received ice candidate but nothing is waiting for it');
230 console.error('Unrecognized message type from device: ', type);
[all …]
/device/google/cuttlefish/guest/hals/keymaster/remote/
Dremote_keymaster4_device.cpp281 _hidl_cb(legacy_enum_conversion(response.error), params); in getHmacSharingParameters()
301 if (response.error == KM_ERROR_OK) { in computeSharedHmac()
305 _hidl_cb(legacy_enum_conversion(response.error), sharing_check); in computeSharedHmac()
332 _hidl_cb(legacy_enum_conversion(response.error), token); in verifyAuthorization()
345 return legacy_enum_conversion(response.error); in addRngEntropy()
358 if (response.error == KM_ERROR_OK) { in generateKey()
363 _hidl_cb(legacy_enum_conversion(response.error), resultKeyBlob, resultCharacteristics); in generateKey()
379 if (response.error == KM_ERROR_OK) { in getKeyCharacteristics()
383 _hidl_cb(legacy_enum_conversion(response.error), resultCharacteristics); in getKeyCharacteristics()
401 if (response.error == KM_ERROR_OK) { in importKey()
[all …]
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dgralloc_utils.cpp133 ErrorV3 error; in Import() local
136 error = err; in Import()
142 if (!ret.isOk() || error != ErrorV3::NONE) { in Import()
194 ErrorV3 error = ErrorV3::NONE; in Lock() local
202 error = lock_error; in Lock()
209 error = ErrorV3::NO_RESOURCES; in Lock()
212 if (error != ErrorV3::NONE) { in Lock()
280 ErrorV3 error = ErrorV3::NONE; in LockYCbCr() local
287 error = lock_error; in LockYCbCr()
294 error = ErrorV3::NO_RESOURCES; in LockYCbCr()
[all …]
/device/google/cuttlefish/host/commands/secure_env/
Dtpm_keymaster_context.cpp147 auto error = ParseKeyBlob(blob_to_upgrade, upgrade_params, &key); in UpgradeKeyBlob() local
148 if (error != KM_ERROR_OK) { in UpgradeKeyBlob()
149 return error; in UpgradeKeyBlob()
272 keymaster_error_t error = KM_ERROR_OK; in GenerateAttestation() local
288 auto attestation_chain = keymaster::getAttestationChain(key_algorithm, &error); in GenerateAttestation()
289 if (error != KM_ERROR_OK) { in GenerateAttestation()
290 return error; in GenerateAttestation()
293 auto attestation_key = keymaster::getAttestationKey(key_algorithm, &error); in GenerateAttestation()
294 if (error != KM_ERROR_OK) { in GenerateAttestation()
295 return error; in GenerateAttestation()
/device/generic/goldfish/dhcp/common/
Dsocket.cpp77 return Result::error("Socket already open"); in open()
81 return Result::error("Failed to open socket: %s", strerror(errno)); in open()
88 return Result::error("Socket not open"); in bind()
95 return Result::error("Unable to bind raw socket: %s", strerror(errno)); in bind()
126 return Result::error("Socket not open"); in sendOnInterface()
161 return Result::error("Failed to send packet: %s", strerror(errno)); in sendOnInterface()
229 return Result::error("Failed to send message: %s", strerror(errno)); in sendRawUdp()
249 return Result::error("Error receiving on socket: %s", strerror(errno)); in receiveFromInterface()
283 return Result::error("Unable to read from socket: %s", strerror(errno)); in receiveRawUdp()
301 return Result::error("Socket not open"); in enableOption()
[all …]

1234567891011