/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
D | ButtonSelectionStateController.java | 116 if (taskInfo.topActivity != null && taskInfo.displayAreaFeatureId == validDisplay) { in taskChanged() 186 ComponentName topActivity = getTopActivity(validTaskInfo); in findSelectedButtons() local 187 if (topActivity == null) return null; in findSelectedButtons() 189 String packageName = topActivity.getPackageName(); in findSelectedButtons() 192 findButtonsByComponentName(topActivity); in findSelectedButtons() 217 return rootTaskInfo.topActivity; in getTopActivity() 222 return validTaskInfo.topActivity; in getTopActivity()
|
D | RecentsButtonStateProvider.java | 72 taskInfo.topActivity != null ? taskInfo.topActivity in initialiseListener()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppDetectorTest.java | 83 taskInfo.topActivity = new ComponentName(APP_PACKAGE_NAME, APP_CLASS_NAME); in isSafe_systemApp_returnsTrue() 98 taskInfo.topActivity = new ComponentName(APP_PACKAGE_NAME, APP_CLASS_NAME); in isSafe_updatedSystemApp_returnsTrue() 117 taskInfo.topActivity = new ComponentName(APP_PACKAGE_NAME, APP_CLASS_NAME); in isSafe_nonSystemApp_withSafeSource_returnsTrue() 136 taskInfo.topActivity = new ComponentName(APP_PACKAGE_NAME, APP_CLASS_NAME); in isSafe_nonSystemApp_withUnsafeSource_returnsFalse() 155 taskInfo.topActivity = new ComponentName(APP_PACKAGE_NAME, APP_CLASS_NAME); in isSafe_nonSystemApp_withoutSource_returnsFalse()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/am/ |
D | CarActivityServiceTaskMonitorUnitTest.java | 324 assertEquals(mActivityA, taskInfo.topActivity); in testGetTaskInfoForTopActivity() 445 if (topTaskInfoContainer.topActivity.equals(component)) { in topTasksHasComponent() 530 if (!topTask.topActivity.equals(mDesiredComponent)) { in onActivityCameOnTop() 533 topTask.topActivity.getClassName(), mDesiredComponent)); in onActivityCameOnTop() 557 if (taskInfo.topActivity != null && !getTestContext().getPackageName().equals( in isActivityOutsideTestPackage() 558 taskInfo.topActivity.getPackageName())) { in isActivityOutsideTestPackage() 560 + taskInfo.topActivity.getClassName()); in isActivityOutsideTestPackage()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/activity/ |
D | ActivityBlockingActivity.java | 329 if (getComponentName().equals(taskInfo.topActivity)) { in isTopActivityBehindAbaDistractionOptimized() 342 if (topStackBehindAba != null && topStackBehindAba.topActivity != null) { in isTopActivityBehindAbaDistractionOptimized() 344 topStackBehindAba.topActivity.getPackageName(), in isTopActivityBehindAbaDistractionOptimized() 345 topStackBehindAba.topActivity.getClassName()); in isTopActivityBehindAbaDistractionOptimized() 348 String.format("Top activity (%s) is DO: %s", topStackBehindAba.topActivity, in isTopActivityBehindAbaDistractionOptimized()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 1462 if (!Objects.equals(mActivityBlockingActivity, topTask.topActivity) in blockTopActivityIfNecessary() 1464 && !topTask.topActivity.equals( in blockTopActivityIfNecessary() 1484 if (!Objects.equals(mActivityBlockingActivity, topTask.topActivity) in blockTopActivity() 1486 && !topTask.topActivity.equals( in blockTopActivity() 1500 if (topTask.topActivity == null) { in doBlockTopActivityIfNotAllowed() 1503 if (topTask.topActivity.equals(mActivityBlockingActivity)) { in doBlockTopActivityIfNotAllowed() 1517 Slogf.d(TAG, "Current activity " + topTask.topActivity in doBlockTopActivityIfNotAllowed() 1522 Slogf.d(TAG, "Current activity " + topTask.topActivity in doBlockTopActivityIfNotAllowed() 1530 if (topTask.topActivity.equals(blockingActivityTarget)) { in doBlockTopActivityIfNotAllowed() 1549 topTask.topActivity.flattenToShortString(), topTask.taskId, in doBlockTopActivityIfNotAllowed() [all …]
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/displaycompat/ |
D | ToolbarControllerImpl.java | 145 if (taskInfo.topActivity != null) { in getPackageName() 146 return taskInfo.topActivity.getPackageName(); in getPackageName()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/ |
D | DataSubscriptionControllerTest.java | 125 mRunningTaskInfoMock.topActivity = new ComponentName("testPkgName", "testClassName"); in setUp() 169 packagesBlocklist.add(mRunningTaskInfoMock.topActivity.getPackageName()); in onTaskMovedToFront_TopPackageBlocked_popUpNotDisplay() 181 activitiesBlocklist.add(mRunningTaskInfoMock.topActivity.flattenToString()); in onTaskMovedToFront_TopActivityBlocked_popUpNotDisplay()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/ |
D | RecentsButtonStateProviderTest.java | 116 mRecentsRunningTaskInfo.topActivity = ComponentName.unflattenFromString( in setUp() 118 mDialerRunningTaskInfo.topActivity = ComponentName.unflattenFromString( in setUp() 147 mDialerRunningTaskInfo.topActivity = null; in noTopActivityDialerTask_movedToFront_recentsNotActive()
|
D | CarSystemBarButtonTest.java | 373 if (rootTaskInfo == null || rootTaskInfo.topActivity == null) { in getCurrentActivityName() 376 return rootTaskInfo.topActivity.flattenToShortString(); in getCurrentActivityName()
|
D | ButtonSelectionStateControllerTest.java | 131 validStackInfo.topActivity = componentName; in createTestStack()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/qc/ |
D | DataSubscriptionController.java | 104 if (taskInfo.topActivity == null || mConnectivityManager == null) { 107 mTopPackage = taskInfo.topActivity.getPackageName(); 112 mTopActivity = taskInfo.topActivity.flattenToString();
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/systembar/ |
D | CarUiPortraitButtonSelectionStateController.java | 47 return validTaskInfo.topActivity; in getTopActivity()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/app/ |
D | TaskInfoHelper.java | 66 + " topActivity=" + task.topActivity in toString()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/ |
D | TaskCategoryManager.java | 220 if (taskInfo.topActivity != null) { in getVisibleActivity() 221 return taskInfo.topActivity; in getVisibleActivity()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/ |
D | RecentTasksProvider.java | 283 String topComponent = runningTask.topActivity != null in openTopRunningTask() 284 ? runningTask.topActivity.getClassName() in openTopRunningTask()
|
D | CarQuickStepService.java | 67 .map(appTask -> appTask.getTaskInfo().topActivity).toList(); in isRecentsActivityShown()
|
/packages/services/Car/service/src/com/android/car/am/ |
D | CarActivityService.java | 353 || !Objects.equals(oldTaskInfo.topActivity, taskInfo.topActivity)) in onTaskInfoChanged() 666 if (activity.equals(info.topActivity)) { in getTaskInfoForTopActivity()
|
D | FixedActivityService.java | 457 taskInfo.topActivity, taskInfo.origActivity); in launchIfNecessary() 461 if ((expectedTopActivity.equals(taskInfo.topActivity) in launchIfNecessary() 471 + taskInfo.topActivity + " top task id:" + activityInfo.previousTaskId in launchIfNecessary()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | RecentTasksList.java | 395 ComponentName cn1 = taskInfo1.topActivity; in dump() 396 ComponentName cn2 = taskInfo2 != null ? taskInfo2.topActivity : null; in dump()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppDetector.java | 82 ComponentName componentName = taskInfo.topActivity; in isSafe()
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | ActivityMonitor.java | 179 listener.onTopActivityChanged(info.displayId, info.topActivity); in notifyTopActivities()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/wm/taskview/ |
D | RemoteCarTaskViewTransitions.java | 93 + task.topActivity + " to top"); in handleRequest()
|
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/ |
D | RecentTasksProviderTest.java | 412 info.topActivity = new ComponentName("pkg-" + i, recentsClazz); in createRunningTaskList() 414 info.topActivity = new ComponentName("pkg-" + i, "class-" + i); in createRunningTaskList()
|
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/ |
D | ClusterHomeApplication.java | 386 Log.w(TAG, "Unexpected top Activity on Cluster: " + taskInfo.topActivity); in handleTaskStackChanged() 399 if (mClusterActivities.get(i).equals(taskInfo.topActivity)) { in identifyTopTask()
|