Home
last modified time | relevance | path

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

1234

/external/connectedappssdk/tests/instrumented/src/main/java/com/google/android/enterprise/connectedapps/instrumented/utils/
DUserManagementTestUtilities.java37 public void stopUser(int userId) { in stopUser()
47 int userId = createOrFindOtherUser(); in ensureUserReadyForCrossUserCalls() local
67 int userId = UserAndProfileTestUtilities.createUser("TestOtherUser"); in createOtherUser() local
88 int userId = Integer.parseInt(matcher.group(1)); in getOtherUserId() local
98 private void ensurePackageInstalled(int userId, String packageName) { in ensurePackageInstalled()
104 private static void installPackage(int userId, String packageName) { in installPackage()
DUserAndProfileTestUtilities.java78 static void turnOnUser(int userId) { in turnOnUser()
88 static void turnOffUser(int userId) { in turnOffUser()
98 private static void runServiceCall(ServiceCall serviceCall, int userId) { in runServiceCall()
116 static void startUserAndBlock(Context context, int userId) { in startUserAndBlock()
DInstrumentedTestUtilities.java84 public void removeUser(int userId) { in removeUser()
88 public void installInUser(int userId) { in installInUser()
136 private static boolean userHasPackageInstalled(int userId, String packageName) { in userHasPackageInstalled()
240 public void startUser(int userId) { in startUser()
/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/
DInstrumentedTestUtilities.java142 private static void startUser(int userId) { in startUser()
146 private void setTestAsProfileOwner(int userId) { in setTestAsProfileOwner()
159 private static void removeUser(int userId) { in removeUser()
172 private static void installInUser(int userId, String packageName) { in installInUser()
199 int userId = Integer.parseInt(matcher.group(1)); in getWorkProfileUserId() local
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowKeyguardManager.java168 protected boolean isDeviceSecure(int userId) { in isDeviceSecure()
177 public void setIsDeviceSecure(int userId, boolean isDeviceSecure) { in setIsDeviceSecure()
208 public void setIsDeviceLocked(int userId, boolean isLocked) { in setIsDeviceLocked()
217 protected boolean isDeviceLocked(int userId) { in isDeviceLocked()
DShadowStorageManager.java29 protected static StorageVolume[] getVolumeList(int userId, int flags) { in getVolumeList()
102 protected static boolean isUserKeyUnlocked(int userId) { in isUserKeyUnlocked()
DShadowApplicationPackageManager.java323 String name, int flags, @UserIdInt int userId) { in resolveContentProviderAsUser()
457 protected List<ResolveInfo> queryIntentServicesAsUser(Intent intent, int flags, int userId) { in queryIntentServicesAsUser()
490 protected List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId) { in queryIntentActivitiesAsUser()
940 Intent intent, int flags, int userId) { in queryIntentContentProvidersAsUser()
1108 protected PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser()
1138 protected int getPackageUidAsUser(String packageName, int userId) throws NameNotFoundException { in getPackageUidAsUser()
1143 protected int getPackageUidAsUser(String packageName, int flags, int userId) in getPackageUidAsUser()
1224 String packageName, int flags, UserHandle userId) throws NameNotFoundException { in getApplicationInfoAsUser()
1350 protected List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser()
1365 protected ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId) { in resolveActivityAsUser()
[all …]
DShadowUserManager.java242 protected boolean hasBadge(int userId) { in hasBadge()
271 protected boolean hasUserRestrictionForUser(String restrictionKey, int userId) { in hasUserRestrictionForUser()
602 @NonNull String userType, @UserInfo.UserInfoFlag int flags, @UserIdInt int userId, in createProfileForUserEvenWhenDisallowed()
627 public void switchUser(int userId) { in switchUser()
667 public void setupUserProperty(int userId, int showInSettings) { in setupUserProperty()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowKeyguardManager.java154 protected boolean isDeviceSecure(int userId) { in isDeviceSecure()
163 public void setIsDeviceSecure(int userId, boolean isDeviceSecure) { in setIsDeviceSecure()
194 public void setIsDeviceLocked(int userId, boolean isLocked) { in setIsDeviceLocked()
203 protected boolean isDeviceLocked(int userId) { in isDeviceLocked()
DShadowBiometricManager.java68 protected int canAuthenticate(int userId, int authenticators) { in canAuthenticate()
72 private int canAuthenticateInternal(int userId, int authenticators) { in canAuthenticateInternal()
DShadowStorageManager.java29 protected static StorageVolume[] getVolumeList(int userId, int flags) { in getVolumeList()
103 protected static boolean isUserKeyUnlocked(int userId) { in isUserKeyUnlocked()
DShadowApplicationPackageManager.java466 String name, int flags, @UserIdInt int userId) { in resolveContentProviderAsUser()
602 protected List<ResolveInfo> queryIntentServicesAsUser(Intent intent, int flags, int userId) { in queryIntentServicesAsUser()
786 protected List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId) { in queryIntentActivitiesAsUser()
1162 Intent intent, int flags, int userId) { in queryIntentContentProvidersAsUser()
1347 protected Object getPackageInfoAsUser(Object packageName, Object flagsObject, Object userId) in getPackageInfoAsUser()
1383 protected int getPackageUidAsUser(String packageName, int userId) throws NameNotFoundException { in getPackageUidAsUser()
1388 protected int getPackageUidAsUser(String packageName, int flags, int userId) in getPackageUidAsUser()
1641 protected List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser()
1679 protected ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId) { in resolveActivityAsUser()
1684 protected ResolveInfo resolveActivityAsUser(Object intent, Object flags, Object userId) { in resolveActivityAsUser()
[all …]
DAssociationInfoBuilder.java15 private int userId; field in AssociationInfoBuilder
38 public AssociationInfoBuilder setUserId(int userId) { in setUserId()
DShadowJobScheduler.java35 protected abstract int scheduleAsPackage(JobInfo job, String packageName, int userId, String tag); in scheduleAsPackage()
89 protected int scheduleAsPackage(JobInfo job, String packageName, int userId, String tag) { in scheduleAsPackage()
DShadowUserManager.java253 protected UserInfo getProfileParent(int userId) { in getProfileParent()
620 int userId = UserHandle.myUserId(); in getUserIcon() local
634 int userId = UserHandle.myUserId(); in setUserIcon() local
836 public void setIsUserEnabled(int userId, boolean enabled) { in setIsUserEnabled()
1111 public void switchUser(int userId) { in switchUser()
1223 protected boolean hasUserRestrictionForUser(String restrictionKey, int userId) { in hasUserRestrictionForUser()
1245 void setUserId(int userId); in setUserId()
DShadowCompanionDeviceManager.java304 public abstract int userId(); in userId() method in ShadowCompanionDeviceManager.RoboAssociationInfo
349 int userId, in create()
385 public abstract Builder setUserId(int userId); in setUserId()
DShadowDisplayManagerGlobal.java239 Object configObject, Object userId, Object packageName) { in setBrightnessConfigurationForUser()
246 protected Object getBrightnessConfigurationForUser(int userId) { in getBrightnessConfigurationForUser()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/
DArArchiveEntry.java68 private final int userId; field in ArArchiveEntry
99 public ArArchiveEntry(final String name, final long length, final int userId, final int groupId, in ArArchiveEntry()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DVettingParameters.java10 int userId = 0; field in VettingParameters
70 public void setUserAndOrganization(int userId, Organization organization) { in setUserAndOrganization()
DMissingXmlGetter.java17 private int userId = 0; field in MissingXmlGetter
27 …public void setUserInfo(int userId, Organization usersOrg, VettingViewer.UsersChoice<Organization>… in setUserInfo()
DVotelessUsersChoice.java37 public boolean userDidVote(int userId, CLDRLocale loc, String path) { in userDidVote()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DPropertyAliasTest.java39 private AliasBean2378(boolean bogus, String partId, String userId) { in AliasBean2378()
46 @JsonProperty("id") @JsonAlias("userId") String userId) { in create()
/external/python/google-api-python-client/googleapiclient/discovery_cache/documents/
Dgmail.v1.json157 "userId": { object
186 "userId": { object
211 "userId": { object
262 "userId": { object
301 "userId": { object
351 "userId": { object
402 "userId": { object
446 "userId": { object
501 "userId": { object
578 "userId": { object
[all …]
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/
DSharedTestUtilities.java43 public static UserHandle getUserHandleForUserId(int userId) { in getUserHandleForUserId()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveEntry.java159 private long userId = 0; field in TarArchiveEntry
522 public void setUserId(final int userId) { in setUserId()
542 public void setUserId(final long userId) { in setUserId()
629 public void setIds(final int userId, final int groupId) { in setIds()

1234