Searched refs:targetUserId (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/companion/core/src/android/companion/cts/core/ |
D | DeviceAssociatedForWifiConnectionTest.kt | 48 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/ |
D | CVE_2023_21283.java | 54 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/ |
D | UserLifecycleJourneyStatsTests.java | 105 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/ |
D | MediaRouter2DeviceTest.java | 206 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/ |
D | ManagedProfileCrossProfileTest.java | 186 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/ |
D | TestBase.kt | 66 protected val targetUserId = instrumentation.targetContext.userId constant in android.companion.cts.common.TestBase
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandInstallTest.java | 2963 PackageBroadcastReceiver(String packageName, int targetUserId, String action) { in PackageBroadcastReceiver() argument 2965 mTargetUserId = targetUserId; in PackageBroadcastReceiver()
|