Home
last modified time | relevance | path

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

/cts/tests/tests/attributionsource/src/android/attributionsource/cts/
DAttributionSourceTest.kt114 val registerContext = baseContext.createContext( in attributionSourceRegisteredWhenContextFlagSet()
118 var noRegisterContext = baseContext.createContext( in attributionSourceRegisteredWhenContextFlagSet()
123 noRegisterContext = baseContext.createContext( in attributionSourceRegisteredWhenContextFlagSet()
DRenouncedPermissionsTest.kt123 activity.attachBaseContext(context.createContext(contextParams)) in createActivityWithContextParams()
DRuntimePermissionsAppOpTrackingTest.kt260 val intermediaryContext = context.createContext(ContextParams.Builder() in <lambda>()
294 val intermediaryContext = context.createContext(ContextParams.Builder() in <lambda>()
310 val intermediaryContext = context.createContext(ContextParams.Builder() in <lambda>()
1243 return context.createContext(attributionParamsBuilder.build()) in <lambda>()
/cts/tests/tests/attributionsource/BlamedPermissionApp/src/android/attributionsource/cts/blamed/
DBringToForegroundActivity.kt32 val attributionContext = createContext( in onCreate()
/cts/tests/tests/attributionsource/BlamedPermissionApp2/src/android/attributionsource/cts/blamed2/
DMyRecognitionService.kt58 val attributionContext = createContext(ContextParams.Builder() in performOperationMicRecoWithAttribution()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioFocusWithVdmTest.java116 vd.createContext())) { in testAudioFocusRequestOnVdmContextWithCustomDevicePolicy()
149 vd.createContext())) { in testAudioFocusRequestOnVdmContextWithDefaultDevicePolicy()
/cts/tests/tests/opengl/src/android/opengl/cts/
DGlTestBase.java75 public void createContext() { in createContext() method in GlTestBase
/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/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityOverlayTest.java454 Function<Display, Context> createContext, boolean expectException) throws Exception { in addOverlayToVirtualDisplayAndCheck() argument
481 () -> addOverlayWindow(createContext.apply(newDisplay), overlayTitle)); in addOverlayToVirtualDisplayAndCheck()
489 createContext.apply(newDisplay), in addOverlayToVirtualDisplayAndCheck()
/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/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/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DTextToSpeechTest.java99 Context virtualDeviceContext = virtualDevice.createContext(); in setUp()
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/
DVirtualDeviceManagerBasicTest.java486 Context deviceContext = mVirtualDevice.createContext(); in createContext_returnsCorrectContext()
494 assertThat(mVirtualDevice.createContext().getDeviceId()) in createContext_multipleDevices_returnCorrectContexts()
496 assertThat(secondVirtualDevice.createContext().getDeviceId()) in createContext_multipleDevices_returnCorrectContexts()
/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/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/tests/telephony/current/src/android/telephony/cts/
DTelephonyLocationTests.java427 return callWithRenouncePermissions(() -> ((TelephonyManager) context.createContext( in getTelephonyManagerWithRenouncedPermissions()
/cts/tests/tests/content/src/android/content/cts/
DContentProviderClientTest.java99 final Context attributionContext = getContext().createContext( in setUp()
DContextTest.java272 final Context attributionContext = getContext().createContext(params); in testCreateAttributionContextFromParams()
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraTest.java657 assertThat(Camera.getNumberOfCameras(mVirtualDevice.createContext())) in defaultPolicyVdContext_getNumberOfCameras_doesNotIncludeVirtualCamera()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivityTest.java892 final Context newContext = activity.createContext(new ContextParams.Builder().build()); in testViewAppeared_withNewContext()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt3468 method @NonNull public android.content.Context createContext();
Dcurrent.txt10547 …method @NonNull public android.content.Context createContext(@NonNull android.content.ContextParam…
32416 …method public javax.microedition.khronos.egl.EGLContext createContext(javax.microedition.khronos.e…