Home
last modified time | relevance | path

Searched refs:getContentProtectionPolicy (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/contentprotection/
DContentProtectionConsentManagerTest.java203 when(mMockDevicePolicyCache.getContentProtectionPolicy(TEST_USER_ID)) in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyDisabled()
212 verify(mMockDevicePolicyCache).getContentProtectionPolicy(TEST_USER_ID); in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyDisabled()
220 when(mMockDevicePolicyCache.getContentProtectionPolicy(TEST_USER_ID)) in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyEnabled()
229 verify(mMockDevicePolicyCache).getContentProtectionPolicy(TEST_USER_ID); in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyEnabled()
237 when(mMockDevicePolicyCache.getContentProtectionPolicy(TEST_USER_ID)) in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyNotControlled_contentProtectionGranted()
246 verify(mMockDevicePolicyCache).getContentProtectionPolicy(TEST_USER_ID); in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyNotControlled_contentProtectionGranted()
254 when(mMockDevicePolicyCache.getContentProtectionPolicy(TEST_USER_ID)) in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyNotControlled_contentProtectionNotGranted()
263 verify(mMockDevicePolicyCache).getContentProtectionPolicy(TEST_USER_ID); in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyNotControlled_contentProtectionNotGranted()
271 when(mMockDevicePolicyCache.getContentProtectionPolicy(TEST_USER_ID)) in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyNotControlled_contentProtectionDefault()
280 verify(mMockDevicePolicyCache).getContentProtectionPolicy(TEST_USER_ID); in isConsentGranted_policyFlagEnabled_packageVerifierGranted_userManaged_policyNotControlled_contentProtectionDefault()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyCache.java68 public abstract @ContentProtectionPolicy int getContentProtectionPolicy(@UserIdInt int userId); in getContentProtectionPolicy() method in DevicePolicyCache
104 public @ContentProtectionPolicy int getContentProtectionPolicy(@UserIdInt int userId) { in getContentProtectionPolicy() method in DevicePolicyCache.EmptyDevicePolicyCache
DIDevicePolicyManager.aidl622 int getContentProtectionPolicy(in ComponentName who, String callerPackageName); in getContentProtectionPolicy() method
DDevicePolicyManager.java4337 public @ContentProtectionPolicy int getContentProtectionPolicy(@Nullable ComponentName admin) { in getContentProtectionPolicy() method in DevicePolicyManager
4341 return mService.getContentProtectionPolicy(admin, mContext.getPackageName()); in getContentProtectionPolicy()
/frameworks/base/services/contentcapture/java/com/android/server/contentprotection/
DContentProtectionConsentManager.java126 int policy = mDevicePolicyCache.getContentProtectionPolicy(userId); in isContentProtectionPolicyGranted()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyCacheImpl.java129 public @ContentProtectionPolicy int getContentProtectionPolicy(@UserIdInt int userId) { in getContentProtectionPolicy() method in DevicePolicyCacheImpl
DDevicePolicyManagerService.java23949 public @ContentProtectionPolicy int getContentProtectionPolicy(
/frameworks/base/core/api/
Dlint-baseline.txt486 RequiresPermission: android.app.admin.DevicePolicyManager#getContentProtectionPolicy(android.conten…
487 …Method 'getContentProtectionPolicy' documentation mentions permissions already declared by @Requir…
Dmodule-lib-lint-baseline.txt614 RequiresPermission: android.app.admin.DevicePolicyManager#getContentProtectionPolicy(android.conten…
615 …Method 'getContentProtectionPolicy' documentation mentions permissions already declared by @Requir…
Dtest-lint-baseline.txt676 RequiresPermission: android.app.admin.DevicePolicyManager#getContentProtectionPolicy(android.conten…
677 …Method 'getContentProtectionPolicy' documentation mentions permissions already declared by @Requir…
Dsystem-lint-baseline.txt704 RequiresPermission: android.app.admin.DevicePolicyManager#getContentProtectionPolicy(android.conten…
705 …Method 'getContentProtectionPolicy' documentation mentions permissions already declared by @Requir…
Dcurrent.txt8012 …DEVICE_POLICY_CONTENT_PROTECTION, conditional=true) public int getContentProtectionPolicy(@Nullabl…