/frameworks/base/core/tests/coretests/src/com/android/internal/infra/ |
D | WhitelistHelperTest.java | 61 () -> mWhitelistHelper.isWhitelisted((String) null)); in testWhitelistHelper_nullArguments() 63 () -> mWhitelistHelper.isWhitelisted((ComponentName) null)); in testWhitelistHelper_nullArguments() 74 assertThat(mWhitelistHelper.isWhitelisted(mPackage1)).isFalse(); in testSetWhitelist_nullPackage() 75 assertThat(mWhitelistHelper.isWhitelisted(mPackage2)).isFalse(); in testSetWhitelist_nullPackage() 77 assertThat(mWhitelistHelper.isWhitelisted(mComponent1)).isFalse(); in testSetWhitelist_nullPackage() 78 assertThat(mWhitelistHelper.isWhitelisted(mComponent2)).isFalse(); in testSetWhitelist_nullPackage() 79 assertThat(mWhitelistHelper.isWhitelisted(mComponentDifferentPkg)).isFalse(); in testSetWhitelist_nullPackage() 88 assertThat(mWhitelistHelper.isWhitelisted(mPackage1)).isFalse(); in testSetWhitelist_nullActivity() 89 assertThat(mWhitelistHelper.isWhitelisted(mPackage2)).isFalse(); in testSetWhitelist_nullActivity() 91 assertThat(mWhitelistHelper.isWhitelisted(mComponent1)).isFalse(); in testSetWhitelist_nullActivity() [all …]
|
/frameworks/base/core/java/com/android/internal/infra/ |
D | GlobalWhitelistState.java | 70 public boolean isWhitelisted(@UserIdInt int userId, @NonNull String packageName) { in isWhitelisted() method in GlobalWhitelistState 74 return helper == null ? false : helper.isWhitelisted(packageName); in isWhitelisted() 81 public boolean isWhitelisted(@UserIdInt int userId, @NonNull ComponentName componentName) { in isWhitelisted() method in GlobalWhitelistState 85 return helper == null ? false : helper.isWhitelisted(componentName); in isWhitelisted()
|
D | WhitelistHelper.java | 108 public boolean isWhitelisted(@NonNull String packageName) { in isWhitelisted() method in WhitelistHelper 120 public boolean isWhitelisted(@NonNull ComponentName componentName) { in isWhitelisted() method in WhitelistHelper 129 return isWhitelisted(packageName); in isWhitelisted()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | ContentCaptureOptionsTest.java | 81 assertThat(options.isWhitelisted(mContext)).isTrue(); in testIsWhitelisted_nullWhitelistedComponents() 87 assertThat(options.isWhitelisted(mContext)).isFalse(); in testIsWhitelisted_emptyWhitelistedComponents() 93 assertThat(options.isWhitelisted(mContext)).isFalse(); in testIsWhitelisted_notWhitelisted() 100 assertThat(options.isWhitelisted(mContext)).isTrue(); in testIsWhitelisted_whitelisted() 107 assertThat(options.isWhitelisted(invalidContext)).isFalse(); in testIsWhitelisted_invalidContext() 117 assertThat(options.isWhitelisted(context)).isFalse(); in testIsWhitelisted_clientWithNullComponentName()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/contentcapture/ |
D | ContentCaptureManagerServiceTest.java | 341 mContentCaptureManagerService.mGlobalContentCaptureOptions.isWhitelisted( in isWhitelisted_packageName_contentCaptureDisabled_contentProtectionDisabled() 357 mContentCaptureManagerService.mGlobalContentCaptureOptions.isWhitelisted( in isWhitelisted_packageName_contentCaptureDisabled_contentProtectionEnabled() 369 mContentCaptureManagerService.mGlobalContentCaptureOptions.isWhitelisted( in isWhitelisted_packageName_contentCaptureEnabled_contentProtectionDisabled() 385 mContentCaptureManagerService.mGlobalContentCaptureOptions.isWhitelisted( in isWhitelisted_packageName_contentCaptureEnabled_contentProtectionEnabled() 396 mContentCaptureManagerService.mGlobalContentCaptureOptions.isWhitelisted( in isWhitelisted_componentName_contentCaptureDisabled_contentProtectionDisabled() 412 mContentCaptureManagerService.mGlobalContentCaptureOptions.isWhitelisted( in isWhitelisted_componentName_contentCaptureDisabled_contentProtectionEnabled() 424 mContentCaptureManagerService.mGlobalContentCaptureOptions.isWhitelisted( in isWhitelisted_componentName_contentCaptureEnabled_contentProtectionDisabled() 440 mContentCaptureManagerService.mGlobalContentCaptureOptions.isWhitelisted( in isWhitelisted_componentName_contentCaptureEnabled_contentProtectionEnabled() 456 mContentCaptureManagerService.mGlobalContentCaptureOptions.isWhitelisted( in isContentProtectionReceiverEnabled_true() 465 mContentCaptureManagerService.mGlobalContentCaptureOptions.isWhitelisted( in isContentProtectionReceiverEnabled_false_withoutManagers() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerShellCommand.java | 330 private int setAppIdleAllowlist(boolean isWhitelisted) { in setAppIdleAllowlist() argument 335 mInterface.setAppIdleWhitelist(uid, isWhitelisted); in setAppIdleAllowlist()
|
D | NetworkPolicyLogger.java | 193 void appIdleWlChanged(int uid, boolean isWhitelisted) { in appIdleWlChanged() argument 196 Slog.d(TAG, getAppIdleWlChangedLog(uid, isWhitelisted)); in appIdleWlChanged() 198 mEventsBuffer.appIdleWlChanged(uid, isWhitelisted); in appIdleWlChanged()
|
D | NetworkPolicyManagerService.java | 4875 final boolean isWhitelisted = isAllowlistedFromPowerSaveUL(uid, 4877 if (isWhitelisted || isUidForegroundOnRestrictPowerUL(uid)) { 5587 final boolean isWhitelisted = isAllowlistedFromPowerSaveUL(uid, mDeviceIdleMode); 5636 + ", isWhitelisted=" + isWhitelisted
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCapturePerUserService.java | 270 final boolean whiteListed = mMaster.mGlobalContentCaptureOptions.isWhitelisted(mUserId, in startSessionLocked() 271 componentName) || mMaster.mGlobalContentCaptureOptions.isWhitelisted(mUserId, in startSessionLocked() 663 .isWhitelisted(mUserId, session.appComponentName); in setContentCaptureWhitelist()
|
D | ContentCaptureManagerService.java | 1529 public boolean isWhitelisted(@UserIdInt int userId, @NonNull String packageName) { in isWhitelisted() method in ContentCaptureManagerService.GlobalContentCaptureOptions 1535 public boolean isWhitelisted(@UserIdInt int userId, @NonNull ComponentName componentName) { in isWhitelisted() method in ContentCaptureManagerService.GlobalContentCaptureOptions 1536 return super.isWhitelisted(userId, componentName) in isWhitelisted() 1542 return super.isWhitelisted(userId, packageName); in isContentCaptureReceiverEnabled()
|
/frameworks/base/apex/jobscheduler/framework/java/android/os/ |
D | PowerWhitelistManager.java | 435 public boolean isWhitelisted(@NonNull String packageName, boolean includingIdle) { in isWhitelisted() method in PowerWhitelistManager
|
/frameworks/base/core/java/android/content/ |
D | ContentCaptureOptions.java | 244 public boolean isWhitelisted(@NonNull Context context) { in isWhitelisted() method in ContentCaptureOptions
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerService.java | 1586 options.augmentedAutofillEnabled = helper.isWhitelisted(packageName); in injectAugmentedAutofillInfo() 1594 public boolean isWhitelisted(@UserIdInt int userId, @NonNull ComponentName componentName) { in isWhitelisted() method in AutofillManagerService.AugmentedAutofillState 1596 if (!super.isWhitelisted(userId, componentName)) return false; in isWhitelisted()
|
D | AutofillManagerServiceImpl.java | 1551 return mMaster.mAugmentedAutofillState.isWhitelisted(mUserId, componentName); in isWhitelistedForAugmentedAutofillLocked()
|
D | Session.java | 6945 ComponentName augmentedRemoteServiceName, AutofillId focusedId, boolean isWhitelisted, in logAugmentedAutofillRequestLocked() argument 6952 + " w=" + isWhitelisted in logAugmentedAutofillRequestLocked()
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 1258 if (options != null && (options.lite || options.isWhitelisted(outerContext))) { in registerService()
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 3621 HSPLandroid/content/ContentCaptureOptions;->isWhitelisted(Landroid/content/Context;)Z 12598 HSPLandroid/os/PowerWhitelistManager;->isWhitelisted(Ljava/lang/String;Z)Z
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 3624 HSPLandroid/content/ContentCaptureOptions;->isWhitelisted(Landroid/content/Context;)Z 12601 HSPLandroid/os/PowerWhitelistManager;->isWhitelisted(Ljava/lang/String;Z)Z
|