/system/core/libstats/push_compat/include/ |
D | stats_event_list.h | 59 int retval = android_log_destroy(&ctx); in close() local 60 if (retval < 0) { in close() 61 ret = retval; in close() 63 return retval; in close() 73 int retval = android_log_write_list_begin(ctx); in begin() local 74 if (retval < 0) { in begin() 75 ret = retval; in begin() 80 int retval = android_log_write_list_end(ctx); in end() local 81 if (retval < 0) { in end() 82 ret = retval; in end() [all …]
|
/system/core/libstats/socket/include/ |
D | stats_event_list.h | 57 int retval = android_log_destroy(&ctx); in close() local 58 if (retval < 0) { in close() 59 ret = retval; in close() 61 return retval; in close() 71 int retval = android_log_write_list_begin(ctx); in begin() local 72 if (retval < 0) { in begin() 73 ret = retval; in begin() 78 int retval = android_log_write_list_end(ctx); in end() local 79 if (retval < 0) { in end() 80 ret = retval; in end() [all …]
|
/system/core/liblog/include/log/ |
D | log_event_list.h | 120 int retval = android_log_destroy(&ctx); in close() local 121 if (retval < 0) ret = retval; in close() 122 return retval; in close() 136 int retval = android_log_write_list_begin(ctx); in begin() local 137 if (retval < 0) ret = retval; in begin() 141 int retval = android_log_write_list_end(ctx); in end() local 142 if (retval < 0) ret = retval; in end() 147 int retval = android_log_write_int32(ctx, value); variable 148 if (retval < 0) ret = retval; 153 int retval = android_log_write_int32(ctx, static_cast<int32_t>(value)); variable [all …]
|
/system/core/libcutils/ |
D | fs_config_test.cpp | 79 bool retval = false; in check_unique() local 90 retval = true; in check_unique() 104 retval = true; in check_unique() 121 retval = true; in check_unique() 125 return retval; in check_unique() 134 bool retval = false; in check_unique() local 139 retval = true; in check_unique() 145 return check_unique(paths_tmp, config, prefix) || retval; in check_unique() 149 bool match, retval = false; in check_fs_config_cmp() local 157 retval = true; in check_fs_config_cmp() [all …]
|
/system/core/logd/ |
D | LogBufferElement.cpp | 139 char* retval = nullptr; in tidToName() local 153 retval = strdup(buffer); in tidToName() 160 if (!retval) { in tidToName() 161 retval = name; in tidToName() 168 size_t retval_len = strlen(retval); in tidToName() 172 !fastcmp<strcmp>(retval, name + name_len - retval_len)) { in tidToName() 173 free(retval); in tidToName() 174 retval = name; in tidToName() 179 return retval; in tidToName() 248 size_t retval = hdrLen + len; in PopulateDroppedMessage() local [all …]
|
/system/bt/audio_bluetooth_hw/ |
D | device_port_proxy.cc | 288 bool retval; in CondwaitState() local 294 retval = internal_cv_.wait_for( in CondwaitState() 297 retval = retval && state_ == BluetoothStreamState::STARTED; in CondwaitState() 302 retval = internal_cv_.wait_for( in CondwaitState() 305 retval = retval && state_ == BluetoothStreamState::STANDBY; in CondwaitState() 313 return retval; // false if any failure like timeout in CondwaitState() 324 bool retval = false; in Start() local 328 retval = CondwaitState(BluetoothStreamState::STARTING); in Start() 335 if (retval) { in Start() 344 return retval; // false if any failure like timeout in Start() [all …]
|
D | stream_apis.cc | 220 int retval = 0; in out_standby() local 228 retval = (out->bluetooth_output_.Suspend() ? 0 : -EIO); in out_standby() 235 retval = -EBUSY; in out_standby() 241 << " standby (suspend) retval=" << retval; in out_standby() 243 return retval; in out_standby() 256 int retval = 0; in out_set_parameters() local 263 if (params.empty()) return retval; in out_set_parameters() 335 << ", kvpairs=[" << kvpairs << "], retval=" << retval; in out_set_parameters() 336 return retval; in out_set_parameters() 544 int retval = 0; in out_pause() local [all …]
|
/system/keymaster/android_keymaster/ |
D | android_keymaster_utils.cpp | 30 uint8_t* retval = new (std::nothrow) uint8_t[size]; in dup_buffer() local 31 if (retval) in dup_buffer() 32 memcpy(retval, buf, size); in dup_buffer() 33 return retval; in dup_buffer()
|
D | android_keymaster_messages.cpp | 184 bool retval = copy_uint64_from_buf(buf_ptr, end, &op_handle); in NonErrorDeserialize() local 185 if (retval && message_version > 0) in NonErrorDeserialize() 186 retval = output_params.Deserialize(buf_ptr, end); in NonErrorDeserialize() 187 return retval; in NonErrorDeserialize() 206 bool retval = copy_uint64_from_buf(buf_ptr, end, &op_handle) && input.Deserialize(buf_ptr, end); in Deserialize() local 207 if (retval && message_version > 0) in Deserialize() 208 retval = additional_params.Deserialize(buf_ptr, end); in Deserialize() 209 return retval; in Deserialize() 243 bool retval = output.Deserialize(buf_ptr, end); in NonErrorDeserialize() local 244 if (retval && message_version > 0) in NonErrorDeserialize() [all …]
|
/system/nfc/src/nfc/tags/ |
D | rw_t3t.cc | 605 tNFC_STATUS retval; in rw_t3t_send_cmd() local 617 retval = rw_t3t_send_to_lower(p_cmd_buf); in rw_t3t_send_cmd() 618 if (retval == NFC_STATUS_OK) { in rw_t3t_send_cmd() 629 timeout_ticks, retval); in rw_t3t_send_cmd() 630 return (retval); in rw_t3t_send_cmd() 644 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_update_ndef_attribute_cmd() local 711 retval = rw_t3t_send_cmd(p_cb, RW_T3T_CMD_UPDATE_NDEF, p_cmd_buf, in rw_t3t_send_update_ndef_attribute_cmd() 714 retval = NFC_STATUS_NO_BUFFERS; in rw_t3t_send_update_ndef_attribute_cmd() 717 return (retval); in rw_t3t_send_update_ndef_attribute_cmd() 730 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_next_ndef_update_cmd() local [all …]
|
/system/media/camera/docs/ |
D | metadata-parser-sanity-check | 37 local retval=$? 38 if [[ $retval -ne 0 ]] 45 return $retval
|
/system/core/fs_mgr/ |
D | fs_mgr_remount.cpp | 144 RemountStatus retval = REMOUNT_SUCCESS; in do_remount() local 263 retval = UNKNOWN_PARTITION; in do_remount() 277 retval = INVALID_PARTITION; in do_remount() 285 if (partitions.empty() && !retval) { in do_remount() 298 retval = VERITY_PARTITION; in do_remount() 336 retval = BAD_OVERLAY; in do_remount() 349 return retval; in do_remount() 355 retval = BAD_OVERLAY; in do_remount() 363 retval = NO_MOUNTS; in do_remount() 420 retval = REMOUNT_FAILED; in do_remount() [all …]
|
D | fs_mgr_verity.cpp | 122 int retval = -1; in verify_table() local 141 retval = 0; in verify_table() 145 return retval; in verify_table() 381 int retval = FS_MGR_SETUP_VERITY_FAIL; in fs_mgr_setup_verity() local 396 return retval; in fs_mgr_setup_verity() 404 retval = FS_MGR_SETUP_VERITY_SKIPPED; in fs_mgr_setup_verity() 412 retval = FS_MGR_SETUP_VERITY_DISABLED; in fs_mgr_setup_verity() 446 retval = FS_MGR_SETUP_VERITY_SKIPPED; in fs_mgr_setup_verity() 452 retval = FS_MGR_SETUP_VERITY_SKIPPED; in fs_mgr_setup_verity() 537 retval = FS_MGR_SETUP_VERITY_SUCCESS; in fs_mgr_setup_verity() [all …]
|
/system/update_engine/update_manager/ |
D | boxed_value.cc | 209 string retval = "Flags:"; in ValuePrinter() local 211 retval += " RestrictDownloading"; in ValuePrinter() 213 return retval; in ValuePrinter() 228 string retval = "Disallowed intervals:\n"; in ValuePrinter() local 230 retval += interval.ToString() + "\n"; in ValuePrinter() 232 return retval; in ValuePrinter()
|
/system/core/fs_mgr/libfiemap/ |
D | binder.cpp | 142 bool retval; in BackingImageExists() local 143 auto status = manager_->backingImageExists(name, &retval); in BackingImageExists() 149 return retval; in BackingImageExists() 153 bool retval; in IsImageMapped() local 154 auto status = manager_->isImageMapped(name, &retval); in IsImageMapped() 160 return retval; in IsImageMapped() 173 std::vector<std::string> retval; in GetAllBackingImages() local 174 auto status = manager_->getAllBackingImages(&retval); in GetAllBackingImages() 179 return retval; in GetAllBackingImages()
|
/system/update_engine/ |
D | boot_control_chromeos.cc | 231 int retval = CgptGetPartitionDetails(¶ms); in IsSlotBootable() local 232 if (retval != CGPT_OK) in IsSlotBootable() 262 int retval = CgptSetAttributes(¶ms); in MarkSlotUnbootable() local 263 if (retval != CGPT_OK) { in MarkSlotUnbootable() 286 int retval = CgptPrioritize(&prio_params); in SetActiveBootSlot() local 287 if (retval != CGPT_OK) { in SetActiveBootSlot() 302 retval = CgptSetAttributes(&add_params); in SetActiveBootSlot() 303 if (retval != CGPT_OK) { in SetActiveBootSlot()
|
/system/core/storaged/tests/ |
D | storaged_test.cpp | 185 struct disk_perf retval; in disk_perf_multiply() local 186 retval.read_perf = (double)perf.read_perf * mul; in disk_perf_multiply() 187 retval.read_ios = (double)perf.read_ios * mul; in disk_perf_multiply() 188 retval.write_perf = (double)perf.write_perf * mul; in disk_perf_multiply() 189 retval.write_ios = (double)perf.write_ios * mul; in disk_perf_multiply() 190 retval.queue = (double)perf.queue * mul; in disk_perf_multiply() 192 return retval; in disk_perf_multiply() 196 struct disk_stats retval; in disk_stats_add() local 197 retval.read_ios = stats1.read_ios + stats2.read_ios; in disk_stats_add() 198 retval.read_merges = stats1.read_merges + stats2.read_merges; in disk_stats_add() [all …]
|
/system/libhwbinder/vts/performance/ |
D | Benchmark_binder.cpp | 105 int stat, retval; in main() local 106 retval = wait(&stat); in main() 107 if (retval == -1 && errno == ECHILD) { in main()
|
D | Benchmark.cpp | 141 int stat, retval; in main() local 142 retval = wait(&stat); in main() 143 if (retval == -1 && errno == ECHILD) { in main()
|
/system/core/bootstat/ |
D | boot_reason_test.sh | 581 retval=0 596 EXPECT_PROPERTY ${prop} ${reason} || retval=${?} 598 check_boilerplate_properties || retval=${?} 600 return ${retval} 1211 local retval=-1 1213 if [ ${retval} = -1 -a ${enum_expected} = ${id} ]; then 1214 retval=0 1218 retval=1 1221 exit ${retval} 1232 local retval=${?} [all …]
|
/system/core/libkeyutils/mini_keyctl/ |
D | mini_keyctl.cpp | 122 long retval = keyctl_get_security(key, context.data(), kMaxSupportedSize); in RetrieveSecurityContext() local 123 if (retval < 0) { in RetrieveSecurityContext() 127 if (retval > kMaxSupportedSize) { in RetrieveSecurityContext() 131 context.resize(retval); in RetrieveSecurityContext()
|
/system/keymaster/tests/ |
D | ckdf_test.cpp | 75 Blob retval(reinterpret_cast<const uint8_t*>(bytes.data()), bytes.size()); in hex2span() 76 return std::move(retval); in hex2span()
|
/system/bt/vendor_libs/linux/interface/ |
D | async_fd_watcher.cc | 146 int retval = select(nfds + 1, &read_fds, NULL, NULL, timeout_ptr); in ThreadRoutine() local 149 if (retval < 0) continue; in ThreadRoutine() 152 if (retval == 0) { in ThreadRoutine()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspendUnitTest.cpp | 324 bool retval = false; in TEST_F() local 325 controlService->registerCallback(nullptr, &retval); in TEST_F() 326 ASSERT_FALSE(retval); in TEST_F() 338 bool retval = false; in TEST_F() local 339 controlService->registerCallback(cb, &retval); in TEST_F() 340 ASSERT_TRUE(retval); in TEST_F() 350 bool retval = false; in TEST_F() 351 controlService->registerCallback(cb, &retval); in TEST_F() 352 ASSERT_TRUE(retval); in TEST_F() 369 bool retval = false; in notifyWakeup() local [all …]
|
/system/keymaster/include/keymaster/ |
D | android_keymaster_utils.h | 217 T retval = 0; in ntoh() local 219 retval <<= 8; in ntoh() 220 retval |= byte_ptr[i]; in ntoh() 222 return retval; in ntoh() 231 T retval; in hton() local 232 uint8_t* byte_ptr = reinterpret_cast<uint8_t*>(&retval); in hton() 237 return retval; in hton()
|