Home
last modified time | relevance | path

Searched defs:userId (Results 1 – 25 of 157) sorted by relevance

1234567

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DCardEmulationManager.java149 public void onUserSwitched(int userId) { in onUserSwitched()
190 public void onServicesUpdated(int userId, List<ApduServiceInfo> services) { in onServicesUpdated()
200 public void onNfcFServicesUpdated(int userId, List<NfcFServiceInfo> services) { in onNfcFServicesUpdated()
207 void verifyDefaults(int userId, List<ApduServiceInfo> services) { in verifyDefaults()
237 ComponentName getDefaultServiceForCategory(int userId, String category, in getDefaultServiceForCategory()
259 boolean setDefaultServiceForCategoryChecked(int userId, ComponentName service, in setDefaultServiceForCategoryChecked()
278 boolean isServiceRegistered(int userId, ComponentName service) { in isServiceRegistered()
292 boolean isNfcFServiceInstalled(int userId, ComponentName service) { in isNfcFServiceInstalled()
321 public boolean isDefaultServiceForCategory(int userId, ComponentName service, in isDefaultServiceForCategory()
334 public boolean isDefaultServiceForAid(int userId, in isDefaultServiceForAid()
[all …]
DRegisteredServicesCache.java85 void onServicesUpdated(int userId, final List<ApduServiceInfo> services); in onServicesUpdated()
107 private UserServices findOrCreateUserLocked(int userId) { in findOrCreateUserLocked()
185 public boolean hasService(int userId, ComponentName service) { in hasService()
189 public ApduServiceInfo getService(int userId, ComponentName service) { in getService()
196 public List<ApduServiceInfo> getServices(int userId) { in getServices()
205 public List<ApduServiceInfo> getServicesForCategory(int userId, String category) { in getServicesForCategory()
216 ArrayList<ApduServiceInfo> getInstalledServices(int userId) { in getInstalledServices()
271 public void invalidateCache(int userId) { in invalidateCache()
380 final int userId = UserHandle.getUserId(currentUid); in readDynamicAidsLocked() local
444 public boolean registerAidGroupForService(int userId, int uid, in registerAidGroupForService()
[all …]
DRegisteredNfcFServicesCache.java79 void onNfcFServicesUpdated(int userId, final List<NfcFServiceInfo> services); in onNfcFServicesUpdated()
114 private UserServices findOrCreateUserLocked(int userId) { in findOrCreateUserLocked()
195 public boolean hasService(int userId, ComponentName componentName) { in hasService()
199 public NfcFServiceInfo getService(int userId, ComponentName componentName) { in getService()
206 public List<NfcFServiceInfo> getServices(int userId) { in getServices()
215 ArrayList<NfcFServiceInfo> getInstalledServices(int userId) { in getInstalledServices()
265 public void invalidateCache(int userId) { in invalidateCache()
447 final int userId = UserHandle.getUserId(currentUid); in readDynamicSystemCodeNfcid2Locked() local
533 public boolean registerSystemCodeForService(int userId, int uid, in registerSystemCodeForService()
590 public String getSystemCodeForService(int userId, int uid, ComponentName componentName) { in getSystemCodeForService()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DDefaultDialerCache.java42 String getDefaultDialerApplication(Context context, int userId); in getDefaultDialerApplication()
43 boolean setDefaultDialerApplication(Context context, String packageName, int userId); in setDefaultDialerApplication()
53 public String getDefaultDialerApplication(Context context, int userId) { in getDefaultDialerApplication()
59 int userId) { in setDefaultDialerApplication()
166 public String getDefaultDialerApplication(int userId) { in getDefaultDialerApplication()
189 public boolean isDefaultOrSystemDialer(String packageName, int userId) { in isDefaultOrSystemDialer()
195 public boolean setDefaultDialer(String packageName, int userId) { in setDefaultDialer()
207 private String refreshCacheForUser(int userId) { in refreshCacheForUser()
223 int userId = mCurrentDefaultDialerPerUser.keyAt(i); in refreshCachesForUsersWithPackage() local
242 private void removeUserFromCache(int userId) { in removeUserFromCache()
/packages/apps/Settings/src/com/android/settings/applications/
DPackageManagerWrapper.java49 List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId); in getInstalledApplicationsAsUser()
63 List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId); in queryIntentActivitiesAsUser()
75 ApplicationInfo getApplicationInfoAsUser(String packageName, int i, int userId) in getApplicationInfoAsUser()
81 boolean setDefaultBrowserPackageNameAsUser(String packageName, int userId); in setDefaultBrowserPackageNameAsUser()
86 String getDefaultBrowserPackageNameAsUser(int userId); in getDefaultBrowserPackageNameAsUser()
108 int userId); in deletePackageAsUser()
DIPackageManagerWrapper.java45 ResolveInfo findPersistentPreferredActivity(Intent intent, int userId) throws RemoteException; in findPersistentPreferredActivity()
52 PackageInfo getPackageInfo(String packageName, int flags, int userId) throws RemoteException; in getPackageInfo()
66 boolean isPackageAvailable(String packageName, int userId) throws RemoteException; in isPackageAvailable()
74 String[] permissions, int flags, int userId) throws RemoteException; in getPackagesHoldingPermissions()
DPackageManagerWrapperImpl.java45 public List<ApplicationInfo> getInstalledApplicationsAsUser(int flags, int userId) { in getInstalledApplicationsAsUser()
55 public List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId) { in queryIntentActivitiesAsUser()
65 public ApplicationInfo getApplicationInfoAsUser(String packageName, int i, int userId) in getApplicationInfoAsUser()
71 public boolean setDefaultBrowserPackageNameAsUser(String packageName, int userId) { in setDefaultBrowserPackageNameAsUser()
76 public String getDefaultBrowserPackageNameAsUser(int userId) { in getDefaultBrowserPackageNameAsUser()
98 int userId) { in deletePackageAsUser()
DIPackageManagerWrapperImpl.java40 public ResolveInfo findPersistentPreferredActivity(Intent intent, int userId) in findPersistentPreferredActivity()
46 public PackageInfo getPackageInfo(String packageName, int flags, int userId) in getPackageInfo()
57 public boolean isPackageAvailable(String packageName, int userId) throws RemoteException { in isPackageAvailable()
63 String[] permissions, int flags, int userId) throws RemoteException { in getPackagesHoldingPermissions()
/packages/apps/Settings/src/com/android/settings/password/
DIFingerprintManager.java31 boolean hasEnrolledFingerprints(int userId); in hasEnrolledFingerprints()
35 void setActiveUser(int userId); in setActiveUser()
38 int userId, EnrollmentCallback callback); in enroll()
DFingerprintManagerWrapper.java44 public boolean hasEnrolledFingerprints(int userId) { in hasEnrolledFingerprints()
54 public void setActiveUser(int userId) { in setActiveUser()
63 int userId, in enroll()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/ota/
DOtaControllerTest.java166 public synchronized void execute(int userId, AbstractProvisioningTask task) { in execute()
171 private void addMeatUser(int userId) { in addMeatUser()
177 private void setDeviceOwner(int userId, ComponentName admin) { in setDeviceOwner()
182 private void addManagedProfile(int userId, ComponentName admin) { in addManagedProfile()
204 private void assertTaskListContains(Integer userId, Class taskClass) { in assertTaskListContains()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnUtils.java63 final int userId = context.getUserId(); in isAnyLockdownActive() local
76 public static String getConnectedPackage(IConnectivityManager service, final int userId) in getConnectedPackage()
91 public static boolean isAlwaysOnVpnSet(ConnectivityManagerWrapper cm, final int userId) { in isAlwaysOnVpnSet()
97 int userId = context.getUserId(); in disconnectLegacyVpn() local
DAppVpnInfo.java14 public final int userId; field in AppVpnInfo
17 public AppVpnInfo(int userId, @NonNull String packageName) { in AppVpnInfo()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DSetDevicePolicyTask.java68 public void run(int userId) { in run()
110 private void setActiveAdmin(ComponentName component, int userId) { in setActiveAdmin()
115 private boolean setDeviceOwner(ComponentName component, String owner, int userId) { in setDeviceOwner()
123 private boolean setProfileOwner(ComponentName component, int userId) { in setProfileOwner()
DManagedProfileSettingsTask.java60 public void run(int userId) { in run()
76 mCrossProfileIntentFiltersSetter.setFilters(UserHandle.myUserId(), userId); in run() local
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSettingsFacade.java35 public void setUserSetupCompleted(Context context, int userId) { in setUserSetupCompleted()
37 Secure.putIntForUser(context.getContentResolver(), USER_SETUP_COMPLETE, 1, userId); in setUserSetupCompleted() local
72 public void setProfileContactRemoteSearch(Context context, boolean allowed, int userId) { in setProfileContactRemoteSearch()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogic.java96 public Set<String> getSystemAppsToRemove(int userId) { in getSystemAppsToRemove()
118 public void maybeTakeSystemAppsSnapshot(int userId) { in maybeTakeSystemAppsSnapshot()
124 private boolean shouldDeleteSystemApps(int userId) { in shouldDeleteSystemApps()
129 private @Case int getCase(int userId) { in getCase()
DSystemAppsSnapshot.java76 public boolean hasSnapshot(int userId) { in hasSnapshot()
85 public Set<String> getSnapshot(int userId) { in getSnapshot()
94 public void takeNewSnapshot(int userId) { in takeNewSnapshot()
156 static File getSystemAppsFile(Context context, int userId) { in getSystemAppsFile()
/packages/apps/Settings/src/com/android/settings/accounts/
DRemoveUserFragment.java32 static RemoveUserFragment newInstance(int userId) { in newInstance()
42 final int userId = getArguments().getInt(ARG_USER_ID); in onCreateDialog() local
DAccountRestrictionHelper.java40 String userRestriction, @UserIdInt int userId) { in enforceRestrictionOnPreference()
51 public boolean hasBaseUserRestriction(String userRestriction, @UserIdInt int userId) { in hasBaseUserRestriction()
/packages/apps/StorageManager/robotests/src/android/util/
DIconDrawableFactory.java35 public Drawable getBadgedIcon(ApplicationInfo appInfo, int userId) { in getBadgedIcon()
39 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, int userId) { in getBadgedIcon()
/packages/apps/Settings/tests/robotests/src/android/util/
DIconDrawableFactory.java37 public Drawable getBadgedIcon(ApplicationInfo appInfo, int userId) { in getBadgedIcon()
41 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, int userId) { in getBadgedIcon()
/packages/apps/Settings/src/com/android/settings/
DChooseLockSettingsHelper.java95 boolean returnCredentials, int userId) { in launchConfirmationActivity()
138 boolean returnCredentials, boolean external, int userId) { in launchConfirmationActivity()
173 long challenge, int userId) { in launchConfirmationActivity()
194 @Nullable CharSequence description, boolean external, long challenge, int userId) { in launchConfirmationActivityWithExternalAndChallenge()
202 long challenge, int userId) { in launchConfirmationActivity()
233 int userId) { in launchConfirmationActivity()
DSetupChooseLockGeneric.java177 boolean requirePasswordToDecrypt, boolean confirmCredentials, int userId) { in getLockPasswordIntent()
187 boolean requirePasswordToDecrypt, long challenge, int userId) { in getLockPasswordIntent()
196 int maxLength, boolean requirePasswordToDecrypt, String password, int userId) { in getLockPasswordIntent()
205 final boolean confirmCredentials, int userId) { in getLockPatternIntent()
214 long challenge, int userId) { in getLockPatternIntent()
223 final String pattern, int userId) { in getLockPatternIntent()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DDeviceOwnerProvisioningController.java45 int userId, in DeviceOwnerProvisioningController()
54 int userId, in DeviceOwnerProvisioningController()

1234567