Lines Matching defs:userId
197 private void assertNotEmptyFileCreated(TestServicesCache cache, int userId) {
198 File dir = new File(cache.getUserSystemDirectory(userId),
226 protected List<ResolveInfo> queryIntentServices(int userId) {
228 .get(userId, new HashMap<ResolveInfo, ServiceInfo<TestServiceType>>());
233 protected File getUserSystemDirectory(int userId) {
234 File dir = new File(mDataDir, "users/" + userId);
245 protected UserInfo getUser(int userId) {
247 if (user.id == userId) {
259 void addServiceForQuerying(int userId, ResolveInfo resolveInfo,
261 Map<ResolveInfo, ServiceInfo<TestServiceType>> map = mServices.get(userId);
264 mServices.put(userId, map);
301 public void onUserRemoved(int userId) {
302 super.onUserRemoved(userId);