Searched refs:currentUser (Results 1 – 12 of 12) sorted by relevance
54 int currentUser = getDevice().getCurrentUser(); in testRunasCanConnectToAppsSocket() local57 TEST_APP_PACKAGE, currentUser, CONNECTOR_EXE_NAME)); in testRunasCanConnectToAppsSocket()60 TEST_APP_PACKAGE, currentUser, CONNECTOR_EXE_NAME)); in testRunasCanConnectToAppsSocket()
35 UserHandle currentUser = invokeStaticMethodWithShellPermissions(() -> getCurrentUser()); in testListForegroundAffiliatedUsers_onlyForegroundUser() local36 Log.d(TAG, "currentUser: " + currentUser + " users: " + users); in testListForegroundAffiliatedUsers_onlyForegroundUser()38 assertWithMessage("foreground users").that(users).containsExactly(currentUser); in testListForegroundAffiliatedUsers_onlyForegroundUser()
79 final int currentUser = getDevice().getCurrentUser(); in getAppUid() local81 "cmd package list packages -U --user " + currentUser + " " + pkgName); in getAppUid()88 + currentUser); in getAppUid()
77 UserReference currentUser = TestApis.users().current(); in getWithContext() local126 currentUser.switchTo(); in getWithContext()
127 final int currentUser = getDevice().getCurrentUser(); in getAppUid() local129 "cmd package list packages -U --user " + currentUser + " " + pkgName); in getAppUid()
145 List<StatsLog.EventMetricData> data, boolean isHibernating, int currentUser) { in assertUserLevelHibernationStateChangedEvent() argument150 assertThat(atom.getUserId()).isEqualTo(currentUser); in assertUserLevelHibernationStateChangedEvent()
138 final int currentUser = getDevice().getCurrentUser(); in getAppUid() local140 "cmd package list packages -U --user " + currentUser + " " + pkgName); in getAppUid()
169 int currentUser = getDevice().getCurrentUser(); in getUid() local171 + currentUser + " " + DEVICE_SIDE_TEST_PACKAGE); in getUid()
110 UserHandle currentUser = UserHandle.of( in testLocationStorageAndRetrieval() local116 builder.setUserToBeInsertedTo(currentUser); in testLocationStorageAndRetrieval()
228 int currentUser = device.getCurrentUser(); in getAppUid() local230 + currentUser + " " + pkgName); in getAppUid()
276 int currentUser = getDevice().getCurrentUser(); in getUid() local279 "cmd package list packages -U --user " + currentUser + " " in getUid()
1850 UserReference currentUser = TestApis.users().current();1851 if (!currentUser.equals(user)) {1853 mOriginalSwitchedUser = currentUser;1860 UserReference currentUser = TestApis.users().current();1861 if (!currentUser.equals(user)) {