Home
last modified time | relevance | path

Searched refs:newActivityIntent (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DSystemActivityMonitoringService.java168 public void blockActivity(TopTaskInfoContainer currentTask, Intent newActivityIntent) { in blockActivity() argument
169 mHandler.requestBlockActivity(currentTask, newActivityIntent); in blockActivity()
311 private void handleBlockActivity(TopTaskInfoContainer currentTask, Intent newActivityIntent) { in handleBlockActivity() argument
321 newActivityIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in handleBlockActivity()
323 mContext.startActivityAsUser(newActivityIntent, in handleBlockActivity()
326 findTaskAndGrantFocus(newActivityIntent.getComponent()); in handleBlockActivity()
415 Intent newActivityIntent) { in requestBlockActivity() argument
417 new Pair<TopTaskInfoContainer, Intent>(currentTask, newActivityIntent)); in requestBlockActivity()
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DSystemActivityMonitoringServiceTest.java100 Intent newActivityIntent = new Intent(); in testActivityBlocking() local
101 newActivityIntent.setComponent(blockingActivity); in testActivityBlocking()
111 newActivityIntent); in testActivityBlocking()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java660 Intent newActivityIntent = new Intent(); in doBlockTopActivityIfNotAllowed() local
661 newActivityIntent.setComponent(mActivityBlockingActivity); in doBlockTopActivityIfNotAllowed()
662 newActivityIntent.putExtra( in doBlockTopActivityIfNotAllowed()
665 mSystemActivityMonitoringService.blockActivity(topTask, newActivityIntent); in doBlockTopActivityIfNotAllowed()