/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaSessionBasedFilterTest.kt | 177 val controllers = listOf(controller1) in matchingMediaSession_loadedEventNotFiltered() constant 178 whenever(mediaSessionManager.getActiveSessions(any())).thenReturn(controllers) in matchingMediaSession_loadedEventNotFiltered() 179 sessionListener.onActiveSessionsChanged(controllers) in matchingMediaSession_loadedEventNotFiltered() 192 val controllers = listOf(controller1) in matchingMediaSession_removedEventNotFiltered() constant 193 whenever(mediaSessionManager.getActiveSessions(any())).thenReturn(controllers) in matchingMediaSession_removedEventNotFiltered() 194 sessionListener.onActiveSessionsChanged(controllers) in matchingMediaSession_removedEventNotFiltered() 207 val controllers = listOf(controller1) in remoteSession_loadedEventNotFiltered() constant 208 whenever(mediaSessionManager.getActiveSessions(any())).thenReturn(controllers) in remoteSession_loadedEventNotFiltered() 209 sessionListener.onActiveSessionsChanged(controllers) in remoteSession_loadedEventNotFiltered() 223 val controllers = listOf(controller1, controller2) in remoteAndLocalSessions_localLoadedEventFiltered() constant [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaHostStatesManager.kt | 34 private val controllers: MutableSet<MediaViewController> = mutableSetOf() constant in com.android.systemui.media.controls.ui.controller.MediaHostStatesManager 57 for (controller in controllers) { in updateHostState() 78 for (controller in controllers) { in updateCarouselDimensions() 108 controllers.add(controller) in addController() 113 controllers.remove(controller) in removeController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/ |
D | MediaDeviceSessionInteractor.kt | 74 .flatMapLatest { controllers -> in <lambda>() method 76 findControllerForSession(controllers, session) in <lambda>() 103 controllers: Collection<MediaController>, in <lambda>() 106 controllers.firstOrNull { it.sessionToken == mediaDeviceSession.sessionToken } in <lambda>()
|
D | MediaOutputInteractor.kt | 136 controllers: Collection<MediaController>, in <lambda>() 141 for (controller in controllers) { in <lambda>()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | IdleController.java | 17 package com.android.server.job.controllers; 32 import com.android.server.job.controllers.idle.CarIdlenessTracker; 33 import com.android.server.job.controllers.idle.DeviceIdlenessTracker; 34 import com.android.server.job.controllers.idle.IdlenessListener; 35 import com.android.server.job.controllers.idle.IdlenessTracker;
|
D | RestrictingController.java | 17 package com.android.server.job.controllers;
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipMediaController.kt | 106 MediaSessionManager.OnActiveSessionsChangedListener { controllers: List<MediaController>? -> in <lambda>() method 107 resolveActiveMediaController(controllers) in <lambda>() 289 private fun resolveActiveMediaController(controllers: List<MediaController>?) { in <lambda>() 290 if (controllers != null) { in <lambda>() 293 for (i in controllers.indices) { in <lambda>() 294 val controller = controllers[i] in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaSessionBasedFilter.kt | 68 override fun onActiveSessionsChanged(controllers: List<MediaController>?) { in <lambda>() 69 handleControllersChanged(controllers) in <lambda>() 195 private fun handleControllersChanged(controllers: List<MediaController>?) { in <lambda>() 197 controllers?.forEach { controller -> in <lambda>() 204 controllers?.map { TokenId(it.sessionToken) }?.let { tokensWithNotifications.retainAll(it) } in <lambda>()
|
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/ |
D | EntriesProvider.java | 90 final List<? extends EntryController> controllers = createEntryControllers(); in onCreate() local 91 if (controllers == null || controllers.isEmpty()) { in onCreate() 95 for (EntryController controller : controllers) { in onCreate()
|
/frameworks/base/services/ |
D | art-profile | 52 …om/android/server/alarm/AlarmManagerService$7;,Lcom/android/server/job/controllers/BackgroundJobsC… 73 …rAllowlistInternal$TempAllowlistChangeListener;Lcom/android/server/job/controllers/QuotaController… 1588 …er/job/PendingJobQueue;]Lcom/android/server/job/controllers/JobStatus;Lcom/android/server/job/cont… 1589 …controllers/JobStatus;)I+]Lcom/android/server/job/JobConcurrencyManager;Lcom/android/server/job/Jo… 1592 …controllers/JobStatus;Landroid/util/SparseIntArray;)Z+]Landroid/app/ActivityManagerInternal;Lcom/a… 1593 …job/JobConcurrencyManager;->isJobRunningLocked(Lcom/android/server/job/controllers/JobStatus;)Z+]L… 1594 …controllers/JobStatus;)Z+]Landroid/util/ArraySet;Landroid/util/ArraySet;]Landroid/util/SparseArray… 1597 …controllers/JobStatus;I)V+]Landroid/util/ArraySet;Landroid/util/ArraySet;]Landroid/util/Pools$Pool… 1598 …/job/JobServiceContext;]Lcom/android/server/job/controllers/JobStatus;Lcom/android/server/job/cont… 1600 …r/job/JobConcurrencyManager;->shouldRunAsFgUserJob(Lcom/android/server/job/controllers/JobStatus;)Z [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/ |
D | IdlenessListener.java | 17 package com.android.server.job.controllers.idle;
|
D | IdlenessTracker.java | 17 package com.android.server.job.controllers.idle;
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobCompletedListener.java | 21 import com.android.server.job.controllers.JobStatus;
|
D | StateChangedListener.java | 24 import com.android.server.job.controllers.JobStatus;
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaShellCommand.java | 148 List<MediaController> controllers = sMediaSessionManager.getActiveSessions(null); in runMonitor() local 149 for (MediaController controller : controllers) { in runMonitor() 356 List<MediaController> controllers = sMediaSessionManager.getActiveSessions(null); in runListSessions() local 357 for (MediaController controller : controllers) { in runListSessions()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/ |
D | MediaSessions.java | 155 protected void onActiveSessionsUpdatedH(List<MediaController> controllers) { in onActiveSessionsUpdatedH() argument 156 if (D.BUG) Log.d(TAG, "onActiveSessionsUpdatedH n=" + controllers.size()); in onActiveSessionsUpdatedH() 158 for (MediaController controller : controllers) { in onActiveSessionsUpdatedH() 335 public void onActiveSessionsChanged(List<MediaController> controllers) { 336 onActiveSessionsUpdatedH(controllers);
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppMediaSessionTracker.java | 94 private void handleMediaSessionChanged(List<MediaController> controllers) { in handleMediaSessionChanged() argument 95 if (controllers != null) { in handleMediaSessionChanged() 98 for (MediaController controller : controllers) { in handleMediaSessionChanged()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | JobStatusTest.java | 17 package com.android.server.job.controllers; 33 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_BACKGROUND_NOT_RESTRICTED; 34 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_BATTERY_NOT_LOW; 35 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_CHARGING; 36 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_CONNECTIVITY; 37 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_CONTENT_TRIGGER; 38 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_DEADLINE; 39 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_DEVICE_NOT_DOZING; 40 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_FLEXIBLE; 41 import static com.android.server.job.controllers.JobStatus.CONSTRAINT_IDLE; [all …]
|
D | FlexibilityControllerTest.java | 17 package com.android.server.job.controllers; 35 import static com.android.server.job.controllers.FlexibilityController.FLEXIBLE_CONSTRAINTS; 36 import static com.android.server.job.controllers.FlexibilityController.FcConfig.DEFAULT_FALLBACK_FL… 37 import static com.android.server.job.controllers.FlexibilityController.FcConfig.DEFAULT_UNSEEN_CONS… 38 import static com.android.server.job.controllers.FlexibilityController.FcConfig.KEY_APPLIED_CONSTRA… 39 import static com.android.server.job.controllers.FlexibilityController.FcConfig.KEY_DEADLINE_PROXIM… 40 import static com.android.server.job.controllers.FlexibilityController.FcConfig.KEY_FALLBACK_FLEXIB… 41 import static com.android.server.job.controllers.FlexibilityController.FcConfig.KEY_FALLBACK_FLEXIB… 42 import static com.android.server.job.controllers.FlexibilityController.FcConfig.KEY_FALLBACK_FLEXIB… 43 import static com.android.server.job.controllers.FlexibilityController.FcConfig.KEY_FALLBACK_FLEXIB… [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/ |
D | RouterInfoMediaManager.java | 264 List<RoutingController> controllers = mRouter.getControllers(); in getTransferableRoutes() local 265 RoutingController activeController = controllers.get(controllers.size() - 1); in getTransferableRoutes()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/ |
D | JobRestriction.java | 26 import com.android.server.job.controllers.JobStatus;
|
/frameworks/base/media/java/android/media/session/ |
D | MediaSessionManager.java | 270 ArrayList<MediaController> controllers = new ArrayList<MediaController>(); in getActiveSessionsForUser() local 277 controllers.add(controller); in getActiveSessionsForUser() 282 return controllers; in getActiveSessionsForUser() 1060 public void onActiveSessionsChanged(@Nullable List<MediaController> controllers); in onActiveSessionsChanged() argument 1285 ArrayList<MediaController> controllers = new ArrayList<>(); in callOnActiveSessionsChangedListener() local 1288 controllers.add(new MediaController(context, tokens.get(i))); in callOnActiveSessionsChangedListener() 1292 listener.onActiveSessionsChanged(controllers); in callOnActiveSessionsChangedListener()
|
/frameworks/base/tests/CompanionDeviceMultiDeviceTests/host/ |
D | cdm_base_test.py | 9 from mobly.controllers import android_device
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/idle/ |
D | DeviceIdlenessTrackerTest.java | 17 package com.android.server.job.controllers.idle; 28 import static com.android.server.job.controllers.idle.DeviceIdlenessTracker.KEY_INACTIVITY_IDLE_THR… 29 import static com.android.server.job.controllers.idle.DeviceIdlenessTracker.KEY_INACTIVITY_STABLE_P…
|
/frameworks/base/media/java/android/media/ |
D | RemoteController.java | 471 public void onActiveSessionsChanged(List<MediaController> controllers) { in onActiveSessionsChanged() argument 472 int size = controllers.size(); in onActiveSessionsChanged() 474 MediaController controller = controllers.get(i); in onActiveSessionsChanged()
|