Home
last modified time | relevance | path

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

/art/libnativeloader/
Dnative_loader_test.cpp64 typedef char* mock_namespace_handle; typedef in android::nativeloader::Platform
67 virtual mock_namespace_handle mock_create_namespace(
69 uint64_t type, const char* permitted_when_isolated_path, mock_namespace_handle parent) = 0;
70 virtual bool mock_link_namespaces(bool bridged, mock_namespace_handle from,
71 mock_namespace_handle to, const char* sonames) = 0;
72 virtual mock_namespace_handle mock_get_exported_namespace(bool bridged, const char* name) = 0;
74 mock_namespace_handle ns) = 0;
94 #define TO_MOCK_NAMESPACE(ns) reinterpret_cast<Platform::mock_namespace_handle>(ns)
97 static std::unordered_map<std::string, Platform::mock_namespace_handle> namespaces = {
115 .WillByDefault(testing::Invoke([](bool, const char* name) -> mock_namespace_handle { in MockPlatform()
[all …]