/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/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/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/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/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...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
UserID.java | 26 public class UserID implements PacketExtension {
38 private String userID;
40 public UserID(String userID) {
41 this.userID = userID;
45 return this.userID;
69 String userID = parser.getAttributeValue("", "id");
74 return new UserID(userID);
[all...] |
OfferRevokeProvider.java | 36 // Default the userID to the JID.
37 String userID = userJID;
53 && parser.getName().equals(UserID.ELEMENT_NAME)) {
54 userID = parser.getAttributeValue("", "id");
63 return new OfferRevokePacket(userJID, userID, reason, sessionID);
69 private String userID;
73 public OfferRevokePacket (String userJID, String userID, String cause, String sessionID) {
75 this.userID = userID;
85 return this.userID;
[all...] |
OfferRequestProvider.java | 60 // Default userID to the JID.
61 String userID = userJID;
78 else if (UserID.ELEMENT_NAME.equals(elemName)) {
79 userID = parser.getAttributeValue("", "id");
104 new OfferRequestPacket(userJID, userID, timeout, metaData, sessionID, content);
113 private String userID;
119 public OfferRequestPacket(String userJID, String userID, int timeout, Map<String, List<String>> metaData,
123 this.userID = userID;
131 * Returns the userID, which is either the same as the userJID or a special [all...] |
AgentStatus.java | 117 private String userID;
123 public ChatInfo(String sessionID, String userID, Date date, String email, String username, String question) {
125 this.userID = userID;
145 * then the userID will be the value of the ID attribute of the USER element. Otherwise,
146 * the userID will be the bare JID of the user that made the request.
151 return userID;
197 if (userID != null) {
198 buf.append(" userID=\"").append(userID).append("\""); [all...] |
/frameworks/base/core/java/android/content/pm/ |
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/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);
|
/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);
|
/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/app/ |
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);
|
IStopUserCallback.aidl | 25 void userStopped(int userId); 26 void userStopAborted(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), 123 operation.account, operation.userId, operation.reason, operation.syncSource [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...] |
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
RegisteredServicesCache.java | 66 void onServicesUpdated(int userId, final List<ApduServiceInfo> services); 77 private UserServices findOrCreateUserLocked(int userId) { 78 UserServices services = mUserServices.get(userId); 81 mUserServices.put(userId, services); 145 public boolean hasService(int userId, ComponentName service) { 146 return getService(userId, service) != null; 149 public ApduServiceInfo getService(int userId, ComponentName service) { 151 UserServices userServices = findOrCreateUserLocked(userId); 156 public List<ApduServiceInfo> getServices(int userId) { 159 UserServices userServices = findOrCreateUserLocked(userId); [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/ |
RevokedOffer.java | 33 private String userID;
42 * @param userID the user ID of the user for which this revocation was issued.
48 RevokedOffer(String userJID, String userID, String workgroupName, String sessionID,
53 this.userID = userID;
68 return this.userID;
|