Home
last modified time | relevance | path

Searched refs:userPolicy (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java4194 NotificationManager.Policy userPolicy = in testSetNotificationPolicy_preP_setOldFields() local
4196 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() local
4216 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() local
4233 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 …]
/frameworks/native/services/sensorservice/
DSensorService.cpp2299 sp<SensorPrivacyPolicy> userPolicy = new SensorPrivacyPolicy(this); in isMicSensorPrivacyEnabledForUid() local
2300 if (userPolicy->registerSelfForIndividual(userId) != OK) { in isMicSensorPrivacyEnabledForUid()
2303 mMicSensorPrivacyPolicies[userId] = userPolicy; in isMicSensorPrivacyEnabledForUid()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java13351 DevicePolicyData userPolicy = getUserData(forUser);
13352 if (userPolicy.mPermissionPolicy != policy) {
13353 userPolicy.mPermissionPolicy = policy;
13368 DevicePolicyData userPolicy = getUserData(userId);
13369 mPolicyCache.setPermissionPolicy(userId, userPolicy.mPermissionPolicy);