Home
last modified time | relevance | path

Searched refs:onAvailable (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellularNetworkValidatorTest.java150 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testNetworkAvailableNotValidated()
179 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testSkipRecentlyValidatedNetwork()
201 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testDoNotSkipIfValidationFailed()
228 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testDoNotSkipIfCacheExpires()
270 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testNetworkCachingOfMultipleSub()
355 mValidatorUT.mNetworkCallback.onAvailable(network); in testOnNetworkAvailable()
439 mValidatorUT.mNetworkCallback.onAvailable(new Network(1000)); in assertNetworkRecentlyValidated()
/frameworks/base/core/java/android/net/
DEthernetManager.java251 void onAvailable(@NonNull String iface); in onAvailable() method
278 public void onAvailable(String iface) { in requestTetheredInterface()
279 executor.execute(() -> callback.onAvailable(iface)); in requestTetheredInterface()
DITetheredInterfaceCallback.aidl21 void onAvailable(in String iface); in onAvailable() method
DConnectivityManager.java1586 public void onAvailable(Network network) {
3355 public void onAvailable(@NonNull Network network, in onAvailable() method in ConnectivityManager.NetworkCallback
3361 onAvailable(network); in onAvailable()
3400 public void onAvailable(@NonNull Network network) {} in onAvailable() method in ConnectivityManager.NetworkCallback
3646 callback.onAvailable(network, cap, lp, message.arg1 != 0); in handleMessage()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DTestNetworkTracker.kt74 override fun onAvailable(network: Network) { in onAvailable() method
DTestableNetworkCallback.kt109 override fun onAvailable(network: Network) { in onAvailable() method in com.android.testutils.RecorderCallback
/frameworks/base/core/java/com/android/server/net/
DNetworkPinner.java90 public void onAvailable(Network network) { in onAvailable() method in NetworkPinner.Callback
/frameworks/base/tests/net/java/android/net/
DConnectivityManagerTest.java223 verify(callback, timeout(500).times(1)).onAvailable(any(Network.class), in testCallbackRelease()
252 verify(callback, timeout(100).times(1)).onAvailable(any(Network.class), in testCallbackRecycling()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuNetworkConnection.java240 public void onAvailable(Network network) { in onAvailable() method in OsuNetworkConnection.ConnectivityCallbacks
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java220 public void onAvailable(Network network) { in onAvailable() method in NetworkTimeUpdateService.NetworkTimeUpdateCallback
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellularNetworkValidator.java375 public void onAvailable(Network network) {
DCarrierSignalAgent.java148 public void onAvailable(Network network) { in handleMessage()
DDeviceStateMonitor.java111 public void onAvailable(Network network) {
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuNetworkConnectionTest.java222 callback.onAvailable(mCurrentNetwork); in verifyNetworkCallbackInvokedWhenConnected()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitorTest.java624 cb.onAvailable(defaultNetwork.networkId); in makeDefaultNetwork()
727 cb.onAvailable(networkId); in fakeConnect()
DTetheringTest.java1926 ethCallback.onAvailable(TEST_ETH_IFNAME); in testNoAddressAvailable()
1950 ethCallback.onAvailable(TEST_ETH_IFNAME); in testNoAddressAvailable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java387 public void onAvailable(Network network) {
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java289 public void onAvailable(Network network) { in requestNetworkForCaptivePortal()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DUpstreamNetworkMonitor.java443 public void onAvailable(Network network) { in onAvailable() method in UpstreamNetworkMonitor.UpstreamNetworkCallback
/frameworks/base/services/core/java/com/android/server/location/
DGnssNetworkConnectivityHandler.java281 public void onAvailable(Network network) { in createSuplConnectivityCallback()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java344 public void onAvailable(@NonNull Network network) { in onAvailable() method in VpnIkev2Utils.Ikev2VpnNetworkCallback
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java231 cb.onAvailable(iface); in notifyTetheredInterfaceAvailable()
/frameworks/base/packages/Tethering/tests/integration/src/android/net/
DEthernetTetheringTest.java460 public void onAvailable(String iface) { in onAvailable() method in EthernetTetheringTest.TetheredInterfaceRequester
/frameworks/base/services/core/java/com/android/server/job/controllers/
DConnectivityController.java528 public void onAvailable(Network network) {
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java1810 public void onAvailable(Network network) {

12