/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 | 59 private UsbSettingsManager getSettingsForUser(int userId) { argument 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) { argument 105 final UsbSettingsManager userSettings = getSettingsForUser(userId); 162 public void setDevicePackage(UsbDevice device, String packageName, int userId) { argument 168 setAccessoryPackage(UsbAccessory accessory, String packageName, int userId) argument 213 hasDefaults(String packageName, int userId) argument 219 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
|
H A D | SyncStorageEngine.java | 147 final int userId; field in class:SyncStorageEngine.PendingOperation 156 PendingOperation(Account account, int userId, int source, argument 159 this.userId = userId; 169 this.userId = other.userId; 190 final int userId; field in class:SyncStorageEngine.AuthorityInfo 208 userId = toCopy.userId; 223 AuthorityInfo(Account account, int userId, Strin argument 270 onSyncRequest(Account account, int userId, String authority, Bundle extras) argument 462 getSyncAutomatically(Account account, int userId, String providerName) argument 484 setSyncAutomatically(Account account, int userId, String providerName, boolean sync) argument 505 getIsSyncable(Account account, int userId, String providerName) argument 528 setIsSyncable(Account account, int userId, String providerName, int syncable) argument 553 getBackoff(Account account, int userId, String providerName) argument 564 setBackoff(Account account, int userId, String providerName, long nextSyncTime, long nextDelay) argument 641 setDelayUntilTime(Account account, int userId, String providerName, long delayUntil) argument 659 getDelayUntilTime(Account account, int userId, String providerName) argument 670 updateOrRemovePeriodicSync(Account account, int userId, String providerName, Bundle extras, long period, boolean add) argument 744 addPeriodicSync(Account account, int userId, String providerName, Bundle extras, long pollFrequency) argument 750 removePeriodicSync(Account account, int userId, String providerName, Bundle extras) argument 756 getPeriodicSyncs(Account account, int userId, String providerName) argument 771 setMasterSyncAutomatically(boolean flag, int userId) argument 787 getMasterSyncAutomatically(int userId) argument 794 getOrCreateAuthority(Account account, int userId, String authority) argument 802 removeAuthority(Account account, int userId, String authority) argument 818 isSyncActive(Account account, int userId, String authority) argument 938 doDatabaseCleanup(Account[] accounts, int userId) argument 1021 removeActiveSync(SyncInfo syncInfo, int userId) argument 1044 insertStartSyncEvent(Account accountName, int userId, String authorityName, long now, int source, boolean initialization) argument 1207 getCurrentSyncs(int userId) argument 1258 getStatusByAccountAndAuthority(Account account, int userId, String authority) argument 1282 isSyncPending(Account account, int userId, String authority) argument 1354 getAuthorityLocked(Account accountName, int userId, String authorityName, String tag) argument 1379 getOrCreateAuthorityLocked(Account accountName, int userId, String authorityName, int ident, boolean doWrite) argument 1410 removeAuthorityLocked(Account account, int userId, String authorityName, boolean doWrite) argument 2199 requestSync(Account account, int userId, String authority, Bundle extras) argument [all...] |
/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/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 | 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) { argument 278 getDreamComponentsForUser(int userId) argument 285 startDreamLocked(final ComponentName name, final boolean isTest, final int userId) argument [all...] |
/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
|
/frameworks/base/services/java/com/android/server/ |
H A D | WallpaperManagerService.java | 121 super(getWallpaperDir(wallpaper.userId).getAbsolutePath(), 123 mWallpaperDir = getWallpaperDir(wallpaper.userId); 169 int userId; field in class:WallpaperManagerService.WallpaperData 207 WallpaperData(int userId) { argument 208 this.userId = userId; 209 wallpaperFile = new File(getWallpaperDir(userId), WALLPAPER); 253 && mWallpaper.userId == mCurrentUserId) { 255 clearWallpaperLocked(true, mWallpaper.userId, null); 311 clearWallpaperLocked(false, wallpaper.userId, nul 439 getWallpaperDir(int userId) argument 503 onStoppingUser(int userId) argument 517 onRemoveUser(int userId) argument 528 switchUser(int userId, IRemoteCallback reply) argument 570 clearWallpaperLocked(boolean defaultFailed, int userId, IRemoteCallback reply) argument 994 makeJournaledFile(int userId) argument 1047 loadSettingsLocked(int userId) argument [all...] |