Home
last modified time | relevance | path

Searched refs:getRequestorWsPriority (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DWorkSourceHelperTest.java75 assertEquals(wsHelper.getRequestorWsPriority(), WorkSourceHelper.PRIORITY_INTERNAL); in testGetRequestorWsPriority()
82 assertEquals(WorkSourceHelper.PRIORITY_BG, wsHelper.getRequestorWsPriority()); in testGetRequestorWsPriority()
87 assertEquals(WorkSourceHelper.PRIORITY_FG_SERVICE, wsHelper.getRequestorWsPriority()); in testGetRequestorWsPriority()
92 assertEquals(WorkSourceHelper.PRIORITY_FG_APP, wsHelper.getRequestorWsPriority()); in testGetRequestorWsPriority()
100 assertEquals(WorkSourceHelper.PRIORITY_FG_APP, wsHelper.getRequestorWsPriority()); in testGetRequestorWsPriority()
106 assertEquals(WorkSourceHelper.PRIORITY_SYSTEM, wsHelper.getRequestorWsPriority()); in testGetRequestorWsPriority()
110 assertEquals(WorkSourceHelper.PRIORITY_PRIVILEGED, wsHelper.getRequestorWsPriority()); in testGetRequestorWsPriority()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java183 when(mWorkSourceHelper0.getRequestorWsPriority()) in before()
185 when(mWorkSourceHelper1.getRequestorWsPriority()) in before()
187 when(mWorkSourceHelper2.getRequestorWsPriority()) in before()
703 when(mWorkSourceHelper1.getRequestorWsPriority()) in testReplaceRequestorWs()
714 when(mWorkSourceHelper2.getRequestorWsPriority()) in testReplaceRequestorWs()
719 when(mWorkSourceHelper1.getRequestorWsPriority()) in testReplaceRequestorWs()
771 when(mWorkSourceHelper1.getRequestorWsPriority()) in testInterfaceCreationFlowIfCanDeleteWithUserApproval()
847 when(mWorkSourceHelper2.getRequestorWsPriority()) in testSecondaryInternetStaTreatedAsOpportunistic()
928 when(mWorkSourceHelper2.getRequestorWsPriority()) in testDisconnectedP2pTreatedAsOpportunisticAfterTimeout()
945 when(mWorkSourceHelper2.getRequestorWsPriority()) in testDisconnectedP2pTreatedAsOpportunisticAfterTimeout()
[all …]
DInterfaceConflictManagerTest.java126 when(mWsHelper.getRequestorWsPriority()) in setup()
128 when(mExistingWsHelper.getRequestorWsPriority()) in setup()
711 when(mExistingWsHelper.getRequestorWsPriority()) in testCanDeleteWithUserApproval()
718 when(mExistingWsHelper.getRequestorWsPriority()) in testCanDeleteWithUserApproval()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DInterfaceConflictManager.java170 if (newRequestorWsHelper.getRequestorWsPriority() <= WorkSourceHelper.PRIORITY_BG in needsUserApprovalToDelete()
171 || existingRequestorWsHelper.getRequestorWsPriority() in needsUserApprovalToDelete()
DHalDeviceManager.java978 if (iface.requestorWsHelper.getRequestorWsPriority() in creatingIfaceWillDeletePrivilegedIface()
2040 newRequestorWs.getRequestorWsPriority(); in allowedToDelete()
2042 existingRequestorWs.getRequestorWsPriority(); in allowedToDelete()
2261 int newRequestorWsPriority = newRequestorWsHelper.getRequestorWsPriority();
2262 int existingRequestorWsPriority = cacheEntry.requestorWsHelper.getRequestorWsPriority();
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWorkSourceHelper.java90 public @RequestorWsPriority int getRequestorWsPriority() { in getRequestorWsPriority() method in WorkSourceHelper