Searched refs:userPolicy (Results 1 – 2 of 2) sorted by relevance
3225 NotificationManager.Policy userPolicy = in testSetNotificationPolicy_preP_setOldFields() local3227 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldFields()3236 int actual = mService.calculateSuppressedVisualEffects(appPolicy, userPolicy, O_MR1); in testSetNotificationPolicy_preP_setOldFields()3245 NotificationManager.Policy userPolicy = in testSetNotificationPolicy_preP_setNewFields() local3247 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setNewFields()3253 int actual = mService.calculateSuppressedVisualEffects(appPolicy, userPolicy, O_MR1); in testSetNotificationPolicy_preP_setNewFields()3262 NotificationManager.Policy userPolicy = in testSetNotificationPolicy_preP_setOldNewFields() local3264 when(mZenModeHelper.getNotificationPolicy()).thenReturn(userPolicy); in testSetNotificationPolicy_preP_setOldNewFields()3271 int actual = mService.calculateSuppressedVisualEffects(appPolicy, userPolicy, O_MR1); in testSetNotificationPolicy_preP_setOldNewFields()3280 NotificationManager.Policy userPolicy = in testSetNotificationPolicy_P_setOldFields() local[all …]
11725 DevicePolicyData userPolicy = getUserData(userId); in setPermissionPolicy() local11726 if (userPolicy.mPermissionPolicy != policy) { in setPermissionPolicy()11727 userPolicy.mPermissionPolicy = policy; in setPermissionPolicy()11744 DevicePolicyData userPolicy = getUserData(userId); in getPermissionPolicy() local11745 return userPolicy.mPermissionPolicy; in getPermissionPolicy()