Searched refs:userPolicy (Results 1 – 3 of 3) sorted by relevance
4194 NotificationManager.Policy userPolicy = in testSetNotificationPolicy_preP_setOldFields() local4196 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldFields()4205 int actual = mService.calculateSuppressedVisualEffects(appPolicy, userPolicy, O_MR1); in testSetNotificationPolicy_preP_setOldFields()4214 NotificationManager.Policy userPolicy = in testSetNotificationPolicy_preP_setNewFields() local4216 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setNewFields()4222 int actual = mService.calculateSuppressedVisualEffects(appPolicy, userPolicy, O_MR1); in testSetNotificationPolicy_preP_setNewFields()4231 NotificationManager.Policy userPolicy = in testSetNotificationPolicy_preP_setOldNewFields() local4233 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldNewFields()4240 int actual = mService.calculateSuppressedVisualEffects(appPolicy, userPolicy, O_MR1); in testSetNotificationPolicy_preP_setOldNewFields()4249 NotificationManager.Policy userPolicy = in testSetNotificationPolicy_P_setOldFields() local[all …]
2299 sp<SensorPrivacyPolicy> userPolicy = new SensorPrivacyPolicy(this); in isMicSensorPrivacyEnabledForUid() local2300 if (userPolicy->registerSelfForIndividual(userId) != OK) { in isMicSensorPrivacyEnabledForUid()2303 mMicSensorPrivacyPolicies[userId] = userPolicy; in isMicSensorPrivacyEnabledForUid()
13351 DevicePolicyData userPolicy = getUserData(forUser);13352 if (userPolicy.mPermissionPolicy != policy) {13353 userPolicy.mPermissionPolicy = policy;13368 DevicePolicyData userPolicy = getUserData(userId);13369 mPolicyCache.setPermissionPolicy(userId, userPolicy.mPermissionPolicy);