Home
last modified time | relevance | path

Searched refs:onConstraintStateChanged (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/deviceidle/
DBluetoothConstraint.java89 mLocalService.onConstraintStateChanged(this, /* active= */ false); in cancelMonitoringDueToTimeout()
103 mLocalService.onConstraintStateChanged(this, /* active= */ mConnected); in updateAndReportActiveLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/
DBluetoothConstraintTest.java118 verify(mDeviceIdleService, never()).onConstraintStateChanged(any(), anyBoolean()); in testStartMonitoring_updatesActiveAtCorrectTimes()
126 order.verify(mDeviceIdleService, times(1)).onConstraintStateChanged(any(), eq(false)); in testStartMonitoring_updatesActiveAtCorrectTimes()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java1762 public void onConstraintStateChanged(IDeviceIdleConstraint constraint, boolean active) { in onConstraintStateChanged() method in DeviceIdleController.LocalService