Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DTrampolineTest.java97 private static final int NON_USER_SYSTEM = UserHandle.USER_SYSTEM + 1; field in TrampolineTest
138 serviceUsers.append(NON_USER_SYSTEM, mUserBackupManagerService); in setUp()
142 when(mUserManagerMock.getUserInfo(NON_USER_SYSTEM)).thenReturn(mUserInfoMock); in setUp()
157 setUpStateFilesForNonSystemUser(NON_USER_SYSTEM); in setUp()
234 mTrampoline.setBackupServiceActive(NON_USER_SYSTEM, true); in isBackupServiceActive_forNonSystemUser_returnsFalseWhenSystemUserDeactivated()
236 assertFalse(mTrampoline.isBackupServiceActive(NON_USER_SYSTEM)); in isBackupServiceActive_forNonSystemUser_returnsFalseWhenSystemUserDeactivated()
246 assertFalse(mTrampoline.isBackupServiceActive(NON_USER_SYSTEM)); in isBackupServiceActive_forNonSystemUser_returnsFalseWhenNonSystemUserDeactivated()
255 mTrampoline.setBackupServiceActive(NON_USER_SYSTEM, true); in isBackupServiceActive_forNonSystemUser_returnsTrueWhenSystemAndNonSystemUserActivated()
257 assertTrue(mTrampoline.isBackupServiceActive(NON_USER_SYSTEM)); in isBackupServiceActive_forNonSystemUser_returnsTrueWhenSystemAndNonSystemUserActivated()
308 mTrampoline.setBackupServiceActive(NON_USER_SYSTEM, true); in setBackupServiceActive_forManagedProfileAndCallerSystemUid_serviceCreated()
[all …]