// The device may be configured to have the vendor libraries loaded to a separate namespace. // For historical reasons this namespace was named sphal but effectively it is intended // to use to load vendor libraries to separate namespace with controlled interface between // vendor and system namespaces.
constexpr constchar* kVendorNamespaceName = "sphal"; // Similar to sphal namespace, product namespace provides some product libraries.
constexpr constchar* kProductNamespaceName = "product";
// API domains, roughly corresponding to partitions. Interdependencies between // these must follow API restrictions, while intradependencies do not. using ApiDomain = enum {
API_DOMAIN_DEFAULT = 0, // Locations other than those below, in particular for ordinary apps
API_DOMAIN_VENDOR = 1, // Vendor partition
API_DOMAIN_PRODUCT = 2, // Product partition
API_DOMAIN_SYSTEM = 3, // System and system_ext partitions
};
// LibraryNamespaces is a singleton object that manages NativeLoaderNamespace // objects for an app process. Its main job is to create (and configure) a new // NativeLoaderNamespace object for a Java ClassLoader, and to find an existing // object for a given ClassLoader. class LibraryNamespaces { public:
LibraryNamespaces() : initialized_(false), app_main_namespace_(nullptr) {}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.