Home
last modified time | relevance | path

Searched refs:isNASMigrationDone (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java139 when(mNm.isNASMigrationDone(anyInt())).thenReturn(true); in setUp()
452 when(mNm.isNASMigrationDone(anyInt())).thenReturn(false); in testNASSettingUpgrade_userNotSet_differentDefaultNAS()
474 when(mNm.isNASMigrationDone(anyInt())).thenReturn(true); in testNASSettingUpgrade_userNotSet_differentDefaultNAS()
489 when(mNm.isNASMigrationDone(anyInt())).thenReturn(false); in testNASSettingUpgrade_userNotSet_sameDefaultNAS()
512 when(mNm.isNASMigrationDone(anyInt())).thenReturn(false); in testNASSettingUpgrade_userNotSet_defaultNASNone()
DNotificationManagerServiceTest.java4989 assertTrue(mService.isNASMigrationDone(userId)); in testSetNASMigrationDoneAndResetDefault_enableNAS()
5001 assertTrue(mService.isNASMigrationDone(userId)); in testSetNASMigrationDoneAndResetDefault_disableNAS()
5016 assertTrue(mService.isNASMigrationDone(userId1)); in testSetNASMigrationDoneAndResetDefault_multiProfile()
5017 assertTrue(mService.isNASMigrationDone(userId2)); in testSetNASMigrationDoneAndResetDefault_multiProfile()
5031 assertTrue(mService.isNASMigrationDone(userId1)); in testSetNASMigrationDoneAndResetDefault_multiUser()
5032 assertFalse(mService.isNASMigrationDone(userId2)); in testSetNASMigrationDoneAndResetDefault_multiUser()
9170 assertTrue(service.isNASMigrationDone(userId)); in testNASSettingUpgrade_userSetNull()
9225 assertTrue(service.isNASMigrationDone(userId2)); in testNASSettingUpgrade_multiUser()
9256 assertFalse(service.isNASMigrationDone(userId1)); in testNASSettingUpgrade_multiProfile()
9257 assertFalse(service.isNASMigrationDone(userId2)); in testNASSettingUpgrade_multiProfile()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java934 if (isNASMigrationDone(userId) || isProfileUser(userInfo)) { in migrateDefaultNAS()
960 boolean isNASMigrationDone(int userId) { in isNASMigrationDone() method in NotificationManagerService
11277 if (!isNASMigrationDone(userId)) {
/frameworks/base/services/
Dart-wear-profile16169 PLcom/android/server/notification/NotificationManagerService;->isNASMigrationDone(I)Z