/frameworks/base/core/java/android/app/ |
IStopUserCallback.aidl | 25 void userStopped(int userId); 26 void userStopAborted(int userId);
|
INotificationManager.aidl | 27 void cancelAllNotifications(String pkg, int userId); 32 in Notification notification, inout int[] idReceived, int userId); 33 void cancelNotificationWithTag(String pkg, String tag, int id, int userId);
|
/frameworks/base/core/java/android/accounts/ |
AccountAndUser.java | 20 * Used to store the Account and the UserId this account is associated with. 26 public int userId; 28 public AccountAndUser(Account account, int userId) { 30 this.userId = userId; 38 && this.userId == other.userId; 43 return account.hashCode() + userId; 47 return account.toString() + " u" + userId;
|
IAccountAuthenticatorCache.java | 42 AuthenticatorDescription type, int userId); 48 int userId); 54 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); 65 void invalidateCache(int userId);
|
/frameworks/base/core/java/com/android/internal/widget/ |
ILockSettings.aidl | 21 void setBoolean(in String key, in boolean value, in int userId); 22 void setLong(in String key, in long value, in int userId); 23 void setString(in String key, in String value, in int userId); 24 boolean getBoolean(in String key, in boolean defaultValue, in int userId); 25 long getLong(in String key, in long defaultValue, in int userId); 26 String getString(in String key, in String defaultValue, in int userId); 27 void setLockPattern(in byte[] hash, int userId); 28 boolean checkPattern(in byte[] hash, int userId); 29 void setLockPassword(in byte[] hash, int userId); 30 boolean checkPassword(in byte[] hash, int userId); [all...] |
LockSettingsService.java | 99 private static final void checkWritePermission(int userId) { 107 private static final void checkPasswordReadPermission(int userId) { 115 private static final void checkReadPermission(int userId) { 118 && UserHandle.getUserId(callingUid) != userId) { 120 + " not authorized to read settings of user " + userId); 125 public void setBoolean(String key, boolean value, int userId) throws RemoteException { 126 checkWritePermission(userId); 128 writeToDb(key, value ? "1" : "0", userId); 132 public void setLong(String key, long value, int userId) throws RemoteException { 133 checkWritePermission(userId); [all...] |
/frameworks/base/core/java/android/content/pm/ |
RegisteredServicesCacheListener.java | 29 void onServiceChanged(V type, int userId, boolean removed);
|
PackageCleanItem.java | 24 public final int userId; 28 public PackageCleanItem(int userId, String packageName, boolean andCode) { 29 this.userId = userId; 42 return userId == other.userId && packageName.equals(other.packageName) 53 result = 31 * result + userId; 64 dest.writeInt(userId); 81 userId = source.readInt();
|
IPackageManager.aidl | 56 PackageInfo getPackageInfo(String packageName, int flags, int userId); 57 int getPackageUid(String packageName, int userId); 71 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); 73 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); 75 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); 77 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); 79 ProviderInfo getProviderInfo(in ComponentName className, int flags, int userId); 105 ResolveInfo resolveIntent(in Intent intent, String resolvedType, int flags, int userId); 108 String resolvedType, int flags, int userId); 113 String resolvedType, int flags, int userId); [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
PackageSettingBase.java | 175 private PackageUserState modifyUserState(int userId) { 176 PackageUserState state = userState.get(userId); 179 userState.put(userId, state); 184 public PackageUserState readUserState(int userId) { 185 PackageUserState state = userState.get(userId); 192 void setEnabled(int state, int userId) { 193 modifyUserState(userId).enabled = state; 196 int getEnabled(int userId) { 197 return readUserState(userId).enabled; 200 void setInstalled(boolean inst, int userId) { [all...] |
SharedUserSetting.java | 27 int userId; 41 + name + "/" + userId + "}";
|
/frameworks/base/core/java/android/view/accessibility/ |
IAccessibilityManager.aidl | 38 int addClient(IAccessibilityManagerClient client, int userId); 40 boolean sendAccessibilityEvent(in AccessibilityEvent uiEvent, int userId); 42 List<AccessibilityServiceInfo> getInstalledAccessibilityServiceList(int userId); 44 List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList(int feedbackType, int userId); 46 void interrupt(int userId); 49 in IAccessibilityInteractionConnection connection, int userId);
|
/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);
|
/frameworks/base/services/java/com/android/server/usb/ |
UsbService.java | 59 private UsbSettingsManager getSettingsForUser(int userId) { 61 UsbSettingsManager settings = mSettingsByUser.get(userId); 63 settings = new UsbSettingsManager(mContext, new UserHandle(userId)); 64 mSettingsByUser.put(userId, settings); 92 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1); 95 setCurrentUser(userId); 98 mSettingsByUser.remove(userId); 104 private void setCurrentUser(int userId) { 105 final UsbSettingsManager userSettings = getSettingsForUser(userId); 162 public void setDevicePackage(UsbDevice device, String packageName, int userId) { [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ProviderMap.java | 64 ContentProviderRecord getProviderByName(String name, int userId) { 75 return getProvidersByName(userId).get(name); 82 ContentProviderRecord getProviderByClass(ComponentName name, int userId) { 93 return getProvidersByClass(userId).get(name); 104 final int userId = UserHandle.getUserId(record.appInfo.uid); 105 getProvidersByName(userId).put(name, record); 117 final int userId = UserHandle.getUserId(record.appInfo.uid); 118 getProvidersByClass(userId).put(name, record); 122 void removeProviderByName(String name, int userId) { 128 if (userId < 0) throw new IllegalArgumentException("Bad user " + userId) [all...] |
/frameworks/base/core/java/android/content/ |
SyncQueue.java | 56 public void addPendingOperations(int userId) { 58 if (op.userId != userId) continue; 61 op.account, op.userId, op.authority); 63 SyncAdapterType.newKey(op.authority, op.account.type), op.userId); 65 Log.w(TAG, "Missing sync adapter info for authority " + op.authority + ", userId " 66 + op.userId); 70 op.account, op.userId, op.syncSource, op.authority, op.extras, 0 /* delay */, 72 mSyncStorageEngine.getDelayUntilTime(op.account, op.userId, op.authority), 115 operation.account, operation.userId, operation.syncSource [all...] |
SyncOperation.java | 29 public final int userId; 42 public SyncOperation(Account account, int userId, int source, String authority, Bundle extras, 45 this.userId = userId; 80 this.userId = other.userId; 101 .append(userId).append(" (") 135 sb.append(" account {name=" + account.name + ", user=" + userId + ", type=" + account.type
|
/frameworks/base/core/java/android/hardware/usb/ |
IUsbManager.aidl | 47 void setDevicePackage(in UsbDevice device, String packageName, int userId); 52 void setAccessoryPackage(in UsbAccessory accessory, String packageName, int userId); 80 boolean hasDefaults(String packageName, int userId); 83 void clearDefaults(String packageName, int userId);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
KeyguardUpdateMonitorCallback.java | 90 void onUserSwitched(int userId) { } 101 void onUserRemoved(int userId) { }
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
KeyguardUpdateMonitorCallback.java | 84 void onUserSwitched(int userId) { } 95 void onUserRemoved(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);
|
/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);
|
/tools/motodev/src/plugins/common/src/com/motorola/studio/android/common/proxy/ |
ProxyAuthenticator.java | 66 String userId = proxyData.getUserId(); 67 if ((userId != null) && (userId.trim().length() > 0)) 71 new PasswordAuthentication(userId,
|
/frameworks/base/services/java/com/android/server/dreams/ |
DreamManagerService.java | 109 final int userId = UserHandle.getCallingUserId(); 112 return getDreamComponentsForUser(userId); 122 final int userId = UserHandle.getCallingUserId(); 128 userId); 138 final int userId = UserHandle.getCallingUserId(); 143 userId); 255 int userId = ActivityManager.getCurrentUser(); 256 ComponentName dream = chooseDreamForUser(userId); 259 startDreamLocked(dream, false /*isTest*/, userId); 273 private ComponentName chooseDreamForUser(int userId) { [all...] |
/frameworks/base/cmds/content/src/com/android/commands/content/ |
Content.java | 156 int userId = UserHandle.USER_OWNER; 162 userId = Integer.parseInt(argumentValueRequired(argument)); 177 return new InsertCommand(uri, userId, values); 182 int userId = UserHandle.USER_OWNER; 188 userId = Integer.parseInt(argumentValueRequired(argument)); 199 return new DeleteCommand(uri, userId, where); 204 int userId = UserHandle.USER_OWNER; 211 userId = Integer.parseInt(argumentValueRequired(argument)); 228 return new UpdateCommand(uri, userId, values, where); 233 int userId = UserHandle.USER_OWNER [all...] |