Home
last modified time | relevance | path

Searched refs:topActivity (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DSystemActivityMonitoringService.java59 public final ComponentName topActivity; field in SystemActivityMonitoringService.TopTaskInfoContainer
65 private TopTaskInfoContainer(ComponentName topActivity, int taskId, in TopTaskInfoContainer() argument
67 this.topActivity = topActivity; in TopTaskInfoContainer()
76 && Objects.equals(this.topActivity, taskInfo.topActivity) in isMatching()
88 topActivity, taskId, stackInfo.stackId, stackInfo.userId, displayId, position); in toString()
295 info.topActivity, info.taskIds[info.taskIds.length - 1], in updateTasks()
338 ComponentName topActivity = ComponentName.unflattenFromString( in getFocusedStackForTopActivity() local
340 if (topActivity.equals(activity)) { in getFocusedStackForTopActivity()
408 ComponentName topActivity = ComponentName.unflattenFromString( in findTaskAndGrantFocus() local
410 if (activity.equals(topActivity)) { in findTaskAndGrantFocus()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DSystemActivityMonitoringServiceTest.java143 if (topTaskInfoContainer.topActivity.equals(component)) { in topTasksHasComponent()
179 assertEquals(activity, mTopTaskInfo[0].topActivity); in assertTopTaskActivity()
228 if (!getTestContext().getPackageName().equals(topTask.topActivity.getPackageName())) { in onActivityLaunch()
230 + topTask.topActivity.getClassName()); in onActivityLaunch()
233 if (mDesiredComponent != null && !topTask.topActivity.equals(mDesiredComponent)) { in onActivityLaunch()
235 topTask.topActivity.getClassName(), mDesiredComponent)); in onActivityLaunch()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java1032 if (topTask.topActivity == null) { in doBlockTopActivityIfNotAllowed()
1036 topTask.topActivity.getPackageName(), in doBlockTopActivityIfNotAllowed()
1037 topTask.topActivity.getClassName()); in doBlockTopActivityIfNotAllowed()
1046 Log.d(CarLog.TAG_PACKAGE, "Current activity " + topTask.topActivity + in doBlockTopActivityIfNotAllowed()
1053 Log.i(CarLog.TAG_PACKAGE, "Current activity " + topTask.topActivity + in doBlockTopActivityIfNotAllowed()
1079 topTask.topActivity.flattenToShortString(), topTask.taskId, taskRootActivity, in doBlockTopActivityIfNotAllowed()
/packages/apps/Stk/src/com/android/stk/
DStkAppService.java772 String top = tasks.get(0).topActivity.getPackageName(); in isScreenIdle()
982 if (tasks == null || tasks.get(0).topActivity == null) { in isTopOfStack()
985 currentPackageName = tasks.get(0).topActivity.getPackageName(); in isTopOfStack()
1700 ComponentName componentName = am.getAppTasks().get(0).getTaskInfo().topActivity; in isStkDialogActivated()
1703 String topActivity = split[split.length - 1]; in isStkDialogActivated() local
1704 CatLog.d(LOG_TAG, "Top activity: " + topActivity); in isStkDialogActivated()
1705 if (TextUtils.equals(topActivity, StkDialogActivity.class.getSimpleName())) { in isStkDialogActivated()
/packages/apps/Car/Cluster/src/android/car/cluster/
DActivityMonitor.java140 listener.onTopActivityChanged(info.displayId, info.topActivity); in notifyTopActivities()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentTasksList.java192 t.isLocked, t.taskDescription, t.topActivity)); in copyOf()
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java435 return !tasks.isEmpty() && pkgName.equals(tasks.get(0).topActivity.getPackageName()); in isForegroundApp()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DTouchInteractionService.java620 && mGestureBlockingActivity.equals(runningTaskInfo.topActivity)) { in newBaseConsumer()