Searched refs:getBoolProperty (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FlagManagerTest.cpp | 39 MOCK_METHOD(std::optional<bool>, getBoolProperty, (const char*), (const, override)); 71 EXPECT_CALL(mFlagManager, getBoolProperty).WillOnce(Return(true)); in TEST_F() 74 EXPECT_CALL(mFlagManager, getBoolProperty).WillOnce(Return(false)); in TEST_F() 79 EXPECT_CALL(mFlagManager, getBoolProperty).WillRepeatedly(Return(std::nullopt)); in TEST_F() 101 EXPECT_CALL(mFlagManager, getBoolProperty).WillOnce(Return(true)); in TEST_F() 113 EXPECT_CALL(mFlagManager, getBoolProperty).WillOnce(Return(true)); in TEST_F() 127 EXPECT_CALL(mFlagManager, getBoolProperty).WillOnce(Return(false)); in TEST_F() 138 EXPECT_CALL(mFlagManager, getBoolProperty).WillRepeatedly(Return(false)); in TEST_F() 146 EXPECT_CALL(mFlagManager, getBoolProperty).WillRepeatedly(Return(std::nullopt)); in TEST_F() 162 EXPECT_CALL(mFlagManager, getBoolProperty).WillRepeatedly(Return(std::nullopt)); in TEST_F()
|
/frameworks/native/services/surfaceflinger/common/ |
D | FlagManager.cpp | 162 std::optional<bool> FlagManager::getBoolProperty(const char* property) const { in getBoolProperty() function in android::FlagManager 178 const auto debugOverride = getBoolProperty(syspropOverride); \ 190 static const std::optional<bool> debugOverride = getBoolProperty(syspropOverride); \
|
/frameworks/native/services/surfaceflinger/common/include/common/ |
D | FlagManager.h | 97 virtual std::optional<bool> getBoolProperty(const char*) const;
|