Searched refs:currentUser (Results 1 – 10 of 10) 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()
123 final int currentUser = getDevice().getCurrentUser(); in getAppUid() local125 "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()
227 int currentUser = device.getCurrentUser(); in getAppUid() local229 + currentUser + " " + pkgName); in getAppUid()
262 int currentUser = getDevice().getCurrentUser(); in getUid() local265 "cmd package list packages -U --user " + currentUser + " " in getUid()