/system/nfc/halimpl/bcm2079x/adaptation/ |
H A D | Mutex.cpp | 42 int res = pthread_mutex_init(&mMutex, NULL); local 43 if (res != 0) { 44 ALOGE("Mutex::Mutex: fail init; error=0x%X", res); 58 int res = pthread_mutex_destroy(&mMutex); local 59 if (res != 0) { 60 ALOGE("Mutex::~Mutex: fail destroy; error=0x%X", res); 74 int res = pthread_mutex_lock(&mMutex); local 75 if (res != 0) { 76 ALOGE("Mutex::lock: fail lock; error=0x%X", res); 90 int res local 106 int res = pthread_mutex_trylock(&mMutex); local [all...] |
H A D | CondVar.cpp | 44 int const res = pthread_cond_init(&mCondition, &attr); local 45 if (res) { 46 ALOGE("CondVar::CondVar: fail init; error=0x%X", res); 60 int const res = pthread_cond_destroy(&mCondition); local 61 if (res) { 62 ALOGE("CondVar::~CondVar: fail destroy; error=0x%X", res); 76 int const res = pthread_cond_wait(&mCondition, mutex.nativeHandle()); local 77 if (res) { 78 ALOGE("CondVar::wait: fail wait; error=0x%X", res); 126 int const res local [all...] |
/system/core/init/test_service/ |
H A D | test_service.cpp | 43 bool res = android::base::ReadFileToString("/proc/self/status", &status, true); local 44 if (!res) {
|
/system/core/storaged/ |
H A D | main.cpp | 139 std::vector<struct uid_info> res = storaged_service->dump_uids(NULL); local 141 if (res.size() == 0) { 146 sort_running_uids_info(res); 147 log_console_running_uids_info(res);
|
/system/netd/server/ |
H A D | oem_iptables_hook.cpp | 31 int res; local 33 res = android_fork_execvp(argc, (char **)argv, NULL, false, false); 34 return res;
|
H A D | IdletimerController.cpp | 154 int res; local 163 res = runIpxtablesCmd(ARRAY_SIZE(cmd1), cmd1); 165 if (res) 166 return res; 176 res = runIpxtablesCmd(ARRAY_SIZE(cmd2), cmd2); 178 return res; 182 int res = setDefaults(); local 183 return res; 187 int res = setDefaults(); local 188 return res; 194 int res; local [all...] |
H A D | ndc.cpp | 80 int res = errno; local 82 return res; 97 int res = errno; local 100 return res; 107 int res = errno; local 110 return res; 136 int res = errno; local 137 fprintf(stderr, "Error in select (%s)\n", strerror(res)); 139 return res; 150 int res local [all...] |
/system/tools/hidl/c2hal/ |
H A D | Define.cpp | 48 status_t res = parseExpression(&ast, mSlurp); local 50 if (res != 0) {
|
H A D | main.cpp | 116 int res; local 117 while ((res = getopt(argc, argv, "ghvo:p:r:")) >= 0) { 118 switch (res) { 181 int res = parseFile(&ast); local 183 if (res != 0) { 184 LOG(ERROR) << "Could not parse: " << res;
|
/system/vold/fs/ |
H A D | F2fs.cpp | 58 int res = mount(c_source, c_target, "f2fs", flags, NULL); local 59 if (res != 0) { 62 res = mount(c_source, c_target, "f2fs", flags | MS_RDONLY, NULL); 63 if (res != 0) { 69 return res;
|
/system/update_engine/payload_generator/ |
H A D | xz_android.cc | 112 SRes res = Xz_Encode(&out_writer, &in_reader, &props, nullptr /* progress */); local 113 return res == SZ_OK;
|
/system/vold/ |
H A D | PrivateVolume.cpp | 56 status_t res = ReadMetadata(mDmDevPath, mFsType, mFsUuid, mFsLabel); local 60 return res; 75 int res = cryptfs_setup_ext_volume(getId().c_str(), mRawDevPath.c_str(), local 78 if (res != 0) { 108 int res = ext4::Check(mDmDevPath, mPath); local 109 if (res == 0 || res == 1) { 122 int res = f2fs::Check(mDmDevPath); local 123 if (res == 0) {
|
H A D | PublicVolume.cpp | 54 status_t res = ReadMetadataUntrusted(mDevPath, mFsType, mFsUuid, mFsLabel); local 58 return res;
|
H A D | vdc.cpp | 157 char* res = buffer + offset; local 158 fprintf(stdout, "%s\n", res); 160 int code = atoi(strtok(res, " "));
|
/system/bt/stack/avct/ |
H A D | avct_l2c.cc | 133 AVCT_TRACE_DEBUG("avct_l2c_connect_ind_cback: 0x%x, res: %d, ch_state: %d", 234 AVCT_TRACE_DEBUG("avct_l2c_config_cfm_cback: 0x%x, ch_state: %d, res: %d", 351 uint16_t res; local 357 "avct_l2c_disconnect_cfm_cback: 0x%x, ch_state: %d, res: %d", lcid, 360 res = (p_lcb->ch_result != 0) ? p_lcb->ch_result : result; 363 avct_lcb_event(p_lcb, AVCT_LCB_LL_CLOSE_EVT, (tAVCT_LCB_EVT*)&res);
|
H A D | avct_l2c_br.cc | 360 uint16_t res; local 367 res = (p_lcb->ch_result != 0) ? p_lcb->ch_result : result; 370 avct_bcb_event(p_lcb, AVCT_LCB_LL_CLOSE_EVT, (tAVCT_LCB_EVT*)&res);
|
/system/connectivity/wifilogd/ |
H A D | os.cpp | 100 const ssize_t res = raw_os_->Recv(fd, buf, buflen, MSG_TRUNC); local 101 if (res < 0) { 105 // Due to the MSG_TRUNC flag, |res| may reasonably be larger than 106 // |buflen|. In such cases, |res| indicates the full size of the datagram, 109 return {res, 0}; 119 const ssize_t res = raw_os_->Write(fd, buf, buflen); local 120 if (res < 0) { 124 CHECK(res <= 128 // Note that |res| may be less than buflen. However, a) a short write is 132 return {res, [all...] |
/system/update_engine/common/ |
H A D | hash_calculator.cc | 107 off_t res = calc.UpdateFile(name, length); local 108 if (res < 0) { 109 return res; 115 return res;
|
/system/bt/stack/avdt/ |
H A D | avdt_l2c.cc | 78 uint8_t res) { 83 AVDT_TRACE_DEBUG("avdt_sec_check_complete_term res: %d", res); 93 if (res == BTM_SUCCESS) { 133 uint8_t res) { 138 AVDT_TRACE_DEBUG("avdt_sec_check_complete_orig res: %d", res); 143 if (res == BTM_SUCCESS) { 75 avdt_sec_check_complete_term(BD_ADDR bd_addr, tBT_TRANSPORT transport, UNUSED_ATTR void* p_ref_data, uint8_t res) argument 130 avdt_sec_check_complete_orig(BD_ADDR bd_addr, tBT_TRANSPORT trasnport, UNUSED_ATTR void* p_ref_data, uint8_t res) argument
|
/system/bt/stack/mcap/ |
H A D | mca_l2c.cc | 71 void* p_ref_data, uint8_t res) { 76 MCA_TRACE_DEBUG("mca_sec_check_complete_term res: %d", res); 78 if (res == BTM_SUCCESS) { 116 void* p_ref_data, uint8_t res) { 120 MCA_TRACE_DEBUG("mca_sec_check_complete_orig res: %d", res); 122 if (res == BTM_SUCCESS) { 69 mca_sec_check_complete_term(BD_ADDR bd_addr, UNUSED_ATTR tBT_TRANSPORT transport, void* p_ref_data, uint8_t res) argument 114 mca_sec_check_complete_orig(UNUSED_ATTR BD_ADDR bd_addr, UNUSED_ATTR tBT_TRANSPORT transport, void* p_ref_data, uint8_t res) argument
|
/system/bt/stack/rfcomm/ |
H A D | rfc_utils.cc | 333 void* p_ref_data, uint8_t res) { 342 rfc_port_sm_execute((tPORT*)p_ref_data, RFC_EVENT_SEC_COMPLETE, &res); 331 rfc_sec_check_complete(UNUSED_ATTR BD_ADDR bd_addr, UNUSED_ATTR tBT_TRANSPORT transport, void* p_ref_data, uint8_t res) argument
|
/system/bt/stack/smp/ |
H A D | smp_api.cc | 239 * res - result of the operation SMP_SUCCESS if success. 246 void SMP_SecurityGrant(BD_ADDR bd_addr, uint8_t res) { argument 259 smp_br_state_machine_event(&smp_cb, SMP_BR_API_SEC_GRANT_EVT, &res); 270 smp_sm_event(&smp_cb, SMP_API_SEC_GRANT_EVT, &res); 282 * res - result of the operation SMP_SUCCESS if success 288 void SMP_PasskeyReply(BD_ADDR bd_addr, uint8_t res, uint32_t passkey) { argument 292 SMP_TRACE_EVENT("SMP_PasskeyReply: Key: %d Result:%d", passkey, res); 310 if (passkey > BTM_MAX_PASSKEY_VAL || res != SMP_SUCCESS) { 336 * res - comparison result SMP_SUCCESS if success 339 void SMP_ConfirmReply(BD_ADDR bd_addr, uint8_t res) { argument 382 SMP_OobDataReply(BD_ADDR bd_addr, tSMP_STATUS res, uint8_t len, uint8_t* p_data) argument [all...] |
/system/core/libcutils/ |
H A D | fs.c | 191 int res = 0; local 198 res = -EINVAL; 204 res = -errno; 216 res = -EINVAL; 228 res = -errno; 234 res = -errno; 240 res = -ELOOP; 245 res = -ENOTDIR; 254 res = -errno; 271 return res; [all...] |
H A D | qtaguid.c | 59 int fd, res, savedErrno; local 68 res = TEMP_FAILURE_RETRY(write(fd, cmd, strlen(cmd))); 69 if (res < 0) { 74 if (res < 0) { 76 ALOGV("Failed write_ctrl(%s) res=%d errno=%d", cmd, res, savedErrno); 84 int res; local 90 res = TEMP_FAILURE_RETRY(write(param_fd, value, strlen(value))); 91 if (res < 0) { 100 int res; local 120 int res; local 135 int res; local 146 int cnt = 0, res = 0; local [all...] |
/system/extras/ioshark/ |
H A D | ioshark_bench.h | 122 struct timeval res, finish; local 125 timersub(&finish, start, &res); 126 timeradd(destination, &res, &finish);
|