Home
last modified time | relevance | path

Searched refs:ContentCaptureSession (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureSessionTest.java64 private ContentCaptureSession mSession1 = new MyContentCaptureSession(111);
66 private ContentCaptureSession mSession2 = new MyContentCaptureSession(2222);
71 @DisableCompatChanges({ContentCaptureSession.NOTIFY_NODES_DISAPPEAR_NOW_SENDS_TREE_EVENTS})
153 @EnableCompatChanges({ContentCaptureSession.NOTIFY_NODES_DISAPPEAR_NOW_SENDS_TREE_EVENTS})
165 int invalidFlushReason = ContentCaptureSession.FLUSH_REASON_VIEW_TREE_APPEARED + 1; in testGetFlushReasonAsString()
168 .put(ContentCaptureSession.FLUSH_REASON_FULL, "FULL") in testGetFlushReasonAsString()
169 .put(ContentCaptureSession.FLUSH_REASON_VIEW_ROOT_ENTERED, "VIEW_ROOT") in testGetFlushReasonAsString()
170 .put(ContentCaptureSession.FLUSH_REASON_SESSION_STARTED, "STARTED") in testGetFlushReasonAsString()
171 .put(ContentCaptureSession.FLUSH_REASON_SESSION_FINISHED, "FINISHED") in testGetFlushReasonAsString()
172 .put(ContentCaptureSession.FLUSH_REASON_IDLE_TIMEOUT, "IDLE") in testGetFlushReasonAsString()
[all …]
DContentCaptureManagerTest.java156 final ContentCaptureSession unused = manager.getMainContentCaptureSession(); in testUpdateWindowAttribute_setFlagSecure()
170 final ContentCaptureSession unused = manager.getMainContentCaptureSession(); in testUpdateWindowAttribute_clearFlagSecure()
187 final ContentCaptureSession unused = manager.getMainContentCaptureSession(); in testUpdateWindowAttribute_clearFlagSecureAfterDisabledByApp()
DMainContentCaptureSessionTest.java20 import static android.view.contentcapture.ContentCaptureSession.FLUSH_REASON_VIEW_TREE_APPEARED;
21 import static android.view.contentcapture.ContentCaptureSession.FLUSH_REASON_VIEW_TREE_APPEARING;
DMainContentCaptureSessionV2Test.java20 import static android.view.contentcapture.ContentCaptureSession.FLUSH_REASON_VIEW_TREE_APPEARED;
21 import static android.view.contentcapture.ContentCaptureSession.FLUSH_REASON_VIEW_TREE_APPEARING;
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureSession.java59 public abstract class ContentCaptureSession implements AutoCloseable { class
61 private static final String TAG = ContentCaptureSession.class.getSimpleName();
260 private ArrayList<ContentCaptureSession> mChildren;
263 protected ContentCaptureSession() { in ContentCaptureSession() method in ContentCaptureSession
269 public ContentCaptureSession(int id) { in ContentCaptureSession() method in ContentCaptureSession
275 ContentCaptureSession(@NonNull ContentCaptureContext initialContext) { in ContentCaptureSession() method in ContentCaptureSession
282 abstract ContentCaptureSession getMainCaptureSession(); in getMainCaptureSession()
319 public final ContentCaptureSession createContentCaptureSession( in createContentCaptureSession()
321 final ContentCaptureSession child = newChild(context); in createContentCaptureSession()
335 abstract ContentCaptureSession newChild(@NonNull ContentCaptureContext context); in newChild()
[all …]
DChildContentCaptureSession.java36 final class ChildContentCaptureSession extends ContentCaptureSession {
39 private final ContentCaptureSession mParent;
42 protected ChildContentCaptureSession(@NonNull ContentCaptureSession parent, in ChildContentCaptureSession()
49 ContentCaptureSession getMainCaptureSession() { in getMainCaptureSession()
70 ContentCaptureSession newChild(@NonNull ContentCaptureContext clientContext) { in newChild()
71 final ContentCaptureSession child = new ChildContentCaptureSession(this, clientContext); in newChild()
DContentCaptureManager.java52 import android.view.contentcapture.ContentCaptureSession.FlushReason;
517 private ContentCaptureSession mMainSession;
602 public ContentCaptureSession getMainContentCaptureSession() { in getMainContentCaptureSession()
614 private ContentCaptureSession prepareMainSession() { in prepareMainSession()
761 final ContentCaptureSession mainSession; in isContentCaptureEnabled()
812 ContentCaptureSession mainSession; in setContentCaptureEnabled()
838 ContentCaptureSession mainSession; in updateWindowAttributes()
DMainContentCaptureSessionV2.java85 public final class MainContentCaptureSessionV2 extends ContentCaptureSession {
253 ContentCaptureSession getMainCaptureSession() { in getMainCaptureSession()
258 ContentCaptureSession newChild(@NonNull ContentCaptureContext clientContext) { in newChild()
259 final ContentCaptureSession child = new ChildContentCaptureSession(this, clientContext); in newChild()
954 ContentCaptureSession session = view.getContentCaptureSession(); in prepareViewStructures()
1164 @Nullable private ContentCaptureSession mSession;
1169 void setSession(@Nullable ContentCaptureSession session) { in setSession()
DMainContentCaptureSession.java85 public final class MainContentCaptureSession extends ContentCaptureSession {
234 ContentCaptureSession getMainCaptureSession() { in getMainCaptureSession()
239 ContentCaptureSession newChild(@NonNull ContentCaptureContext clientContext) { in newChild()
240 final ContentCaptureSession child = new ChildContentCaptureSession(this, clientContext); in newChild()
887 ContentCaptureSession session = view.getContentCaptureSession(); in notifyContentCaptureEventsImpl()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureServerSession.java22 import static android.view.contentcapture.ContentCaptureSession.STATE_ACTIVE;
23 import static android.view.contentcapture.ContentCaptureSession.STATE_DISABLED;
24 import static android.view.contentcapture.ContentCaptureSession.STATE_SERVICE_RESURRECTED;
25 import static android.view.contentcapture.ContentCaptureSession.STATE_SERVICE_UPDATING;
38 import android.view.contentcapture.ContentCaptureSession;
126 extras.putBoolean(ContentCaptureSession.EXTRA_ENABLED_STATE, true); in setContentCaptureEnabledLocked()
DContentCapturePerUserService.java21 import static android.view.contentcapture.ContentCaptureSession.STATE_DISABLED;
22 import static android.view.contentcapture.ContentCaptureSession.STATE_DUPLICATED_ID;
23 import static android.view.contentcapture.ContentCaptureSession.STATE_INTERNAL_ERROR;
24 import static android.view.contentcapture.ContentCaptureSession.STATE_NOT_WHITELISTED;
25 import static android.view.contentcapture.ContentCaptureSession.STATE_NO_SERVICE;
DContentCaptureManagerService.java37 import static android.view.contentcapture.ContentCaptureSession.STATE_DISABLED;
/frameworks/base/core/java/android/view/translation/
DViewTranslationCallback.java22 import android.view.contentcapture.ContentCaptureSession;
/frameworks/base/core/java/android/service/contentcapture/
DContentCaptureService.java52 import android.view.contentcapture.ContentCaptureSession;
526 stateFlags |= ContentCaptureSession.STATE_FLAG_SECURE; in handleOnCreateSession()
529 stateFlags |= ContentCaptureSession.STATE_BY_APP; in handleOnCreateSession()
534 stateFlags |= ContentCaptureSession.STATE_DISABLED; in handleOnCreateSession()
737 extras.putBinder(ContentCaptureSession.EXTRA_BINDER, binder); in setClientState()
/frameworks/base/core/java/android/view/
DView.java191 import android.view.contentcapture.ContentCaptureSession;
5725 private ContentCaptureSession mContentCaptureSession;
10825 ContentCaptureSession session = getContentCaptureSession();
10922 public void setContentCaptureSession(@Nullable ContentCaptureSession contentCaptureSession) {
10934 public final ContentCaptureSession getContentCaptureSession() {
10945 private ContentCaptureSession getAndCacheContentCaptureSession() {
10952 ContentCaptureSession session = null;
11261 ContentCaptureSession session = getContentCaptureSession();
11280 ContentCaptureSession session = getContentCaptureSession();
32221 private void delayNotifyContentCaptureEvent(@NonNull ContentCaptureSession session, in delayNotifyContentCaptureEvent()
[all …]
DViewRootImpl.java251 import android.view.contentcapture.ContentCaptureSession;
4544 final ContentCaptureSession session = manager.getMainContentCaptureSession(); in notifyContentCaptureEvents()
5457 ContentCaptureSession session = in performContentCaptureInitialReport()
5491 ccm.flush(ContentCaptureSession.FLUSH_REASON_VIEW_ROOT_ENTERED); in handleContentCaptureFlush()
9356 ContentCaptureSession mainSession = mAttachInfo.mContentCaptureManager in relayoutWindow()
/frameworks/base/core/java/android/widget/
DAbsListView.java84 import android.view.contentcapture.ContentCaptureSession;
6938 ContentCaptureSession session = getContentCaptureSession(); in reportActiveViewsToContentCapture()
/frameworks/base/boot/
Dboot-image-profile.txt16947 HSPLandroid/view/View$AttachInfo;->ensureEvents(Landroid/view/contentcapture/ContentCaptureSession;…
17110 …d/view/View;->getAndCacheContentCaptureSession()Landroid/view/contentcapture/ContentCaptureSession;
17124 …PLandroid/view/View;->getContentCaptureSession()Landroid/view/contentcapture/ContentCaptureSession;
18847 HSPLandroid/view/contentcapture/ContentCaptureSession;-><init>()V
18848 HSPLandroid/view/contentcapture/ContentCaptureSession;-><init>(I)V
18849 HSPLandroid/view/contentcapture/ContentCaptureSession;->destroy()V
18850 HSPLandroid/view/contentcapture/ContentCaptureSession;->getFlushReasonAsString(I)Ljava/lang/String;
18851 HSPLandroid/view/contentcapture/ContentCaptureSession;->getId()I
18852 HSPLandroid/view/contentcapture/ContentCaptureSession;->getRandomSessionId()I
18853 HSPLandroid/view/contentcapture/ContentCaptureSession;->getStateAsString(I)Ljava/lang/String;
[all …]
Dpreloaded-classes9363 android.view.contentcapture.ContentCaptureSession
/frameworks/base/config/
Dboot-image-profile.txt17011 HSPLandroid/view/View$AttachInfo;->ensureEvents(Landroid/view/contentcapture/ContentCaptureSession;…
17174 …d/view/View;->getAndCacheContentCaptureSession()Landroid/view/contentcapture/ContentCaptureSession;
17188 …PLandroid/view/View;->getContentCaptureSession()Landroid/view/contentcapture/ContentCaptureSession;
18911 HSPLandroid/view/contentcapture/ContentCaptureSession;-><init>()V
18912 HSPLandroid/view/contentcapture/ContentCaptureSession;-><init>(I)V
18913 HSPLandroid/view/contentcapture/ContentCaptureSession;->destroy()V
18914 HSPLandroid/view/contentcapture/ContentCaptureSession;->getFlushReasonAsString(I)Ljava/lang/String;
18915 HSPLandroid/view/contentcapture/ContentCaptureSession;->getId()I
18916 HSPLandroid/view/contentcapture/ContentCaptureSession;->getRandomSessionId()I
18917 HSPLandroid/view/contentcapture/ContentCaptureSession;->getStateAsString(I)Ljava/lang/String;
[all …]
Dpreloaded-classes9394 android.view.contentcapture.ContentCaptureSession
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt52633 …method @Nullable public final android.view.contentcapture.ContentCaptureSession getContentCaptureS…
53020 … public void setContentCaptureSession(@Nullable android.view.contentcapture.ContentCaptureSession);
55772 public abstract class ContentCaptureSession implements java.lang.AutoCloseable {
55774 …method @NonNull public final android.view.contentcapture.ContentCaptureSession createContentCaptur…