Home
last modified time | relevance | path

Searched refs:GetSystemProperty (Results 1 – 18 of 18) sorted by relevance

/packages/modules/Bluetooth/system/gd/sysprops/
Dsysprops_module_test.cc78 EXPECT_THAT(bluetooth::os::GetSystemProperty(kSupportedSyspropName), std::nullopt); in TEST_F()
79 EXPECT_THAT(bluetooth::os::GetSystemProperty(kUnsupportedSyspropName), std::nullopt); in TEST_F()
80 EXPECT_THAT(bluetooth::os::GetSystemProperty(kCorrectPrefixAflagName), std::nullopt); in TEST_F()
81 EXPECT_THAT(bluetooth::os::GetSystemProperty(kIncorrectPrefixAflagName), std::nullopt); in TEST_F()
88 bluetooth::os::GetSystemProperty(kSupportedSyspropName), in TEST_F()
90 EXPECT_THAT(bluetooth::os::GetSystemProperty(kUnsupportedSyspropName), std::nullopt); in TEST_F()
92 bluetooth::os::GetSystemProperty(kCorrectPrefixAflagName), in TEST_F()
94 EXPECT_THAT(bluetooth::os::GetSystemProperty(kIncorrectPrefixAflagName), std::nullopt); in TEST_F()
99 EXPECT_THAT(bluetooth::os::GetSystemProperty(kSupportedSyspropName), std::nullopt); in TEST_F()
100 EXPECT_THAT(bluetooth::os::GetSystemProperty(kUnsupportedSyspropName), std::nullopt); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/gd/os/
Dsystem_properties_common_test.cc27 using bluetooth::os::GetSystemProperty;
32 auto ret = GetSystemProperty("persist.bluetooth.factoryreset"); in TEST()
36 ret = GetSystemProperty("persist.bluetooth.factoryreset"); in TEST()
39 ret = GetSystemProperty("persist.bluetooth.factoryreset_do_not_exist"); in TEST()
42 ASSERT_FALSE(GetSystemProperty("persist.bluetooth.factoryreset")); in TEST()
Dsystem_properties_common.cc31 std::optional<std::string> result = GetSystemProperty(property); in GetSystemPropertyUint32Base()
39 std::optional<std::string> result = GetSystemProperty(property); in GetSystemPropertyBool()
Dsystem_properties.h34 std::optional<std::string> GetSystemProperty(const std::string& property);
/packages/modules/Bluetooth/system/osi/src/
Dproperties.cc38 std::optional<std::string> result = bluetooth::os::GetSystemProperty(key); in osi_property_get()
59 std::optional<std::string> result = bluetooth::os::GetSystemProperty(key); in osi_property_get_int32()
68 std::optional<std::string> result = bluetooth::os::GetSystemProperty(key); in osi_property_get_bool()
78 std::optional<std::string> result = bluetooth::os::GetSystemProperty(key); in osi_property_get_uintlist()
/packages/modules/Bluetooth/system/gd/os/android/
Dsystem_properties.cc31 std::optional<std::string> GetSystemProperty(const std::string& property) { in GetSystemProperty() function
57 auto value = GetSystemProperty("ro.vendor.build.fingerprint"); in IsRootCanalEnabled()
73 auto value = GetSystemProperty("ro.vendor.build.version.release_or_codename"); in GetAndroidVendorReleaseVersion()
/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger_test.cc663 bluetooth::os::GetSystemProperty(SnoopLogger::kBtSnoopLogFilterProfileA2dpProperty); in TEST_F()
708 bluetooth::os::GetSystemProperty(SnoopLogger::kBtSnoopLogFilterProfileA2dpProperty); in TEST_F()
750 bluetooth::os::GetSystemProperty(SnoopLogger::kBtSnoopLogFilterHeadersProperty); in TEST_F()
802 bluetooth::os::GetSystemProperty(SnoopLogger::kBtSnoopLogFilterProfileRfcommProperty); in TEST_F()
861 bluetooth::os::GetSystemProperty(SnoopLogger::kBtSnoopLogFilterProfileRfcommProperty); in TEST_F()
917 bluetooth::os::GetSystemProperty(SnoopLogger::kBtSnoopLogFilterProfileRfcommProperty); in TEST_F()
971 bluetooth::os::GetSystemProperty(SnoopLogger::kBtSnoopLogFilterProfileRfcommProperty); in TEST_F()
1022 bluetooth::os::GetSystemProperty(SnoopLogger::kBtSnoopLogFilterProfileRfcommProperty); in TEST_F()
1084 bluetooth::os::GetSystemProperty(SnoopLogger::kBtSnoopLogFilterProfilePbapModeProperty); in TEST_F()
1093 bluetooth::os::GetSystemProperty(SnoopLogger::kBtSnoopLogFilterProfileMapModeProperty); in TEST_F()
[all …]
Dsnoop_logger.cc580 auto filter_enabled_property = os::GetSystemProperty(itr->first); in EnableFilters()
587 auto filter_mode_property = os::GetSystemProperty(itr->first); in EnableFilters()
1384 auto max_packets_per_file_prop = os::GetSystemProperty(kBtSnoopMaxPacketsPerFileProperty); in GetMaxPacketsPerFile()
1412 auto default_mode_property = os::GetSystemProperty(kBtSnoopDefaultLogModeProperty); in GetBtSnoopMode()
1424 auto btsnoop_mode_prop = os::GetSystemProperty(kBtSnoopLogModeProperty); in GetBtSnoopMode()
1454 auto soc_manufacturer_prop = os::GetSystemProperty(kSoCManufacturerProperty); in IsQualcommDebugLogEnabled()
Dhci_backend_hidl.cc100 auto board_name = os::GetSystemProperty(kBoardProperty); in HidlHci()
/packages/modules/Bluetooth/floss/libflags/
Dget_flags.cc28 return bluetooth::os::GetSystemProperty(prop_name).value_or(default_value); in GetServerConfigurableFlag()
/packages/modules/Bluetooth/floss/android-base/
Dproperties.cc26 return bluetooth::os::GetSystemProperty(key).value_or(default_value); in GetProperty()
/packages/modules/Bluetooth/system/gd/os/chromeos/
Dsystem_properties.cc35 std::optional<std::string> GetSystemProperty(const std::string& property) { in GetSystemProperty() function
/packages/modules/Bluetooth/system/gd/os/host/
Dsystem_properties.cc31 std::optional<std::string> GetSystemProperty(const std::string& property) { in GetSystemProperty() function
/packages/modules/Bluetooth/system/gd/os/linux/
Dsystem_properties.cc35 std::optional<std::string> GetSystemProperty(const std::string& property) { in GetSystemProperty() function
/packages/modules/Bluetooth/system/gd/shim/
Ddumpsys.cc80 return (os::GetSystemProperty(kReadOnlyDebuggableProperty) == "1"); in IsDebuggable()
/packages/modules/Bluetooth/system/gd/storage/
Dstorage_module.cc151 if (os::GetSystemProperty(kFactoryResetProperty) == "true") { in Start()
/packages/modules/Bluetooth/system/gd/hci/
Dle_scanning_manager.cc312 auto compensation_prop = os::GetSystemProperty(kLeRxPathLossCompProperty); in get_rx_path_loss_compensation()
Dle_advertising_manager.cc195 auto compensation_prop = os::GetSystemProperty(kLeTxPathLossCompProperty); in get_tx_path_loss_compensation()