/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip2/ |
D | PipTransitionStateTest.java | 44 private PipTransitionState.PipTransitionStateChangedListener mStateChangedListener; field in PipTransitionStateTest 59 mStateChangedListener = (oldState, newState, extra) -> { in testEnteredState_withoutExtra() 63 mPipTransitionState.addPipTransitionStateChangedListener(mStateChangedListener); in testEnteredState_withoutExtra() 65 mPipTransitionState.removePipTransitionStateChangedListener(mStateChangedListener); in testEnteredState_withoutExtra() 70 mStateChangedListener = (oldState, newState, extra) -> { in testEnteredState_withExtra() 78 mPipTransitionState.addPipTransitionStateChangedListener(mStateChangedListener); in testEnteredState_withExtra() 80 mPipTransitionState.removePipTransitionStateChangedListener(mStateChangedListener); in testEnteredState_withExtra() 96 mStateChangedListener = (oldState, newState, extra) -> { in testCustomState_withExtra_thenEntered_withoutExtra() 110 mPipTransitionState.addPipTransitionStateChangedListener(mStateChangedListener); in testCustomState_withExtra_thenEntered_withoutExtra() 113 mPipTransitionState.removePipTransitionStateChangedListener(mStateChangedListener); in testCustomState_withExtra_thenEntered_withoutExtra()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | StateController.java | 45 protected final StateChangedListener mStateChangedListener; field in StateController 52 mStateChangedListener = service; in StateController()
|
D | DeviceIdleJobsController.java | 116 mStateChangedListener.onControllerStateChanged(changedJobs); 173 mStateChangedListener.onDeviceIdleStateChanged(enabled); in updateIdleMode() 192 mStateChangedListener.onControllerStateChanged(mDeviceIdleUpdateFunctor.mChangedJobs); in setUidActiveLocked() 319 mStateChangedListener.onControllerStateChanged( in handleMessage()
|
D | StorageController.java | 95 mStateChangedListener.onRunJobNow(null); in maybeReportNewStorageState() 99 mStateChangedListener.onControllerStateChanged(mTrackedTasks); in maybeReportNewStorageState()
|
D | TimeController.java | 159 mStateChangedListener.onRunJobNow(job); in evaluateStateLocked() 235 mStateChangedListener.onRunJobNow(job); in checkExpiredDeadlinesAndResetAlarm() 314 mStateChangedListener.onControllerStateChanged(changedJobs); in checkExpiredDelaysAndResetAlarm()
|
D | BatteryController.java | 218 mStateChangedListener.onRunJobNow(null); in maybeReportNewChargingStateLocked() 222 mStateChangedListener.onControllerStateChanged(mChangedJobs); in maybeReportNewChargingStateLocked()
|
D | PrefetchController.java | 278 mStateChangedListener.onControllerStateChanged(changedJobs); in maybeUpdateConstraintForUid() 318 mStateChangedListener.onControllerStateChanged(jobs); in processUpdatedEstimatedLaunchTime() 426 mStateChangedListener.onControllerStateChanged(changedJobs); in onConstantsUpdatedLocked() 463 mStateChangedListener.onControllerStateChanged(changedJobs); in processExpiredAlarms()
|
D | IdleController.java | 123 mStateChangedListener.onControllerStateChanged(mTrackedTasks); in reportNewIdleState()
|
D | QuotaController.java | 1553 mStateChangedListener.onControllerStateChanged( in grantRewardForInstantEvent() 1690 mStateChangedListener.onControllerStateChanged(changedJobs); in maybeUpdateAllConstraintsLocked() 1963 mStateChangedListener.onRunJobNow(jobStatus); 2461 mStateChangedListener.onControllerStateChanged( 2580 mStateChangedListener.onControllerStateChanged( 2585 mStateChangedListener.onRestrictedBucketChanged(restrictedChanges); 2635 mStateChangedListener.onControllerStateChanged(changedJobs); 2735 mStateChangedListener.onControllerStateChanged( in handleMessage() 2768 mStateChangedListener.onControllerStateChanged( in handleMessage() 2798 mStateChangedListener.onControllerStateChanged( in handleMessage() [all …]
|
D | ComponentController.java | 232 mStateChangedListener.onControllerStateChanged( in updateComponentStatesLocked()
|
D | FlexibilityController.java | 812 mStateChangedListener.onControllerStateChanged(changedJobs); in onConstantsUpdatedLocked() 1051 mStateChangedListener.onControllerStateChanged(changedJobs); in processExpiredAlarms() 1090 mStateChangedListener.onControllerStateChanged(changedJobs); in handleMessage() 1113 mStateChangedListener.onControllerStateChanged(changedJobs); in handleMessage() 1138 mStateChangedListener.onControllerStateChanged(changedJobs); in handleMessage()
|
D | BackgroundJobsController.java | 309 mStateChangedListener.onControllerStateChanged(mUpdateJobFunctor.mChangedJobs); in updateJobRestrictionsLocked()
|
D | ConnectivityController.java | 1300 mStateChangedListener.onControllerStateChanged(changedJobs); in maybeAdjustRegisteredCallbacksLocked() 1447 mStateChangedListener.onNetworkChanged(jobStatus, network); in updateConstraintsSatisfied() 1507 mStateChangedListener.onControllerStateChanged(changedJobs); in updateTrackedJobsLocked() 1973 mStateChangedListener.onRunJobNow(js);
|
D | ContentObserverController.java | 336 mStateChangedListener.onControllerStateChanged(changedJob); in trigger()
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | LocationProviderManager.java | 1510 @Nullable private StateChangedListener mStateChangedListener; 1576 mStateChangedListener = listener; 1617 mStateChangedListener = null; 2612 if (mStateChangedListener != null) { 2613 StateChangedListener listener = mStateChangedListener;
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/ |
D | LocationProviderManagerTest.java | 156 private LocationProviderManager.StateChangedListener mStateChangedListener; field in LocationProviderManagerTest 215 mStateChangedListener = mock(LocationProviderManager.StateChangedListener.class); in createManager() 223 mManager.startManager(mStateChangedListener); in createManager() 277 verify(mStateChangedListener, timeout(TIMEOUT_MS).times(2)).onStateChanged(eq(NAME), in testStateChangedListener()
|