Home
last modified time | relevance | path

Searched refs:contentProtectionOptions (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/
DContentCaptureOptionsTest.java142 .append(CONTENT_CAPTURE_OPTIONS.contentProtectionOptions.enableReceiver) in testToString()
144 .append(CONTENT_CAPTURE_OPTIONS.contentProtectionOptions.bufferSize) in testToString()
147 CONTENT_CAPTURE_OPTIONS.contentProtectionOptions.requiredGroups in testToString()
151 CONTENT_CAPTURE_OPTIONS.contentProtectionOptions.optionalGroups in testToString()
156 .contentProtectionOptions in testToString()
185 assertThat(actual.contentProtectionOptions).isNotNull(); in testParcelSerializationDeserialization()
186 assertThat(actual.contentProtectionOptions.enableReceiver) in testParcelSerializationDeserialization()
187 .isEqualTo(CONTENT_CAPTURE_OPTIONS.contentProtectionOptions.enableReceiver); in testParcelSerializationDeserialization()
188 assertThat(actual.contentProtectionOptions.bufferSize) in testParcelSerializationDeserialization()
189 .isEqualTo(CONTENT_CAPTURE_OPTIONS.contentProtectionOptions.bufferSize); in testParcelSerializationDeserialization()
[all …]
/frameworks/base/core/java/android/content/
DContentCaptureOptions.java95 @NonNull public final ContentProtectionOptions contentProtectionOptions; field in ContentCaptureOptions
165 @NonNull ContentProtectionOptions contentProtectionOptions, in ContentCaptureOptions() argument
177 contentProtectionOptions,
205 @NonNull ContentProtectionOptions contentProtectionOptions, in ContentCaptureOptions() argument
216 this.contentProtectionOptions = contentProtectionOptions;
276 .append(contentProtectionOptions); in toString()
303 contentProtectionOptions.dumpShort(pw); in dumpShort()
327 contentProtectionOptions.writeToParcel(parcel); in writeToParcel()
347 final ContentProtectionOptions contentProtectionOptions =
360 contentProtectionOptions,
/frameworks/base/services/tests/servicestests/src/com/android/server/contentcapture/
DContentCaptureManagerServiceTest.java295 assertThat(actual.contentProtectionOptions).isNotNull(); in getOptions_contentCaptureDisabled_contentProtectionEnabled()
296 assertThat(actual.contentProtectionOptions.enableReceiver).isTrue(); in getOptions_contentCaptureDisabled_contentProtectionEnabled()
311 assertThat(actual.contentProtectionOptions).isNotNull(); in getOptions_contentCaptureEnabled_contentProtectionDisabled()
312 assertThat(actual.contentProtectionOptions.enableReceiver).isFalse(); in getOptions_contentCaptureEnabled_contentProtectionDisabled()
333 assertThat(actual.contentProtectionOptions).isNotNull(); in getOptions_contentCaptureEnabled_contentProtectionEnabled()
334 assertThat(actual.contentProtectionOptions.enableReceiver).isTrue(); in getOptions_contentCaptureEnabled_contentProtectionEnabled()
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/
DContentCaptureManagerTest.java198 ContentCaptureOptions.ContentProtectionOptions contentProtectionOptions) { in createOptions() argument
207 contentProtectionOptions, in createOptions()
DMainContentCaptureSessionTest.java462 ContentCaptureOptions.ContentProtectionOptions contentProtectionOptions) { in createOptions() argument
471 contentProtectionOptions, in createOptions()
DMainContentCaptureSessionV2Test.java528 ContentCaptureOptions.ContentProtectionOptions contentProtectionOptions) { in createOptions() argument
537 contentProtectionOptions, in createOptions()
/frameworks/base/core/java/android/view/contentcapture/
DMainContentCaptureSession.java330 mManager.mOptions.contentProtectionOptions); in onSessionStarted()
993 return mManager.mOptions.contentProtectionOptions.enableReceiver; in isContentProtectionReceiverEnabled()
1003 return mManager.mOptions.contentProtectionOptions.enableReceiver in isContentProtectionEnabled()
1006 && (!mManager.mOptions.contentProtectionOptions.requiredGroups.isEmpty() in isContentProtectionEnabled()
1007 || !mManager.mOptions.contentProtectionOptions.optionalGroups.isEmpty()); in isContentProtectionEnabled()
DMainContentCaptureSessionV2.java353 mManager.mOptions.contentProtectionOptions); in onSessionStarted()
1090 return mManager.mOptions.contentProtectionOptions.enableReceiver; in isContentProtectionReceiverEnabled()
1100 return mManager.mOptions.contentProtectionOptions.enableReceiver in isContentProtectionEnabled()
1103 && (!mManager.mOptions.contentProtectionOptions.requiredGroups.isEmpty() in isContentProtectionEnabled()
1104 || !mManager.mOptions.contentProtectionOptions.optionalGroups.isEmpty()); in isContentProtectionEnabled()
DContentCaptureManager.java580 if (mOptions.contentProtectionOptions.enableReceiver in ContentCaptureManager()
581 && mOptions.contentProtectionOptions.bufferSize > 0) { in ContentCaptureManager()
585 mOptions.contentProtectionOptions.bufferSize); in ContentCaptureManager()