Searched refs:ROLE_NOTES (Results 1 – 4 of 4) sorted by relevance
146 when(mRm.getRoleHoldersAsUser(eq(RoleManager.ROLE_NOTES), any(UserHandle.class))) in setUp()148 when(mRm.isRoleAvailable(RoleManager.ROLE_NOTES)).thenReturn(true); in setUp()347 when(mRm.getRoleHoldersAsUser(eq(RoleManager.ROLE_NOTES), any(UserHandle.class))) in defaultNotesPreference_roleHolderChanges_updatesPreference()357 when(mRm.getRoleHoldersAsUser(eq(RoleManager.ROLE_NOTES), any(UserHandle.class))) in defaultNotesPreference_noRoleHolder_showNoneInSummary()381 RoleManager.ROLE_NOTES); in defaultNotesPreferenceClick_singleUser_sendsManageDefaultRoleIntent()494 RoleManager.ROLE_NOTES); in defaultNotesPreferenceClick_noProfiles_sendsManageDefaultRoleIntent()
110 if (rm == null || !rm.isRoleAvailable(RoleManager.ROLE_NOTES)) { in createOrUpdateDefaultNotesPreference()133 List<String> roleHolders = rm.getRoleHoldersAsUser(RoleManager.ROLE_NOTES, user); in createOrUpdateDefaultNotesPreference()215 packageName).putExtra(Intent.EXTRA_ROLE_NAME, RoleManager.ROLE_NOTES); in onPreferenceClick()
15 field public static final String ROLE_NOTES = "android.app.role.NOTES";
146 public static final String ROLE_NOTES = "android.app.role.NOTES"; field in RoleManager