Home
last modified time | relevance | path

Searched defs:userHandle (Results 1 – 25 of 190) sorted by relevance

12345678

/frameworks/base/core/java/android/app/admin/
DDevicePolicyCache.java44 public abstract boolean isScreenCaptureAllowed(@UserIdInt int userHandle, in isScreenCaptureAllowed()
51 public abstract int getPasswordQuality(@UserIdInt int userHandle); in getPasswordQuality()
57 public abstract int getPermissionPolicy(@UserIdInt int userHandle); in getPermissionPolicy()
63 public abstract boolean canAdminGrantSensorsPermissionsForUser(@UserIdInt int userHandle); in canAdminGrantSensorsPermissionsForUser()
73 public boolean isScreenCaptureAllowed(int userHandle, in isScreenCaptureAllowed()
79 public int getPasswordQuality(int userHandle) { in getPasswordQuality()
84 public int getPermissionPolicy(int userHandle) { in getPermissionPolicy()
89 public boolean canAdminGrantSensorsPermissionsForUser(int userHandle) { in canAdminGrantSensorsPermissionsForUser()
DIDevicePolicyManager.aidl56 int getPasswordQuality(in ComponentName who, int userHandle, boolean parent); in getPasswordQuality()
59 int getPasswordMinimumLength(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLength()
62 int getPasswordMinimumUpperCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumUpperCase()
65 int getPasswordMinimumLowerCase(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLowerCase()
68 int getPasswordMinimumLetters(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumLetters()
71 int getPasswordMinimumNumeric(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNumeric()
74 int getPasswordMinimumSymbols(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumSymbols()
77 int getPasswordMinimumNonLetter(in ComponentName who, int userHandle, boolean parent); in getPasswordMinimumNonLetter()
79 PasswordMetrics getPasswordMinimumMetrics(int userHandle, boolean deviceWideOnly); in getPasswordMinimumMetrics()
82 int getPasswordHistoryLength(in ComponentName who, int userHandle, boolean parent); in getPasswordHistoryLength()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyCacheImpl.java52 public void onUserRemoved(int userHandle) { in onUserRemoved()
62 public boolean isScreenCaptureAllowed(int userHandle, boolean ownerCanAddInternalSystemWindow) { in isScreenCaptureAllowed()
68 public void setScreenCaptureAllowed(int userHandle, boolean allowed) { in setScreenCaptureAllowed()
75 public int getPasswordQuality(@UserIdInt int userHandle) { in getPasswordQuality()
83 public void setPasswordQuality(int userHandle, int quality) { in setPasswordQuality()
90 public int getPermissionPolicy(@UserIdInt int userHandle) { in getPermissionPolicy()
98 public void setPermissionPolicy(@UserIdInt int userHandle, int policy) { in setPermissionPolicy()
105 public boolean canAdminGrantSensorsPermissionsForUser(@UserIdInt int userHandle) { in canAdminGrantSensorsPermissionsForUser()
112 public void setAdminCanGrantSensorsPermissions(@UserIdInt int userHandle, in setAdminCanGrantSensorsPermissions()
DCertificateMonitor.java75 public String installCaCert(final UserHandle userHandle, byte[] certBuffer) { in installCaCert()
97 public void uninstallCaCerts(final UserHandle userHandle, final String[] aliases) { in uninstallCaCerts()
110 private List<String> getInstalledCaCertificates(UserHandle userHandle) in getInstalledCaCertificates()
140 private void updateInstalledCertificates(final UserHandle userHandle) { in updateInstalledCertificates()
168 private Notification buildNotification(UserHandle userHandle, int pendingCertificateCount) { in buildNotification()
/frameworks/base/core/java/android/nfc/
DINfcCardEmulation.aidl29 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in isDefaultServiceForCategory()
30 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid); in isDefaultServiceForAid()
31 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); in setDefaultServiceForCategory()
32 boolean setDefaultForNextTap(int userHandle, in ComponentName service); in setDefaultForNextTap()
33 …boolean registerAidGroupForService(int userHandle, in ComponentName service, in AidGroup aidGroup); in registerAidGroupForService()
34 …boolean setOffHostForService(int userHandle, in ComponentName service, in String offHostSecureElem… in setOffHostForService()
35 boolean unsetOffHostForService(int userHandle, in ComponentName service); in unsetOffHostForService()
36 AidGroup getAidGroupForService(int userHandle, in ComponentName service, String category); in getAidGroupForService()
37 boolean removeAidGroupForService(int userHandle, in ComponentName service, String category); in removeAidGroupForService()
38 List<ApduServiceInfo> getServices(int userHandle, in String category); in getServices()
[all …]
DINfcFCardEmulation.aidl27 String getSystemCodeForService(int userHandle, in ComponentName service); in getSystemCodeForService()
28 … boolean registerSystemCodeForService(int userHandle, in ComponentName service, String systemCode); in registerSystemCodeForService()
29 boolean removeSystemCodeForService(int userHandle, in ComponentName service); in removeSystemCodeForService()
30 String getNfcid2ForService(int userHandle, in ComponentName service); in getNfcid2ForService()
31 boolean setNfcid2ForService(int userHandle, in ComponentName service, String nfcid2); in setNfcid2ForService()
34 List<NfcFServiceInfo> getNfcFServices(int userHandle); in getNfcFServices()
DBeamShareData.java18 public final UserHandle userHandle; field in BeamShareData
21 public BeamShareData(NdefMessage msg, Uri[] uris, UserHandle userHandle, int flags) { in BeamShareData()
/frameworks/base/apex/appsearch/framework/java/android/app/appsearch/aidl/
DIAppSearchManager.aidl54 in UserHandle userHandle, in setSchema()
70 in UserHandle userHandle, in getSchema()
85 in UserHandle userHandle, in getNamespaces()
107 in UserHandle userHandle, in putDocuments()
135 in UserHandle userHandle, in getDocuments()
156 in UserHandle userHandle, in query()
176 in UserHandle userHandle, in globalQuery()
193 in UserHandle userHandle, in getNextPage()
207 in UserHandle userHandle); in invalidateNextPageToken()
229 in UserHandle userHandle, in writeQueryResultsToFile()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DSettingsProxy.java108 String name, ContentObserver settingsObserver, int userHandle) { in registerContentObserverForUser()
110 getUriFor(name), settingsObserver, userHandle); in registerContentObserverForUser() local
118 Uri uri, ContentObserver settingsObserver, int userHandle) { in registerContentObserverForUser()
131 int userHandle) { in registerContentObserverForUser()
133 getUriFor(name), notifyForDescendents, settingsObserver, userHandle); in registerContentObserverForUser() local
142 int userHandle) { in registerContentObserverForUser()
162 String getStringForUser(String name, int userHandle); in getStringForUser()
185 boolean putStringForUser(String name, String value, int userHandle); in putStringForUser()
189 boolean makeDefault, @UserIdInt int userHandle, boolean overrideableByRestore); in putStringForUser()
250 default int getIntForUser(String name, int def, int userHandle) { in getIntForUser()
[all …]
DGlobalSettingsImpl.java44 public String getStringForUser(String name, int userHandle) { in getStringForUser()
55 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser()
61 int userHandle, boolean overrideableByRestore) { in putStringForUser()
DSecureSettingsImpl.java44 public String getStringForUser(String name, int userHandle) { in getStringForUser()
54 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser()
60 int userHandle, boolean overrideableByRestore) { in putStringForUser()
DSystemSettingsImpl.java44 public String getStringForUser(String name, int userHandle) { in getStringForUser()
54 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser()
60 int userHandle, boolean overrideableByRestore) { in putStringForUser()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/
DAppSearchUserInstanceManager.java79 public static File getAppSearchDir(@NonNull UserHandle userHandle) { in getAppSearchDir()
101 @NonNull UserHandle userHandle, in getOrCreateUserInstance()
125 public void closeAndRemoveUserInstance(@NonNull UserHandle userHandle) { in closeAndRemoveUserInstance()
147 public AppSearchUserInstance getUserInstance(@NonNull UserHandle userHandle) { in getUserInstance()
177 @NonNull UserHandle userHandle, in createUserInstance()
DAppSearchManagerService.java163 UserHandle userHandle = intent.getParcelableExtra(Intent.EXTRA_USER); in onReceive() local
188 private void handleUserRemoved(@NonNull UserHandle userHandle) { in handleUserRemoved()
225 UserHandle userHandle = UserHandle.getUserHandleForUid(uid); in handlePackageRemoved() local
250 UserHandle userHandle = user.getUserHandle(); in onUserUnlocking() local
284 UserHandle userHandle = user.getUserHandle(); in onUserStopping() local
322 @NonNull UserHandle userHandle, in setSchema()
413 @NonNull UserHandle userHandle, in getSchema()
445 @NonNull UserHandle userHandle, in getNamespaces()
477 @NonNull UserHandle userHandle, in putDocuments()
561 @NonNull UserHandle userHandle, in getDocuments()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/enterprise/
DActionDisabledLearnMoreButtonLauncher.java46 PackageManager packageManager, String url, UserHandle userHandle); in canResolveActivityAsUser()
70 Context context, String url, UserHandle userHandle) { in setupLearnMoreButtonToLaunchHelpPage()
121 public void showHelpPage(Context context, String url, UserHandle userHandle) { in showHelpPage()
122 context.startActivityAsUser(createLearnMoreIntent(url), userHandle); in showHelpPage() local
129 UserHandle userHandle, in canLaunchHelpPage()
/frameworks/base/core/java/android/hardware/biometrics/
DParentalControlsUtilsInternal.java48 @NonNull UserHandle userHandle) { in parentConsentRequired()
60 @BiometricAuthenticator.Modality int modality, @NonNull UserHandle userHandle) { in parentConsentRequired()
90 @NonNull UserHandle userHandle) { in getSupervisionComponentName()
/frameworks/base/services/restrictions/java/com/android/server/restrictions/
DRestrictionsManagerService.java77 int userHandle = UserHandle.getCallingUserId(); in hasRestrictionsProvider() local
98 int userHandle = UserHandle.getUserId(callingUid); in requestPermission() local
131 final int userHandle = UserHandle.getCallingUserId(); in createLocalApprovalIntent() local
164 int userHandle = UserHandle.getUserId(callingUid); in notifyPermissionResponse() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DUidDetailProvider.java53 public static int buildKeyForUser(int userHandle) { in buildKeyForUser()
140 final int userHandle = getUserIdForKey(uid); in buildUidDetail() local
154 UserHandle userHandle = new UserHandle(userId); in buildUidDetail() local
/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsManagerLocal.java52 @NonNull UserHandle userHandle, in augmentStatsForPackageForUser()
76 void augmentStatsForUser(@NonNull PackageStats stats, @NonNull UserHandle userHandle); in augmentStatsForUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/
DFakeSettings.java57 ContentObserver settingsObserver, int userHandle) { in registerContentObserverForUser()
88 public String getStringForUser(String name, int userHandle) { in getStringForUser()
103 public boolean putStringForUser(String name, String value, int userHandle) { in putStringForUser()
109 int userHandle, boolean overrideableByRestore) { in putStringForUser()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java419 private ApplicationInfo getCameraInfo(int userHandle) { in getCameraInfo()
445 private ApplicationInfo getHomeInfo(int userHandle) { in getHomeInfo()
450 private ApplicationInfo getAssistantInfo(int userHandle) { in getAssistantInfo()
458 private ApplicationInfo getApplicationInfoForIntent(Intent intent, int userHandle, in getApplicationInfoForIntent()
500 private void sendPinAppsMessage(int userHandle) { in sendPinAppsMessage()
505 private void sendPinAppsWithUpdatedKeysMessage(int userHandle) { in sendPinAppsWithUpdatedKeysMessage()
541 private void pinApps(int userHandle) { in pinApps()
545 private void pinAppsWithUpdatedKeys(int userHandle) { in pinAppsWithUpdatedKeys()
553 private void pinAppsInternal(int userHandle, boolean updateKeys) { in pinAppsInternal()
578 private void sendPinAppMessage(int key, int userHandle, boolean force) { in sendPinAppMessage()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java300 List<String> listForUser(IContentProvider provider, int userHandle, String table) { in listForUser()
325 String getForUser(IContentProvider provider, int userHandle, in getForUser()
353 void putForUser(IContentProvider provider, int userHandle, final String table, in putForUser()
389 int deleteForUser(IContentProvider provider, int userHandle, in deleteForUser()
416 void resetForUser(IContentProvider provider, int userHandle, in resetForUser()
/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/
DSystemServiceUserEvent.java63 public final int userHandle; field in SystemServiceUserEvent
65 public SystemServiceUserEvent(@Type int type, int userHandle) { in SystemServiceUserEvent()
/frameworks/base/core/java/android/content/pm/
DCrossProfileApps.java238 public @NonNull CharSequence getProfileSwitchingLabel(@NonNull UserHandle userHandle) { in getProfileSwitchingLabel()
260 public @NonNull Drawable getProfileSwitchingIconDrawable(@NonNull UserHandle userHandle) { in getProfileSwitchingIconDrawable()
522 private void verifyCanAccessUser(UserHandle userHandle) { in verifyCanAccessUser()
DInstantAppRequestInfo.java95 @NonNull UserHandle userHandle, in InstantAppRequestInfo()
186 UserHandle userHandle = (UserHandle) in.readTypedObject(UserHandle.CREATOR); in InstantAppRequestInfo() local

12345678