Home
last modified time | relevance | path

Searched refs:mContentProtectionEventProcessor (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/contentprotection/
DContentProtectionEventProcessorTest.java104 private ContentProtectionEventProcessor mContentProtectionEventProcessor; field in ContentProtectionEventProcessorTest
108 mContentProtectionEventProcessor = in setup()
125 mContentProtectionEventProcessor.processEvent(event); in processEvent_buffer_storesOnlySubsetOfEventTypes()
137 mContentProtectionEventProcessor.processEvent(event); in processEvent_buffer_setsTextIdEntry_withoutExistingViewNode()
151 mContentProtectionEventProcessor.processEvent(event); in processEvent_buffer_setsTextIdEntry_withExistingViewNode()
160 mContentProtectionEventProcessor.mPasswordFieldDetected = true; in processEvent_loginDetected_inspectsOnlyTypeViewAppeared()
161 mContentProtectionEventProcessor.mSuspiciousTextDetected = true; in processEvent_loginDetected_inspectsOnlyTypeViewAppeared()
168 mContentProtectionEventProcessor.processEvent(createEvent(type)); in processEvent_loginDetected_inspectsOnlyTypeViewAppeared()
170 assertThat(mContentProtectionEventProcessor.mPasswordFieldDetected).isTrue(); in processEvent_loginDetected_inspectsOnlyTypeViewAppeared()
171 assertThat(mContentProtectionEventProcessor.mSuspiciousTextDetected).isTrue(); in processEvent_loginDetected_inspectsOnlyTypeViewAppeared()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DMainContentCaptureSessionTest.java88 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionEnabled_processorCreated()
92 assertThat(session.mContentProtectionEventProcessor).isNotNull(); in onSessionStarted_contentProtectionEnabled_processorCreated()
101 session.mContentProtectionEventProcessor = mMockContentProtectionEventProcessor; in onSessionStarted_contentProtectionDisabled_processorNotCreated()
105 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionDisabled_processorNotCreated()
117 session.mContentProtectionEventProcessor = mMockContentProtectionEventProcessor; in onSessionStarted_contentProtectionNoBuffer_processorNotCreated()
121 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_contentProtectionNoBuffer_processorNotCreated()
132 assertThat(session.mContentProtectionEventProcessor).isNull(); in onSessionStarted_noComponentName_processorNotCreated()
141 session.mContentProtectionEventProcessor = mMockContentProtectionEventProcessor; in sendEvent_contentCaptureDisabled_contentProtectionDisabled()
155 session.mContentProtectionEventProcessor = mMockContentProtectionEventProcessor; in sendEvent_contentCaptureDisabled_contentProtectionEnabled()
169 session.mContentProtectionEventProcessor = mMockContentProtectionEventProcessor; in sendEvent_contentCaptureEnabled_contentProtectionDisabled()
[all …]
/frameworks/base/core/java/android/view/contentcapture/
DMainContentCaptureSession.java174 public ContentProtectionEventProcessor mContentProtectionEventProcessor; field in MainContentCaptureSession
324 mContentProtectionEventProcessor = in onSessionStarted()
331 mContentProtectionEventProcessor = null; in onSessionStarted()
388 if (mContentProtectionEventProcessor != null) { in sendContentProtectionEvent()
389 mContentProtectionEventProcessor.processEvent(event); in sendContentProtectionEvent()
693 mContentProtectionEventProcessor = null; in destroySession()
721 mContentProtectionEventProcessor = null; in resetSession()