Home
last modified time | relevance | path

Searched refs:DELIVERY_DEFERRED (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastRecordTest.java21 import static com.android.server.am.BroadcastRecord.DELIVERY_DEFERRED;
177 r.setDeliveryState(0, DELIVERY_DEFERRED, TAG); in testSetDeliveryState_Single()
178 assertEquals(DELIVERY_DEFERRED, r.getDeliveryState(0)); in testSetDeliveryState_Single()
183 r.setDeliveryState(0, DELIVERY_DEFERRED, TAG); in testSetDeliveryState_Single()
184 assertEquals(DELIVERY_DEFERRED, r.getDeliveryState(0)); in testSetDeliveryState_Single()
266 r.setDeliveryState(1, DELIVERY_DEFERRED, TAG); in testSetDeliveryState_DeferUntilActive()
268 r.setDeliveryState(3, DELIVERY_DEFERRED, TAG); in testSetDeliveryState_DeferUntilActive()
269 r.setDeliveryState(4, DELIVERY_DEFERRED, TAG); in testSetDeliveryState_DeferUntilActive()
270 r.setDeliveryState(5, DELIVERY_DEFERRED, TAG); in testSetDeliveryState_DeferUntilActive()
271 r.setDeliveryState(6, DELIVERY_DEFERRED, TAG); in testSetDeliveryState_DeferUntilActive()
[all …]
DBroadcastQueueModernImplTest.java1129 screenOffRecord.setDeliveryState(2, BroadcastRecord.DELIVERY_DEFERRED, in testDeliveryGroupPolicy_resultTo_diffReceivers()
1607 BroadcastRecord.DELIVERY_DEFERRED, r.getDeliveryState(i)); in testDeliveryDeferredForCached()
1628 BroadcastRecord.DELIVERY_DEFERRED, r.getDeliveryState(i)); in testDeliveryDeferredForCached()
1704 BroadcastRecord.DELIVERY_DEFERRED, r.getDeliveryState(i)); in testDeliveryDeferredForCached_withInfiniteDeferred()
1729 BroadcastRecord.DELIVERY_DEFERRED, r.getDeliveryState(i)); in testDeliveryDeferredForCached_withInfiniteDeferred()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastRecord.java190 static final int DELIVERY_DEFERRED = 6; field in BroadcastRecord
199 DELIVERY_DEFERRED,
212 case DELIVERY_DEFERRED: return "DEFERRED"; in deliveryStateToString()
243 case DELIVERY_DEFERRED: in isDeliveryStateBeyond()
579 case DELIVERY_DEFERRED: in setDeliveryState()
590 case DELIVERY_DEFERRED: in setDeliveryState()
DBroadcastProcessQueue.java1328 return (r.getDeliveryState(i) == BroadcastRecord.DELIVERY_DEFERRED); in updateDeferredStates()
1338 return (r.getDeliveryState(i) == BroadcastRecord.DELIVERY_DEFERRED); in clearDeferredStates()
DBroadcastQueueModernImpl.java40 import static com.android.server.am.BroadcastRecord.DELIVERY_DEFERRED;
935 return testRecord.getDeliveryState(testIndex) == DELIVERY_DEFERRED in applyDeliveryGroupPolicy()
1701 setDeliveryState(null, null, r, i, r.receivers.get(i), BroadcastRecord.DELIVERY_DEFERRED,