Home
last modified time | relevance | path

Searched refs:GetInt (Results 1 – 11 of 11) sorted by relevance

/system/bt/gd/storage/
Dconfig_cache_helper_test.cc106 ASSERT_THAT(ConfigCacheHelper(config).GetInt("A", "B"), Optional(Eq(int(123)))); in TEST()
110 ASSERT_THAT(ConfigCacheHelper(config).GetInt("A", "B"), Optional(Eq(int(-123)))); in TEST()
114 ASSERT_THAT(ConfigCacheHelper(config).GetInt("A", "B"), Optional(Eq(int(0)))); in TEST()
119 ASSERT_FALSE(ConfigCacheHelper(config).GetInt("A", "B")); in TEST()
Dconfig_cache_helper.cc90 std::optional<int> ConfigCacheHelper::GetInt(const std::string& section, const std::string& propert… in GetInt() function in bluetooth::storage::ConfigCacheHelper
Dconfig_cache_helper.h54 virtual std::optional<int> GetInt(const std::string& section, const std::string& property) const;
/system/bt/main/shim/
Dconfig.cc45 bool BtifConfigInterface::GetInt(const std::string& section, in GetInt() function in bluetooth::shim::BtifConfigInterface
49 .GetInt(section, property); in GetInt()
Dconfig.h33 static bool GetInt(const std::string& section, const std::string& key,
/system/bt/btif/test/
Dbtif_config_cache_test.cc178 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST()
211 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST()
264 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST()
269 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST()
293 EXPECT_THAT(test_btif_config_cache.GetInt(kBtAddr1, "Property_Int"), in TEST()
/system/bt/btif/include/
Dbtif_config_cache.h48 std::optional<int> GetInt(const std::string& section_name,
/system/update_engine/
Dtest_http_server.cc515 inline int GetInt(const off_t index) const { return atoi(GetCStr(index)); } in GetInt() function in chromeos_update_engine::UrlTerms
542 terms.GetInt(3), in HandleConnection()
543 terms.GetInt(4)); in HandleConnection()
551 HandleErrorIfOffset(fd, request, terms.GetSizeT(1), terms.GetInt(2)); in HandleConnection()
/system/bt/btif/src/
Dbtif_config.cc405 return bluetooth::shim::BtifConfigInterface::GetInt(section, key, value); in btif_config_get_int()
409 auto ret = btif_config_cache.GetInt(section, key); in btif_config_get_int()
Dbtif_config_cache.cc244 std::optional<int> BtifConfigCache::GetInt(const std::string& section_name, in GetInt() function in BtifConfigCache
/system/keymaster/tests/
Dauthorization_set_test.cpp428 TEST(GetValue, GetInt) { in TEST() argument