Home
last modified time | relevance | path

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

/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java931 private boolean canAccessCrossProfileCalendar(int workProfileUserId) { in canAccessCrossProfileCalendar() argument
938 return workProfileUserId != UserHandle.USER_NULL in canAccessCrossProfileCalendar()
940 getCallingPackageName(), workProfileUserId); in canAccessCrossProfileCalendar()
963 final int workProfileUserId = getWorkProfileUserId(); in queryWorkProfileProvider() local
964 if (!canAccessCrossProfileCalendar(workProfileUserId)) { in queryWorkProfileProvider()
969 localUri, workProfileUserId).buildUpon().build(); in queryWorkProfileProvider()