Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/
DDummySurface.java50 private static @SecureMode int secureMode; field in DummySurface
64 secureMode = getSecureMode(context); in isSecureSupported()
67 return secureMode != SECURE_MODE_NONE; in isSecureSupported()
85 return thread.init(secure ? secureMode : SECURE_MODE_NONE); in newInstanceV17()
141 public DummySurface init(@SecureMode int secureMode) { in init() argument
147 handler.obtainMessage(MSG_INIT, secureMode, 0).sendToTarget(); in init()
206 private void initInternal(@SecureMode int secureMode) { in initInternal() argument
208 eglSurfaceTexture.init(secureMode); in initInternal()
211 this, eglSurfaceTexture.getSurfaceTexture(), secureMode != SECURE_MODE_NONE); in initInternal()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/
DEGLSurfaceTexture.java123 public void init(@SecureMode int secureMode) { in init() argument
126 context = createEGLContext(display, config, secureMode); in init()
127 surface = createEGLSurface(display, config, context, secureMode); in init()
243 EGLDisplay display, EGLConfig config, @SecureMode int secureMode) { in createEGLContext() argument
245 if (secureMode == SECURE_MODE_NONE) { in createEGLContext()
267 EGLDisplay display, EGLConfig config, EGLContext context, @SecureMode int secureMode) { in createEGLSurface() argument
269 if (secureMode == SECURE_MODE_SURFACELESS_CONTEXT) { in createEGLSurface()
273 if (secureMode == SECURE_MODE_PROTECTED_PBUFFER) { in createEGLSurface()
/external/v4l2_codec2/components/
DV4L2DecodeInterface.cpp235 bool secureMode = name.find(".secure") != std::string::npos; in V4L2DecodeInterface() local
236 const C2Allocator::id_t inputAllocators[] = {secureMode ? V4L2AllocatorId::SECURE_LINEAR in V4L2DecodeInterface()
241 secureMode ? V4L2AllocatorId::SECURE_GRAPHIC : V4L2AllocatorId::V4L2_BUFFERQUEUE; in V4L2DecodeInterface()