Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DNetworkFactory.java326 public boolean acceptRequest(NetworkRequest request, int score) { in acceptRequest() method in NetworkFactory
364 && acceptRequest(n.request, n.score); in shouldNeedNetworkFor()
379 || !acceptRequest(n.request, n.score)); in shouldReleaseNetworkFor()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiNetworkFactoryTest.java259 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestWithNoSpecifier()
276 assertFalse(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromWithInvalidSpecifier()
294 assertFalse(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromWithInternetCapability()
311 assertFalse(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromNonFgAppOrSvcWithSpecifier()
328 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromFgAppWithSpecifier()
345 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromNetworkSettingAppWithSpecifier()
368 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgSvc()
391 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgSvc()
414 assertTrue(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromFgAppWithSpecifierWithPendingRequestFromFgApp()
438 assertFalse(mWifiNetworkFactory.acceptRequest(mNetworkRequest, 0)); in testHandleAcceptNetworkRequestFromFgSvcWithSpecifierWithPendingRequestFromFgApp()
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java91 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.java731 collector.checkThat("acceptRequest", accept, equalTo(nrtdpir.acceptRequest)); in validateRespondToDataPathRequest()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkFactory.java504 public boolean acceptRequest(NetworkRequest networkRequest, int score) { in acceptRequest() method in WifiNetworkFactory
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java1000 req.acceptRequest = accept; in respondToDataPathRequest()
DWifiAwareDataPathStateManager.java818 public boolean acceptRequest(NetworkRequest request, int score) { in acceptRequest() method in WifiAwareDataPathStateManager.WifiAwareNetworkFactory