/frameworks/base/core/java/android/app/ |
IStopUserCallback.aidl | 25 void userStopped(int userId); 26 void userStopAborted(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;
|
/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 String pattern, int userId); 28 boolean checkPattern(in String pattern, int userId); 29 void setLockPassword(in String password, int userId); 30 boolean checkPassword(in String password, int userId); [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
MultiUserAvatarCache.java | 31 public void clear(int userId) { 32 mCache.remove(userId); 35 public Drawable get(int userId) { 36 return mCache.get(userId); 39 public void put(int userId, Drawable image) { 40 mCache.put(userId, image);
|
KeyguardUpdateMonitorCallback.java | 108 void onUserSwitching(int userId) { } 113 void onUserSwitchComplete(int userId) { } 124 void onUserRemoved(int userId) { } 129 void onUserInfoChanged(int userId) { }
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
IAppWidgetService.aidl | 34 out List<RemoteViews> updatedViews, int userId); 35 void stopListening(int hostId, int userId); 36 int allocateAppWidgetId(String packageName, int hostId, int userId); 37 void deleteAppWidgetId(int appWidgetId, int userId); 38 void deleteHost(int hostId, int userId); 39 void deleteAllHosts(int userId); 40 RemoteViews getAppWidgetViews(int appWidgetId, int userId); 41 int[] getAppWidgetIdsForHost(int hostId, int userId); 46 void updateAppWidgetIds(in int[] appWidgetIds, in RemoteViews views, int userId); 47 void updateAppWidgetOptions(int appWidgetId, in Bundle extras, int userId); [all...] |
IAppWidgetHost.aidl | 25 void updateAppWidget(int appWidgetId, in RemoteViews views, int userId); 26 void providerChanged(int appWidgetId, in AppWidgetProviderInfo info, int userId); 27 void providersChanged(int userId); 28 void viewDataChanged(int appWidgetId, int viewId, int userId);
|
/frameworks/base/core/java/android/print/ |
IPrintManager.aidl | 35 List<PrintJobInfo> getPrintJobInfos(int appId, int userId); 36 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId); 38 in PrintAttributes attributes, String packageName, int appId, int userId); 39 void cancelPrintJob(in PrintJobId printJobId, int appId, int userId); 40 void restartPrintJob(in PrintJobId printJobId, int appId, int userId); 43 int appId, int userId); 45 int userId); 47 List<PrintServiceInfo> getInstalledPrintServices(int userId); 48 List<PrintServiceInfo> getEnabledPrintServices(int userId); 50 void createPrinterDiscoverySession(in IPrinterDiscoveryObserver observer, int 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 boolean isPackageAvailable(String packageName, int userId); 57 PackageInfo getPackageInfo(String packageName, int flags, int userId); 58 int getPackageUid(String packageName, int userId); 72 ApplicationInfo getApplicationInfo(String packageName, int flags ,int userId); 74 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); 76 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); 78 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); 80 ProviderInfo getProviderInfo(in ComponentName className, int flags, int userId); 108 ResolveInfo resolveIntent(in Intent intent, String resolvedType, int flags, int userId); 111 String resolvedType, int flags, int userId); [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
PackageSettingBase.java | 181 private PackageUserState modifyUserState(int userId) { 182 PackageUserState state = userState.get(userId); 185 userState.put(userId, state); 190 public PackageUserState readUserState(int userId) { 191 PackageUserState state = userState.get(userId); 198 void setEnabled(int state, int userId, String callingPackage) { 199 PackageUserState st = modifyUserState(userId); 204 int getEnabled(int userId) { 205 return readUserState(userId).enabled; 208 String getLastDisabledAppCaller(int userId) { [all...] |
/frameworks/base/services/java/com/android/server/ |
AppWidgetService.java | 123 public int allocateAppWidgetId(String packageName, int hostId, int userId) 125 return getImplForUser(userId).allocateAppWidgetId(packageName, hostId); 129 public int[] getAppWidgetIdsForHost(int hostId, int userId) throws RemoteException { 130 return getImplForUser(userId).getAppWidgetIdsForHost(hostId); 134 public void deleteAppWidgetId(int appWidgetId, int userId) throws RemoteException { 135 getImplForUser(userId).deleteAppWidgetId(appWidgetId); 139 public void deleteHost(int hostId, int userId) throws RemoteException { 140 getImplForUser(userId).deleteHost(hostId); 144 public void deleteAllHosts(int userId) throws RemoteException { 145 getImplForUser(userId).deleteAllHosts() [all...] |
LockSettingsService.java | 122 final int userId = users.get(user).id; 124 String ownerInfo = Settings.Secure.getStringForUser(cr, OWNER_INFO, userId); 126 setString(OWNER_INFO, ownerInfo, userId); 127 Settings.Secure.putStringForUser(cr, ownerInfo, "", userId); 136 int ivalue = Settings.Secure.getIntForUser(cr, OWNER_INFO_ENABLED, userId); 138 setLong(OWNER_INFO_ENABLED, enabled ? 1 : 0, userId); 142 setLong(OWNER_INFO_ENABLED, 1, userId); 145 Settings.Secure.putIntForUser(cr, OWNER_INFO_ENABLED, 0, userId); 156 private final void checkWritePermission(int userId) { 160 private final void checkPasswordReadPermission(int userId) { [all...] |
/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/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/usb/ |
UsbService.java | 60 private UsbSettingsManager getSettingsForUser(int userId) { 62 UsbSettingsManager settings = mSettingsByUser.get(userId); 64 settings = new UsbSettingsManager(mContext, new UserHandle(userId)); 65 mSettingsByUser.put(userId, settings); 93 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1); 96 setCurrentUser(userId); 99 mSettingsByUser.remove(userId); 105 private void setCurrentUser(int userId) { 106 final UsbSettingsManager userSettings = getSettingsForUser(userId); 163 public void setDevicePackage(UsbDevice device, String packageName, int userId) { [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ProviderMap.java | 65 ContentProviderRecord getProviderByName(String name, int userId) { 76 return getProvidersByName(userId).get(name); 83 ContentProviderRecord getProviderByClass(ComponentName name, int userId) { 94 return getProvidersByClass(userId).get(name); 105 final int userId = UserHandle.getUserId(record.appInfo.uid); 106 getProvidersByName(userId).put(name, record); 118 final int userId = UserHandle.getUserId(record.appInfo.uid); 119 getProvidersByClass(userId).put(name, record); 123 void removeProviderByName(String name, int userId) { 129 if (userId < 0) throw new IllegalArgumentException("Bad user " + userId) [all...] |
/frameworks/base/services/java/com/android/server/print/ |
PrintManagerService.java | 101 PrintAttributes attributes, String packageName, int appId, int userId) { 103 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); 119 public List<PrintJobInfo> getPrintJobInfos(int appId, int userId) { 121 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); 135 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId, int userId) { 137 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); 151 public void cancelPrintJob(PrintJobId printJobId, int appId, int userId) { 153 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); 167 public void restartPrintJob(PrintJobId printJobId, int appId, int userId) { 169 final int resolvedUserId = resolveCallingUserEnforcingPermissions(userId); [all...] |
/frameworks/base/core/java/android/appwidget/ |
AppWidgetHost.java | 66 public void updateAppWidget(int appWidgetId, RemoteViews views, int userId) { 69 views.setUser(new UserHandle(userId)); 71 Message msg = mHandler.obtainMessage(HANDLE_UPDATE, appWidgetId, userId, views); 75 public void providerChanged(int appWidgetId, AppWidgetProviderInfo info, int userId) { 80 appWidgetId, userId, info); 84 public void providersChanged(int userId) { 85 Message msg = mHandler.obtainMessage(HANDLE_PROVIDERS_CHANGED, userId, 0); 89 public void viewDataChanged(int appWidgetId, int viewId, int userId) { 91 appWidgetId, viewId, userId); 157 final int userId = mContext.getUserId() [all...] |
/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/services/java/com/android/server/content/ |
SyncQueue.java | 61 public void addPendingOperations(int userId) { 63 if (op.userId != userId) continue; 66 op.account, op.userId, op.authority); 68 SyncAdapterType.newKey(op.authority, op.account.type), op.userId); 70 Log.w(TAG, "Missing sync adapter info for authority " + op.authority + ", userId " 71 + op.userId); 75 op.account, op.userId, op.reason, op.syncSource, op.authority, op.extras, 77 mSyncStorageEngine.getDelayUntilTime(op.account, op.userId, op.authority), 125 operation.account, operation.userId, operation.reason, operation.syncSource [all...] |
/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);
|