Home
last modified time | relevance | path

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

/system/core/libprocessgroup/
Dcgroup_map.cpp41 CHECK(HasValue()); in version()
46 CHECK(HasValue()); in name()
51 CHECK(HasValue()); in path()
55 bool CgroupController::HasValue() const { in HasValue() function in CgroupController
60 if (!HasValue()) return false; in IsUsable()
Dcgroup_map.h36 bool HasValue() const;
Dprocessgroup.cpp70 if (!controller.HasValue()) { in CgroupGetControllerPath()
99 if (!controller.HasValue()) { in CgroupGetMemcgAppsPath()
116 if (!controller.HasValue()) { in CgroupGetControllerFromPath()
Dtask_profiles.cpp864 if (controller.HasValue()) { in Load()
894 if (controller.HasValue()) { in Load()
/system/libbase/include/android-base/
Dresult-gmock.h74 MATCHER_P(HasValue, value_matcher, "") {
/system/apex/apexd/
Dapexd_test.cpp71 using android::base::testing::HasValue;
427 ASSERT_THAT(exists, HasValue(true)); in TEST_F()
537 ASSERT_THAT(exists, HasValue(true)) in TEST_F()
574 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()
781 ASSERT_THAT(PathExists(ota_apex_path), HasValue(true)); in TEST_F()
787 ASSERT_THAT(PathExists(ota_apex_path), HasValue(true)); in TEST_F()
791 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()
796 ASSERT_THAT(PathExists(ota_apex_path), HasValue(false)); in TEST_F()
816 HasValue(UnorderedElementsAre(ApexFileEq(ByRef(*apex_file))))); in TEST_F()
1777 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;
3030 HasValue(KernelVersion{5, 10, 43})); in TEST_F()
3032 HasValue(KernelVersion{5, 15, 41})); in TEST_F()
3043 HasValue(KernelVersion{5, 15, 41})); in TEST_F()