/aosp14/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentCaptureOptionsTest.java | 47 private static final ContentCaptureOptions CONTENT_CAPTURE_OPTIONS = 48 new ContentCaptureOptions( 56 new ContentCaptureOptions.ContentProtectionOptions( 72 ContentCaptureOptions options = new ContentCaptureOptions(null); in testIsWhitelisted_nullWhitelistedComponents() 78 ContentCaptureOptions options = new ContentCaptureOptions(toSet((ComponentName) null)); in testIsWhitelisted_emptyWhitelistedComponents() 84 ContentCaptureOptions options = new ContentCaptureOptions(toSet(COMPONENT1, COMPONENT2)); in testIsWhitelisted_notWhitelisted() 90 ContentCaptureOptions options = in testIsWhitelisted_whitelisted() 91 new ContentCaptureOptions(toSet(COMPONENT1, CONTEXT_COMPONENT)); in testIsWhitelisted_whitelisted() 97 ContentCaptureOptions options = new ContentCaptureOptions(toSet(CONTEXT_COMPONENT)); in testIsWhitelisted_invalidContext() 104 ContentCaptureOptions options = new ContentCaptureOptions(toSet(CONTEXT_COMPONENT)); in testIsWhitelisted_clientWithNullComponentName() [all …]
|
H A D | OWNERS | 8 per-file ContentCaptureOptions* = file:/core/java/android/view/contentcapture/OWNERS
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
H A D | ContentCaptureManagerTest.java | 24 import android.content.ContentCaptureOptions; 45 private static final ContentCaptureOptions EMPTY_OPTIONS = new ContentCaptureOptions(null); 69 ContentCaptureOptions options = in testConstructor_contentProtection_disabled_bufferNotCreated() 71 new ContentCaptureOptions.ContentProtectionOptions( in testConstructor_contentProtection_disabled_bufferNotCreated() 82 ContentCaptureOptions options = in testConstructor_contentProtection_invalidBufferSize_bufferNotCreated() 84 new ContentCaptureOptions.ContentProtectionOptions( in testConstructor_contentProtection_invalidBufferSize_bufferNotCreated() 95 ContentCaptureOptions options = in testConstructor_contentProtection_enabled_bufferCreated() 97 new ContentCaptureOptions.ContentProtectionOptions( in testConstructor_contentProtection_enabled_bufferCreated() 136 private ContentCaptureOptions createOptions( in createOptions() 137 ContentCaptureOptions.ContentProtectionOptions contentProtectionOptions) { in createOptions() [all …]
|
H A D | MainContentCaptureSessionTest.java | 29 import android.content.ContentCaptureOptions; 111 ContentCaptureOptions options = in onSessionStarted_contentProtectionNoBuffer_processorNotCreated() 114 new ContentCaptureOptions.ContentProtectionOptions( in onSessionStarted_contentProtectionNoBuffer_processorNotCreated() 205 ContentCaptureOptions options = in flush_contentCaptureDisabled_contentProtectionDisabled() 238 ContentCaptureOptions options = in flush_contentCaptureEnabled_contentProtectionDisabled() 255 ContentCaptureOptions options = in flush_contentCaptureEnabled_contentProtectionEnabled() 296 private static ContentCaptureOptions createOptions( in createOptions() 299 return new ContentCaptureOptions( in createOptions() 311 private static ContentCaptureOptions createOptions( in createOptions() 315 new ContentCaptureOptions.ContentProtectionOptions( in createOptions() [all …]
|
/aosp14/frameworks/base/core/java/android/content/ |
H A D | ContentCaptureOptions.java | 43 public final class ContentCaptureOptions implements Parcelable { class 110 public ContentCaptureOptions(int loggingLevel) { in ContentCaptureOptions() method in ContentCaptureOptions 127 public ContentCaptureOptions( in ContentCaptureOptions() method in ContentCaptureOptions 151 public ContentCaptureOptions( in ContentCaptureOptions() method in ContentCaptureOptions 192 private ContentCaptureOptions( in ContentCaptureOptions() method in ContentCaptureOptions 216 public static ContentCaptureOptions forWhitelistingItself() { in forWhitelistingItself() 230 final ContentCaptureOptions options = in forWhitelistingItself() 328 new Parcelable.Creator<ContentCaptureOptions>() { 348 return new ContentCaptureOptions( 361 public ContentCaptureOptions[] newArray(int size) { [all …]
|
H A D | ContentCaptureOptions.aidl | 19 parcelable ContentCaptureOptions;
|
H A D | OWNERS | 12 per-file ContentCaptureOptions* = file:/core/java/android/service/contentcapture/OWNERS
|
H A D | ContextWrapper.java | 1378 public @Nullable ContentCaptureOptions getContentCaptureOptions() { in getContentCaptureOptions() 1387 public void setContentCaptureOptions(@Nullable ContentCaptureOptions options) { in setContentCaptureOptions()
|
/aosp14/frameworks/base/core/java/android/view/contentcapture/ |
H A D | IContentCaptureOptionsCallback.aidl | 19 import android.content.ContentCaptureOptions; 30 void setContentCaptureOptions(in ContentCaptureOptions options); in setContentCaptureOptions()
|
H A D | IContentCaptureDirectManager.aidl | 21 import android.content.ContentCaptureOptions; 31 void sendEvents(in ParceledListSlice events, int reason, in ContentCaptureOptions options); in sendEvents()
|
H A D | ContentCaptureManager.java | 35 import android.content.ContentCaptureOptions; 433 final ContentCaptureOptions mOptions; 495 @NonNull IContentCaptureManager service, @NonNull ContentCaptureOptions options) { in ContentCaptureManager()
|
/aosp14/frameworks/base/core/java/android/service/contentcapture/ |
H A D | IContentCaptureServiceCallback.aidl | 22 import android.content.ContentCaptureOptions; 38 in ContentCaptureOptions options, int flushReason); in writeSessionFlush()
|
H A D | ContentCaptureService.java | 33 import android.content.ContentCaptureOptions; 226 ContentCaptureOptions options) { 502 @Nullable ContentCaptureOptions options) { in handleSendEvents() 702 @NonNull FlushMetrics flushMetrics, @Nullable ContentCaptureOptions options, in writeFlushMetrics()
|
/aosp14/frameworks/base/services/core/java/com/android/server/contentcapture/ |
H A D | ContentCaptureManagerInternal.java | 23 import android.content.ContentCaptureOptions; 58 public abstract ContentCaptureOptions getOptionsForPackage(@UserIdInt int userId, in getOptionsForPackage()
|
/aosp14/frameworks/base/core/java/android/service/voice/ |
H A D | ISandboxedDetectionService.aidl | 19 import android.content.ContentCaptureOptions; 63 in ContentCaptureOptions options); in updateContentCaptureManager()
|
H A D | VisualQueryDetectionService.java | 26 import android.content.ContentCaptureOptions; 155 ContentCaptureOptions options) {
|
H A D | HotwordDetectionService.java | 30 import android.content.ContentCaptureOptions; 211 ContentCaptureOptions options) {
|
/aosp14/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
H A D | ContentCaptureMetricsLogger.java | 21 import android.content.ContentCaptureOptions; 72 @NonNull FlushMetrics fm, @NonNull ContentCaptureOptions options, in writeSessionFlush()
|
H A D | ContentCaptureManagerService.java | 48 import android.content.ContentCaptureOptions; 648 void updateOptions(String packageName, ContentCaptureOptions options) { in updateOptions() 1056 final ContentCaptureOptions options = mGlobalContentCaptureOptions.getOptions(userId, in registerContentCaptureOptionsCallback() 1167 public ContentCaptureOptions getOptionsForPackage(int userId, @NonNull String packageName) { in getOptionsForPackage() 1225 public ContentCaptureOptions getOptions(@UserIdInt int userId, in getOptions() 1244 return new ContentCaptureOptions(mDevCfgLoggingLevel); in getOptions() 1269 final ContentCaptureOptions options = in getOptions() 1270 new ContentCaptureOptions( in getOptions() 1278 new ContentCaptureOptions.ContentProtectionOptions( in getOptions()
|
H A D | ContentCapturePerUserService.java | 42 import android.content.ContentCaptureOptions; 716 ContentCaptureOptions options, int flushReason) { in writeSessionFlush() 735 ContentCaptureOptions options = mMaster.mGlobalContentCaptureOptions in updateContentCaptureOptions()
|
/aosp14/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/ |
H A D | AbstractContentCapturePerfTestCase.java | 28 import android.content.ContentCaptureOptions; 157 final ContentCaptureOptions options = new ContentCaptureOptions(null); in setAllowSelf()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/contentcapture/ |
H A D | ContentCaptureManagerServiceTest.java | 31 import android.content.ContentCaptureOptions; 186 ContentCaptureOptions actual = in getOptions_contentCaptureDisabled_contentProtectionDisabled() 202 ContentCaptureOptions actual = in getOptions_contentCaptureDisabled_contentProtectionEnabled() 220 ContentCaptureOptions actual = in getOptions_contentCaptureEnabled_contentProtectionDisabled() 242 ContentCaptureOptions actual = in getOptions_contentCaptureEnabled_contentProtectionEnabled()
|
/aosp14/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DecorContext.java | 20 import android.content.ContentCaptureOptions; 117 public ContentCaptureOptions getContentCaptureOptions() { in getContentCaptureOptions()
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | IApplicationThread.aidl | 28 import android.content.ContentCaptureOptions; 88 in ContentCaptureOptions contentCaptureOptions, in long[] disabledCompatChanges, in bindApplication()
|
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | HotwordDetectionConnection.java | 36 import android.content.ContentCaptureOptions; 1018 new ContentCaptureOptions(null))); in updateContentCaptureManager()
|