Lines Matching refs:ns
195 android_namespace_t* ns = android::GraphicsEnv::getInstance().getAngleNamespace(); in should_unload_system_driver() local
196 if (ns) { in should_unload_system_driver()
202 ns = android::GraphicsEnv::getInstance().getDriverNamespace(); in should_unload_system_driver()
203 if (ns) { in should_unload_system_driver()
529 static void* load_angle_from_namespace(const char* kind, android_namespace_t* ns) { in load_angle_from_namespace() argument
532 .library_namespace = ns, in load_angle_from_namespace()
549 static void* load_angle(const char* kind, android_namespace_t* ns, egl_connection_t* cnx) { in load_angle() argument
553 so = load_angle_from_namespace(kind, ns); in load_angle()
612 static void* load_updated_driver(const char* kind, android_namespace_t* ns) { in load_updated_driver() argument
616 .library_namespace = ns, in load_updated_driver()
635 android_namespace_t* ns = android::GraphicsEnv::getInstance().getAngleNamespace(); in attempt_to_load_angle() local
636 if (!ns) { in attempt_to_load_angle()
644 void* dso = load_angle("EGL", ns, cnx); in attempt_to_load_angle()
649 dso = load_angle("GLESv1_CM", ns, cnx); in attempt_to_load_angle()
653 dso = load_angle("GLESv2", ns, cnx); in attempt_to_load_angle()
663 android_namespace_t* ns = android::GraphicsEnv::getInstance().getDriverNamespace(); in attempt_to_load_updated_driver() local
664 if (!ns) { in attempt_to_load_updated_driver()
671 void* dso = load_updated_driver("GLES", ns); in attempt_to_load_updated_driver()
678 dso = load_updated_driver("EGL", ns); in attempt_to_load_updated_driver()
683 dso = load_updated_driver("GLESv1_CM", ns); in attempt_to_load_updated_driver()
687 dso = load_updated_driver("GLESv2", ns); in attempt_to_load_updated_driver()