/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowKeyguardManager.java | 168 protected boolean isDeviceSecure(int userId) { in isDeviceSecure() argument 169 return deviceSecureForUsers.contains(userId); in isDeviceSecure() 177 public void setIsDeviceSecure(int userId, boolean isDeviceSecure) { in setIsDeviceSecure() argument 179 deviceSecureForUsers.add(userId); in setIsDeviceSecure() 181 deviceSecureForUsers.remove(userId); in setIsDeviceSecure() 208 public void setIsDeviceLocked(int userId, boolean isLocked) { in setIsDeviceLocked() argument 210 deviceLockedForUsers.add(userId); in setIsDeviceLocked() 212 deviceLockedForUsers.remove(userId); in setIsDeviceLocked() 217 protected boolean isDeviceLocked(int userId) { in isDeviceLocked() argument 218 return deviceLockedForUsers.contains(userId); in isDeviceLocked()
|
D | ShadowUserManager.java | 234 protected boolean hasBadge(int userId) { in hasBadge() argument 570 @NonNull String userType, @UserInfo.UserInfoFlag int flags, @UserIdInt int userId, in createProfileForUserEvenWhenDisallowed() argument 572 List<UserInfo> userIdProfiles = profiles.computeIfAbsent(userId, ignored -> new ArrayList<>()); in createProfileForUserEvenWhenDisallowed() 576 profileToParent.put(profileUserId, userId); in createProfileForUserEvenWhenDisallowed() 595 public void switchUser(int userId) { in switchUser() argument 596 if (!userInfoMap.containsKey(userId)) { in switchUser() 600 ShadowProcess.setUid(userPidMap.get(userId)); in switchUser()
|
D | ShadowApplicationPackageManager.java | 323 String name, int flags, @UserIdInt int userId) { in resolveContentProviderAsUser() argument 457 protected List<ResolveInfo> queryIntentServicesAsUser(Intent intent, int flags, int userId) { in queryIntentServicesAsUser() argument 490 protected List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId) { in queryIntentActivitiesAsUser() argument 940 Intent intent, int flags, int userId) { in queryIntentContentProvidersAsUser() argument 1108 protected PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument 1138 protected int getPackageUidAsUser(String packageName, int userId) throws NameNotFoundException { in getPackageUidAsUser() argument 1143 protected int getPackageUidAsUser(String packageName, int flags, int userId) in getPackageUidAsUser() argument 1224 String packageName, int flags, UserHandle userId) throws NameNotFoundException { in getApplicationInfoAsUser() argument 1350 protected List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() argument 1352 for (String packageName : packagesForUserId.getOrDefault(userId, new ArrayList<>())) { in getInstalledPackagesAsUser() [all …]
|
D | ShadowStorageManager.java | 29 protected static StorageVolume[] getVolumeList(int userId, int flags) { in getVolumeList() argument 102 protected static boolean isUserKeyUnlocked(int userId) { in isUserKeyUnlocked() argument
|
D | ShadowActivityThread.java | 82 int userId = (Integer) args[1]; in getPackageManager() 86 .createContextAsUser(UserHandle.of(userId), /* flags= */ 0) in getPackageManager()
|
D | ShadowDevicePolicyManager.java | 275 protected ComponentName getProfileOwnerAsUser(int userId) { in getProfileOwnerAsUser() argument 284 protected String getProfileOwnerNameAsUser(int userId) { in getProfileOwnerNameAsUser() argument 285 return profileOwnerNamesMap.get(userId); in getProfileOwnerNameAsUser() 312 public void setProfileOwnerName(int userId, String name) { in setProfileOwnerName() argument 313 profileOwnerNamesMap.put(userId, name); in setProfileOwnerName()
|
/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/ |
D | InstrumentedTestUtilities.java | 143 private static void startUser(int userId) { in startUser() argument 144 runCommandWithOutput("am start-user " + userId); in startUser() 147 private void setTestAsProfileOwner(int userId) { in setTestAsProfileOwner() argument 150 + userId in setTestAsProfileOwner() 160 private static void removeUser(int userId) { in removeUser() argument 161 runCommandWithOutput("pm remove-user " + userId); in removeUser() 173 private static void installInUser(int userId, String packageName) { in installInUser() argument 174 runCommandWithOutput("cmd package install-existing --user " + userId + " " + packageName); in installInUser() 200 int userId = Integer.parseInt(matcher.group(1)); in getWorkProfileUserId() local 201 if (userId != 0) { in getWorkProfileUserId() [all …]
|
/external/connectedappssdk/tests/instrumented/src/main/java/com/google/android/enterprise/connectedapps/instrumented/utils/ |
D | InstrumentedTestUtilities.java | 153 public void removeUser(int userId) { in removeUser() argument 154 runCommandWithOutput("pm remove-user " + userId); in removeUser() 157 public void installInUser(int userId) { in installInUser() argument 159 "cmd package install-existing --user " + userId + " " + context.getPackageName()); in installInUser() 208 private static boolean userHasPackageInstalled(int userId, String packageName) { in userHasPackageInstalled() argument 211 runCommandWithOutput("pm list packages --user " + userId).split("\n"); in userHasPackageInstalled() 364 public void startUser(int userId) { in startUser() argument 365 UserHandle userHandle = SharedTestUtilities.getUserHandleForUserId(userId); in startUser() 366 InstrumentedTestUtilities.runCommandWithOutput("am start-user " + userId); in startUser()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/ |
D | ArArchiveEntry.java | 68 private final int userId; field in ArArchiveEntry 99 public ArArchiveEntry(final String name, final long length, final int userId, final int groupId, in ArArchiveEntry() argument 103 this.userId = userId; in ArArchiveEntry() 131 return userId; in getUserId()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/filter/ |
D | IgnorePropertyOnDeserTest.java | 17 Integer userId; field in IgnorePropertyOnDeserTest.User 20 return userId; in getUserId() 24 userId = Integer.valueOf(id.toString()); in setUserId() 28 this.userId = v; in setUserId() 99 assertNull(result.userId); in testIssue426()
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/ |
D | TarArchiveEntry.java | 159 private long userId = 0; field in TarArchiveEntry 514 return (int) (userId & 0xffffffff); in getUserId() 522 public void setUserId(final int userId) { in setUserId() argument 523 setUserId((long) userId); in setUserId() 533 return userId; in getLongUserId() 542 public void setUserId(final long userId) { in setUserId() argument 543 this.userId = userId; in setUserId() 629 public void setIds(final int userId, final int groupId) { in setIds() argument 630 setUserId(userId); in setIds() 1185 offset = writeEntryHeaderField(userId, outbuf, offset, UIDLEN, in writeEntryHeader() [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/ |
D | PropertyAliasTest.java | 39 private AliasBean2378(boolean bogus, String partId, String userId) { in AliasBean2378() argument 41 _id = userId; in AliasBean2378() 46 @JsonProperty("id") @JsonAlias("userId") String userId) { in create() argument 47 return new AliasBean2378(false, partId, userId); in create()
|
/external/libtextclassifier/jni/com/google/android/textclassifier/ |
D | ActionsSuggestionsModel.java | 259 private final int userId; field in ActionsSuggestionsModel.ConversationMessage 266 int userId, in ConversationMessage() argument 271 this.userId = userId; in ConversationMessage() 280 return userId; in getUserId()
|
/external/python/google-api-python-client/samples/plus/ |
D | plus.py | 38 person = service.people().get(userId='me').execute() 46 userId=person['id'], collection='public')
|
/external/python/google-api-python-client/samples/blogger/ |
D | blogger.py | 55 thisuser = users.get(userId='self').execute() 61 thisusersblogs = blogs.listByUser(userId='self').execute()
|
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/ |
D | SharedTestUtilities.java | 41 public static UserHandle getUserHandleForUserId(int userId) { in getUserHandleForUserId() argument 44 UserHandle.class.getMethod(OF_METHOD_NAME, int.class).invoke(null, userId); in getUserHandleForUserId()
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
D | AppDataDirGuesser.java | 228 int userId = uid / PER_USER_RANGE; in guessUserDataDirectory() local 229 return getWriteableDirectory(String.format("/data/user/%d/%s", userId, packageName)); in guessUserDataDirectory()
|
/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/ |
D | B20844369.output | 9 + "(?:(?<userId>\\d+)#)?" // subtype's optional user ID, followed by a hash
|
D | B20844369.input | 9 + "(?:(?<userId>\\d+)#)?" // subtype's optional user ID, followed by a hash
|
/external/python/google-api-python-client/samples/appengine/ |
D | main.py | 95 user = service.people().get(userId='me').execute(http=http)
|
/external/python/google-api-python-client/docs/ |
D | pagination.md | 11 request = activities.list(userId='someUserId', collection='public')
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowDevicePolicyManagerTest.java | 993 int userId = 0; in getProfileOwnerNameAsUser() local 995 assertThat(devicePolicyManager.getProfileOwnerNameAsUser(userId)).isNull(); in getProfileOwnerNameAsUser() 997 shadowOf(devicePolicyManager).setProfileOwnerName(userId, orgName); in getProfileOwnerNameAsUser() 999 assertThat(devicePolicyManager.getProfileOwnerNameAsUser(userId)).isEqualTo(orgName); in getProfileOwnerNameAsUser()
|
/external/python/google-api-python-client/tests/ |
D | test_mocks.py | 156 plus.activities().list(collection="public", userId="me").execute()
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/ |
D | ActionsSuggestionsHelperTest.java | 390 int userId, in assertNativeMessage() argument 393 assertThat(nativeMessage.getUserId()).isEqualTo(userId); in assertNativeMessage()
|
/external/autotest/site_utils/ |
D | gmail_lib.py | 125 userId='me', body=message.get_payload()).execute()
|