Home
last modified time | relevance | path

Searched refs:crossProfileApps (Results 1 – 4 of 4) sorted by relevance

/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCrossProfileAppsTest.java813 assertThat(currentApp.crossProfileApps().canRequestInteractAcrossProfiles()).isTrue(); in canRequestInteractAcrossProfiles_hasValidTarget_returnsTrue()
825 assertThat(personalApp.crossProfileApps().canRequestInteractAcrossProfiles()).isFalse(); in canRequestInteractAcrossProfiles_noOtherProfiles_returnsFalse()
844 assertThat(personalApp.crossProfileApps().canRequestInteractAcrossProfiles()).isTrue(); in canRequestInteractAcrossProfiles_packageNotInAllowList_returnsTrue()
861 assertThat(workApp.crossProfileApps().canRequestInteractAcrossProfiles()).isTrue(); in canRequestInteractAcrossProfiles_packageNotInstalledInPersonalProfile_returnsTrue()
878 assertThat(personalApp.crossProfileApps().canRequestInteractAcrossProfiles()).isTrue(); in canRequestInteractAcrossProfiles_packageNotInstalledInWorkProfile_returnsTrue()
897 assertThat(personalApp.crossProfileApps().canRequestInteractAcrossProfiles()).isFalse(); in canRequestInteractAcrossProfiles_permissionNotRequested_returnsFalse()
914 sDeviceState.profileOwner(WORK_PROFILE).crossProfileApps() in canRequestInteractAcrossProfiles_profileOwner_returnsFalse()
931 assertThat(primaryApp.crossProfileApps().canInteractAcrossProfiles()).isTrue(); in canInteractAcrossProfiles_appOpIsSetOnAllProfiles_returnsTrue()
932 assertThat(workApp.crossProfileApps().canInteractAcrossProfiles()).isTrue(); in canInteractAcrossProfiles_appOpIsSetOnAllProfiles_returnsTrue()
948 assertThat(primaryApp.crossProfileApps().canInteractAcrossProfiles()).isFalse(); in canInteractAcrossProfiles_appOpDisabledOnCaller_returnsFalse()
[all …]
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppInstance.java385 public RemoteCrossProfileApps crossProfileApps() { in crossProfileApps() method in TestAppInstance
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackage.java1130 CrossProfileApps crossProfileApps = TestApis.context().androidContextAsUser(user) in canConfigureInteractAcrossProfiles() local
1133 return TestApisReflectionKt.canConfigureInteractAcrossProfiles(crossProfileApps, in canConfigureInteractAcrossProfiles()
/cts/common/device-side/bedstead/testapp/src/test/java/com/android/bedstead/testapp/
DTestAppInstanceTest.java387 assertThat(testAppInstance.crossProfileApps().getTargetUserProfiles()).isEmpty(); in crossProfileApps_returnsUsableInstance()