Home
last modified time | relevance | path

Searched refs:whitelistedComponents (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/content/
DContentCaptureOptions.java78 public final ArraySet<ComponentName> whitelistedComponents; field in ContentCaptureOptions
102 @Nullable ArraySet<ComponentName> whitelistedComponents) { in ContentCaptureOptions() argument
104 textChangeFlushingFrequencyMs, logHistorySize, whitelistedComponents); in ContentCaptureOptions()
109 public ContentCaptureOptions(@Nullable ArraySet<ComponentName> whitelistedComponents) { in ContentCaptureOptions() argument
114 ContentCaptureManager.DEFAULT_LOG_HISTORY_SIZE, whitelistedComponents); in ContentCaptureOptions()
119 @Nullable ArraySet<ComponentName> whitelistedComponents) { in ContentCaptureOptions() argument
126 this.whitelistedComponents = whitelistedComponents; in ContentCaptureOptions()
154 if (whitelistedComponents == null) return true; // whole package is allowlisted in isWhitelisted()
161 return whitelistedComponents.contains(client.contentCaptureClientGetComponentName()); in isWhitelisted()
175 if (whitelistedComponents != null) { in toString()
[all …]
/frameworks/base/core/java/com/android/internal/infra/
DWhitelistHelper.java124 final ArraySet<ComponentName> whitelistedComponents = getWhitelistedComponents(packageName); in isWhitelisted() local
125 if (whitelistedComponents != null) { in isWhitelisted()
126 return whitelistedComponents.contains(componentName); in isWhitelisted()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCaptureManagerService.java973 ArraySet<ComponentName> whitelistedComponents = null; in getOptions() local
978 whitelistedComponents = getWhitelistedComponents(userId, packageName); in getOptions()
979 if (whitelistedComponents == null in getOptions()
998 if (!packageWhitelisted && whitelistedComponents == null) { in getOptions()
1009 whitelistedComponents); in getOptions()
/frameworks/base/core/api/
Dtest-lint-baseline.txt268 ConcreteCollection: android.content.ContentCaptureOptions#whitelistedComponents:
Dtest-current.txt720 … @Nullable public final android.util.ArraySet<android.content.ComponentName> whitelistedComponents;