Searched refs:getRequestorWsPriority (Results 1 – 6 of 6) sorted by relevance
75 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()
183 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 …]
126 when(mWsHelper.getRequestorWsPriority()) in setup()128 when(mExistingWsHelper.getRequestorWsPriority()) in setup()711 when(mExistingWsHelper.getRequestorWsPriority()) in testCanDeleteWithUserApproval()718 when(mExistingWsHelper.getRequestorWsPriority()) in testCanDeleteWithUserApproval()
170 if (newRequestorWsHelper.getRequestorWsPriority() <= WorkSourceHelper.PRIORITY_BG in needsUserApprovalToDelete()171 || existingRequestorWsHelper.getRequestorWsPriority() in needsUserApprovalToDelete()
978 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();
90 public @RequestorWsPriority int getRequestorWsPriority() { in getRequestorWsPriority() method in WorkSourceHelper