/system/core/include/cutils/ |
multiuser.h | 26 // NOTE: keep in sync with android.os.UserId 35 extern uid_t multiuser_get_uid(userid_t userId, appid_t appId);
|
/system/core/libcutils/ |
multiuser.c | 27 uid_t multiuser_get_uid(userid_t userId, appid_t appId) { 28 return userId * MULTIUSER_APP_PER_USER_RANGE + (appId % MULTIUSER_APP_PER_USER_RANGE);
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/ |
main.py | 25 'license_path': '%(server)s/chromewebstore/v1/licenses/%(appid)s/%(userid)s', 39 def fetch_license_data(userid): 44 userid OpenID of the user you are checking access for. 52 'userid': urllib.quote_plus(userid), 71 def parse_license_data(userid): 75 userid: The OpenID of the user to check. 85 response_text = fetch_license_data(userid) 116 userid = user.federated_identity() 123 userid = ('https://www.google.com/accounts/o8/id? [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/ |
main.py | 25 'license_path': '%(server)s/chromewebstore/v1/licenses/%(appid)s/%(userid)s', 40 def fetch_license_data(userid): 45 userid OpenID of the user you are checking access for. 53 'userid': urllib.quote_plus(userid), 73 def parse_license_data(userid): 77 userid: The OpenID of the user to check. 87 response_text = fetch_license_data(userid) 119 userid = user.federated_identity() 126 userid = ('https://www.google.com/accounts/o8/id? [all...] |
/frameworks/native/cmds/installd/ |
installd.h | 138 userid_t userid); 141 userid_t userid); 143 int create_user_media_path(char path[PKG_PATH_MAX], userid_t userid); 148 userid_t userid); 188 int ensure_media_user_dirs(userid_t userid); 193 int uninstall(const char *pkgname, userid_t userid); 196 int delete_user_data(const char *pkgname, userid_t userid); 197 int make_user_data(const char *pkgname, uid_t uid, userid_t userid); 198 int delete_user(userid_t userid); 199 int delete_cache(const char *pkgname, userid_t userid); [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
Transcripts.java | 41 private String userID;
46 * Creates a transcripts request for the given userID.
48 * @param userID the id of the user to get his conversations transcripts.
50 public Transcripts(String userID) {
51 this.userID = userID;
58 * @param userID the id of the user. Could be a real JID or a unique String that identifies
62 public Transcripts(String userID, List<Transcripts.TranscriptSummary> summaries) {
63 this.userID = userID;
[all...] |
/frameworks/base/services/java/com/android/server/pm/ |
UserManagerService.java | 261 public UserInfo getUserInfo(int userId) { 264 return getUserInfoLocked(userId); 278 private UserInfo getUserInfoLocked(int userId) { 279 UserInfo ui = mUsers.get(userId); 281 if (ui != null && ui.partial && !mRemovingUserIds.get(userId)) { 282 Slog.w(LOG_TAG, "getUserInfo: unknown user #" + userId); 288 public boolean exists(int userId) { 290 return ArrayUtils.contains(mUserIds, userId); 295 public void setUserName(int userId, String name) { 299 UserInfo info = mUsers.get(userId); [all...] |
Installer.java | 230 public int remove(String name, int userId) { 235 builder.append(userId); 259 public int deleteCacheFiles(String name, int userId) { 264 builder.append(userId); 268 public int createUserData(String name, int uid, int userId) { 275 builder.append(userId); 279 public int removeUserDataDirs(int userId) { 282 builder.append(userId); 286 public int clearUserData(String name, int userId) { 291 builder.append(userId); [all...] |
/frameworks/base/core/java/android/accounts/ |
IAccountManager.aidl | 36 Account[] getAccountsAsUser(String accountType, int userId); 60 in Bundle options, boolean expectActivityLaunch, int userId); 65 boolean addSharedAccountAsUser(in Account account, int userId); 66 Account[] getSharedAccountsAsUser(int userId); 67 boolean removeSharedAccountAsUser(in Account account, int userId);
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleAppName.java | 72 public static void setAppName(String name, int userId) { 79 sendAPNM(name, userId); 89 private static void sendAPNM(String appName, int userId) { 96 + 4 /* userId */); 100 out.putInt(userId);
|
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/ |
Offer.java | 45 private String userID;
59 * @param userID the userID of the user from which the offer originates.
68 Offer(Connection conn, AgentSession agentSession, String userID,
74 this.userID = userID;
104 * Returns the userID that the offer originates from. In most cases, the
105 * userID will simply be the JID of the requesting user. However, users can
106 * also manually specify a userID for their request. In that case, that value will
109 * @return the userID of the user from which the offer originates. [all...] |
/frameworks/base/services/java/com/android/server/dreams/ |
DreamManagerService.java | 118 final int userId = UserHandle.getCallingUserId(); 121 return getDreamComponentsForUser(userId); 131 final int userId = UserHandle.getCallingUserId(); 137 userId); 147 final int userId = UserHandle.getCallingUserId(); 152 userId); 264 int userId = ActivityManager.getCurrentUser(); 265 ComponentName dream = chooseDreamForUser(userId); 268 startDreamLocked(dream, false /*isTest*/, userId); 282 private ComponentName chooseDreamForUser(int userId) { [all...] |
/frameworks/base/core/java/android/content/pm/ |
RegisteredServicesCache.java | 94 private UserServices<V> findOrCreateUserLocked(int userId) { 95 UserServices<V> services = mUserServices.get(userId); 98 mUserServices.put(userId, services); 161 public void invalidateCache(int userId) { 163 final UserServices<V> user = findOrCreateUserLocked(userId); 168 public void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId) { 170 final UserServices<V> user = findOrCreateUserLocked(userId); 198 private void notifyListener(final V type, final int userId, final boolean removed) { 215 listener2.onServiceChanged(type, userId, removed); 247 public ServiceInfo<V> getServiceInfo(V type, int userId) { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbResolverActivity.java | 101 final int userId = UserHandle.myUserId(); 108 service.setDevicePackage(mDevice, ri.activityInfo.packageName, userId); 110 service.setDevicePackage(mDevice, null, userId); 117 service.setAccessoryPackage(mAccessory, ri.activityInfo.packageName, userId); 119 service.setAccessoryPackage(mAccessory, null, userId); 124 startActivityAsUser(intent, new UserHandle(userId));
|
/external/sonivox/jet_tools/JetCreator/ |
JetDebug.py | 36 print("userID: %d" % queueSeg.userID)
48 print("userID: %d" % segment.userID)
|
/frameworks/base/services/java/com/android/server/accounts/ |
IAccountAuthenticatorCache.java | 43 AuthenticatorDescription type, int userId); 49 int userId); 55 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); 66 void invalidateCache(int userId);
|
/frameworks/base/services/java/com/android/server/content/ |
ContentService.java | 321 int userId = UserHandle.getCallingUserId(); 330 syncManager.scheduleSync(account, userId, uId, authority, extras, 353 int userId = UserHandle.getCallingUserId(); 377 getSyncManager().getSyncStorageEngine().addPeriodicSync(syncToAdd, userId); 382 account, userId, uId, provider, extras, 407 int userId = UserHandle.getCallingUserId(); 414 syncManager.clearScheduledSyncOperations(account, userId, authority); 415 syncManager.cancelActiveSync(account, userId, authority); 430 final int userId = UserHandle.getCallingUserId(); 434 return syncManager.getSyncAdapterTypes(userId); [all...] |
SyncStorageEngine.java | 160 final int userId; 171 PendingOperation(Account account, int userId, int reason, int source, 174 this.userId = userId; 186 this.userId = other.userId; 210 final int userId; 228 userId = toCopy.userId; 249 * @param userId which user this sync is registered for [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/email/test/data/ |
msg_03.txt | 3 Received: by mail.zzz.org (Postfix, from userid 889)
|
msg_27.txt | 2 Received: by mail.dom.ain (Postfix, from userid 889)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/test/data/ |
msg_03.txt | 3 Received: by mail.zzz.org (Postfix, from userid 889)
|
msg_27.txt | 2 Received: by mail.dom.ain (Postfix, from userid 889)
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
RegisteredAidCache.java | 146 public boolean isDefaultServiceForAid(int userId, ComponentName service, String aid) { 150 serviceFound = mServiceCache.hasService(userId, service); 159 mServiceCache.invalidateCache(userId); 179 public boolean setDefaultServiceForCategory(int userId, ComponentName service, 189 if (service == null || mServiceCache.hasService(userId, service)) { 192 service != null ? service.flattenToString() : null, userId); 200 public boolean isDefaultServiceForCategory(int userId, String category, 209 serviceFound = mServiceCache.hasService(userId, service); 213 mServiceCache.invalidateCache(userId); 216 getDefaultServiceForCategory(userId, category, true) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
MountServiceTests.java | 289 final int userId = 10; 293 buildObbPath("/storage/random/foo", userId, true)); 295 buildObbPath("/storage/random/foo", userId, false)); 299 buildObbPath("/storage/emulated_legacy/foo", userId, true)); 301 buildObbPath("/storage/emulated_legacy/foo", userId, false)); 303 buildObbPath("/storage/emulated/10/foo", userId, true)); 305 buildObbPath("/storage/emulated/10/foo", userId, false)); 309 buildObbPath("/storage/emulated_legacy/Android/obb/foo", userId, true)); 311 buildObbPath("/storage/emulated_legacy/Android/obb/foo", userId, false)); 313 buildObbPath("/storage/emulated/10/Android/obb/foo", userId, true)) [all...] |
/frameworks/base/services/java/com/android/server/ |
WallpaperManagerService.java | 122 super(getWallpaperDir(wallpaper.userId).getAbsolutePath(), 124 mWallpaperDir = getWallpaperDir(wallpaper.userId); 170 int userId; 208 WallpaperData(int userId) { 209 this.userId = userId; 210 wallpaperFile = new File(getWallpaperDir(userId), WALLPAPER); 256 && mWallpaper.userId == mCurrentUserId) { 258 clearWallpaperLocked(true, mWallpaper.userId, null); 322 clearWallpaperLocked(false, wallpaper.userId, null) [all...] |