/frameworks/base/core/java/android/app/ |
H A D | IStopUserCallback.aidl | 25 void userStopped(int userId); 26 void userStopAborted(int userId);
|
H A D | 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/ |
H A D | AccountAndUser.java | 26 public int userId; field in class:AccountAndUser 28 public AccountAndUser(Account account, int userId) { argument 30 this.userId = userId; 38 && this.userId == other.userId; 43 return account.hashCode() + userId; 47 return account.toString() + " u" + userId;
|
H A D | IAccountAuthenticatorCache.java | 42 AuthenticatorDescription type, int userId); 48 int userId); 54 void dump(FileDescriptor fd, PrintWriter fout, String[] args, int userId); argument 65 void invalidateCache(int userId); argument 41 getServiceInfo( AuthenticatorDescription type, int userId) argument 47 getAllServices( int userId) argument
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | 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...] |
H A D | LockSettingsService.java | 99 private static final void checkWritePermission(int userId) { argument 107 private static final void checkPasswordReadPermission(int userId) { argument 115 private static final void checkReadPermission(int userId) { argument 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 { argument 126 checkWritePermission(userId); 128 writeToDb(key, value ? "1" : "0", userId); 132 public void setLong(String key, long value, int userId) throws RemoteException { argument 133 checkWritePermission(userId); 139 setString(String key, String value, int userId) argument 146 getBoolean(String key, boolean defaultValue, int userId) argument 155 getLong(String key, long defaultValue, int userId) argument 163 getString(String key, String defaultValue, int userId) argument 169 getLockPatternFilename(int userId) argument 182 getLockPasswordFilename(int userId) argument 196 havePassword(int userId) argument 203 havePattern(int userId) argument 210 setLockPattern(byte[] hash, int userId) argument 217 checkPattern(byte[] hash, int userId) argument 240 setLockPassword(byte[] hash, int userId) argument 247 checkPassword(byte[] hash, int userId) argument 271 removeUser(int userId) argument 309 writeToDb(String key, String value, int userId) argument 313 writeToDb(SQLiteDatabase db, String key, String value, int userId) argument 330 readFromDb(String key, String defaultValue, int userId) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | RegisteredServicesCacheListener.java | 29 void onServiceChanged(V type, int userId, boolean removed); argument
|
H A D | PackageCleanItem.java | 24 public final int userId; field in class:PackageCleanItem 28 public PackageCleanItem(int userId, String packageName, boolean andCode) { argument 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();
|
H A D | 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/ |
H A D | PackageSettingBase.java | 175 private PackageUserState modifyUserState(int userId) { argument 176 PackageUserState state = userState.get(userId); 179 userState.put(userId, state); 184 public PackageUserState readUserState(int userId) { argument 185 PackageUserState state = userState.get(userId); 192 void setEnabled(int state, int userId) { argument 193 modifyUserState(userId).enabled = state; 196 int getEnabled(int userId) { argument 197 return readUserState(userId).enabled; 200 void setInstalled(boolean inst, int userId) { argument 204 getInstalled(int userId) argument 235 getStopped(int userId) argument 239 setStopped(boolean stop, int userId) argument 243 getNotLaunched(int userId) argument 247 setNotLaunched(boolean stop, int userId) argument 251 setUserState(int userId, int enabled, boolean installed, boolean stopped, boolean notLaunched, HashSet<String> enabledComponents, HashSet<String> disabledComponents) argument 263 getEnabledComponents(int userId) argument 267 getDisabledComponents(int userId) argument 271 setEnabledComponents(HashSet<String> components, int userId) argument 275 setDisabledComponents(HashSet<String> components, int userId) argument 279 setEnabledComponentsCopy(HashSet<String> components, int userId) argument 284 setDisabledComponentsCopy(HashSet<String> components, int userId) argument 289 modifyUserStateComponents(int userId, boolean disabled, boolean enabled) argument 300 addDisabledComponent(String componentClassName, int userId) argument 304 addEnabledComponent(String componentClassName, int userId) argument 308 enableComponentLPw(String componentClassName, int userId) argument 316 disableComponentLPw(String componentClassName, int userId) argument 324 restoreComponentLPw(String componentClassName, int userId) argument 333 getCurrentEnabledStateLPr(String componentName, int userId) argument 345 removeUser(int userId) argument [all...] |
H A D | SharedUserSetting.java | 27 int userId; field in class:SharedUserSetting 41 + name + "/" + userId + "}";
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | 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);
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbService.java | 60 private UsbSettingsManager getSettingsForUser(int userId) { argument 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) { argument 106 final UsbSettingsManager userSettings = getSettingsForUser(userId); 163 public void setDevicePackage(UsbDevice device, String packageName, int userId) { argument 169 setAccessoryPackage(UsbAccessory accessory, String packageName, int userId) argument 214 hasDefaults(String packageName, int userId) argument 220 clearDefaults(String packageName, int userId) argument [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ProviderMap.java | 64 ContentProviderRecord getProviderByName(String name, int userId) { argument 75 return getProvidersByName(userId).get(name); 82 ContentProviderRecord getProviderByClass(ComponentName name, int userId) { argument 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) { argument 128 if (userId < 141 removeProviderByClass(ComponentName name, int userId) argument 160 getProvidersByName(int userId) argument 172 getProvidersByClass(int userId) argument 186 collectForceStopProvidersLocked(String name, int appId, boolean doit, boolean evenPersistent, int userId, HashMap<ComponentName, ContentProviderRecord> providers, ArrayList<ContentProviderRecord> result) argument 204 collectForceStopProviders(String name, int appId, boolean doit, boolean evenPersistent, int userId, ArrayList<ContentProviderRecord> result) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | SyncQueue.java | 56 public void addPendingOperations(int userId) { argument 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, operatio 129 removeUser(int userId) argument 157 onBackoffChanged(Account account, int userId, String providerName, long backoff) argument 180 remove(Account account, int userId, String authority) argument [all...] |
H A D | SyncOperation.java | 29 public final int userId; field in class:SyncOperation 42 public SyncOperation(Account account, int userId, int source, String authority, Bundle extras, argument 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/ |
H A D | 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/ |
H A D | KeyguardUpdateMonitorCallback.java | 90 void onUserSwitched(int userId) { } argument 101 void onUserRemoved(int userId) { } argument
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/ |
H A D | KeyguardUpdateMonitorCallback.java | 84 void onUserSwitched(int userId) { } argument 95 void onUserRemoved(int userId) { } argument
|
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetService.java | 127 * current user. TODO: Instead, have lockscreen make explicit calls with userId 200 int userId) throws RemoteException { 202 && userId != UserHandle.getCallingUserId()) { 206 getImplForUser(userId).bindRemoteViewsService( 219 List<RemoteViews> updatedViews, int userId) throws RemoteException { 221 && userId != UserHandle.getCallingUserId()) { 225 return getImplForUser(userId).startListening(host, packageName, hostId, updatedViews); 228 public void onUserRemoved(int userId) { argument 229 if (userId < 1) return; 231 AppWidgetServiceImpl impl = mAppWidgetServices.get(userId); 199 bindRemoteViewsService(int appWidgetId, Intent intent, IBinder connection, int userId) argument 218 startListeningAsUser(IAppWidgetHost host, String packageName, int hostId, List<RemoteViews> updatedViews, int userId) argument 242 onUserStopping(int userId) argument 253 getImplForUser(int userId) argument 325 stopListeningAsUser(int hostId, int userId) argument 335 unbindRemoteViewsService(int appWidgetId, Intent intent, int userId) argument [all...] |
/frameworks/base/core/java/android/ddm/ |
H A D | DdmHandleAppName.java | 72 public static void setAppName(String name, int userId) { argument 79 sendAPNM(name, userId); 89 private static void sendAPNM(String appName, int userId) { argument 96 + 4 /* userId */); 100 out.putInt(userId);
|
/frameworks/base/services/java/com/android/server/dreams/ |
H A D | DreamManagerService.java | 112 final int userId = UserHandle.getCallingUserId(); 115 return getDreamComponentsForUser(userId); 125 final int userId = UserHandle.getCallingUserId(); 131 userId); 141 final int userId = UserHandle.getCallingUserId(); 146 userId); 258 int userId = ActivityManager.getCurrentUser(); 259 ComponentName dream = chooseDreamForUser(userId); 262 startDreamLocked(dream, false /*isTest*/, userId); 276 private ComponentName chooseDreamForUser(int userId) { argument 281 getDreamComponentsForUser(int userId) argument 318 startDreamLocked(final ComponentName name, final boolean isTest, final int userId) argument [all...] |
/frameworks/base/core/java/com/android/internal/appwidget/ |
H A D | IAppWidgetService.aidl | 36 out List<RemoteViews> updatedViews, int userId); 38 void stopListeningAsUser(int hostId, int userId); 62 void bindRemoteViewsService(int appWidgetId, in Intent intent, in IBinder connection, int userId); 63 void unbindRemoteViewsService(int appWidgetId, in Intent intent, int userId);
|
/frameworks/base/cmds/content/src/com/android/commands/content/ |
H A D | 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 318 Command(Uri uri, int userId) argument 354 InsertCommand(Uri uri, int userId, ContentValues contentValues) argument 368 DeleteCommand(Uri uri, int userId, String where) argument 383 QueryCommand( Uri uri, int userId, String[] projection, String where, String sortOrder) argument 447 UpdateCommand(Uri uri, int userId, ContentValues contentValues, String where) argument [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeocoderProxy.java | 42 List<String> initialPackageNames, int userId) { 43 GeocoderProxy proxy = new GeocoderProxy(context, initialPackageNames, userId); 51 public GeocoderProxy(Context context, List<String> initialPackageNames, int userId) { argument 55 null, null, userId); 41 createAndBind(Context context, List<String> initialPackageNames, int userId) argument
|