Home
last modified time | relevance | path

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

12

/cts/tests/inputmethod/installtests/src/android/view/inputmethod/cts/installtests/
DAdditionalSubtypeLifecycleTest.java114 final UserReference currentUser = sDeviceState.initialUser(); in testPerUserAdditionalInputMethodSubtype() local
148 final UserReference currentUser = sDeviceState.initialUser(); in testClearAdditionalInputMethodSubtypeUponApkUpdateForForegroundUser() local
188 final UserReference currentUser = sDeviceState.initialUser(); in testClearAdditionalInputMethodSubtypeUponApkUpdateForBackgroundUser() local
229 final UserReference currentUser = sDeviceState.initialUser(); in testClearAdditionalInputMethodSubtypeUponClearDataForForegroundUser() local
275 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.java97 final UserReference currentUser = sDeviceState.initialUser(); in testImeRemainsEnabledAfterForceStopForCurrentUser() local
107 final UserReference currentUser = sDeviceState.initialUser(); in testImeRemainsSelectedAndEnabledAfterForceStopForCurrentUser() local
DMultiUserTest.java125 final UserReference currentUser = sDeviceState.initialUser(); in testAdditionalUser() local
192 final UserReference currentUser = sDeviceState.initialUser(); in testProfileUser() local
DMultiUserMockImeTest.java89 final UserReference currentUser = sDeviceState.initialUser(); in testProfileSwitching() local
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2022_20360.java43 int currentUser = -1; in testPocCVE_2022_20360() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DListForegroundAffiliatedUsersTest.java35 UserHandle currentUser = invokeStaticMethodWithShellPermissions(() -> getCurrentUser()); in testListForegroundAffiliatedUsers_onlyForegroundUser() local
DBaseDeviceOwnerTest.java132 UserHandle currentUser = UserHandle.of(ActivityManager.getCurrentUser()); in getCurrentUser() 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.java85 UserReference currentUser = users().current(); in testStartUserInBackgroundOnSecondaryDisplay_defaultDisplay_currentUser() local
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DSecondaryUsersTest.java60 int currentUser = -10000; // UserHandle.USER_NULL; in testSwitchToSecondaryUserBeforeBootComplete() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/voiceinteraction/
DHotwordMetricsTestUtils.java41 final int currentUser = device.getCurrentUser(); in getTestAppUid() local
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DUsersComponent.kt82 val currentUser = users().current() in <lambda>() constant
116 val currentUser = users().current() in <lambda>() constant
446 val currentUser = users().current() in <lambda>() constant
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/
DPermissionCheckerTest.kt38 private val currentUser = Process.myUserHandle() constant in android.attributionsource.cts.PermissionCheckerTest
/cts/hostsidetests/graphics/gpumetrics/src/com/android/cts/graphics/
DGpuWorkDumpsysTest.java60 int currentUser = getDevice().getCurrentUser(); in getTestAppUid() local
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/os/
DUserManagerHelperLiteTest.java69 UserHandle currentUser = TestApis.users().current().userHandle(); in testMultiplePropertiesForCurrentUser() local
/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/tests/security/src/android/security/cts/
DActivityManagerTest.java87 final int currentUser = mActMan.getCurrentUser(); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() local
118 final int currentUser = mActMan.getCurrentUser(); in testActivityManager_registerUidChangeObserver_allPermission() local
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DUpdateOwnershipEnforcementMultiUserTest.kt36 private lateinit var currentUser: UserReference variable in android.packageinstaller.install.cts.UpdateOwnershipEnforcementMultiUserTest
/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/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java274 int currentUser = getDevice().getCurrentUser(); in getUid() local
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
DBaseBlobStoreHostTest.java150 final int currentUser = getDevice().getCurrentUser(); in getAppUid() local
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java3103 int currentUser = ActivityManager.getCurrentUser(); in testInstallArchivedBroadcasts() local
3279 int currentUser = ActivityManager.getCurrentUser(); in testInstallArchivedApiBroadcasts() local
3414 final int currentUser = ActivityManager.getCurrentUser(); in testPackageRemovedBroadcastsSingleUser() local
3477 final int currentUser = ActivityManager.getCurrentUser(); in testReinstallBroadcastsAfterDeleteKeepData() local
3522 final int currentUser = ActivityManager.getCurrentUser(); in testDeleteSystemApp() local
3549 final int currentUser = ActivityManager.getCurrentUser(); in testInstallSystemAppAsInstant() local
3808 int currentUser = ActivityManager.getCurrentUser(); in testUidRemovedBroadcastNotReceivedForSharedUid() local

12