Home
last modified time | relevance | path

Searched refs:clientContext (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/view/contentcapture/
DChildContentCaptureSession.java37 @NonNull ContentCaptureContext clientContext) { in ChildContentCaptureSession() argument
38 super(clientContext); in ChildContentCaptureSession()
51 ContentCaptureSession newChild(@NonNull ContentCaptureContext clientContext) { in newChild() argument
52 final ContentCaptureSession child = new ChildContentCaptureSession(this, clientContext); in newChild()
53 getMainCaptureSession().notifyChildSessionStarted(mId, child.mId, clientContext); in newChild()
DContentCaptureContext.java114 public ContentCaptureContext(@Nullable ContentCaptureContext clientContext, in ContentCaptureContext() argument
116 if (clientContext != null) { in ContentCaptureContext()
118 mExtras = clientContext.mExtras; in ContentCaptureContext()
119 mId = clientContext.mId; in ContentCaptureContext()
389 final ContentCaptureContext clientContext;
396 clientContext = new ContentCaptureContext(builder);
398 clientContext = null;
403 return clientContext;
408 return new ContentCaptureContext(clientContext, componentName, taskId, displayId,
DMainContentCaptureSession.java209 ContentCaptureSession newChild(@NonNull ContentCaptureContext clientContext) { in newChild() argument
210 final ContentCaptureSession child = new ChildContentCaptureSession(this, clientContext); in newChild()
211 notifyChildSessionStarted(mId, child.mId, clientContext); in newChild()
645 @NonNull ContentCaptureContext clientContext) { in notifyChildSessionStarted() argument
647 .setParentSessionId(parentSessionId).setClientContext(clientContext), in notifyChildSessionStarted()
DContentCaptureEvent.java207 public ContentCaptureEvent setClientContext(@NonNull ContentCaptureContext clientContext) { in setClientContext() argument
208 mClientContext = clientContext; in setClientContext()
/frameworks/base/core/java/android/net/
DSSLSessionCache.java60 SSLSessionContext clientContext = context.getClientSessionContext(); in install() local
61 if (clientContext instanceof ClientSessionContext) { in install()
62 ((ClientSessionContext) clientContext).setPersistentCache( in install()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureEventTest.java184 final ContentCaptureContext clientContext = event.getContentCaptureContext(); in assertSessionStartedEvent() local
185 assertThat(clientContext).isNotNull(); in assertSessionStartedEvent()
186 assertThat(clientContext.getLocusId()).isEqualTo(ID); in assertSessionStartedEvent()
307 final ContentCaptureContext clientContext = event.getContentCaptureContext(); in assertContextUpdatedEvent() local
308 assertThat(clientContext).isNotNull(); in assertContextUpdatedEvent()
309 assertThat(clientContext.getLocusId()).isEqualTo(ID); in assertContextUpdatedEvent()
/frameworks/base/core/java/android/service/contentcapture/
DContentCaptureService.java495 final ContentCaptureContext clientContext = event.getContentCaptureContext(); in handleSendEvents() local
496 if (activityComponent == null && clientContext != null) { in handleSendEvents()
497 activityComponent = clientContext.getActivityComponent(); in handleSendEvents()
501 clientContext.setParentSessionId(event.getParentSessionId()); in handleSendEvents()
503 onCreateContentCaptureSession(clientContext, sessionId); in handleSendEvents()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DCameraStreamer.java335 EGLContext clientContext = RenderTarget.currentContext(); in grabFrame() local
336 TextureSource clientTex = textureForContext(clientContext); in grabFrame()
337 ImageShader copyShader = shaderForContext(clientContext); in grabFrame()
338 SurfaceTexture surfTex = surfaceTextureForContext(clientContext); in grabFrame()
605 EGLContext clientContext = RenderTarget.currentContext(); in grabFrame() local
608 TextureSource clientTex = textureForContext(clientContext); in grabFrame()
619 ImageShader transferShader = shaderForContext(clientContext); in grabFrame()
/frameworks/base/core/tests/coretests/src/android/net/http/
DAbstractProxyTest.java86 .newInstance(testSSLContext.clientContext.getSocketFactory()); in newSslSocketFactory()
/frameworks/base/core/java/android/app/
DActivityManager.java177 UidObserver(OnUidImportanceListener listener, Context clientContext) { in UidObserver() argument
179 mContext = clientContext; in UidObserver()
3392 Context clientContext) {
3394 clientContext.getApplicationInfo().targetSdkVersion);