Home
last modified time | relevance | path

Searched refs:GetApiDomainFromPath (Results 1 – 4 of 4) sorted by relevance

/art/libnativeloader/
Dlibrary_namespaces_test.cpp39 EXPECT_EQ(GetApiDomainFromPath("/data/somewhere"), API_DOMAIN_DEFAULT); in TEST()
40 EXPECT_EQ(GetApiDomainFromPath("/system/somewhere"), API_DOMAIN_SYSTEM); in TEST()
41 EXPECT_EQ(GetApiDomainFromPath("/system_ext/somewhere"), API_DOMAIN_SYSTEM); in TEST()
42 EXPECT_EQ(GetApiDomainFromPath("/systemext/somewhere"), API_DOMAIN_DEFAULT); in TEST()
43 EXPECT_EQ(GetApiDomainFromPath("/product/somewhere"), GetProductApiDomain(API_DOMAIN_DEFAULT)); in TEST()
44 EXPECT_EQ(GetApiDomainFromPath("/vendor/somewhere"), API_DOMAIN_VENDOR); in TEST()
45 EXPECT_EQ(GetApiDomainFromPath("/system/product/somewhere"), in TEST()
47 EXPECT_EQ(GetApiDomainFromPath("/system/vendor/somewhere"), API_DOMAIN_VENDOR); in TEST()
49 EXPECT_EQ(GetApiDomainFromPath(""), API_DOMAIN_DEFAULT); in TEST()
50 EXPECT_EQ(GetApiDomainFromPath("/"), API_DOMAIN_DEFAULT); in TEST()
[all …]
Dlibrary_namespaces.h59 ApiDomain GetApiDomainFromPath(const std::string_view path);
Dlibrary_namespaces.cpp100 ApiDomain GetApiDomainFromPath(const std::string_view path) { in GetApiDomainFromPath() function
122 GetApiDomainFromPath(std::string_view(path_list).substr(start_pos, end_pos)); in GetApiDomainFromPathList()
Dnative_loader.cpp350 nativeloader::ApiDomain caller_api_domain = nativeloader::GetApiDomainFromPath(caller_location); in OpenNativeLibrary()
352 nativeloader::ApiDomain library_api_domain = nativeloader::GetApiDomainFromPath(path); in OpenNativeLibrary()