OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mBroadcastReceiver
(Results
1 - 25
of
60
) sorted by null
1
2
3
/cts/hostsidetests/services/activitymanager/app/src/android/server/app/
BroadcastReceiverActivity.java
33
private TestBroadcastReceiver
mBroadcastReceiver
= new TestBroadcastReceiver();
41
registerReceiver(
mBroadcastReceiver
, broadcastFilter);
48
unregisterReceiver(
mBroadcastReceiver
);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiNotificationControllerTest.java
66
BroadcastReceiver
mBroadcastReceiver
;
91
mBroadcastReceiver
= broadcastReceiverCaptor.getValue();
105
TestUtil.sendWifiStateChanged(
mBroadcastReceiver
, mContext, WifiManager.WIFI_STATE_ENABLED);
106
TestUtil.sendNetworkStateChanged(
mBroadcastReceiver
, mContext,
111
TestUtil.sendScanResultsAvailable(
mBroadcastReceiver
, mContext);
112
TestUtil.sendScanResultsAvailable(
mBroadcastReceiver
, mContext);
118
TestUtil.sendNetworkStateChanged(
mBroadcastReceiver
, mContext,
120
TestUtil.sendNetworkStateChanged(
mBroadcastReceiver
, mContext,
127
TestUtil.sendScanResultsAvailable(
mBroadcastReceiver
, mContext);
135
TestUtil.sendNetworkStateChanged(
mBroadcastReceiver
, mContext
[
all
...]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
NetworkMonitor.java
73
context.registerReceiver(
mBroadcastReceiver
, filter);
88
mContext.unregisterReceiver(
mBroadcastReceiver
);
93
public final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
SensorTestScreenManipulator.java
68
private InternalBroadcastReceiver
mBroadcastReceiver
;
107
if (
mBroadcastReceiver
== null) {
108
mBroadcastReceiver
= new InternalBroadcastReceiver();
111
mActivity.registerReceiver(
mBroadcastReceiver
, intentFilter);
120
if (
mBroadcastReceiver
!= null) {
121
mActivity.unregisterReceiver(
mBroadcastReceiver
);
122
mBroadcastReceiver
= null;
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/
MainInteractionService.java
42
private BroadcastReceiver
mBroadcastReceiver
, mResumeReceiver;
67
if (
mBroadcastReceiver
== null) {
68
mBroadcastReceiver
= new MainInteractionServiceBroadcastReceiver();
71
registerReceiver(
mBroadcastReceiver
, filter);
149
if (
mBroadcastReceiver
!= null) {
150
unregisterReceiver(
mBroadcastReceiver
);
/packages/services/Telecomm/src/com/android/server/telecom/
SystemStateProvider.java
39
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
66
mContext.registerReceiver(
mBroadcastReceiver
, intentFilter);
/packages/apps/Nfc/src/com/android/nfc/
ConfirmConnectToWifiNetworkActivity.java
49
registerReceiver(
mBroadcastReceiver
, intentFilter);
123
ConfirmConnectToWifiNetworkActivity.this.unregisterReceiver(
mBroadcastReceiver
);
127
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
/frameworks/base/services/core/java/com/android/server/
EntropyMixer.java
86
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
118
context.registerReceiver(
mBroadcastReceiver
, broadcastFilter);
/frameworks/base/services/core/java/com/android/server/job/controllers/
DeviceIdleJobsController.java
79
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
109
mBroadcastReceiver
, UserHandle.ALL, filter, null, null);
/packages/apps/Stk/src/com/android/stk/
StkDialogActivity.java
89
mContext.registerReceiver(
mBroadcastReceiver
, intentFilter);
236
if (
mBroadcastReceiver
!= null) {
237
unregisterReceiver(
mBroadcastReceiver
);
347
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
BasePackageInstallTest.java
63
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
104
mContext.unregisterReceiver(
mBroadcastReceiver
);
178
mContext.registerReceiver(
mBroadcastReceiver
, intentFilter);
/developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
CalendarWatchFaceService.java
107
private BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
212
registerReceiver(
mBroadcastReceiver
, filter);
219
unregisterReceiver(
mBroadcastReceiver
);
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionListFragment.java
92
mBroadcastReceiver
, UtilityService.getLocationUpdatedIntentFilter());
98
LocalBroadcastManager.getInstance(getActivity()).unregisterReceiver(
mBroadcastReceiver
);
101
private BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
/developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
CalendarWatchFaceService.java
107
private BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
212
registerReceiver(
mBroadcastReceiver
, filter);
219
unregisterReceiver(
mBroadcastReceiver
);
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
AttractionListFragment.java
92
mBroadcastReceiver
, UtilityService.getLocationUpdatedIntentFilter());
98
LocalBroadcastManager.getInstance(getActivity()).unregisterReceiver(
mBroadcastReceiver
);
101
private BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
CalendarWatchFaceService.java
107
private BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
212
registerReceiver(
mBroadcastReceiver
, filter);
219
unregisterReceiver(
mBroadcastReceiver
);
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
AttractionListFragment.java
92
mBroadcastReceiver
, UtilityService.getLocationUpdatedIntentFilter());
98
LocalBroadcastManager.getInstance(getActivity()).unregisterReceiver(
mBroadcastReceiver
);
101
private BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
BluetoothEventManager.java
109
mContext.registerReceiver(
mBroadcastReceiver
, mAdapterIntentFilter, null, mReceiverHandler);
113
mContext.registerReceiver(
mBroadcastReceiver
, mProfileIntentFilter, null, mReceiverHandler);
117
mContext.unregisterReceiver(
mBroadcastReceiver
);
119
mContext.registerReceiver(
mBroadcastReceiver
, mAdapterIntentFilter, null, mReceiverHandler);
137
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
BluetoothAccessoryFragment.java
85
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
172
getActivity().registerReceiver(
mBroadcastReceiver
, adapterIntentFilter);
197
getActivity().unregisterReceiver(
mBroadcastReceiver
);
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
Listener.java
119
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
252
LocalBroadcastManager.getInstance(this).registerReceiver(
mBroadcastReceiver
, intentFilter);
261
LocalBroadcastManager.getInstance(this).unregisterReceiver(
mBroadcastReceiver
);
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
ClockBackService.java
272
private BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
349
if (
mBroadcastReceiver
!= null) {
350
unregisterReceiver(
mBroadcastReceiver
);
369
registerReceiver(
mBroadcastReceiver
, filter, null, null);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsBroadcastUndelivered.java
80
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
135
context.registerReceiver(
mBroadcastReceiver
, userFilter);
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DozeService.java
296
mContext.registerReceiver(
mBroadcastReceiver
, filter);
300
mContext.unregisterReceiver(
mBroadcastReceiver
);
334
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
/frameworks/base/services/core/java/com/android/server/trust/
TrustAgentWrapper.java
96
private final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
288
mContext.registerReceiver(
mBroadcastReceiver
, alarmFilter, PERMISSION, null);
422
mContext.unregisterReceiver(
mBroadcastReceiver
);
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
VoiceInteractionManagerServiceImpl.java
75
final BroadcastReceiver
mBroadcastReceiver
= new BroadcastReceiver() {
147
mContext.registerReceiver(
mBroadcastReceiver
, filter, null, handler);
343
mContext.unregisterReceiver(
mBroadcastReceiver
);
Completed in 1423 milliseconds
1
2
3