/system/update_engine/ |
H A D | update_engine_client.cc | 92 // 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 D | update_engine_client_android.cc | 97 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 D | update_attempter_android.cc | 287 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 D | resource_manager.cc | 113 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 D | Android.mk | 40 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 D | audio_device_handler_test.cpp | 172 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 D | audio_volume_handler_test.cpp | 124 event.code = 0; 133 event.code = KEY_VOLUMEUP; 142 event.code = KEY_VOLUMEDOWN;
|
/system/core/healthd/ |
H A D | healthd_mode_charger.cpp | 573 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 D | power_management.md | 7 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 D | Android.mk | 9 # parameters in all the code.
|
/system/core/trusty/storage/proxy/ |
H A D | proxy.c | 51 static void show_usage_and_exit(int code) argument 54 exit(code);
|
/system/media/camera/docs/ |
H A D | ACameraMetadata.mako | 79 * End generated code
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | readsamplesjoint.inc | 26 \code 42 \code
|
/system/core/libdiskconfig/include/diskconfig/ |
H A D | diskconfig.h | 74 uint8_t code[440]; /* bytes 0-439 */ member in struct:pc_boot_record
|
/system/extras/tests/sdcard/ |
H A D | sysutil.cpp | 8 * * 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 D | HybridInterface.h | 89 * `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 D | BpHwBinder.h | 35 virtual status_t transact( uint32_t code,
|
/system/update_engine/common/ |
H A D | action.h | 32 // 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 D | action_processor_unittest.cc | 68 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 D | utils.h | 274 // 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 D | IGateKeeperService.cpp | 30 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 D | storaged_service.cpp | 55 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 D | filesystem_verifier_action.cc | 73 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 D | builtins.cpp | 420 // 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 D | btif_rc.cc | 219 /* 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...] |