Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastRecordTest.java23 import static com.android.server.am.BroadcastRecord.DELIVERY_PENDING;
173 assertEquals(DELIVERY_PENDING, r.getDeliveryState(0)); in testSetDeliveryState_Single()
265 r.setDeliveryState(0, DELIVERY_PENDING, TAG); in testSetDeliveryState_DeferUntilActive()
267 r.setDeliveryState(2, DELIVERY_PENDING, TAG); in testSetDeliveryState_DeferUntilActive()
272 r.setDeliveryState(7, DELIVERY_PENDING, TAG); in testSetDeliveryState_DeferUntilActive()
295 r.setDeliveryState(1, DELIVERY_PENDING, TAG); in testSetDeliveryState_DeferUntilActive()
DBroadcastQueueModernImplTest.java1611 BroadcastRecord.DELIVERY_PENDING, r.getDeliveryState(i)); in testDeliveryDeferredForCached()
1632 BroadcastRecord.DELIVERY_PENDING, r.getDeliveryState(i)); in testDeliveryDeferredForCached()
1648 BroadcastRecord.DELIVERY_PENDING, r.getDeliveryState(i)); in testDeliveryDeferredForCached()
1652 BroadcastRecord.DELIVERY_PENDING, r.getDeliveryState(i)); in testDeliveryDeferredForCached()
1708 BroadcastRecord.DELIVERY_PENDING, r.getDeliveryState(i)); in testDeliveryDeferredForCached_withInfiniteDeferred()
1733 BroadcastRecord.DELIVERY_PENDING, r.getDeliveryState(i)); in testDeliveryDeferredForCached_withInfiniteDeferred()
1749 BroadcastRecord.DELIVERY_PENDING, r.getDeliveryState(i)); in testDeliveryDeferredForCached_withInfiniteDeferred()
1753 BroadcastRecord.DELIVERY_PENDING, r.getDeliveryState(i)); in testDeliveryDeferredForCached_withInfiniteDeferred()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastRecord.java178 static final int DELIVERY_PENDING = 0; field in BroadcastRecord
193 DELIVERY_PENDING,
206 case DELIVERY_PENDING: return "PENDING"; in deliveryStateToString()
584 case DELIVERY_PENDING: in setDeliveryState()
DBroadcastProcessQueue.java312 == BroadcastRecord.DELIVERY_PENDING)) { in enqueueOrReplaceBroadcast()
335 && (record.getDeliveryState(recordIndex) == BroadcastRecord.DELIVERY_PENDING)) { in enqueueOrReplaceBroadcast()
1324 return (r.getDeliveryState(i) == BroadcastRecord.DELIVERY_PENDING); in updateDeferredStates()
DBroadcastQueueModernImpl.java647 BroadcastRecord.DELIVERY_PENDING, "reEnqueueActiveBroadcast"); in finishOrReEnqueueActiveBroadcast()
1708 setDeliveryState(null, null, r, i, r.receivers.get(i), BroadcastRecord.DELIVERY_PENDING,