Searched refs:acceptRequest (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/net/ |
D | NetworkFactory.java | 326 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/ |
D | WifiNetworkFactoryTest.java | 259 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/ |
D | EthernetNetworkFactory.java | 91 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 | 731 collector.checkThat("acceptRequest", accept, equalTo(nrtdpir.acceptRequest)); in validateRespondToDataPathRequest()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNetworkFactory.java | 504 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 | 1000 req.acceptRequest = accept; in respondToDataPathRequest()
|
D | WifiAwareDataPathStateManager.java | 818 public boolean acceptRequest(NetworkRequest request, int score) { in acceptRequest() method in WifiAwareDataPathStateManager.WifiAwareNetworkFactory
|