Home
last modified time | relevance | path

Searched refs:mStateChangedListener (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip2/
DPipTransitionStateTest.java44 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/
DStateController.java45 protected final StateChangedListener mStateChangedListener; field in StateController
52 mStateChangedListener = service; in StateController()
DDeviceIdleJobsController.java116 mStateChangedListener.onControllerStateChanged(changedJobs);
173 mStateChangedListener.onDeviceIdleStateChanged(enabled); in updateIdleMode()
192 mStateChangedListener.onControllerStateChanged(mDeviceIdleUpdateFunctor.mChangedJobs); in setUidActiveLocked()
319 mStateChangedListener.onControllerStateChanged( in handleMessage()
DStorageController.java95 mStateChangedListener.onRunJobNow(null); in maybeReportNewStorageState()
99 mStateChangedListener.onControllerStateChanged(mTrackedTasks); in maybeReportNewStorageState()
DTimeController.java159 mStateChangedListener.onRunJobNow(job); in evaluateStateLocked()
235 mStateChangedListener.onRunJobNow(job); in checkExpiredDeadlinesAndResetAlarm()
314 mStateChangedListener.onControllerStateChanged(changedJobs); in checkExpiredDelaysAndResetAlarm()
DBatteryController.java218 mStateChangedListener.onRunJobNow(null); in maybeReportNewChargingStateLocked()
222 mStateChangedListener.onControllerStateChanged(mChangedJobs); in maybeReportNewChargingStateLocked()
DPrefetchController.java278 mStateChangedListener.onControllerStateChanged(changedJobs); in maybeUpdateConstraintForUid()
318 mStateChangedListener.onControllerStateChanged(jobs); in processUpdatedEstimatedLaunchTime()
426 mStateChangedListener.onControllerStateChanged(changedJobs); in onConstantsUpdatedLocked()
463 mStateChangedListener.onControllerStateChanged(changedJobs); in processExpiredAlarms()
DIdleController.java123 mStateChangedListener.onControllerStateChanged(mTrackedTasks); in reportNewIdleState()
DQuotaController.java1553 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 …]
DComponentController.java232 mStateChangedListener.onControllerStateChanged( in updateComponentStatesLocked()
DFlexibilityController.java812 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()
DBackgroundJobsController.java309 mStateChangedListener.onControllerStateChanged(mUpdateJobFunctor.mChangedJobs); in updateJobRestrictionsLocked()
DConnectivityController.java1300 mStateChangedListener.onControllerStateChanged(changedJobs); in maybeAdjustRegisteredCallbacksLocked()
1447 mStateChangedListener.onNetworkChanged(jobStatus, network); in updateConstraintsSatisfied()
1507 mStateChangedListener.onControllerStateChanged(changedJobs); in updateTrackedJobsLocked()
1973 mStateChangedListener.onRunJobNow(js);
DContentObserverController.java336 mStateChangedListener.onControllerStateChanged(changedJob); in trigger()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java1510 @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/
DLocationProviderManagerTest.java156 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()