Home
last modified time | relevance | path

Searched refs:CONNECTIVITY_ACTION (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java68 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION) || in onReceive()
142 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in startListening()
/frameworks/base/services/core/java/com/android/server/connectivity/
DDataConnectionStats.java73 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in startMonitoring()
84 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION) || in onReceive()
DVpn.java2543 if (intent.getAction().equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
2588 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DIpAddressPreferenceControllerTest.java65 ConnectivityManager.CONNECTIVITY_ACTION, in testHasIntentFilters()
DWifiMacAddressPreferenceControllerTest.java86 ConnectivityManager.CONNECTIVITY_ACTION, in testHasIntentFilters()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractWifiMacAddressPreferenceController.java46 ConnectivityManager.CONNECTIVITY_ACTION,
DAbstractIpAddressPreferenceController.java44 ConnectivityManager.CONNECTIVITY_ACTION,
DAbstractImsStatusPreferenceController.java59 ConnectivityManager.CONNECTIVITY_ACTION,
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java101 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { in onReceive()
135 new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION)); in setUp()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java155 mIntentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in initLocationListeners()
396 } else if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { in onReceive()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java90 if (intent.getAction().equalsIgnoreCase(ConnectivityManager.CONNECTIVITY_ACTION)) { in onReceive()
294 ConnectivityManager.CONNECTIVITY_ACTION)); in setWiFiStateOn()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java95 new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION)); in initialize()
152 if (!action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) { in onReceive()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java88 IntentFilter filter = new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION); in onCreate()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java211 if (intent.getAction().equalsIgnoreCase(ConnectivityManager.CONNECTIVITY_ACTION)) { in onReceive()
525 ConnectivityManager.CONNECTIVITY_ACTION)); in setWiFiStateOn()
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
DPhotoViewFragment.java260 new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION)); in onResume()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java354 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in registerListeners()
559 case ConnectivityManager.CONNECTIVITY_ACTION: in onReceive()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java28 import static android.net.ConnectivityManager.CONNECTIVITY_ACTION;
377 filter.addAction(CONNECTIVITY_ACTION); in startStateMachineUpdaters()
919 } else if (action.equals(CONNECTIVITY_ACTION)) { in onReceive()
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java1156 new IntentFilter(ConnectivityManager.CONNECTIVITY_ACTION)); in registerReceivers()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java19 import static android.net.ConnectivityManager.CONNECTIVITY_ACTION;
1078 mServiceContext.sendBroadcast(new Intent(CONNECTIVITY_ACTION));
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java29 import static android.net.ConnectivityManager.CONNECTIVITY_ACTION;
2209 sendGeneralBroadcast(info, CONNECTIVITY_ACTION); in sendConnectedBroadcast()
2263 && intent.getAction().equals(ConnectivityManager.CONNECTIVITY_ACTION)) { in sendStickyBroadcast()
2273 if (ConnectivityManager.CONNECTIVITY_ACTION.equals(intent.getAction())) { in sendStickyBroadcast()
7361 Intent intent = new Intent(ConnectivityManager.CONNECTIVITY_ACTION); in sendLegacyNetworkBroadcast()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java587 case ConnectivityManager.CONNECTIVITY_ACTION: {
2112 filter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in onBootPhase()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java424 Intent intent = new Intent(ConnectivityManager.CONNECTIVITY_ACTION); in testUpdateConnectivityState()
/frameworks/base/core/java/android/net/
DConnectivityManager.java146 public static final String CONNECTIVITY_ACTION = "android.net.conn.CONNECTIVITY_CHANGE"; field in ConnectivityManager
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java40 import static android.net.ConnectivityManager.CONNECTIVITY_ACTION;
828 final IntentFilter connFilter = new IntentFilter(CONNECTIVITY_ACTION); in initService()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java27 import static android.net.ConnectivityManager.CONNECTIVITY_ACTION;
1400 final IntentFilter intentFilter = new IntentFilter(CONNECTIVITY_ACTION); in registerConnectivityBroadcastThat()
1462 if (intent.getAction().equals(CONNECTIVITY_ACTION)) { in testNetworkFeature()

12