Home
last modified time | relevance | path

Searched refs:targetUserId (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/companion/core/src/android/companion/cts/core/
DDeviceAssociatedForWifiConnectionTest.kt48 targetPackageName, MAC_ADDRESS_A, UserHandle(targetUserId)) in test_isDeviceAssociatedForWifiConnection_requiresPermission()
58 targetPackageName, MAC_ADDRESS_A, UserHandle(targetUserId))) in test_isDeviceAssociatedForWifiConnection_no_association()
65 targetPackageName, MAC_ADDRESS_A, UserHandle(targetUserId))) in test_isDeviceAssociatedForWifiConnection_no_association()
76 targetPackageName, MAC_ADDRESS_A, UserHandle(targetUserId))) in test_isDeviceAssociatedForWifiConnection_no_wifi_permission()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2023_21283.java54 int targetUserId = context.getUserId() + 1; in testPocCVE_2023_21283() local
60 EXTERNAL_CONTENT_URI, targetUserId)), in testPocCVE_2023_21283()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/users/
DUserLifecycleJourneyStatsTests.java105 long targetUserId = atom.getTargetUser(); in assertExpectedEvents() local
108 assertThat(targetUserId).isEqualTo(targetId); in assertExpectedEvents()
/cts/hostsidetests/media/app/ProxyMediaRouterWithMediaContentControlApp/src/android/media/router/cts/proxymediacontentcontrolapp/
DMediaRouter2DeviceTest.java206 int targetUserId = Integer.parseInt(args.getString(TARGET_USER_ID_KEY)); in getInstance_acrossUsers_withInteractAcrossUsersFull_returnsInstance() local
223 UserHandle.of(targetUserId))) in getInstance_acrossUsers_withInteractAcrossUsersFull_returnsInstance()
232 int targetUserId = Integer.parseInt(args.getString(TARGET_USER_ID_KEY)); in getInstance_acrossUsers_withoutInteractAcrossUsersFull_throwsSecurityException() local
243 UserHandle.of(targetUserId))); in getInstance_acrossUsers_withoutInteractAcrossUsersFull_throwsSecurityException()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileCrossProfileTest.java186 int sourceUserId, int targetUserId, boolean shouldSucceed) in testCrossProfileCopyPasteInternal() argument
196 "testCopyInitialText", targetUserId); in testCrossProfileCopyPasteInternal()
201 "testClipboardHasNewText", targetUserId); in testCrossProfileCopyPasteInternal()
204 "testClipboardHasInitialTextOrNull", targetUserId); in testCrossProfileCopyPasteInternal()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DTestBase.kt66 protected val targetUserId = instrumentation.targetContext.userId constant in android.companion.cts.common.TestBase
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandInstallTest.java2963 PackageBroadcastReceiver(String packageName, int targetUserId, String action) { in PackageBroadcastReceiver() argument
2965 mTargetUserId = targetUserId; in PackageBroadcastReceiver()