Home
last modified time | relevance | path

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

/art/libnativeloader/
Dlibrary_namespaces_test.cpp28 using ::android::base::testing::HasValue;
63 EXPECT_THAT(GetApiDomainFromPathList("/data/somewhere"), HasValue(API_DOMAIN_DEFAULT)); in TEST()
64 EXPECT_THAT(GetApiDomainFromPathList("/system/somewhere"), HasValue(API_DOMAIN_DEFAULT)); in TEST()
65 EXPECT_THAT(GetApiDomainFromPathList("/system_ext/somewhere"), HasValue(API_DOMAIN_DEFAULT)); in TEST()
67 HasValue(GetProductApiDomain(API_DOMAIN_DEFAULT))); in TEST()
68 EXPECT_THAT(GetApiDomainFromPathList("/vendor/somewhere"), HasValue(API_DOMAIN_VENDOR)); in TEST()
70 HasValue(GetProductApiDomain(API_DOMAIN_DEFAULT))); in TEST()
71 EXPECT_THAT(GetApiDomainFromPathList("/system/vendor/somewhere"), HasValue(API_DOMAIN_VENDOR)); in TEST()
73 EXPECT_THAT(GetApiDomainFromPathList(""), HasValue(API_DOMAIN_DEFAULT)); in TEST()
74 EXPECT_THAT(GetApiDomainFromPathList(":"), HasValue(API_DOMAIN_DEFAULT)); in TEST()
[all …]
/art/artd/
Dpath_utils_test.cc33 using ::android::base::testing::HasValue;
53 EXPECT_THAT(BuildArtBinPath("foo"), HasValue(scratch_dir->GetPath() + "/bin/foo")); in TEST_F()
60 HasValue(AllOf(Field(&RawArtifactsPath::oat_path, "/a/oat/arm64/b.odex"), in TEST_F()
69 HasValue(AllOf(Field(&RawArtifactsPath::oat_path, "/a/oat/arm64/b.odex.staged"), in TEST_F()
78 HasValue(AllOf(Field(&RawArtifactsPath::oat_path, in TEST_F()
90 HasValue(AllOf(Field(&RawArtifactsPath::oat_path, in TEST_F()
116 HasValue(android_data_ + "/misc/profiles/ref/com.android.foo/primary.prof")); in TEST_F()
122 HasValue(android_data_ + "/misc/profiles/ref/com.android.foo/primary.prof.staged")); in TEST_F()
128 HasValue(android_data_ + "/misc/profiles/ref/.../primary.prof")); in TEST_F()
143 HasValue(android_data_ + "/misc/profiles/ref/com.android.foo/...prof")); in TEST_F()
[all …]
Dfile_utils_test.cc47 using ::android::base::testing::HasValue;
99 ASSERT_THAT(new_file, HasValue(NotNull())); in TEST_F()
353 EXPECT_THAT(OpenFileForReading(path), HasValue(NotNull())); in TEST_F()
Dartd_test.cc103 using ::android::base::testing::HasValue;
2297 EXPECT_THAT(is_in_dalvik_cache("/system/app/base.apk"), HasValue(true)); in TEST_F()
2298 EXPECT_THAT(is_in_dalvik_cache("/system_ext/app/base.apk"), HasValue(true)); in TEST_F()
2299 EXPECT_THAT(is_in_dalvik_cache("/vendor/app/base.apk"), HasValue(true)); in TEST_F()
2300 EXPECT_THAT(is_in_dalvik_cache("/product/app/base.apk"), HasValue(true)); in TEST_F()
2301 EXPECT_THAT(is_in_dalvik_cache("/data/app/base.apk"), HasValue(false)); in TEST_F()
2304 EXPECT_THAT(is_in_dalvik_cache("/foo"), HasValue(true)); in TEST_F()
/art/cmdline/
Dcmdline_parse_result.h107 bool HasValue() const { in HasValue() function