Searched refs:isAllowedToEmbedActivity (Results 1 – 6 of 6) sorted by relevance
576 taskFragment.isAllowedToEmbedActivity(activity)); in testIsAllowedToEmbedActivity()582 taskFragment.isAllowedToEmbedActivity(activity)); in testIsAllowedToEmbedActivity()638 taskFragment.isAllowedToEmbedActivity(activity)); in testIsAllowedToBeEmbeddedInTrustedMode_withManageActivityTasksPermission()665 taskFragment.isAllowedToEmbedActivity(activity)); in testIsAllowedToEmbedActivityInUntrustedMode_withUntrustedEmbeddingAnyAppPermission()
1107 doReturn(EMBEDDING_ALLOWED).when(mTaskFragment).isAllowedToEmbedActivity(activity); in testApplyTransaction_reparentActivityToTaskFragment_triggerLifecycleUpdate()1954 doReturn(EMBEDDING_ALLOWED).when(task).isAllowedToEmbedActivity(activity, uid); in setupUntrustedEmbeddingPipReparent()
713 int isAllowedToEmbedActivity(@NonNull ActivityRecord a) { in isAllowedToEmbedActivity() method in TaskFragment714 return isAllowedToEmbedActivity(a, mTaskFragmentOrganizerUid); in isAllowedToEmbedActivity()727 int isAllowedToEmbedActivity(@NonNull ActivityRecord a, int uid) { in isAllowedToEmbedActivity() method in TaskFragment
380 if (task.isAllowedToEmbedActivity(activity, mOrganizerUid) != EMBEDDING_ALLOWED) { in prepareActivityReparentedToTask()
1434 if (taskFragment.isAllowedToEmbedActivity(activity) != EMBEDDING_ALLOWED) { in applyTaskFragmentOperation()
2119 return taskFragment.isAllowedToEmbedActivity(starting); in canEmbedActivity()