Home
last modified time | relevance | path

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

12

/packages/apps/Car/Settings/src/com/android/car/settings/datetime/
DTimePickerPreferenceController.java39 private final IntentFilter mIntentFilter; field in TimePickerPreferenceController
53 mIntentFilter = new IntentFilter(); in TimePickerPreferenceController()
54 mIntentFilter.addAction(Intent.ACTION_TIME_CHANGED); in TimePickerPreferenceController()
55 mIntentFilter.addAction(Intent.ACTION_TIME_TICK); in TimePickerPreferenceController()
56 mIntentFilter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in TimePickerPreferenceController()
67 getContext().registerReceiver(mTimeChangeReceiver, mIntentFilter); in onStartInternal()
DDatePickerPreferenceController.java39 private final IntentFilter mIntentFilter; field in DatePickerPreferenceController
52 mIntentFilter = new IntentFilter(); in DatePickerPreferenceController()
53 mIntentFilter.addAction(Intent.ACTION_TIME_CHANGED); in DatePickerPreferenceController()
54 mIntentFilter.addAction(Intent.ACTION_TIME_TICK); in DatePickerPreferenceController()
55 mIntentFilter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in DatePickerPreferenceController()
66 getContext().registerReceiver(mTimeChangeReceiver, mIntentFilter); in onStartInternal()
DTimeZonePickerPreferenceController.java39 private final IntentFilter mIntentFilter; field in TimeZonePickerPreferenceController
54 mIntentFilter = new IntentFilter(); in TimeZonePickerPreferenceController()
55 mIntentFilter.addAction(Intent.ACTION_TIME_CHANGED); in TimeZonePickerPreferenceController()
56 mIntentFilter.addAction(Intent.ACTION_TIMEZONE_CHANGED); in TimeZonePickerPreferenceController()
67 getContext().registerReceiver(mTimeChangeReceiver, mIntentFilter); in onStartInternal()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultPackageStatusNotifier.java65 private final Intent mIntentFilter; field in DefaultPackageStatusNotifier.ListenerWrapper
70 mIntentFilter = new Intent(action); in ListenerWrapper()
75 mIntentFilter.setPackage(packageName); in isValidPackage()
77 return !pm.queryIntentServices(mIntentFilter, 0).isEmpty() in isValidPackage()
78 || !pm.queryIntentActivities(mIntentFilter, 0).isEmpty(); in isValidPackage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DWorkModePreferenceController.java45 private IntentFilter mIntentFilter; field in WorkModePreferenceController
50 mIntentFilter = new IntentFilter(); in WorkModePreferenceController()
51 mIntentFilter.addAction(Intent.ACTION_MANAGED_PROFILE_AVAILABLE); in WorkModePreferenceController()
52 mIntentFilter.addAction(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE); in WorkModePreferenceController()
61 mContext.registerReceiver(mReceiver, mIntentFilter); in onStart()
/packages/apps/Settings/src/com/android/settings/accounts/
DWorkModePreferenceController.java45 private IntentFilter mIntentFilter; field in WorkModePreferenceController
50 mIntentFilter = new IntentFilter(); in WorkModePreferenceController()
51 mIntentFilter.addAction(Intent.ACTION_MANAGED_PROFILE_AVAILABLE); in WorkModePreferenceController()
52 mIntentFilter.addAction(Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE); in WorkModePreferenceController()
61 mContext.registerReceiver(mReceiver, mIntentFilter); in onStart()
/packages/apps/Settings/src/com/android/settings/nfc/
DBaseNfcEnabler.java32 private final IntentFilter mIntentFilter; field in BaseNfcEnabler
51 mIntentFilter = null; in BaseNfcEnabler()
54 mIntentFilter = new IntentFilter(NfcAdapter.ACTION_ADAPTER_STATE_CHANGED); in BaseNfcEnabler()
62 mContext.registerReceiver(mReceiver, mIntentFilter); in resume()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/nfc/
DBaseNfcEnabler.java32 private final IntentFilter mIntentFilter; field in BaseNfcEnabler
51 mIntentFilter = null; in BaseNfcEnabler()
54 mIntentFilter = new IntentFilter(NfcAdapter.ACTION_ADAPTER_STATE_CHANGED); in BaseNfcEnabler()
62 mContext.registerReceiver(mReceiver, mIntentFilter); in resume()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DAlwaysDiscoverable.java37 private IntentFilter mIntentFilter; field in AlwaysDiscoverable
45 mIntentFilter = new IntentFilter(); in AlwaysDiscoverable()
46 mIntentFilter.addAction(BluetoothAdapter.ACTION_SCAN_MODE_CHANGED); in AlwaysDiscoverable()
55 mContext.registerReceiver(this, mIntentFilter); in start()
DBluetoothEnabler.java47 private final IntentFilter mIntentFilter; field in BluetoothEnabler
86 mIntentFilter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED); in BluetoothEnabler()
116 mContext.registerReceiver(mReceiver, mIntentFilter); in resume()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DAlwaysDiscoverable.java37 private IntentFilter mIntentFilter; field in AlwaysDiscoverable
45 mIntentFilter = new IntentFilter(); in AlwaysDiscoverable()
46 mIntentFilter.addAction(BluetoothAdapter.ACTION_SCAN_MODE_CHANGED); in AlwaysDiscoverable()
55 mContext.registerReceiver(this, mIntentFilter); in start()
DBluetoothEnabler.java47 private final IntentFilter mIntentFilter; field in BluetoothEnabler
86 mIntentFilter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED); in BluetoothEnabler()
116 mContext.registerReceiver(mReceiver, mIntentFilter); in resume()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEnabler.java58 private final IntentFilter mIntentFilter; field in WifiEnabler
99 mIntentFilter = new IntentFilter(WifiManager.WIFI_STATE_CHANGED_ACTION); in WifiEnabler()
101 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in WifiEnabler()
102 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in WifiEnabler()
128 mContext.registerReceiver(mReceiver, mIntentFilter); in resume()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiEnabler.java58 private final IntentFilter mIntentFilter; field in WifiEnabler
99 mIntentFilter = new IntentFilter(WifiManager.WIFI_STATE_CHANGED_ACTION); in WifiEnabler()
101 mIntentFilter.addAction(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION); in WifiEnabler()
102 mIntentFilter.addAction(WifiManager.NETWORK_STATE_CHANGED_ACTION); in WifiEnabler()
128 mContext.registerReceiver(mReceiver, mIntentFilter); in resume()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/p2p/
DWifiP2pSettings.java72 private final IntentFilter mIntentFilter = new IntentFilter(); field in WifiP2pSettings
332 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in onResume()
333 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in onResume()
334 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in onResume()
335 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in onResume()
336 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_DISCOVERY_CHANGED_ACTION); in onResume()
337 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_PERSISTENT_GROUPS_CHANGED_ACTION); in onResume()
340 getActivity().registerReceiver(mReceiver, mIntentFilter); in onResume()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java73 private final IntentFilter mIntentFilter = new IntentFilter(); field in WifiP2pSettings
335 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in onResume()
336 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in onResume()
337 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in onResume()
338 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION); in onResume()
339 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_DISCOVERY_CHANGED_ACTION); in onResume()
340 mIntentFilter.addAction(WifiP2pManager.WIFI_P2P_PERSISTENT_GROUPS_CHANGED_ACTION); in onResume()
343 getActivity().registerReceiver(mReceiver, mIntentFilter); in onResume()
/packages/apps/Messaging/src/com/android/messaging/util/
DConnectivityUtil.java39 private final IntentFilter mIntentFilter; field in ConnectivityUtil
51 mIntentFilter = new IntentFilter(); in ConnectivityUtil()
52 mIntentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); in ConnectivityUtil()
99 mContext.registerReceiver(mReceiver, mIntentFilter); in register()
/packages/apps/Car/Dialer/src/com/android/car/dialer/livedata/
DBluetoothHfpStateLiveData.java45 private final IntentFilter mIntentFilter = new IntentFilter(); field in BluetoothHfpStateLiveData
57 mIntentFilter.addAction(BluetoothHeadsetClient.ACTION_CONNECTION_STATE_CHANGED); in BluetoothHfpStateLiveData()
64 mContext.registerReceiver(mBluetoothStateReceiver, mIntentFilter); in onActive()
DBluetoothPairListLiveData.java42 private final IntentFilter mIntentFilter = new IntentFilter(); field in BluetoothPairListLiveData
55 mIntentFilter.addAction(BluetoothDevice.ACTION_BOND_STATE_CHANGED); in BluetoothPairListLiveData()
62 mContext.registerReceiver(mBluetoothPairListReceiver, mIntentFilter); in onActive()
DBluetoothStateLiveData.java52 private final IntentFilter mIntentFilter = new IntentFilter(); field in BluetoothStateLiveData
64 mIntentFilter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); in BluetoothStateLiveData()
71 mContext.registerReceiver(mBluetoothStateReceiver, mIntentFilter); in onActive()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DAddDevicePreferenceController.java48 private IntentFilter mIntentFilter; field in AddDevicePreferenceController
53 mIntentFilter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED); in AddDevicePreferenceController()
59 mContext.registerReceiver(mReceiver, mIntentFilter); in onStart()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/
DAddDevicePreferenceController.java48 private IntentFilter mIntentFilter; field in AddDevicePreferenceController
53 mIntentFilter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED); in AddDevicePreferenceController()
59 mContext.registerReceiver(mReceiver, mIntentFilter); in onStart()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DCryptKeeperSettings.java62 private IntentFilter mIntentFilter; field in CryptKeeperSettings
111 mIntentFilter = new IntentFilter(); in onCreateView()
112 mIntentFilter.addAction(Intent.ACTION_BATTERY_CHANGED); in onCreateView()
132 getActivity().registerReceiver(mIntentReceiver, mIntentFilter); in onResume()
/packages/apps/Settings/src/com/android/settings/security/
DCryptKeeperSettings.java62 private IntentFilter mIntentFilter; field in CryptKeeperSettings
111 mIntentFilter = new IntentFilter(); in onCreateView()
112 mIntentFilter.addAction(Intent.ACTION_BATTERY_CHANGED); in onCreateView()
132 getActivity().registerReceiver(mIntentReceiver, mIntentFilter); in onResume()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowLocalBroadcastManager.java105 private final IntentFilter mIntentFilter; field in ShadowLocalBroadcastManager.Wrapper
109 this.mIntentFilter = intentFilter; in Wrapper()
117 return mIntentFilter; in getIntentFilter()

12