Home
last modified time | relevance | path

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

/cts/tests/tests/permission/src/android/permission/cts/
DNearbyDevicesRenouncePermissionTest.java197 Context context = createContext(scenario, getApplicationContext()); in performScan()
233 private Context createContext(Scenario scenario, Context context) throws Exception { in createContext() method in NearbyDevicesRenouncePermissionTest
244 context.createContext( in createContext()
254 context.createContext( in createContext()
265 context.createContext( in createContext()
/cts/tests/tests/permission5/BlamedPermissionApp/src/android/permission5/cts/blamed/
DBringToForegroundActivity.kt33 val attributionContext = createContext( in onCreate()
/cts/tests/tests/permission5/BlamedPermissionApp2/src/android/permission5/cts/blamed2/
DMyRecognitionService.kt58 val attributionContext = createContext(ContextParams.Builder() in performOperationMicRecoWithAttribution()
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/
DResourcesLoaderValuesTest.kt586 private fun createContext(context: Context, id: Int): Context { in <lambda>() method
603 val childContext = createContext(context, 0) in <lambda>()
618 val originalPrime = createContext(context, 2) in <lambda>()
623 val childPrime = createContext(childContext, 1) in <lambda>()
637 val childContext = createContext(context, 0) in <lambda>()
650 val childContext2 = createContext(context, 1) in <lambda>()
/cts/tests/tests/opengl/src/android/opengl/cts/
DGlTestBase.java75 public void createContext() { in createContext() method in GlTestBase
/cts/tests/vr/src/android/vr/cts/
DOpenGLESActivity.java234 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() method in OpenGLESActivity.PriorityContextFactory
260 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() method in OpenGLESActivity.ProtectedContextFactory
/cts/tests/tests/permission5/src/android/permission5/cts/
DRenouncedPermissionsTest.kt110 activity.attachBaseContext(context.createContext(contextParams)) in createActivityWithContextParams()
DRuntimePermissionsAppOpTrackingTest.kt249 val intermediaryContext = context.createContext(ContextParams.Builder() in <lambda>()
283 val intermediaryContext = context.createContext(ContextParams.Builder() in <lambda>()
299 val intermediaryContext = context.createContext(ContextParams.Builder() in <lambda>()
1162 return context.createContext(attributionParamsBuilder.build()) in <lambda>()
/cts/tests/tests/permission/AppThatRequestBluetoothPermission30/src/android/permission/cts/appthatrequestpermission/
DAccessBluetoothOnCommand.java127 return getContext().createContext( in createProxyingContext()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java400 mEglContext = createContext(mEgl, mEglDisplay, mEglConfig);
419 EGLContext createContext(EGL10 egl, EGLDisplay eglDisplay, EGLConfig eglConfig) { in createContext() method in TextureViewCtsActivity
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java770 EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig); in createContext() method
777 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { in createContext() method in GLSurfaceViewCustom.DefaultContextFactory
1040 mEglContext = view.mEGLContextFactory.createContext(mEgl, mEglDisplay, mEglConfig); in start()
/cts/tests/uwb/src/android/uwb/cts/
DUwbManagerTest.java255 return mContext.createContext(new ContextParams.Builder() in createShellContextWithRenouncedPermissionsAndAttributionSource()
/cts/hostsidetests/sustainedperf/shadertoy_android/src/
DGLtestView.java112 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig eglConfig) { in createContext() method in GLtestView.ContextFactory
/cts/tests/tests/content/src/android/content/cts/
DContentProviderClientTest.java97 final Context attributionContext = getContext().createContext( in setUp()
DContextTest.java214 final Context attributionContext = getContext().createContext(params); in testCreateAttributionContextFromParams()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java911 final Context newContext = activity.createContext(new ContextParams.Builder().build()); in testViewAppeared_withNewContext()