/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/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 | 263 if (!android::sysprop::ChargerProperties::enable_suspend().value_or(false)) { in request_suspend() 321 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 | 113 if (!android::sysprop::ApexProperties::updatable().value_or(false)) { in main()
|
D | apexd.cpp | 1065 if (!android::sysprop::ApexProperties::updatable().value_or(false)) { in emitApexInfoList()
|
/system/incremental_delivery/incfs/ |
D | incfs.cpp | 142 android::sysprop::IncrementalProperties::enable().value_or("")}; in incFsPropertyValue() 615 if (version.value_or(-1) != INCFS_SIGNATURE_VERSION) { in validateSignatureFormat() 623 if (hashAlgo.value_or(-1) != INCFS_HASH_TREE_SHA256) { in validateSignatureFormat() 627 if (logBlockSize.value_or(-1) != 12 /* 2^12 == 4096 */) { in validateSignatureFormat() 631 if (saltSize.value_or(-1) != 0) { in validateSignatureFormat() 635 if (rootHashSize.value_or(-1) != INCFS_MAX_HASH_SIZE) { in validateSignatureFormat() 645 if (signingSize.value_or(-1) != signature.size) { in validateSignatureFormat()
|
/system/core/adb/client/ |
D | adb_install.cpp | 497 fallback_mode.value_or(INSTALL_PUSH) == INSTALL_STREAM) && in install_app() 532 if (res && fallback_mode.value_or(primary_mode) != primary_mode) { in install_app() 698 fallback_mode.value_or(INSTALL_PUSH) == INSTALL_STREAM) && in install_multiple_app() 718 if (res && fallback_mode.value_or(primary_mode) != primary_mode) { in install_multiple_app()
|
/system/bt/gd/storage/ |
D | device.h | 181 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 | 181 static bool is_apex_updatable = android::sysprop::ApexProperties::updatable().value_or(false); in do_class_start_post_data() 213 static bool is_apex_updatable = android::sysprop::ApexProperties::updatable().value_or(false); in do_class_reset_post_data() 1141 if (android::sysprop::InitProperties::userspace_reboot_in_progress().value_or(false)) { in ExecVdcRebootOnFailure() 1239 static bool updatable = android::sysprop::ApexProperties::updatable().value_or(false); in IsApexUpdatable()
|
D | service.cpp | 309 static bool is_apex_updatable = android::sysprop::ApexProperties::updatable().value_or(false); in Reap()
|
D | reboot.cpp | 888 if (!android::sysprop::InitProperties::is_userspace_reboot_supported().value_or(false)) { in HandleUserspaceReboot()
|
D | property_service.cpp | 499 if (value == "reboot,userspace" && !is_userspace_reboot_supported().value_or(false)) { in HandlePropertySet()
|
/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/core/adb/daemon/ |
D | file_sync_service.cpp | 618 return send_impl(s, path, msg.send_v2_setup.mode, compression.value_or(CompressionType::None), in do_send_v2() 763 return recv_impl(s, path, compression.value_or(CompressionType::None), buffer); in do_recv_v2()
|
/system/libziparchive/ |
D | zip_archive.cc | 721 data->uncompressed_length = zip64_info.uncompressed_file_size.value_or(cdr->uncompressed_size); in FindEntry() 722 data->compressed_length = zip64_info.compressed_file_size.value_or(cdr->compressed_size); in FindEntry() 723 local_header_offset = zip64_info.local_header_offset.value_or(local_header_offset); in FindEntry()
|
/system/tools/aidl/ |
D | aidl_to_ndk.cpp | 92 std::string cpp_name_for_array = cpp_name_for_array_opt.value_or(cpp_name); in PrimitiveType()
|
/system/vold/ |
D | VolumeManager.cpp | 464 static bool apexUpdatable = android::sysprop::ApexProperties::updatable().value_or(false); in remountUid()
|
/system/libvintf/ |
D | check_vintf.cpp | 422 if (hasFcmExt.value_or(false) || (targetFcm != Level::UNSPECIFIED && targetFcm >= Level::R)) { in checkAllFiles()
|
/system/libbase/include/android-base/ |
D | expected.h | 351 constexpr T value_or(U&& v) const& { in value_or() function 360 constexpr T value_or(U&& v) && { in value_or() function
|
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_test.cpp | 1051 ASSERT_EQ(3_MiB, GetSnapshotSize("sys_b").value_or(0)); in TEST_F() 1061 ASSERT_EQ(4_MiB, GetSnapshotSize("sys_b").value_or(0)); in TEST_F()
|