Searched refs:acceptRequest (Results 1 – 7 of 7) sorted by relevance
/frameworks/libs/net/common/src_servicescommon/android/net/ |
D | NetworkFactory.java | 266 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/ |
D | WifiNetworkFactoryTest.java | 277 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/ |
D | EthernetNetworkFactory.java | 90 public boolean acceptRequest(NetworkRequest request, int score) { in acceptRequest() method in EthernetNetworkFactory
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareNativeApiTest.java | 733 collector.checkThat("acceptRequest", accept, equalTo(nrtdpir.acceptRequest)); in validateRespondToDataPathRequest()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkFactory.java | 511 public boolean acceptRequest(NetworkRequest networkRequest, int score) { in acceptRequest() method in WifiNetworkFactory
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeApi.java | 1102 req.acceptRequest = accept; in respondToDataPathRequest()
|
D | WifiAwareDataPathStateManager.java | 821 public boolean acceptRequest(NetworkRequest request, int score) { in acceptRequest() method in WifiAwareDataPathStateManager.WifiAwareNetworkFactory
|