Searched refs:crossProfileApps (Results 1 – 4 of 4) sorted by relevance
813 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 …]
385 public RemoteCrossProfileApps crossProfileApps() { in crossProfileApps() method in TestAppInstance
1130 CrossProfileApps crossProfileApps = TestApis.context().androidContextAsUser(user) in canConfigureInteractAcrossProfiles() local1133 return TestApisReflectionKt.canConfigureInteractAcrossProfiles(crossProfileApps, in canConfigureInteractAcrossProfiles()
387 assertThat(testAppInstance.crossProfileApps().getTargetUserProfiles()).isEmpty(); in crossProfileApps_returnsUsableInstance()