Home
last modified time | relevance | path

Searched refs:mIntentFilter (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStateTrackerTest.java91 IntentFilter mIntentFilter = new IntentFilter(); in testSupplicantStateChangeIntent() local
92 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in testSupplicantStateChangeIntent()
93 mContext.registerReceiver(wifiBroadcastReceiver, mIntentFilter); in testSupplicantStateChangeIntent()
116 IntentFilter mIntentFilter = new IntentFilter(); in testAuthPassInSupplicantStateChangeIntent() local
117 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in testAuthPassInSupplicantStateChangeIntent()
118 mContext.registerReceiver(wifiBroadcastReceiver, mIntentFilter); in testAuthPassInSupplicantStateChangeIntent()
142 IntentFilter mIntentFilter = new IntentFilter(); in testAuthFailedInSupplicantStateChangeIntent() local
143 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in testAuthFailedInSupplicantStateChangeIntent()
144 mContext.registerReceiver(wifiBroadcastReceiver, mIntentFilter); in testAuthFailedInSupplicantStateChangeIntent()
172 IntentFilter mIntentFilter = new IntentFilter(); in testReasonCodeInSupplicantStateChangeIntent() local
[all …]
/frameworks/base/services/people/java/com/android/server/people/prediction/
DShareTargetPredictor.java55 private final IntentFilter mIntentFilter; field in ShareTargetPredictor
61 mIntentFilter = predictionContext.getExtras().getParcelable( in ShareTargetPredictor()
72 if (mIntentFilter != null) { in reportAppTargetEvent()
73 getDataManager().reportShareTargetEvent(event, mIntentFilter); in reportAppTargetEvent()
84 if (mIntentFilter == null) { in predictTargets()
89 SharesheetModelScorer.computeScore(shareTargets, getShareEventType(mIntentFilter), in predictTargets()
109 if (mIntentFilter == null) { in sortTargets()
115 getShareEventType(mIntentFilter), getPredictionContext().getPredictedTargetCount(), in sortTargets()
135 getDataManager().getShareShortcuts(mIntentFilter, mCallingUserId); in getDirectShareTargets()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupOnboarding.java59 private final IntentFilter mIntentFilter; field in WakeupOnboarding
104 mIntentFilter = new IntentFilter(); in WakeupOnboarding()
105 mIntentFilter.addAction(ACTION_TURN_OFF_WIFI_WAKE); in WakeupOnboarding()
106 mIntentFilter.addAction(ACTION_DISMISS_NOTIFICATION); in WakeupOnboarding()
107 mIntentFilter.addAction(ACTION_OPEN_WIFI_PREFERENCES); in WakeupOnboarding()
131 mContext.registerReceiver(mBroadcastReceiver, mIntentFilter, in maybeShowNotification()
DWifiCarrierInfoManager.java153 private final IntentFilter mIntentFilter; field in WifiCarrierInfoManager
296 mIntentFilter = new IntentFilter(); in WifiCarrierInfoManager()
297 mIntentFilter.addAction(NOTIFICATION_USER_DISMISSED_INTENT_ACTION); in WifiCarrierInfoManager()
298 mIntentFilter.addAction(NOTIFICATION_USER_ALLOWED_CARRIER_INTENT_ACTION); in WifiCarrierInfoManager()
299 mIntentFilter.addAction(NOTIFICATION_USER_DISALLOWED_CARRIER_INTENT_ACTION); in WifiCarrierInfoManager()
301 mContext.registerReceiver(mBroadcastReceiver, mIntentFilter, null, handler); in WifiCarrierInfoManager()
DWifiNetworkSuggestionsManager.java375 private final IntentFilter mIntentFilter; field in WifiNetworkSuggestionsManager
611 mIntentFilter = new IntentFilter(); in WifiNetworkSuggestionsManager()
612 mIntentFilter.addAction(NOTIFICATION_USER_ALLOWED_APP_INTENT_ACTION); in WifiNetworkSuggestionsManager()
613 mIntentFilter.addAction(NOTIFICATION_USER_DISALLOWED_APP_INTENT_ACTION); in WifiNetworkSuggestionsManager()
614 mIntentFilter.addAction(NOTIFICATION_USER_DISMISSED_INTENT_ACTION); in WifiNetworkSuggestionsManager()
616 mContext.registerReceiver(mBroadcastReceiver, mIntentFilter, null, handler); in WifiNetworkSuggestionsManager()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java138 IntentFilter mIntentFilter = new IntentFilter(); in setUp() local
139 mIntentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in setUp()
140 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in setUp()
141 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp()
142 mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in setUp()
143 mIntentFilter.addAction(WifiManager.WIFI_AP_STATE_CHANGED_ACTION); in setUp()
144 mIntentFilter.addAction(ConnectivityManager.ACTION_TETHER_STATE_CHANGED); in setUp()
145 mContext.registerReceiver(mWifiReceiver, mIntentFilter); in setUp()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
DWifiClientTest.java93 IntentFilter mIntentFilter = new IntentFilter(); in setUp() local
94 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in setUp()
95 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in setUp()
96 mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in setUp()
97 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in setUp()
98 getContext().registerReceiver(mWifiStateListener, mIntentFilter); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceFeatureQueryManager.java45 private final String mIntentFilter; field in ImsServiceFeatureQueryManager.ImsServiceFeatureQuery
49 mIntentFilter = intentFilter; in ImsServiceFeatureQuery()
57 Log.d(LOG_TAG, "start: intent filter=" + mIntentFilter + ", name=" + mName); in start()
58 Intent imsServiceIntent = new Intent(mIntentFilter).setComponent(mName); in start()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java151 IntentFilter mIntentFilter; in initLocationListeners() local
152 mIntentFilter = new IntentFilter(); in initLocationListeners()
153 mIntentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in initLocationListeners()
154 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in initLocationListeners()
155 mIntentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in initLocationListeners()
157 registerReceiver(mNetwork, mIntentFilter); in initLocationListeners()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java104 IntentFilter mIntentFilter = new IntentFilter(); in initialize() local
105 mIntentFilter.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION); in initialize()
106 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in initialize()
107 mIntentFilter.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION); in initialize()
108 mIntentFilter.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION); in initialize()
109 mIntentFilter.addAction(WifiManager.WIFI_AP_STATE_CHANGED_ACTION); in initialize()
110 mContext.registerReceiver(mWifiReceiver, mIntentFilter); in initialize()
/frameworks/base/services/core/java/com/android/server/media/
DBluetoothRouteProvider.java78 private final IntentFilter mIntentFilter = new IntentFilter(); field in BluetoothRouteProvider
121 mContext.registerReceiver(mBroadcastReceiver, mIntentFilter, null, null); in start()
160 mIntentFilter.addAction(action); in addEventReceiver()