Searched refs:code (Results 51 - 75 of 123) sorted by relevance

12345

/system/update_engine/
H A Dupdate_engine_client.cc92 // flags. Returns the exit code of the program of kContinueRunning if it
213 ErrorCode code = ErrorCode::kSuccess; local
215 code = static_cast<ErrorCode>(last_attempt_error);
219 << ", last error code is " << ErrorCodeToString(code) << "("
555 ErrorCode code = static_cast<ErrorCode>(last_attempt_error); local
560 ErrorCodeToString(code).c_str());
H A Dupdate_engine_client_android.cc97 ErrorCode code = static_cast<ErrorCode>(error_code); local
98 LOG(INFO) << "onPayloadApplicationComplete(" << utils::ErrorCodeToString(code)
100 client_->ExitWhenIdle(code == ErrorCode::kSuccess ? EX_OK : 1);
H A Dupdate_attempter_android.cc287 ErrorCode code) {
290 switch (code) {
316 TerminateUpdateAndNotify(code);
326 ErrorCode code) {
333 if (code != ErrorCode::kSuccess) {
286 ProcessingDone(const ActionProcessor* processor, ErrorCode code) argument
324 ActionCompleted(ActionProcessor* processor, AbstractAction* action, ErrorCode code) argument
/system/tpm/trunks/
H A Dresource_manager.cc113 if (command_info.code == TPM_CC_FlushContext) {
135 if (command_info.code == TPM_CC_ContextLoad) {
162 if (!FixWarnings(command_info, response_info.code)) {
167 if (response_info.code == TPM_RC_SUCCESS) {
181 if (command_info.code == TPM_CC_ContextSave) {
505 result = Parse_TPM_CC(&buffer, &command_info->code, nullptr);
509 if (command_info->code < TPM_CC_FIRST || command_info->code > TPM_CC_LAST) {
513 size_t number_of_handles = GetNumberOfRequestHandles(command_info->code);
591 result = Parse_TPM_RC(&buffer, &response_info->code, nullpt
[all...]
/system/core/fastboot/
H A DAndroid.mk40 LOCAL_CFLAGS += -Wall -Wextra -Werror -Wunreachable-code
75 # and do not use code in external/f2fs-tools.
125 LOCAL_CFLAGS += -Wall -Wextra -Werror -Wunreachable-code
/system/media/brillo/audio/audioservice/test/
H A Daudio_device_handler_test.cpp172 event.code = 0;
184 event.code = SW_MICROPHONE_INSERT;
195 event.code = SW_HEADPHONE_INSERT;
206 event.code = SW_MICROPHONE_INSERT;
217 event.code = SW_HEADPHONE_INSERT;
228 event.code = SW_MAX;
H A Daudio_volume_handler_test.cpp124 event.code = 0;
133 event.code = KEY_VOLUMEUP;
142 event.code = KEY_VOLUMEDOWN;
/system/core/healthd/
H A Dhealthd_mode_charger.cpp573 static int set_key_callback(struct charger *charger, int code, int value) argument
578 if (code > KEY_MAX)
582 if (charger->keys[code].down == down)
588 charger->keys[code].timestamp = now;
589 charger->keys[code].down = down;
590 charger->keys[code].pending = true;
592 LOGV("[%" PRId64 "] key[%d] down\n", now, code);
594 int64_t duration = now - charger->keys[code].timestamp;
598 now, code, secs, msecs);
609 set_key_callback(charger, ev->code, e
622 process_key(struct charger *charger, int code, int64_t now) argument
[all...]
/system/bt/doc/
H A Dpower_management.md7 by the BTM HCI interfacing code, with results being posted back to the PM
8 code via the BTA workqueue thread.
27 The PM code makes calls into the BTM module to set various power
40 states it wants ACTIVE, the power management code will change to ACTIVE.
49 During a lookup attempt, the code iterates over the `bta_dm_pm_cfg` array,
83 At this point, the power managment code is basically done until the first set of
167 checks the HCI status code:
/system/bt/vendor_libs/
H A DAndroid.mk9 # parameters in all the code.
/system/core/trusty/storage/proxy/
H A Dproxy.c51 static void show_usage_and_exit(int code) argument
54 exit(code);
/system/media/camera/docs/
H A DACameraMetadata.mako79 * End generated code
/system/bt/embdrv/sbc/decoder/srce/
H A Dreadsamplesjoint.inc26 \code
42 \code
/system/core/libdiskconfig/include/diskconfig/
H A Ddiskconfig.h74 uint8_t code[440]; /* bytes 0-439 */ member in struct:pc_boot_record
/system/extras/tests/sdcard/
H A Dsysutil.cpp8 * * Redistributions of source code must retain the above copyright
390 void syncAndDropCaches(int code) argument
394 writeIntToFile(kDropCaches, code);
399 void fsyncAndDropCaches(int fd, int code) argument
403 writeIntToFile(kDropCaches, code);
/system/libhidl/transport/token/1.0/utils/include/hidl/
H A DHybridInterface.h89 * `transact()` to send over tokens, with `code` (the first argument of
122 virtual status_t onTransact(uint32_t code,
241 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) {
242 if (code == GET_HAL_TOKEN) {
253 return BNINTERFACE::onTransact(code, data, reply, flags);
240 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/system/libhwbinder/include/hwbinder/
H A DBpHwBinder.h35 virtual status_t transact( uint32_t code,
/system/update_engine/common/
H A Daction.h32 // is based on the KSAction* classes from the Google Update Engine code at
33 // http://code.google.com/p/update-engine/ . The author of this file sends
38 // http://code.google.com/p/update-engine/wiki/ActionProcessor
49 // of what fired and calls the appropriate code to handle it. As such, all the
50 // code in the Action* classes and the code that is calls is non-blocking.
88 // Begin performing the action. Since this code is asynchronous, when this
101 virtual void ActionCompleted(ErrorCode code) {} argument
H A Daction_processor_unittest.cc68 ErrorCode code) {
80 ErrorCode code) {
84 action_exit_code_ = code;
67 ProcessingDone(const ActionProcessor* processor, ErrorCode code) argument
78 ActionCompleted(ActionProcessor* processor, AbstractAction* action, ErrorCode code) argument
H A Dutils.h274 // This method transforms the given error code to be suitable for UMA and
279 ErrorCode GetBaseErrorCode(ErrorCode code);
378 void set_code(ErrorCode code) { code_ = code; } argument
/system/core/gatekeeperd/
H A DIGateKeeperService.cpp30 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) {
31 switch(code) {
162 return BBinder::onTransact(code, data, reply, flags);
29 onTransact( uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) argument
/system/core/storaged/
H A Dstoraged_service.cpp55 status_t BnStoraged::onTransact(uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) { argument
56 switch(code) {
71 return BBinder::onTransact(code, data, reply, flags);
/system/update_engine/payload_consumer/
H A Dfilesystem_verifier_action.cc73 Cleanup(ErrorCode::kSuccess); // error code is ignored if canceled_ is true.
80 void FilesystemVerifierAction::Cleanup(ErrorCode code) { argument
87 if (code == ErrorCode::kSuccess && HasOutputPipe())
89 processor_->ActionComplete(this, code);
250 // code to reflect the error in target partition.
/system/core/init/
H A Dbuiltins.cpp420 // Unexpected error code. We will continue anyway.
450 /* Queue event based on fs_mgr return code.
452 * code: return code of fs_mgr_mount_all
457 * return code is processed based on input code
459 static int queue_fs_event(int code) { argument
460 int ret = code;
461 if (code == FS_MGR_MNTALL_DEV_NEEDS_ENCRYPTION) {
463 } else if (code
[all...]
/system/bt/btif/src/
H A Dbtif_rc.cc219 /* Response status code - Unknown Error - this is changed to "reserved" */
255 uint8_t label, tBTA_AV_CODE code,
609 BTIF_TRACE_ERROR("%s: Connect failed with error code: %d", __func__,
889 BTIF_TRACE_EVENT("%s: pmeta_msg: opcode: %x, code: %x", __func__,
890 pmeta_msg->p_msg->hdr.opcode, pmeta_msg->code);
910 if (pmeta_msg->code >= AVRC_RSP_NOT_IMPL) {
918 "%s: Discard vendor dependent rsp. code: %d label: %d.", __func__,
919 pmeta_msg->code, pmeta_msg->label);
927 BTIF_TRACE_DEBUG("%s: Received vendor command.code,PDU and label: %d, %d, %d",
928 __func__, pmeta_msg->code, avrc_comman
1219 get_rsp_type_code(tAVRC_STS status, tBTA_AV_CODE code) argument
1248 send_metamsg_rsp(btif_rc_device_cb_t* p_dev, int index, uint8_t label, tBTA_AV_CODE code, tAVRC_RESPONSE* pmetamsg_resp) argument
[all...]

Completed in 1640 milliseconds

12345