OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mIntentFilter
(Results
1 - 25
of
27
) sorted by null
1
2
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothBroadcastHelper.java
43
IntentFilter
mIntentFilter
= new IntentFilter();
45
mIntentFilter
.addAction(action);
47
mContext.registerReceiver(mReceiver,
mIntentFilter
);
/cts/tests/tests/net/src/android/net/wifi/cts/
ScanResultTest.java
51
private IntentFilter
mIntentFilter
;
78
mIntentFilter
= new IntentFilter();
79
mIntentFilter
.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION);
80
mIntentFilter
.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION);
81
mIntentFilter
.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION);
82
mIntentFilter
.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION);
83
mIntentFilter
.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION);
84
mIntentFilter
.addAction(WifiManager.RSSI_CHANGED_ACTION);
85
mIntentFilter
.addAction(WifiManager.NETWORK_IDS_CHANGED_ACTION);
86
mIntentFilter
.addAction(WifiManager.ACTION_PICK_WIFI_NETWORK)
[
all
...]
ConcurrencyTest.java
50
private IntentFilter
mIntentFilter
;
79
mIntentFilter
= new IntentFilter();
80
mIntentFilter
.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION);
81
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION);
83
mContext.registerReceiver(mReceiver,
mIntentFilter
);
WifiInfoTest.java
50
private IntentFilter
mIntentFilter
;
72
mIntentFilter
= new IntentFilter();
73
mIntentFilter
.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION);
75
mContext.registerReceiver(mReceiver,
mIntentFilter
);
WifiManagerTest.java
78
private IntentFilter
mIntentFilter
;
125
mIntentFilter
= new IntentFilter();
126
mIntentFilter
.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION);
127
mIntentFilter
.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION);
128
mIntentFilter
.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION);
129
mIntentFilter
.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION);
130
mIntentFilter
.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION);
131
mIntentFilter
.addAction(WifiManager.RSSI_CHANGED_ACTION);
132
mIntentFilter
.addAction(WifiManager.NETWORK_IDS_CHANGED_ACTION);
133
mIntentFilter
.addAction(WifiManager.ACTION_PICK_WIFI_NETWORK)
[
all
...]
/cts/tests/tests/content/src/android/content/cts/
IntentFilterTest.java
58
private IntentFilter
mIntentFilter
;
72
mIntentFilter
= new IntentFilter();
120
mIntentFilter
.addCategory(CATEGORY + i);
122
assertEquals(10,
mIntentFilter
.countCategories());
123
Iterator<String> iter =
mIntentFilter
.categoriesIterator();
129
assertEquals(CATEGORY + i,
mIntentFilter
.getCategory(i));
130
assertTrue(
mIntentFilter
.hasCategory(CATEGORY + i));
131
assertFalse(
mIntentFilter
.hasCategory(CATEGORY + i + 10));
220
mIntentFilter
.setPriority(expected);
221
assertEquals(expected,
mIntentFilter
.getPriority())
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
GoNegRespTestCase.java
32
private final IntentFilter
mIntentFilter
= new IntentFilter();
37
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION);
43
mContext.registerReceiver(mReceiver,
mIntentFilter
);
P2pBroadcastReceiverTest.java
39
private final IntentFilter
mIntentFilter
= new IntentFilter();
50
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION);
51
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION);
52
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION);
53
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION);
58
mContext.registerReceiver(this,
mIntentFilter
);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
ResponderTestActivity.java
65
private final IntentFilter
mIntentFilter
= new IntentFilter();
72
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION);
101
registerReceiver(mReceiver,
mIntentFilter
);
P2pTestListActivity.java
46
private final IntentFilter
mIntentFilter
= new IntentFilter();
53
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION);
114
registerReceiver(mReceiver,
mIntentFilter
);
/packages/apps/Settings/src/com/android/settings/nfc/
NfcEnabler.java
44
private final IntentFilter
mIntentFilter
;
71
mIntentFilter
= null;
77
mIntentFilter
= new IntentFilter(NfcAdapter.ACTION_ADAPTER_STATE_CHANGED);
85
mContext.registerReceiver(mReceiver,
mIntentFilter
);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
ConnectivityManagerTestBase.java
144
IntentFilter
mIntentFilter
= new IntentFilter();
145
mIntentFilter
.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION);
146
mIntentFilter
.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION);
147
mIntentFilter
.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION);
148
mIntentFilter
.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION);
149
mIntentFilter
.addAction(WifiManager.WIFI_AP_STATE_CHANGED_ACTION);
150
mIntentFilter
.addAction(ConnectivityManager.ACTION_TETHER_STATE_CHANGED);
151
mContext.registerReceiver(mWifiReceiver,
mIntentFilter
);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
WifiClientTest.java
93
IntentFilter
mIntentFilter
= new IntentFilter();
94
mIntentFilter
.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION);
95
mIntentFilter
.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION);
96
mIntentFilter
.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION);
97
mIntentFilter
.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION);
98
getContext().registerReceiver(mWifiStateListener,
mIntentFilter
);
/packages/apps/Settings/src/com/android/settings/wifi/
WifiApEnabler.java
42
private final IntentFilter
mIntentFilter
;
88
mIntentFilter
= new IntentFilter(WifiManager.WIFI_AP_STATE_CHANGED_ACTION);
89
mIntentFilter
.addAction(ConnectivityManager.ACTION_TETHER_STATE_CHANGED);
90
mIntentFilter
.addAction(Intent.ACTION_AIRPLANE_MODE_CHANGED);
94
mContext.registerReceiver(mReceiver,
mIntentFilter
);
WifiEnabler.java
54
private final IntentFilter
mIntentFilter
;
98
mIntentFilter
= new IntentFilter(WifiManager.WIFI_STATE_CHANGED_ACTION);
100
mIntentFilter
.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION);
101
mIntentFilter
.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION);
127
mContext.registerReceiver(mReceiver,
mIntentFilter
);
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEnabler.java
51
private final IntentFilter
mIntentFilter
;
93
mIntentFilter
= new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED);
118
mContext.registerReceiver(mReceiver,
mIntentFilter
);
BluetoothSettings.java
96
private final IntentFilter
mIntentFilter
;
132
mIntentFilter
= new IntentFilter(BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED);
202
getActivity().registerReceiver(mReceiver,
mIntentFilter
);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerService.java
151
IntentFilter
mIntentFilter
;
152
mIntentFilter
= new IntentFilter();
153
mIntentFilter
.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION);
154
mIntentFilter
.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION);
155
mIntentFilter
.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
157
registerReceiver(mNetwork,
mIntentFilter
);
/packages/apps/Messaging/src/com/android/messaging/util/
ConnectivityUtil.java
39
private final IntentFilter
mIntentFilter
;
51
mIntentFilter
= new IntentFilter();
52
mIntentFilter
.addAction(ConnectivityManager.CONNECTIVITY_ACTION);
99
mContext.registerReceiver(mReceiver,
mIntentFilter
);
/packages/apps/Settings/src/com/android/settings/
CryptKeeperSettings.java
55
private IntentFilter
mIntentFilter
;
104
mIntentFilter
= new IntentFilter();
105
mIntentFilter
.addAction(Intent.ACTION_BATTERY_CHANGED);
125
getActivity().registerReceiver(mIntentReceiver,
mIntentFilter
);
WifiCallingSettings.java
170
private IntentFilter
mIntentFilter
;
210
mIntentFilter
= new IntentFilter();
211
mIntentFilter
.addAction(ImsManager.ACTION_IMS_REGISTRATION_ERROR);
254
context.registerReceiver(mIntentReceiver,
mIntentFilter
);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/net/
ConnectivityScreenOffTestActivity.java
92
private final IntentFilter
mIntentFilter
;
111
mIntentFilter
= new IntentFilter();
112
mIntentFilter
.addAction(Intent.ACTION_SCREEN_ON);
113
mIntentFilter
.addAction(Intent.ACTION_SCREEN_OFF);
114
mIntentFilter
.addAction(Intent.ACTION_POWER_CONNECTED);
115
mIntentFilter
.addAction(Intent.ACTION_POWER_DISCONNECTED);
178
registerReceiver(mReceiver,
mIntentFilter
);
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
WifiP2pSettings.java
69
private final IntentFilter
mIntentFilter
= new IntentFilter();
161
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION);
162
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION);
163
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION);
164
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION);
165
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_DISCOVERY_CHANGED_ACTION);
166
mIntentFilter
.addAction(WifiP2pManager.WIFI_P2P_PERSISTENT_GROUPS_CHANGED_ACTION);
323
getActivity().registerReceiver(mReceiver,
mIntentFilter
);
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
ConnectionUtil.java
104
IntentFilter
mIntentFilter
= new IntentFilter();
105
mIntentFilter
.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION);
106
mIntentFilter
.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION);
107
mIntentFilter
.addAction(WifiManager.WIFI_STATE_CHANGED_ACTION);
108
mIntentFilter
.addAction(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION);
109
mIntentFilter
.addAction(WifiManager.WIFI_AP_STATE_CHANGED_ACTION);
110
mContext.registerReceiver(mWifiReceiver,
mIntentFilter
);
/development/apps/Development/src/com/android/development/
Connectivity.java
141
IntentFilter
mIntentFilter
;
449
mIntentFilter
= new IntentFilter();
450
mIntentFilter
.addAction(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION);
630
registerReceiver(mScanRecv,
mIntentFilter
);
Completed in 1025 milliseconds
1
2