Home
last modified time | relevance | path

Searched refs:acceptRequest (Results 1 – 7 of 7) sorted by relevance

/frameworks/libs/net/common/src_servicescommon/android/net/
DNetworkFactory.java266 public boolean acceptRequest(NetworkRequest request, int score) { in acceptRequest() method in NetworkFactory
304 && acceptRequest(n.request, n.score); in shouldNeedNetworkFor()
318 || !acceptRequest(n.request, n.score)); in shouldReleaseNetworkFor()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java277 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestWithNoSpecifier()
293 assertFalse(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromWithInvalidSpecifier()
310 assertFalse(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromWithInternetCapability()
326 assertFalse(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromNonFgAppOrSvcWithSpecifier()
342 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromFgAppWithSpecifier()
358 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromNetworkSettingAppWithSpecifier()
379 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()
400 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc()
421 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgApp()
443 assertFalse(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgApp()
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java90 public boolean acceptRequest(NetworkRequest request, int score) { in acceptRequest() method in EthernetNetworkFactory
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareNativeApiTest.java733 collector.checkThat("acceptRequest", accept, equalTo(nrtdpir.acceptRequest)); in validateRespondToDataPathRequest()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkFactory.java511 public boolean acceptRequest(NetworkRequest networkRequest, int score) { in acceptRequest() method in WifiNetworkFactory
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java1102 req.acceptRequest = accept; in respondToDataPathRequest()
DWifiAwareDataPathStateManager.java821 public boolean acceptRequest(NetworkRequest request, int score) { in acceptRequest() method in WifiAwareDataPathStateManager.WifiAwareNetworkFactory