Home
last modified time | relevance | path

Searched refs:EMBEDDING_ALLOWED (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DTaskFragmentOrganizerController.java30 import static com.android.server.wm.TaskFragment.EMBEDDING_ALLOWED;
380 if (task.isAllowedToEmbedActivity(activity, mOrganizerUid) != EMBEDDING_ALLOWED) { in prepareActivityReparentedToTask()
DTaskFragment.java159 static final int EMBEDDING_ALLOWED = 0; field in TaskFragment
186 EMBEDDING_ALLOWED,
737 return EMBEDDING_ALLOWED; in isAllowedToEmbedActivity()
DActivityStarter.java82 import static com.android.server.wm.TaskFragment.EMBEDDING_ALLOWED;
2961 if (embeddingCheckResult == EMBEDDING_ALLOWED) { in addOrReparentStartingActivity()
2975 && canEmbedActivity(candidateTf, mStartActivity, task) == EMBEDDING_ALLOWED) { in addOrReparentStartingActivity()
DWindowOrganizerController.java79 import static com.android.server.wm.TaskFragment.EMBEDDING_ALLOWED;
1434 if (taskFragment.isAllowedToEmbedActivity(activity) != EMBEDDING_ALLOWED) { in applyTaskFragmentOperation()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java58 import static com.android.server.wm.TaskFragment.EMBEDDING_ALLOWED;
1484 assertEquals(EMBEDDING_ALLOWED, canEmbedActivity(taskFragment, starting, task)); in testCanEmbedActivity()
1491 assertEquals(EMBEDDING_ALLOWED, canEmbedActivity(taskFragment, starting, task)); in testCanEmbedActivity()
DTaskFragmentOrganizerControllerTest.java57 import static com.android.server.wm.TaskFragment.EMBEDDING_ALLOWED;
1107 doReturn(EMBEDDING_ALLOWED).when(mTaskFragment).isAllowedToEmbedActivity(activity); in testApplyTransaction_reparentActivityToTaskFragment_triggerLifecycleUpdate()
1954 doReturn(EMBEDDING_ALLOWED).when(task).isAllowedToEmbedActivity(activity, uid); in setupUntrustedEmbeddingPipReparent()