Home
last modified time | relevance | path

Searched defs:currentUser (Results 1 – 25 of 33) sorted by relevance

12

/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
DAdditionalSubtypeLifecycleTest.java115 final UserReference currentUser = sDeviceState.initialUser(); in testPerUserAdditionalInputMethodSubtype() local
149 final UserReference currentUser = sDeviceState.initialUser(); in testClearAdditionalInputMethodSubtypeUponApkUpdateForForegroundUser() local
189 final UserReference currentUser = sDeviceState.initialUser(); in testClearAdditionalInputMethodSubtypeUponApkUpdateForBackgroundUser() local
230 final UserReference currentUser = sDeviceState.initialUser(); in testClearAdditionalInputMethodSubtypeUponClearDataForForegroundUser() local
276 final UserReference currentUser = sDeviceState.initialUser(); in testClearAdditionalInputMethodSubtypeUponClearDataForBackgroundUser() local
DInputMethodServiceSwitchingTest.java73 final UserReference currentUser = sDeviceState.initialUser(); in testUninstallCurrentIme() local
94 final UserReference currentUser = sDeviceState.initialUser(); in testDisableCurrentIme() local
DForceStopTest.java98 final UserReference currentUser = sDeviceState.initialUser(); in testImeRemainsEnabledAfterForceStopForCurrentUser() local
107 final UserReference currentUser = sDeviceState.initialUser(); in testImeRemainsSelectedAndEnabledAfterForceStopForCurrentUser() local
DMultiUserTest.java127 final UserReference currentUser = sDeviceState.initialUser(); in testAdditionalUser() local
194 final UserReference currentUser = sDeviceState.initialUser(); in testProfileUser() local
DMultiUserMockImeTest.java109 final UserReference currentUser = sDeviceState.initialUser(); in testProfileSwitching() local
166 final UserReference currentUser = sDeviceState.initialUser(); in testRemoveCurrentProfileCanStartInputOnOtherUser() local
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2022_20360.java43 int currentUser = -1; in testPocCVE_2022_20360() local
/cts/tests/tests/security/src/android/security/cts/
DActivityManagerTest.java79 final int currentUser = mActMan.getCurrentUser(); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() local
110 final int currentUser = mActMan.getCurrentUser(); in testActivityManager_registerUidChangeObserver_allPermission() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DListForegroundAffiliatedUsersTest.java35 UserHandle currentUser = invokeStaticMethodWithShellPermissions(() -> getCurrentUser()); in testListForegroundAffiliatedUsers_onlyForegroundUser() local
DBaseDeviceOwnerTest.java136 UserHandle currentUser = UserHandle.of(ActivityManager.getCurrentUser()); in getCurrentUser() local
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DSecondaryUsersTest.java60 int currentUser = -10000; // UserHandle.USER_NULL; in testSwitchToSecondaryUserBeforeBootComplete() local
/cts/hostsidetests/cpptools/src/com/android/cts/cpptools/
DRunasPermissionsTest.java51 int currentUser = getDevice().getCurrentUser(); in testRunasCanConnectToAppsSocket() local
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserVisibilityVisibleBackgroundUsersOnDefaultDisplayTest.java86 UserReference currentUser = users().current(); in testStartUserInBackgroundOnSecondaryDisplay_defaultDisplay_currentUser() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/voiceinteraction/
DHotwordMetricsTestUtils.java41 final int currentUser = device.getCurrentUser(); in getTestAppUid() local
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/
DPermissionCheckerTest.kt38 private val currentUser = Process.myUserHandle() constant
/cts/hostsidetests/graphics/gpumetrics/src/com/android/cts/graphics/
DGpuWorkDumpsysTest.java60 int currentUser = getDevice().getCurrentUser(); in getTestAppUid() local
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerDeviceOwnerTest.java72 final int currentUser = ActivityManager.getCurrentUser(); in testInstallAdminAppAsInstantShouldFail() local
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/os/
DUserManagerHelperLiteTest.java69 UserHandle currentUser = TestApis.users().current().userHandle(); in testMultiplePropertiesForCurrentUser() local
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DUsersComponent.kt95 val currentUser = users().current() in <lambda>() constant
129 val currentUser = users().current() in <lambda>() constant
341 val currentUser = users().current() in <lambda>() constant
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DPackageManagerStatsTestsBase.java82 final int currentUser = device.getCurrentUser(); in getAppUid() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/apphibernation/
DAppHibernationStatsTest.java146 List<StatsLog.EventMetricData> data, boolean isHibernating, int currentUser) { in assertUserLevelHibernationStateChangedEvent()
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DSuspendTestUtils.java109 UserReference currentUser = TestApis.users().current(); in addAndAssertProfileOwner() local
/cts/hostsidetests/packagemanager/packagesetting/src/com/android/tests/packagesetting/host/
DPackageSettingTest.java82 final int currentUser = getDevice().getCurrentUser(); in testFirstInstallTimeWithReboot() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/
DAppExitHostTest.java147 final int currentUser = getDevice().getCurrentUser(); in getAppUid() local
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DUpdateOwnershipEnforcementMultiUserTest.kt47 private lateinit var currentUser: UserReference variable in android.packageinstaller.install.cts.UpdateOwnershipEnforcementMultiUserTest
/cts/hostsidetests/network-policy/src/com/android/cts/netpolicy/
DHostsideNetworkPolicyTestCase.java146 final int currentUser = getDevice().getCurrentUser(); in getUid() local

12