Home
last modified time | relevance | path

Searched refs:networkMonitor (Results 1 – 25 of 30) sorted by relevance

12

/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/network/
DNetworkMonitorTest.kt50 lateinit var networkMonitor: NetworkMonitor variable in com.android.photopicker.core.network.NetworkMonitorTest
74 networkMonitor = NetworkMonitor(context, this.backgroundScope) in testInitialNetworkIsAvailable()
76 val reportedStatus = networkMonitor.networkStatus.first() in testInitialNetworkIsAvailable()
86 networkMonitor = NetworkMonitor(context, this.backgroundScope) in testRegistersNetworkCallback()
88 val reportedStatus = networkMonitor.networkStatus.first() in testRegistersNetworkCallback()
110 networkMonitor = NetworkMonitor(context, this.backgroundScope) in testCallbackEmitsNewNetworkStatus()
112 backgroundScope.launch { networkMonitor.networkStatus.toList(emissions) } in testCallbackEmitsNewNetworkStatus()
142 networkMonitor = NetworkMonitor(context, this.backgroundScope) in testNetworkStatusReplayedForNewSubscribers()
144 backgroundScope.launch { networkMonitor.networkStatus.toList(allEmissions) } in testNetworkStatusReplayedForNewSubscribers()
164 backgroundScope.launch { networkMonitor.networkStatus.toList(emissions) } in testNetworkStatusReplayedForNewSubscribers()
[all …]
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/inject/
DApplicationModule.kt53 private lateinit var networkMonitor: NetworkMonitor variable in com.android.photopicker.core.ApplicationModule
83 if (::networkMonitor.isInitialized) { in provideNetworkMonitor()
84 return networkMonitor in provideNetworkMonitor()
90 networkMonitor = NetworkMonitor(context, scope) in provideNetworkMonitor()
91 return networkMonitor in provideNetworkMonitor()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/base/
DCSAgentWrapper.kt85 val networkMonitor = mock<INetworkMonitor>() in ArgumentCaptor() constant
99 doAnswer(validateAnswer).`when`(networkMonitor).notifyNetworkConnected(any(), any()) in ArgumentCaptor()
100 doAnswer(validateAnswer).`when`(networkMonitor).notifyNetworkConnectedParcel(any()) in ArgumentCaptor()
101 doAnswer(validateAnswer).`when`(networkMonitor).forceReevaluation(anyInt()) in ArgumentCaptor()
120 nmCallbacks.onNetworkMonitorCreated(networkMonitor) in ArgumentCaptor()
125 verify(networkMonitor).notifyNetworkConnectedParcel(any()) in ArgumentCaptor()
127 verify(networkMonitor).notifyNetworkConnected(any(), any()) in ArgumentCaptor()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSCaptivePortalAppTest.kt106 verify(wifiAgent.networkMonitor, never()).forceReevaluation(anyInt()) in testCaptivePortalApp_Reevaluate_Nopermission()
121 verify(networkAgent.networkMonitor).launchCaptivePortalApp() in startCaptivePortalApp()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DAddWifiNetworkTask.java77 NetworkMonitor networkMonitor, in AddWifiNetworkTask() argument
87 mNetworkMonitor = checkNotNull(networkMonitor); in AddWifiNetworkTask()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/
DINetworkMonitorCallbacks.aidl3 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor); in onNetworkMonitorCreated() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/
DINetworkMonitorCallbacks.aidl3 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor); in onNetworkMonitorCreated() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/
DINetworkMonitorCallbacks.aidl20 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor); in onNetworkMonitorCreated() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/
DINetworkMonitorCallbacks.aidl3 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor); in onNetworkMonitorCreated() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/
DINetworkMonitorCallbacks.aidl21 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor); in onNetworkMonitorCreated() argument
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/
DINetworkMonitorCallbacks.aidl21 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/19/android/net/
DINetworkMonitorCallbacks.aidl37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/18/android/net/
DINetworkMonitorCallbacks.aidl37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/12/android/net/
DINetworkMonitorCallbacks.aidl37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/20/android/net/
DINetworkMonitorCallbacks.aidl37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/14/android/net/
DINetworkMonitorCallbacks.aidl37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/
DINetworkMonitorCallbacks.aidl22 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/17/android/net/
DINetworkMonitorCallbacks.aidl37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/
DINetworkMonitorCallbacks.aidl21 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/13/android/net/
DINetworkMonitorCallbacks.aidl37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/15/android/net/
DINetworkMonitorCallbacks.aidl37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/
DINetworkMonitorCallbacks.aidl21 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/16/android/net/
DINetworkMonitorCallbacks.aidl37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/
DINetworkMonitorCallbacks.aidl21 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/
DINetworkMonitorCallbacks.aidl28 void onNetworkMonitorCreated(in INetworkMonitor networkMonitor) = 0; field

12