Searched refs:EMBEDDING_ALLOWED (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskFragmentOrganizerController.java | 30 import static com.android.server.wm.TaskFragment.EMBEDDING_ALLOWED; 380 if (task.isAllowedToEmbedActivity(activity, mOrganizerUid) != EMBEDDING_ALLOWED) { in prepareActivityReparentedToTask()
|
D | TaskFragment.java | 159 static final int EMBEDDING_ALLOWED = 0; field in TaskFragment 186 EMBEDDING_ALLOWED, 737 return EMBEDDING_ALLOWED; in isAllowedToEmbedActivity()
|
D | ActivityStarter.java | 82 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()
|
D | WindowOrganizerController.java | 79 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/ |
D | ActivityStarterTests.java | 58 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()
|
D | TaskFragmentOrganizerControllerTest.java | 57 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()
|