HomeSort by relevance Sort by last modified time
    Searched full:userid (Results 1 - 25 of 573) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/com/android/internal/widget/
LockPatternUtilsCache.java 67 public void setBoolean(String key, boolean value, int userId) throws RemoteException {
68 invalidateCache(key, userId);
69 mService.setBoolean(key, value, userId);
70 putCache(key, userId, value);
73 public void setLong(String key, long value, int userId) throws RemoteException {
74 invalidateCache(key, userId);
75 mService.setLong(key, value, userId);
76 putCache(key, userId, value);
79 public void setString(String key, String value, int userId) throws RemoteException {
80 invalidateCache(key, userId);
    [all...]
ILockSettings.aidl 23 void setBoolean(in String key, in boolean value, in int userId);
24 void setLong(in String key, in long value, in int userId);
25 void setString(in String key, in String value, in int userId);
26 boolean getBoolean(in String key, in boolean defaultValue, in int userId);
27 long getLong(in String key, in long defaultValue, in int userId);
28 String getString(in String key, in String defaultValue, in int userId);
29 void setLockPattern(in String pattern, int userId);
30 boolean checkPattern(in String pattern, int userId);
31 void setLockPassword(in String password, int userId);
32 boolean checkPassword(in String password, int userId);
    [all...]
  /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/media/java/android/media/tv/
ITvInputManager.aidl 39 List<TvInputInfo> getTvInputList(int userId);
40 TvInputInfo getTvInputInfo(in String inputId, int userId);
42 List<TvContentRatingSystemInfo> getTvContentRatingSystemList(int userId);
44 void registerCallback(in ITvInputManagerCallback callback, int userId);
45 void unregisterCallback(in ITvInputManagerCallback callback, int userId);
47 boolean isParentalControlsEnabled(int userId);
48 void setParentalControlsEnabled(boolean enabled, int userId);
49 boolean isRatingBlocked(in String rating, int userId);
50 List<String> getBlockedRatings(int userId);
51 void addBlockedRating(in String rating, int userId);
    [all...]
  /frameworks/base/core/java/com/android/server/
AppWidgetBackupBridge.java 34 public static List<String> getWidgetParticipants(int userId) {
36 ? sAppWidgetService.getWidgetParticipants(userId)
40 public static byte[] getWidgetState(String packageName, int userId) {
42 ? sAppWidgetService.getWidgetState(packageName, userId)
46 public static void restoreStarting(int userId) {
48 sAppWidgetService.restoreStarting(userId);
52 public static void restoreWidgetState(String packageName, byte[] restoredState, int userId) {
54 sAppWidgetService.restoreWidgetState(packageName, restoredState, userId);
58 public static void restoreFinished(int userId) {
60 sAppWidgetService.restoreFinished(userId);
    [all...]
WidgetBackupProvider.java 29 public List<String> getWidgetParticipants(int userId);
30 public byte[] getWidgetState(String packageName, int userId);
31 public void restoreStarting(int userId);
32 public void restoreWidgetState(String packageName, byte[] restoredState, int userId);
33 public void restoreFinished(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;
IAccountManager.aidl 32 AuthenticatorDescription[] getAuthenticatorTypes(int userId);
36 Account[] getAccountsAsUser(String accountType, int userId);
41 void removeAccountAsUser(in IAccountManagerResponse response, in Account account, int userId);
58 in Bundle options, int userId);
64 in Bundle options, boolean expectActivityLaunch, int userId);
69 boolean addSharedAccountAsUser(in Account account, int userId);
70 Account[] getSharedAccountsAsUser(int userId);
71 boolean removeSharedAccountAsUser(in Account account, int userId);
76 boolean renameSharedAccountAsUser(in Account accountToRename, String newName, int userId);
  /frameworks/base/services/core/java/com/android/server/pm/
PackageSettingBase.java 224 private PackageUserState modifyUserState(int userId) {
225 PackageUserState state = userState.get(userId);
228 userState.put(userId, state);
233 public PackageUserState readUserState(int userId) {
234 PackageUserState state = userState.get(userId);
241 void setEnabled(int state, int userId, String callingPackage) {
242 PackageUserState st = modifyUserState(userId);
247 int getEnabled(int userId) {
248 return readUserState(userId).enabled;
251 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...]
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
CardEmulationManager.java 93 public void onUserSwitched(int userId) {
94 mServiceCache.invalidateCache(userId);
95 mPreferredServices.onUserSwitched(userId);
114 public void onServicesUpdated(int userId, List<ApduServiceInfo> services) {
116 verifyDefaults(userId, services);
118 mAidCache.onServicesUpdated(userId, services);
123 void verifyDefaults(int userId, List<ApduServiceInfo> services) {
125 getDefaultServiceForCategory(userId, CardEmulation.CATEGORY_PAYMENT, false);
129 ApduServiceInfo serviceInfo = mServiceCache.getService(userId, defaultPaymentService);
149 setDefaultServiceForCategoryChecked(userId, null, CardEmulation.CATEGORY_PAYMENT)
    [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();
IPackageInstaller.aidl 30 int createSession(in PackageInstaller.SessionParams params, String installerPackageName, int userId);
41 ParceledListSlice getAllSessions(int userId);
42 ParceledListSlice getMySessions(String installerPackageName, int userId);
44 void registerCallback(IPackageInstallerCallback callback, int userId);
47 void uninstall(String packageName, int flags, in IntentSender statusReceiver, int userId);
  /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 40 public void clear(int userId) {
41 mCache.remove(userId);
44 public Drawable get(int userId) {
45 return mCache.get(userId);
48 public void put(int userId, Drawable image) {
49 mCache.put(userId, image);
  /frameworks/base/services/core/java/com/android/server/trust/
TrustArchive.java 44 final int userId;
56 private Event(int type, int userId, ComponentName agent, String message,
59 this.userId = userId;
71 public void logGrantTrust(int userId, ComponentName agent, String message,
73 addEvent(new Event(TYPE_GRANT_TRUST, userId, agent, message, duration,
77 public void logRevokeTrust(int userId, ComponentName agent) {
78 addEvent(new Event(TYPE_REVOKE_TRUST, userId, agent, null, 0, false, false));
81 public void logTrustTimeout(int userId, ComponentName agent) {
82 addEvent(new Event(TYPE_TRUST_TIMEOUT, userId, agent, null, 0, false, false))
    [all...]
TrustManagerService.java 137 int userId;
145 return component.equals(o.component) && userId == o.userId;
150 return component.hashCode() * 31 + userId;
161 public void updateTrust(int userId, boolean initiatedByUser) {
162 dispatchOnTrustManagedChanged(aggregateIsTrustManaged(userId), userId);
163 dispatchOnTrustChanged(aggregateIsTrusted(userId), userId, initiatedByUser);
166 void refreshAgentList(int userId) {
    [all...]
  /frameworks/base/services/usb/java/com/android/server/usb/
UsbService.java 84 private UsbSettingsManager getSettingsForUser(int userId) {
86 UsbSettingsManager settings = mSettingsByUser.get(userId);
88 settings = new UsbSettingsManager(mContext, new UserHandle(userId));
89 mSettingsByUser.put(userId, settings);
117 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1);
120 setCurrentUser(userId);
123 mSettingsByUser.remove(userId);
129 private void setCurrentUser(int userId) {
130 final UsbSettingsManager userSettings = getSettingsForUser(userId);
187 public void setDevicePackage(UsbDevice device, String packageName, int userId) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/
LockSettingsService.java 165 final int userId = users.get(user).id;
167 String ownerInfo = Settings.Secure.getStringForUser(cr, OWNER_INFO, userId);
169 setString(OWNER_INFO, ownerInfo, userId);
170 Settings.Secure.putStringForUser(cr, ownerInfo, "", userId);
179 int ivalue = Settings.Secure.getIntForUser(cr, OWNER_INFO_ENABLED, userId);
181 setLong(OWNER_INFO_ENABLED, enabled ? 1 : 0, userId);
185 setLong(OWNER_INFO_ENABLED, 1, userId);
188 Settings.Secure.putIntForUser(cr, OWNER_INFO_ENABLED, 0, userId);
199 private final void checkWritePermission(int userId) {
203 private final void checkPasswordReadPermission(int userId) {
    [all...]
  /frameworks/base/services/core/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/core/java/android/service/fingerprint/
IFingerprintService.aidl 27 void enroll(IBinder token, long timeout, int userId);
30 void enrollCancel(IBinder token, int userId);
33 void remove(IBinder token, int fingerprintId, int userId);
37 void startListening(IBinder token, IFingerprintServiceReceiver receiver, int userId);
40 void stopListening(IBinder token, int userId);
  /frameworks/base/core/java/android/app/trust/
ITrustManager.aidl 27 void reportUnlockAttempt(boolean successful, int userId);
28 void reportEnabledTrustAgentsChanged(int userId);
29 void reportRequireCredentialEntry(int userId);
TrustManager.java 48 * Reports that user {@param userId} has tried to unlock the device.
54 public void reportUnlockAttempt(boolean successful, int userId) {
56 mService.reportUnlockAttempt(successful, userId);
63 * Reports that the list of enabled trust agents changed for user {@param userId}.
67 public void reportEnabledTrustAgentsChanged(int userId) {
69 mService.reportEnabledTrustAgentsChanged(userId);
76 * Reports that trust is disabled until credentials have been entered for user {@param userId}.
80 * @param userId either an explicit user id or {@link android.os.UserHandle#USER_ALL}
82 public void reportRequireCredentialEntry(int userId) {
84 mService.reportRequireCredentialEntry(userId);
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
NfcPermissions.java 21 public static void validateUserId(int userId) {
22 if (userId != UserHandle.getCallingUserId()) {
23 throw new SecurityException("userId passed in is not the calling user.");

Completed in 1468 milliseconds

1 2 3 4 5 6 7 8 91011>>