/system/linkerconfig/modules/ |
D | environment.cc | 32 return Variables::GetValue("ro.vndk.lite").value_or("") == "true"; in IsVndkLiteDevice() 40 return Variables::GetValue("ro.vndk.version").value_or(""); in GetVendorVndkVersion() 44 return Variables::GetValue("ro.product.vndk.version").value_or(""); in GetProductVndkVersion()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | main.cpp | 107 SuspendProperties::base_sleep_time_millis().value_or(kDefaultBaseSleepTimeMillis)), in main() 109 SuspendProperties::max_sleep_time_millis().value_or(kDefaultMaxSleepTimeMillis)), in main() 111 SuspendProperties::sleep_time_scale_factor().value_or(kDefaultSleepTimeScaleFactor), in main() 113 SuspendProperties::backoff_threshold_count().value_or(kDefaultBackoffThresholdCount), in main() 115 std::chrono::milliseconds(SuspendProperties::short_suspend_threshold_millis().value_or( in main() 117 .failedSuspendBackoffEnabled = SuspendProperties::failed_suspend_backoff_enabled().value_or( in main() 119 .shortSuspendBackoffEnabled = SuspendProperties::short_suspend_backoff_enabled().value_or( in main()
|
/system/core/healthd/ |
D | charger.cpp | 29 if (CHARGER_FORCE_NO_UI || android::sysprop::ChargerProperties::no_ui().value_or(false)) { in main()
|
D | healthd_draw.cpp | 29 return android::sysprop::ChargerProperties::draw_split_screen().value_or(false); in get_split_screen() 33 int64_t value = android::sysprop::ChargerProperties::draw_split_offset().value_or(0); in get_split_offset()
|
D | healthd_mode_charger.cpp | 272 if (!android::sysprop::ChargerProperties::enable_suspend().value_or(false)) { in request_suspend() 330 if (android::sysprop::ChargerProperties::disable_init_blank().value_or(false)) { in UpdateScreenState()
|
/system/core/debuggerd/libdebuggerd/test/ |
D | open_files_list_test.cpp | 42 EXPECT_EQ(file.second.path.value_or(""), std::string(tf.path)); in TEST()
|
/system/apex/apexd/ |
D | flattened_apex_test.cpp | 35 bool value = android::sysprop::ApexProperties::updatable().value_or(false); in TEST()
|
D | apexd_main.cpp | 124 if (!android::sysprop::ApexProperties::updatable().value_or(false)) { in main()
|
/system/update_engine/aosp/ |
D | apex_handler_android.cc | 51 if (android::sysprop::ApexProperties::updatable().value_or(false)) { in CreateApexHandler()
|
D | hardware_android.cc | 325 android::sysprop::GkiProperties::prevent_downgrade_version().value_or( in IsPartitionUpdateValid()
|
/system/bt/gd/hci/ |
D | hci_metrics_logging.cc | 857 …urce << "N:SDP::DIP::" << common::ToHexString(device.GetSdpDiVendorIdSource().value_or(0)).c_str(); in log_remote_device_information() 862 common::ToHexString(device.GetSdpDiManufacturer().value_or(0)).c_str(), in log_remote_device_information() 863 common::ToHexString(device.GetSdpDiModel().value_or(0)).c_str(), in log_remote_device_information() 864 common::ToHexString(device.GetSdpDiHardwareVersion().value_or(0)).c_str(), in log_remote_device_information() 871 device.GetLmpVersion().value_or(-1), in log_remote_device_information() 872 device.GetManufacturerCode().value_or(-1), in log_remote_device_information() 873 device.GetLmpSubVersion().value_or(-1)); in log_remote_device_information()
|
/system/bt/gd/storage/ |
D | device.h | 183 return static_cast<hci::DeviceType>(value | GetDeviceType().value_or(hci::DeviceType::UNKNOWN));
|
/system/core/init/ |
D | mount_namespace.cpp | 81 static bool updatable = android::sysprop::ApexProperties::updatable().value_or(false); in IsApexUpdatable()
|
D | builtins.cpp | 182 static bool is_apex_updatable = android::sysprop::ApexProperties::updatable().value_or(false); in do_class_start_post_data() 214 static bool is_apex_updatable = android::sysprop::ApexProperties::updatable().value_or(false); in do_class_reset_post_data() 1200 if (android::sysprop::InitProperties::userspace_reboot_in_progress().value_or(false)) { in ExecVdcRebootOnFailure() 1310 static bool updatable = android::sysprop::ApexProperties::updatable().value_or(false); in IsApexUpdatable()
|
D | service.cpp | 306 static bool is_apex_updatable = android::sysprop::ApexProperties::updatable().value_or(false); in Reap()
|
D | reboot.cpp | 924 if (!android::sysprop::InitProperties::is_userspace_reboot_supported().value_or(false)) { in HandleUserspaceReboot()
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 135 IncrementalProperties::enable().value_or(kDefaultValue)}; in incFsPropertyValue() 713 if (version.value_or(-1) != INCFS_SIGNATURE_VERSION) { in validateSignatureFormat() 721 if (hashAlgo.value_or(-1) != INCFS_HASH_TREE_SHA256) { in validateSignatureFormat() 725 if (logBlockSize.value_or(-1) != 12 /* 2^12 == 4096 */) { in validateSignatureFormat() 729 if (saltSize.value_or(-1) != 0) { in validateSignatureFormat() 733 if (rootHashSize.value_or(-1) != INCFS_MAX_HASH_SIZE) { in validateSignatureFormat() 743 if (signingSize.value_or(-1) != signature.size) { in validateSignatureFormat()
|
/system/libbase/ |
D | expected_test.cpp | 422 EXPECT_EQ(10, e.value_or(20)); in TEST() 426 EXPECT_EQ(20, e2.value_or(20)); in TEST() 836 static_assert(exp_int(3).value_or(4) == 3); in TEST()
|
/system/libziparchive/ |
D | zip_archive.cc | 774 data->uncompressed_length = zip64_info.uncompressed_file_size.value_or(cdr->uncompressed_size); in FindEntry() 775 data->compressed_length = zip64_info.compressed_file_size.value_or(cdr->compressed_size); in FindEntry() 776 local_header_offset = zip64_info.local_header_offset.value_or(local_header_offset); in FindEntry()
|
/system/tools/aidl/ |
D | aidl_to_ndk.cpp | 104 std::string cpp_name_for_array = cpp_name_for_array_opt.value_or(cpp_name); in PrimitiveType()
|
/system/libvintf/ |
D | check_vintf.cpp | 471 if (hasFcmExt.value_or(false) || (targetFcm != Level::UNSPECIFIED && targetFcm >= Level::R)) { in checkAllFiles()
|
/system/libbase/include/android-base/ |
D | expected.h | 350 constexpr T value_or(U&& v) const& { in value_or() function 359 constexpr T value_or(U&& v) && { in value_or() function
|
/system/iorap/src/compiler/ |
D | compiler.cc | 345 timestamp_relative_start = timestamp_relative_start.value_or(packet.timestamp()); in SelectPageCacheFtraceEvents()
|
/system/security/keystore2/src/km_compat/ |
D | km_compat.cpp | 805 auto input = in_input.value_or(std::vector<uint8_t>()); in finish() 806 auto signature = in_signature.value_or(std::vector<uint8_t>()); in finish()
|
/system/vold/ |
D | VolumeManager.cpp | 590 static bool apexUpdatable = android::sysprop::ApexProperties::updatable().value_or(false); in scanProcProcesses()
|