/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
DeviceAdminServiceDeviceOwnerTest.java | 20 protected int getUserId() { 31 setDeviceOwnerOrFail(component, getUserId());
|
DeviceAdminServiceProfileOwnerTest.java | 23 protected int getUserId() { 47 setProfileOwnerOrFail(component, getUserId());
|
BaseDeviceAdminServiceTest.java | 58 removeAdmin(OWNER_COMPONENT, getUserId()); 59 removeAdmin(OWNER_COMPONENT_B, getUserId()); 66 protected abstract int getUserId(); 71 runDeviceTestsAsUser(OWNER_PKG, className, testName, getUserId()); 109 installAppAsUser(OWNER_APK_1, getUserId()); 118 removeAdmin(OWNER_COMPONENT, getUserId()); 123 installAppAsUser(OWNER_APK_1, getUserId()); 130 installAppAsUser(OWNER_APK_2, getUserId()); 135 installAppAsUser(OWNER_APK_3, getUserId()); 140 installAppAsUser(OWNER_APK_2, getUserId()); [all...] |
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/ |
UserTest.java | 34 assertEquals(1, user.getUserId()); 50 assertEquals(1, user.getUserId());
|
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/ |
ApplicationVisibilityCrossUserTest.java | 56 pm.getInstalledPackagesAsUser(0, mContext.getUserId()); 65 pm.getInstalledPackagesAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); 76 pm.getInstalledPackagesAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); 107 pm.getInstalledApplicationsAsUser(0, mContext.getUserId()); 116 pm.getInstalledApplicationsAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); 127 pm.getInstalledApplicationsAsUser(MATCH_KNOWN_PACKAGES, mContext.getUserId()); 180 return mContext.getUserId();
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
AsiExtraFieldTest.java | 97 assertEquals("uid plain file", 5, a.getUserId()); 112 assertEquals("uid link", 5, a.getUserId()); 127 assertEquals("uid dir", 5, a.getUserId()); 154 assertEquals(s1.getUserId(), s2.getUserId());
|
/frameworks/av/media/libaaudio/src/binding/ |
AAudioStreamRequest.h | 39 uid_t getUserId() const {
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
ShortcutManagerNegativeTest.java | 112 "package", getTestContext().getUserId()); 114 checkAidlCall("getBackupPayload", "Caller must be", getTestContext().getUserId()); 116 checkAidlCall("applyRestore", "Caller must be", null, getTestContext().getUserId());
|
/cts/hostsidetests/backup/ProfileKeyValueApp/src/android.cts.backup.profilekeyvalueapp/ |
ProfileKeyValueBackupRestoreTest.java | 47 mUserId = context.getUserId();
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
ContentCaptureRestrictionsTest.java | 43 mUserId = getInstrumentation().getContext().getUserId();
|
ContentSuggestionsRestrictionsTest.java | 41 mUserId = getInstrumentation().getContext().getUserId();
|
AutofillRestrictionsTest.java | 44 mUserId = getInstrumentation().getContext().getUserId();
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
FingerprintIncidentTest.java | 47 assertTrue(0 <= userStats.getUserId());
|
PrintProtoTest.java | 60 assertEquals(0, userState.getUserId());
|
/developers/build/prebuilts/gradle/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/server/ |
StoreBackendImpl.java | 47 PublicKey publicKey = mPublicKeys.get(transaction.getUserId());
|
Transaction.java | 47 public String getUserId() {
|
/developers/samples/android/security/AsymmetricFingerprintDialog/Application/src/main/java/com/example/android/asymmetricfingerprintdialog/server/ |
StoreBackendImpl.java | 47 PublicKey publicKey = mPublicKeys.get(transaction.getUserId());
|
Transaction.java | 47 public String getUserId() {
|
/development/samples/browseable/AsymmetricFingerprintDialog/src/com.example.android.asymmetricfingerprintdialog/server/ |
StoreBackendImpl.java | 47 PublicKey publicKey = mPublicKeys.get(transaction.getUserId());
|
Transaction.java | 47 public String getUserId() {
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/ |
AsiExtraField.java | 138 System.arraycopy(ZipShort.getBytes(getUserId()), 177 public int getUserId() {
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
VpnFacade.java | 100 mConService.prepareVpn(VpnConfig.LEGACY_VPN, VpnConfig.LEGACY_VPN, mService.getUserId()); 105 return mConService.getLegacyVpnInfo(mService.getUserId());
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/ar/ |
ArArchiveEntry.java | 130 public int getUserId() {
|
/cts/tests/app/src/android/app/cts/ |
StatusBarNotificationTest.java | 52 assertEquals(0, mSbn.getUserId());
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
RequestPinAppWidgetTest.java | 152 + getInstrumentation().getContext().getUserId() + " " + component);
|