/frameworks/base/core/java/android/app/ |
IStopUserCallback.aidl | 25 void userStopped(int userId); 26 void userStopAborted(int userId);
|
INotificationManager.aidl | 30 void cancelAllNotifications(String pkg, int userId); 35 in Notification notification, inout int[] idReceived, int userId); 36 void cancelNotificationWithTag(String pkg, String tag, int id, int userId); 44 void registerListener(in INotificationListener listener, in ComponentName component, int userid); 45 void unregisterListener(in INotificationListener listener, 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 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...] |
/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/policy/src/com/android/internal/policy/impl/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 | 91 void onUserSwitching(int userId) { } 96 void onUserSwitchComplete(int userId) { } 107 void onUserRemoved(int userId) { } 112 void onUserInfoChanged(int userId) { }
|
/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, String callingPackage) { 193 PackageUserState st = modifyUserState(userId); 198 int getEnabled(int userId) { 199 return readUserState(userId).enabled; 202 String getLastDisabledAppCaller(int userId) { [all...] |
SharedUserSetting.java | 27 int userId; 41 + name + "/" + userId + "}";
|
/frameworks/base/services/java/com/android/server/ |
AppWidgetService.java | 125 public int allocateAppWidgetId(String packageName, int hostId, int userId) 127 return getImplForUser(userId).allocateAppWidgetId(packageName, hostId); 131 public int[] getAppWidgetIdsForHost(int hostId, int userId) throws RemoteException { 132 return getImplForUser(userId).getAppWidgetIdsForHost(hostId); 136 public void deleteAppWidgetId(int appWidgetId, int userId) throws RemoteException { 137 getImplForUser(userId).deleteAppWidgetId(appWidgetId); 141 public void deleteHost(int hostId, int userId) throws RemoteException { 142 getImplForUser(userId).deleteHost(hostId); 146 public void deleteAllHosts(int userId) throws RemoteException { 147 getImplForUser(userId).deleteAllHosts() [all...] |
LockSettingsService.java | 112 final int userId = users.get(user).id; 114 String ownerInfo = Settings.Secure.getStringForUser(cr, OWNER_INFO, userId); 116 setString(OWNER_INFO, ownerInfo, userId); 117 Settings.Secure.putStringForUser(cr, ownerInfo, "", userId); 126 int ivalue = Settings.Secure.getIntForUser(cr, OWNER_INFO_ENABLED, userId); 128 setLong(OWNER_INFO_ENABLED, enabled ? 1 : 0, userId); 132 setLong(OWNER_INFO_ENABLED, 1, userId); 135 Settings.Secure.putIntForUser(cr, OWNER_INFO_ENABLED, 0, userId); 146 private static final void checkWritePermission(int userId) { 154 private static 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 | 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/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), 120 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);
|