Home
last modified time | relevance | path

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

/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeLocalRequestSchedulerTest.java48 import com.android.internal.net.ipsec.test.ike.IkeLocalRequestScheduler.LocalRequest;
62 private LocalRequest[] mMockRequestArray;
66 private ArgumentCaptor<LocalRequest> mLocalRequestCaptor =
67 ArgumentCaptor.forClass(LocalRequest.class);
88 mMockRequestArray = new LocalRequest[REQUESTS_TO_QUEUE]; in setUp()
90 mMockRequestArray[i] = mock(LocalRequest.class); in setUp()
111 private void addAllRequestsToScheduler(LocalRequest[] mockRequests) { in addAllRequestsToScheduler()
112 for (LocalRequest r : mockRequests) { in addAllRequestsToScheduler()
125 for (LocalRequest r : mMockRequestArray) { in testProcessOrder()
134 LocalRequest[] mockUrgentPriorityRequestArray = in testPriorityProcessOrder()
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeLocalRequestScheduler.java92 private final PriorityQueue<LocalRequest> mRequestQueue =
112 public void addRequest(LocalRequest request) { in addRequest()
135 for (LocalRequest req : mRequestQueue) { in releaseAllLocalRequestWakeLocks()
144 public abstract static class LocalRequest { class in IkeLocalRequestScheduler
155 LocalRequest(int type, int priority) { in LocalRequest() method in IkeLocalRequestScheduler.LocalRequest
209 private class LocalRequestComparator implements Comparator<LocalRequest> {
211 public int compare(LocalRequest requestA, LocalRequest requestB) { in compare()
224 public static class IkeLocalRequest extends LocalRequest {
251 public static class ChildLocalRequest extends LocalRequest {
290 void onNewProcedureReady(LocalRequest localRequest); in onNewProcedureReady()
DIkeSessionStateMachine.java141 import com.android.internal.net.ipsec.ike.IkeLocalRequestScheduler.LocalRequest;
967 private void scheduleRetry(LocalRequest localRequest) { in scheduleRetry()
1498 executeLocalRequest((LocalRequest) message.obj, message); in processStateMessage()
1570 handleLocalRequest(message.what, (LocalRequest) message.obj); in processStateMessage()
1582 private void executeLocalRequest(LocalRequest req, Message message) { in executeLocalRequest()
1625 private boolean isRequestForCurrentSa(LocalRequest localRequest) { in isRequestForCurrentSa()
1795 protected void handleLocalRequest(int requestVal, LocalRequest req) { in handleLocalRequest()
1866 private void enqueueLocalRequestSynchronously(LocalRequest request) { in enqueueLocalRequestSynchronously()
1975 handleLocalRequest(message.what, (LocalRequest) message.obj); in processStateMessage()