Searched refs:onRestrictionStateChanged (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | StateChangedListener.java | 48 void onRestrictionStateChanged(@NonNull JobRestriction restriction, in onRestrictionStateChanged() method
|
D | JobSchedulerService.java | 3319 public void onRestrictionStateChanged(@NonNull JobRestriction restriction,
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/ |
D | ThermalStatusRestrictionTest.java | 275 .onRestrictionStateChanged(any(), anyBoolean()); in testStatusChanges() 280 inOrder.verify(mJobSchedulerService).onRestrictionStateChanged(any(), eq(true)); in testStatusChanges() 284 inOrder.verify(mJobSchedulerService).onRestrictionStateChanged(any(), eq(true)); in testStatusChanges() 288 inOrder.verify(mJobSchedulerService).onRestrictionStateChanged(any(), eq(true)); in testStatusChanges() 294 .onRestrictionStateChanged(any(), eq(true)); in testStatusChanges() 299 .onRestrictionStateChanged(any(), anyBoolean()); in testStatusChanges() 304 .onRestrictionStateChanged(any(), anyBoolean()); in testStatusChanges() 309 inOrder.verify(mJobSchedulerService).onRestrictionStateChanged(any(), eq(false)); in testStatusChanges() 313 inOrder.verify(mJobSchedulerService).onRestrictionStateChanged(any(), eq(true)); in testStatusChanges()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/ |
D | ThermalStatusRestriction.java | 82 mService.onRestrictionStateChanged(ThermalStatusRestriction.this, increased); in onSystemServicesReady()
|