Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/android/telephony/ims/
DImsStateCallback.java127 public void onAvailable() { in onAvailable() method in ImsStateCallback.IImsStateCallbackStub
132 () -> mExecutor.execute(() -> callback.onAvailable())); in onAvailable()
158 public abstract void onAvailable(); in onAvailable() method in ImsStateCallback
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DCellularNetworkValidatorTest.java158 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testNetworkAvailableNotValidated()
187 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testSkipRecentlyValidatedNetwork()
209 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testDoNotSkipIfValidationFailed()
236 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testDoNotSkipIfCacheExpires()
278 mValidatorUT.mNetworkCallback.onAvailable(new Network(100)); in testNetworkCachingOfMultipleSub()
363 mValidatorUT.mNetworkCallback.onAvailable(network); in testOnNetworkAvailable()
447 mValidatorUT.mNetworkCallback.onAvailable(new Network(1000)); in assertNetworkRecentlyValidated()
/frameworks/base/telephony/java/com/android/internal/telephony/
DIImsStateCallback.aidl21 void onAvailable(); in onAvailable() method
/frameworks/av/camera/ndk/ndk_vendor/tests/
DACameraManagerTest.cpp36 static void onAvailable(void* obj, const char* cameraId) { in onAvailable() function in __anonae9eeb2a0111::CameraServiceListener
172 CameraServiceListener::onAvailable,
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsStateCallbackTest.java63 public void onAvailable() { in onAvailable() method in ImsStateCallbackTest.LocalCallback
193 cbBinder.onAvailable(); in testImsStateCallbacks()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DDefaultNetworkMonitor.java46 public void onAvailable(@NonNull Network network) { in onAvailable() method in DefaultNetworkMonitor.DefaultNetworkCallback
/frameworks/base/core/java/com/android/server/net/
DNetworkPinner.java90 public void onAvailable(Network network) { in onAvailable() method in NetworkPinner.Callback
/frameworks/base/services/core/java/com/android/server/net/
DLockdownVpnTracker.java117 public void onAvailable(Network network) { in onAvailable() method in LockdownVpnTracker.VpnNetworkCallback
124 onAvailable(network); in onLost()
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/
DConnectivitySetupRule.java130 public void onAvailable(Network network) {
/frameworks/base/services/tests/VpnTests/java/com/android/server/net/
DLockdownVpnTrackerTest.java173 callback.onAvailable(network); in callCallbacksForNetworkConnect()
314 vpnCallback.onAvailable(mVpnNetwork); in testDefaultNetworkChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyCountryDetectorTest.java286 mNetworkCallbackCaptor.getValue().onAvailable(mMockNetwork); in testRegisterForLocationUpdates()
303 mNetworkCallbackCaptor.getValue().onAvailable(mMockNetwork); in testRegisterForLocationUpdates()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DRebootEscrowManagerTests.java994 callback.onAvailable(mockNetwork); in loadRebootEscrowDataIfAvailable_serverBasedWaitForInternet_success()
1047 callback.onAvailable(mockNetwork); in loadRebootEscrowDataIfAvailable_serverBasedWaitForInternetRemoteException_Failure()
1149 callback.onAvailable(mockNetwork); in loadRebootEscrowDataIfAvailable_waitForInternet_networkLost()
1212 callback.onAvailable(mockNetwork); in loadRebootEscrowDataIfAvailable_waitForInternet_networkAvailableWithDelay()
1270 callback.onAvailable(mockNetwork); in loadRebootEscrowDataIfAvailable_waitForInternet_timeoutExhausted()
1323 callback.onAvailable(mockNetwork); in loadRebootEscrowDataIfAvailable_serverBasedWaitForNetwork_retryCountExhausted()
1380 callback.onAvailable(mockNetwork); in loadRebootEscrowDataIfAvailable_ServerBasedWaitForInternet_RetrySuccess()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerBaseTest.java363 mNetworkCallback.onAvailable(network); in setConnectivityViaDefaultAndNormalCallbackInWifiTracker()
379 mNetworkCallback.onAvailable(mock(Network.class)); in setConnectivityViaCallbackInWifiTracker()
396 mNetworkCallback.onAvailable(mock(Network.class)); in setConnectivityViaCallbackInWifiTrackerForVcn()
/frameworks/layoutlib/bridge/src/android/net/
DConnectivityManager.java699 public void onAvailable(@NonNull Network network, in onAvailable() method in ConnectivityManager.NetworkCallback
703 public void onAvailable(@NonNull Network network) {} in onAvailable() method in ConnectivityManager.NetworkCallback
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DCellularNetworkValidator.java362 public void onAvailable(@NonNull Network network) {
/frameworks/base/services/tests/VpnTests/java/com/android/server/connectivity/
DVpnTest.java1770 cb.onAvailable(TEST_NETWORK); in triggerOnAvailableAndGetCallback()
2415 vpnSnapShot.nwCb.onAvailable(TEST_NETWORK_2); in doTestMigrateIkeSession()
2458 vpnSnapShot.nwCb.onAvailable(TEST_NETWORK_2); in testLinkPropertiesUpdateTriggerReevaluation()
2640 vpnSnapShot.nwCb.onAvailable(TEST_NETWORK_2); in doTestReadCarrierConfig()
2692 vpnSnapShot.nwCb.onAvailable(TEST_NETWORK); in testStartPlatformVpn_underlyingNetworkNotChange()
2705 vpnSnapShot.nwCb.onAvailable(TEST_NETWORK_2); in testStartPlatformVpn_underlyingNetworkNotChange()
2734 vpnSnapShot.nwCb.onAvailable(TEST_NETWORK_2); in testStartPlatformVpnMobility_mobikeEnabled()
2781 vpnSnapShot.nwCb.onAvailable(TEST_NETWORK_2); in testStartPlatformVpnMobility_mobikeEnabledMtuDoesNotSupportIpv6()
2843 vpnSnapShot.nwCb.onAvailable(TEST_NETWORK_2); in testStartPlatformVpnReestablishes_mobikeDisabled()
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkControllerTest.java634 cb.onAvailable(mNetwork); in verifyRegistrationOnAvailableAndGetCallback()
814 cb.onAvailable(network); in bringupNetworkAndGetEvaluator()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCountryDetector.java508 public void onAvailable(Network network) { in registerForWifiConnectivityStateChanged()
DCarrierSignalAgent.java159 public void onAvailable(Network network) { in handleMessage()
DDeviceStateMonitor.java118 public void onAvailable(Network network) {
/frameworks/base/services/core/java/com/android/server/timedetector/
DNetworkTimeUpdateService.java228 public void onAvailable(@NonNull Network network) { in onAvailable() method in NetworkTimeUpdateService.NetworkConnectivityCallback
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCaptivePortalLoginActivity.java288 public void onAvailable(Network network) { in requestNetworkForCaptivePortal()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DConnectivityControllerTest.java1738 allNetworkCallback.onAvailable(systemDefaultNetwork); in testIsNetworkInStateForJobRunLocked_Network()
1739 allNetworkCallback.onAvailable(otherNetwork); in testIsNetworkInStateForJobRunLocked_Network()
1756 systemDefaultNetworkCallback.onAvailable(systemDefaultNetwork); in testIsNetworkInStateForJobRunLocked_Network()
1800 generalCallback.onAvailable(net); in answerNetwork()
1805 uidCallback.onAvailable(net); in answerNetwork()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
DMobileConnectionRepositoryTest.kt1088 callback.onAvailable(mock()) in hasPrioritizedCaps_trueWhenAvailable()
1103 callback.onAvailable(mock()) in hasPrioritizedCaps_becomesFalseWhenNetworkLost()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpnIkev2Utils.java408 public void onAvailable(@NonNull Network network) { in onAvailable() method in VpnIkev2Utils.Ikev2VpnNetworkCallback

12