/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/network/ |
D | NetworkMonitorTest.kt | 50 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/ |
D | ApplicationModule.kt | 53 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/ |
D | CSAgentWrapper.kt | 85 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/ |
D | CSCaptivePortalAppTest.kt | 106 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/ |
D | AddWifiNetworkTask.java | 77 NetworkMonitor networkMonitor, in AddWifiNetworkTask() argument 87 mNetworkMonitor = checkNotNull(networkMonitor); in AddWifiNetworkTask()
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/2/android/net/ |
D | INetworkMonitorCallbacks.aidl | 3 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor); in onNetworkMonitorCreated() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/1/android/net/ |
D | INetworkMonitorCallbacks.aidl | 3 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor); in onNetworkMonitorCreated() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/3/android/net/ |
D | INetworkMonitorCallbacks.aidl | 20 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor); in onNetworkMonitorCreated() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/ |
D | INetworkMonitorCallbacks.aidl | 3 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor); in onNetworkMonitorCreated() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/5/android/net/ |
D | INetworkMonitorCallbacks.aidl | 21 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor); in onNetworkMonitorCreated() argument
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/8/android/net/ |
D | INetworkMonitorCallbacks.aidl | 21 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/19/android/net/ |
D | INetworkMonitorCallbacks.aidl | 37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/18/android/net/ |
D | INetworkMonitorCallbacks.aidl | 37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/12/android/net/ |
D | INetworkMonitorCallbacks.aidl | 37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/20/android/net/ |
D | INetworkMonitorCallbacks.aidl | 37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/14/android/net/ |
D | INetworkMonitorCallbacks.aidl | 37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/10/android/net/ |
D | INetworkMonitorCallbacks.aidl | 22 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/17/android/net/ |
D | INetworkMonitorCallbacks.aidl | 37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/6/android/net/ |
D | INetworkMonitorCallbacks.aidl | 21 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/13/android/net/ |
D | INetworkMonitorCallbacks.aidl | 37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/15/android/net/ |
D | INetworkMonitorCallbacks.aidl | 37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/9/android/net/ |
D | INetworkMonitorCallbacks.aidl | 21 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/16/android/net/ |
D | INetworkMonitorCallbacks.aidl | 37 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/ |
D | INetworkMonitorCallbacks.aidl | 21 oneway void onNetworkMonitorCreated(in android.net.INetworkMonitor networkMonitor) = 0; field
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ |
D | INetworkMonitorCallbacks.aidl | 28 void onNetworkMonitorCreated(in INetworkMonitor networkMonitor) = 0; field
|