Home
last modified time | relevance | path

Searched refs:HasValue (Results 1 – 8 of 8) sorted by relevance

/system/core/libprocessgroup/
Dcgroup_map.cpp55 CHECK(HasValue()); in version()
60 CHECK(HasValue()); in name()
65 CHECK(HasValue()); in path()
69 bool CgroupController::HasValue() const { in HasValue() function in CgroupController
74 if (!HasValue()) return false; in IsUsable()
Dcgroup_map.h41 bool HasValue() const;
Dprocessgroup.cpp66 if (!controller.HasValue()) { in CgroupGetControllerPath()
80 if (!controller.HasValue()) { in CgroupGetMemcgAppsPath()
97 if (!controller.HasValue()) { in CgroupGetControllerFromPath()
Dtask_profiles.cpp838 if (controller.HasValue()) { in Load()
868 if (controller.HasValue()) { in Load()
/system/libbase/include/android-base/
Dresult-gmock.h74 MATCHER_P(HasValue, value_matcher, "") {
/system/apex/apexd/
Dapexd_test.cpp70 using android::base::testing::HasValue;
448 ASSERT_THAT(exists, HasValue(true)); in TEST_F()
558 ASSERT_THAT(exists, HasValue(true)) in TEST_F()
596 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()
800 ASSERT_THAT(PathExists(ota_apex_path), HasValue(true)); in TEST_F()
806 ASSERT_THAT(PathExists(ota_apex_path), HasValue(true)); in TEST_F()
810 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()
815 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()
835 HasValue(UnorderedElementsAre(ApexFileEq(ByRef(*apex_file))))); in TEST_F()
1715 ASSERT_THAT(PathExists(hashtree_path), HasValue(true)) in TEST_F()
[all …]
/system/libbase/
Dresult_test.cpp781 EXPECT_TRUE(ExplainMatchResult(HasValue(*result), result, &listener)); in TEST_F()
785 EXPECT_FALSE(ExplainMatchResult(HasValue(*result + 1), result, &listener)); in TEST_F()
789 EXPECT_FALSE(ExplainMatchResult(HasValue(*result), error, &listener)); in TEST_F()
/system/libvintf/test/
Dvintf_object_tests.cpp42 using android::base::testing::HasValue;
2851 HasValue(KernelVersion{5, 10, 43})); in TEST_F()
2853 HasValue(KernelVersion{5, 15, 41})); in TEST_F()
2864 HasValue(KernelVersion{5, 15, 41})); in TEST_F()