Searched refs:getContentProtectionPolicy (Results 1 – 12 of 12) sorted by relevance
203 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()
68 public abstract @ContentProtectionPolicy int getContentProtectionPolicy(@UserIdInt int userId); in getContentProtectionPolicy() method in DevicePolicyCache104 public @ContentProtectionPolicy int getContentProtectionPolicy(@UserIdInt int userId) { in getContentProtectionPolicy() method in DevicePolicyCache.EmptyDevicePolicyCache
622 int getContentProtectionPolicy(in ComponentName who, String callerPackageName); in getContentProtectionPolicy() method
4337 public @ContentProtectionPolicy int getContentProtectionPolicy(@Nullable ComponentName admin) { in getContentProtectionPolicy() method in DevicePolicyManager4341 return mService.getContentProtectionPolicy(admin, mContext.getPackageName()); in getContentProtectionPolicy()
126 int policy = mDevicePolicyCache.getContentProtectionPolicy(userId); in isContentProtectionPolicyGranted()
129 public @ContentProtectionPolicy int getContentProtectionPolicy(@UserIdInt int userId) { in getContentProtectionPolicy() method in DevicePolicyCacheImpl
23949 public @ContentProtectionPolicy int getContentProtectionPolicy(
486 RequiresPermission: android.app.admin.DevicePolicyManager#getContentProtectionPolicy(android.conten…487 …Method 'getContentProtectionPolicy' documentation mentions permissions already declared by @Requir…
614 RequiresPermission: android.app.admin.DevicePolicyManager#getContentProtectionPolicy(android.conten…615 …Method 'getContentProtectionPolicy' documentation mentions permissions already declared by @Requir…
676 RequiresPermission: android.app.admin.DevicePolicyManager#getContentProtectionPolicy(android.conten…677 …Method 'getContentProtectionPolicy' documentation mentions permissions already declared by @Requir…
704 RequiresPermission: android.app.admin.DevicePolicyManager#getContentProtectionPolicy(android.conten…705 …Method 'getContentProtectionPolicy' documentation mentions permissions already declared by @Requir…
8012 …DEVICE_POLICY_CONTENT_PROTECTION, conditional=true) public int getContentProtectionPolicy(@Nullabl…