Home
last modified time | relevance | path

Searched refs:ContentCaptureOptions (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/content/
DContentCaptureOptionsTest.java52 private static final ContentCaptureOptions CONTENT_CAPTURE_OPTIONS =
53 new ContentCaptureOptions(
61 new ContentCaptureOptions.ContentProtectionOptions(
80 ContentCaptureOptions options = new ContentCaptureOptions(null); in testIsWhitelisted_nullWhitelistedComponents()
86 ContentCaptureOptions options = new ContentCaptureOptions(toSet((ComponentName) null)); in testIsWhitelisted_emptyWhitelistedComponents()
92 ContentCaptureOptions options = new ContentCaptureOptions(toSet(COMPONENT1, COMPONENT2)); in testIsWhitelisted_notWhitelisted()
98 ContentCaptureOptions options = in testIsWhitelisted_whitelisted()
99 new ContentCaptureOptions(toSet(COMPONENT1, CONTEXT_COMPONENT)); in testIsWhitelisted_whitelisted()
105 ContentCaptureOptions options = new ContentCaptureOptions(toSet(CONTEXT_COMPONENT)); in testIsWhitelisted_invalidContext()
112 ContentCaptureOptions options = new ContentCaptureOptions(toSet(CONTEXT_COMPONENT)); in testIsWhitelisted_clientWithNullComponentName()
[all …]
DOWNERS8 per-file ContentCaptureOptions* = file:/core/java/android/view/contentcapture/OWNERS
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureManagerTest.java24 import android.content.ContentCaptureOptions;
48 private static final ContentCaptureOptions EMPTY_OPTIONS = new ContentCaptureOptions(null);
72 ContentCaptureOptions options = in testConstructor_contentProtection_disabled_bufferNotCreated()
74 new ContentCaptureOptions.ContentProtectionOptions( in testConstructor_contentProtection_disabled_bufferNotCreated()
89 ContentCaptureOptions options = in testConstructor_contentProtection_invalidBufferSize_bufferNotCreated()
91 new ContentCaptureOptions.ContentProtectionOptions( in testConstructor_contentProtection_invalidBufferSize_bufferNotCreated()
106 ContentCaptureOptions options = in testConstructor_contentProtection_enabled_bufferCreated()
108 new ContentCaptureOptions.ContentProtectionOptions( in testConstructor_contentProtection_enabled_bufferCreated()
197 private ContentCaptureOptions createOptions( in createOptions()
198 ContentCaptureOptions.ContentProtectionOptions contentProtectionOptions) { in createOptions()
[all …]
DMainContentCaptureSessionV2Test.java33 import android.content.ContentCaptureOptions;
132 ContentCaptureOptions options = in onSessionStarted_contentProtectionNoBuffer_processorNotCreated()
135 new ContentCaptureOptions.ContentProtectionOptions( in onSessionStarted_contentProtectionNoBuffer_processorNotCreated()
153 ContentCaptureOptions options = in onSessionStarted_contentProtectionNoGroups_processorNotCreated()
156 new ContentCaptureOptions.ContentProtectionOptions( in onSessionStarted_contentProtectionNoGroups_processorNotCreated()
258 ContentCaptureOptions options = in flush_contentCaptureDisabled_contentProtectionDisabled()
293 ContentCaptureOptions options = in flush_contentCaptureEnabled_contentProtectionDisabled()
311 ContentCaptureOptions options = in flush_contentCaptureEnabled_contentProtectionEnabled()
358 ContentCaptureOptions options = in notifyContentCaptureEvents_notStarted_ContentCaptureDisabled_ProtectionDisabled()
375 ContentCaptureOptions options = in notifyContentCaptureEvents_started_ContentCaptureDisabled_ProtectionDisabled()
[all …]
DMainContentCaptureSessionTest.java33 import android.content.ContentCaptureOptions;
132 ContentCaptureOptions options = in onSessionStarted_contentProtectionNoBuffer_processorNotCreated()
135 new ContentCaptureOptions.ContentProtectionOptions( in onSessionStarted_contentProtectionNoBuffer_processorNotCreated()
153 ContentCaptureOptions options = in onSessionStarted_contentProtectionNoGroups_processorNotCreated()
156 new ContentCaptureOptions.ContentProtectionOptions( in onSessionStarted_contentProtectionNoGroups_processorNotCreated()
258 ContentCaptureOptions options = in flush_contentCaptureDisabled_contentProtectionDisabled()
293 ContentCaptureOptions options = in flush_contentCaptureEnabled_contentProtectionDisabled()
311 ContentCaptureOptions options = in flush_contentCaptureEnabled_contentProtectionEnabled()
358 ContentCaptureOptions options = in notifyContentCaptureEvents_notStarted_ContentCaptureDisabled_ProtectionDisabled()
375 ContentCaptureOptions options = in notifyContentCaptureEvents_started_ContentCaptureDisabled_ProtectionDisabled()
[all …]
/frameworks/base/core/java/android/content/
DContentCaptureOptions.java48 public final class ContentCaptureOptions implements Parcelable { class
50 private static final String TAG = ContentCaptureOptions.class.getSimpleName();
115 public ContentCaptureOptions(int loggingLevel) { in ContentCaptureOptions() method in ContentCaptureOptions
135 public ContentCaptureOptions( in ContentCaptureOptions() method in ContentCaptureOptions
157 public ContentCaptureOptions( in ContentCaptureOptions() method in ContentCaptureOptions
183 public ContentCaptureOptions(@Nullable ArraySet<ComponentName> whitelistedComponents) { in ContentCaptureOptions() method in ContentCaptureOptions
196 private ContentCaptureOptions( in ContentCaptureOptions() method in ContentCaptureOptions
220 public static ContentCaptureOptions forWhitelistingItself() { in forWhitelistingItself()
234 final ContentCaptureOptions options = in forWhitelistingItself()
235 new ContentCaptureOptions(/* whitelistedComponents= */ null); in forWhitelistingItself()
[all …]
DContentCaptureOptions.aidl19 parcelable ContentCaptureOptions;
DOWNERS11 per-file ContentCaptureOptions* = file:/core/java/android/service/contentcapture/OWNERS
/frameworks/base/core/java/android/view/contentcapture/
DIContentCaptureOptionsCallback.aidl19 import android.content.ContentCaptureOptions;
30 void setContentCaptureOptions(in ContentCaptureOptions options); in setContentCaptureOptions()
DIContentCaptureDirectManager.aidl21 import android.content.ContentCaptureOptions;
31 void sendEvents(in ParceledListSlice events, int reason, in ContentCaptureOptions options); in sendEvents()
/frameworks/base/core/java/android/service/contentcapture/
DIContentCaptureServiceCallback.aidl22 import android.content.ContentCaptureOptions;
38 in ContentCaptureOptions options, int flushReason); in writeSessionFlush()
DIContentProtectionAllowlistCallback.aidl22 import android.content.ContentCaptureOptions;
DContentCaptureService.java34 import android.content.ContentCaptureOptions;
247 ContentCaptureOptions options) {
541 @Nullable ContentCaptureOptions options) { in handleSendEvents()
751 @NonNull FlushMetrics flushMetrics, @Nullable ContentCaptureOptions options, in writeFlushMetrics()
/frameworks/base/services/core/java/com/android/server/contentcapture/
DContentCaptureManagerInternal.java23 import android.content.ContentCaptureOptions;
67 public abstract ContentCaptureOptions getOptionsForPackage(@UserIdInt int userId, in getOptionsForPackage()
/frameworks/base/core/java/android/service/voice/
DISandboxedDetectionService.aidl19 import android.content.ContentCaptureOptions;
63 in ContentCaptureOptions options); in updateContentCaptureManager()
DVisualQueryDetectionService.java26 import android.content.ContentCaptureOptions;
155 ContentCaptureOptions options) {
DHotwordDetectionService.java31 import android.content.ContentCaptureOptions;
222 ContentCaptureOptions options) {
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureMetricsLogger.java21 import android.content.ContentCaptureOptions;
72 @NonNull FlushMetrics fm, @NonNull ContentCaptureOptions options, in writeSessionFlush()
DContentCaptureManagerService.java60 import android.content.ContentCaptureOptions;
774 void updateOptions(String packageName, ContentCaptureOptions options) { in updateOptions()
1249 final ContentCaptureOptions options = mGlobalContentCaptureOptions.getOptions(userId, in registerContentCaptureOptionsCallback()
1391 public ContentCaptureOptions getOptionsForPackage(int userId, @NonNull String packageName) { in getOptionsForPackage()
1449 public ContentCaptureOptions getOptions(@UserIdInt int userId, in getOptions()
1468 return new ContentCaptureOptions(mDevCfgLoggingLevel); in getOptions()
1493 final ContentCaptureOptions options = in getOptions()
1494 new ContentCaptureOptions( in getOptions()
1502 new ContentCaptureOptions.ContentProtectionOptions( in getOptions()
/frameworks/base/core/java/android/view/contentprotection/
DContentProtectionEventProcessor.java21 import android.content.ContentCaptureOptions;
67 @NonNull private final ContentCaptureOptions.ContentProtectionOptions mOptions;
91 @NonNull ContentCaptureOptions.ContentProtectionOptions options) { in ContentProtectionEventProcessor()
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
DAbstractContentCapturePerfTestCase.java28 import android.content.ContentCaptureOptions;
157 final ContentCaptureOptions options = new ContentCaptureOptions(null); in setAllowSelf()
/frameworks/base/core/java/com/android/internal/policy/
DDecorContext.java20 import android.content.ContentCaptureOptions;
117 public ContentCaptureOptions getContentCaptureOptions() { in getContentCaptureOptions()
/frameworks/base/services/tests/servicestests/src/com/android/server/contentcapture/
DContentCaptureManagerServiceTest.java31 import android.content.ContentCaptureOptions;
273 ContentCaptureOptions actual = in getOptions_contentCaptureDisabled_contentProtectionDisabled()
289 ContentCaptureOptions actual = in getOptions_contentCaptureDisabled_contentProtectionEnabled()
305 ContentCaptureOptions actual = in getOptions_contentCaptureEnabled_contentProtectionDisabled()
327 ContentCaptureOptions actual = in getOptions_contentCaptureEnabled_contentProtectionEnabled()
/frameworks/base/core/tests/coretests/src/android/view/contentprotection/
DContentProtectionEventProcessorTest.java34 import android.content.ContentCaptureOptions;
112 private static final ContentCaptureOptions.ContentProtectionOptions OPTIONS =
113 new ContentCaptureOptions.ContentProtectionOptions(
/frameworks/base/core/java/android/app/
DIApplicationThread.aidl29 import android.content.ContentCaptureOptions;
92 in ContentCaptureOptions contentCaptureOptions, in long[] disabledCompatChanges, in bindApplication()

12