Searched refs:fakeWorkProfileId (Results 1 – 1 of 1) sorted by relevance
128 final int fakeWorkProfileId = 123; in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly() local130 new int[]{UserHandle.myUserId(), fakeWorkProfileId}); in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()132 ShadowUserManager.getShadow().addProfile(new UserInfo(fakeWorkProfileId, "", in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()137 enforcingUsers.add(new UserManager.EnforcingUser(fakeWorkProfileId, in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()143 UserHandle.of(fakeWorkProfileId), in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()154 .doesNotContain(UserHandle.of(fakeWorkProfileId)); in workProfileDisallowShareLocationOn_getParentUserLocationServicesOnly()159 final int fakeWorkProfileId = 123; in workProfileDisallowShareLocationOff_getAllUserLocationServices() local161 new int[]{UserHandle.myUserId(), fakeWorkProfileId}); in workProfileDisallowShareLocationOff_getAllUserLocationServices()163 ShadowUserManager.getShadow().addProfile(new UserInfo(fakeWorkProfileId, "", in workProfileDisallowShareLocationOff_getAllUserLocationServices()171 UserHandle.of(fakeWorkProfileId), in workProfileDisallowShareLocationOff_getAllUserLocationServices()[all …]