Searched refs:mSkipPolicy (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BaseBroadcastQueueTest.java | 121 BroadcastSkipPolicy mSkipPolicy; field in BaseBroadcastQueueTest 175 mSkipPolicy = spy(new BroadcastSkipPolicy(mAms)); in setUp() 176 doReturn(null).when(mSkipPolicy).shouldSkipMessage(any(), any()); in setUp() 177 doReturn(false).when(mSkipPolicy).disallowBackgroundStart(any()); in setUp()
|
D | BroadcastQueueModernImplTest.java | 123 mConstants, mConstants, mSkipPolicy, mEmptyHistory); in setUp() 1546 }).when(mSkipPolicy).shouldSkipMessage(any(BroadcastRecord.class), any()); in testSkipPolicy_atEnqueueTime()
|
D | BroadcastQueueTest.java | 235 mConstants, mConstants, mSkipPolicy, mEmptyHistory); in setUp() 2183 }).when(mSkipPolicy).shouldSkipMessage(any(BroadcastRecord.class), any());
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 50 final @NonNull BroadcastSkipPolicy mSkipPolicy; field in BroadcastQueue 60 mSkipPolicy = Objects.requireNonNull(skipPolicy); in BroadcastQueue()
|
D | BroadcastQueueModernImpl.java | 832 final String skipReason = mSkipPolicy.shouldSkipMessage(r, receiver); in enqueueBroadcastLocked() 1111 final String skipReason = mSkipPolicy.shouldSkipMessage(r, receiver); in shouldSkipReceiver()
|