Home
last modified time | relevance | path

Searched refs:userId (Results 1 – 25 of 41) sorted by relevance

12

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowKeyguardManager.java168 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()
DShadowApplicationPackageManager.java302 String name, int flags, @UserIdInt int userId) { in resolveContentProviderAsUser() argument
436 protected List<ResolveInfo> queryIntentServicesAsUser(Intent intent, int flags, int userId) { in queryIntentServicesAsUser() argument
469 protected List<ResolveInfo> queryIntentActivitiesAsUser(Intent intent, int flags, int userId) { in queryIntentActivitiesAsUser() argument
919 Intent intent, int flags, int userId) { in queryIntentContentProvidersAsUser() argument
1087 protected PackageInfo getPackageInfoAsUser(String packageName, int flags, int userId) in getPackageInfoAsUser() argument
1117 protected int getPackageUidAsUser(String packageName, int userId) throws NameNotFoundException { in getPackageUidAsUser() argument
1122 protected int getPackageUidAsUser(String packageName, int flags, int userId) in getPackageUidAsUser() argument
1322 protected List<PackageInfo> getInstalledPackagesAsUser(int flags, int userId) { in getInstalledPackagesAsUser() argument
1332 protected ResolveInfo resolveActivityAsUser(Intent intent, int flags, int userId) { in resolveActivityAsUser() argument
1343 protected List<ResolveInfo> queryBroadcastReceiversAsUser(Intent intent, int flags, int userId) { in queryBroadcastReceiversAsUser() argument
[all …]
DShadowStorageManager.java29 protected static StorageVolume[] getVolumeList(int userId, int flags) { in getVolumeList() argument
102 protected static boolean isUserKeyUnlocked(int userId) { in isUserKeyUnlocked() argument
DShadowUserManager.java450 public void switchUser(int userId) { in switchUser() argument
451 if (!userInfoMap.containsKey(userId)) { in switchUser()
455 ShadowProcess.setUid(userPidMap.get(userId)); in switchUser()
DShadowDevicePolicyManager.java272 protected ComponentName getProfileOwnerAsUser(int userId) { in getProfileOwnerAsUser() argument
281 protected String getProfileOwnerNameAsUser(int userId) { in getProfileOwnerNameAsUser() argument
282 return profileOwnerNamesMap.get(userId); in getProfileOwnerNameAsUser()
309 public void setProfileOwnerName(int userId, String name) { in setProfileOwnerName() argument
310 profileOwnerNamesMap.put(userId, name); in setProfileOwnerName()
DShadowTelecomManager.java62 public PhoneAccountHandle getSimCallManager(int userId) { in getSimCallManager() argument
/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() argument
103 this.userId = userId; in ArArchiveEntry()
131 return userId; in getUserId()
/external/libtextclassifier/java/com/google/android/textclassifier/
DActionsSuggestionsModel.java180 private final int userId; field in ActionsSuggestionsModel.ConversationMessage
187 int userId, in ConversationMessage() argument
192 this.userId = userId; in ConversationMessage()
201 return userId; in getUserId()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/tar/
DTarArchiveEntry.java159 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/python/google-api-python-client/samples/plus/
Dplus.py38 person = service.people().get(userId='me').execute()
46 userId=person['id'], collection='public')
/external/python/google-api-python-client/samples/blogger/
Dblogger.py55 thisuser = users.get(userId='self').execute()
61 thisusersblogs = blogs.listByUser(userId='self').execute()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DAppDataDirGuesser.java217 int userId = uid / PER_USER_RANGE; in guessUserDataDirectory() local
218 return getWriteableDirectory(String.format("/data/user/%d/%s", userId, packageName)); in guessUserDataDirectory()
/external/tensorflow/tensorflow/tools/docker/notebooks/
D1_hello_tensorflow.ipynb66 "userId": ""
129 "userId": ""
173 "userId": ""
269 "userId": ""
333 "userId": ""
414 "userId": ""
500 "userId": ""
591 "userId": ""
D3_mnist_from_scratch.ipynb114 "userId": "106975671469698476657"
221 "userId": "106975671469698476657"
306 "userId": "106975671469698476657"
384 "userId": "106975671469698476657"
472 "userId": "106975671469698476657"
549 "userId": "106975671469698476657"
637 "userId": "106975671469698476657"
726 "userId": "106975671469698476657"
805 "userId": "106975671469698476657"
877 "userId": "106975671469698476657"
[all …]
/external/python/google-api-python-client/samples/appengine/
Dmain.py95 user = service.people().get(userId='me').execute(http=http)
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDevicePolicyManagerTest.java993 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/tensorflow/tensorflow/examples/udacity/
D4_convolutions.ipynb86 "userId": ""
162 "userId": ""
331 "userId": ""
D3_regularization.ipynb95 "userId": ""
171 "userId": ""
D2_fullyconnected.ipynb96 "userId": ""
172 "userId": ""
330 "userId": ""
504 "userId": ""
D1_notmnist.ipynb105 "userId": "102167687554210253930"
203 "userId": "102167687554210253930"
308 "userId": "102167687554210253930"
538 "userId": "102167687554210253930"
738 "userId": "102167687554210253930"
D6_lstm.ipynb98 "userId": "102167687554210253930"
162 "userId": "102167687554210253930"
228 "userId": "102167687554210253930"
293 "userId": "102167687554210253930"
373 "userId": "102167687554210253930"
648 "userId": "102167687554210253930"
/external/python/google-api-python-client/tests/
Dtest_mocks.py142 activity = plus.activities().list(collection='public', userId='me').execute()
/external/autotest/site_utils/
Dgmail_lib.py121 userId='me', body=message.get_payload()).execute()
/external/tensorflow/tensorflow/contrib/autograph/examples/notebooks/
Dag_vs_eager_mnist_speed_test.ipynb393 "userId": ""
553 "userId": ""
Dalgorithms.ipynb66 "userId": ""
142 "userId": ""
220 "userId": ""
293 "userId": ""
458 "userId": ""
1339 "userId": ""

12