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.java36 @NonNull ContentCaptureContext clientContext) { in ChildContentCaptureSession() argument
37 super(clientContext); in ChildContentCaptureSession()
50 ContentCaptureSession newChild(@NonNull ContentCaptureContext clientContext) { in newChild() argument
51 final ContentCaptureSession child = new ChildContentCaptureSession(this, clientContext); in newChild()
52 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.java194 ContentCaptureSession newChild(@NonNull ContentCaptureContext clientContext) { in newChild() argument
195 final ContentCaptureSession child = new ChildContentCaptureSession(this, clientContext); in newChild()
196 notifyChildSessionStarted(mId, child.mId, clientContext); in newChild()
608 @NonNull ContentCaptureContext clientContext) { in notifyChildSessionStarted() argument
610 .setParentSessionId(parentSessionId).setClientContext(clientContext), in notifyChildSessionStarted()
DContentCaptureEvent.java199 public ContentCaptureEvent setClientContext(@NonNull ContentCaptureContext clientContext) { in setClientContext() argument
200 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.java462 final ContentCaptureContext clientContext = event.getContentCaptureContext(); in handleSendEvents() local
463 if (activityComponent == null && clientContext != null) { in handleSendEvents()
464 activityComponent = clientContext.getActivityComponent(); in handleSendEvents()
468 clientContext.setParentSessionId(event.getParentSessionId()); in handleSendEvents()
470 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.java167 UidObserver(OnUidImportanceListener listener, Context clientContext) { in UidObserver() argument
169 mContext = clientContext; in UidObserver()
2993 Context clientContext) {
2995 clientContext.getApplicationInfo().targetSdkVersion);