OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mReceiver
(Results
1 - 25
of
89
) sorted by null
1
2
3
4
/cts/tests/tests/admin/src/android/admin/cts/
DeviceAdminReceiverTest.java
35
private TestReceiver
mReceiver
;
40
mReceiver
= new TestReceiver();
44
mReceiver
.reset();
45
mReceiver
.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_CHANGED));
46
assertTrue(
mReceiver
.hasFlags(PASSWORD_CHANGED));
48
mReceiver
.reset();
49
mReceiver
.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_FAILED));
50
assertTrue(
mReceiver
.hasFlags(PASSWORD_FAILED));
52
mReceiver
.reset();
53
mReceiver
.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_SUCCEEDED))
[
all
...]
/frameworks/base/core/java/android/os/
ResultReceiver.java
31
IResultReceiver
mReceiver
;
84
if (
mReceiver
!= null) {
86
mReceiver
.send(resultCode, resultData);
108
if (
mReceiver
== null) {
109
mReceiver
= new MyResultReceiver();
111
out.writeStrongBinder(
mReceiver
.asBinder());
118
mReceiver
= IResultReceiver.Stub.asInterface(in.readStrongBinder());
/frameworks/base/core/java/android/app/admin/
DeviceAdminInfo.java
199
final ResolveInfo
mReceiver
;
220
mReceiver
= receiver;
290
mReceiver
= ResolveInfo.CREATOR.createFromParcel(source);
298
return
mReceiver
.activityInfo.packageName;
306
return
mReceiver
.activityInfo.name;
314
return
mReceiver
.activityInfo;
321
return new ComponentName(
mReceiver
.activityInfo.packageName,
322
mReceiver
.activityInfo.name);
332
return
mReceiver
.loadLabel(pm);
342
if (
mReceiver
.activityInfo.descriptionRes != 0)
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
BroadcastInterceptingContext.java
46
private final BroadcastReceiver
mReceiver
;
50
mReceiver
= receiver;
56
if (
mReceiver
!= null) {
58
mReceiver
.onReceive(context, intent);
115
if (receiver.equals(interceptor.
mReceiver
)) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/
ScreenLockTestActivity.java
38
private ScreenOffReceiver
mReceiver
;
66
mReceiver
= new ScreenOffReceiver();
69
registerReceiver(
mReceiver
, filter);
98
unregisterReceiver(
mReceiver
);
/frameworks/ex/common/java/com/android/common/
NetworkConnectivityListener.java
60
private ConnectivityBroadcastReceiver
mReceiver
;
129
mReceiver
= new ConnectivityBroadcastReceiver();
142
context.registerReceiver(
mReceiver
, filter);
152
mContext.unregisterReceiver(
mReceiver
);
/sdk/dumpeventlog/src/com/android/dumpeventlog/
DumpEventLog.java
44
private LogReceiver
mReceiver
;
54
if (
mReceiver
!= null) {
55
mReceiver
.cancel();
66
mReceiver
= receiver;
/cts/tests/tests/net/src/android/net/wifi/cts/
ScanResultTest.java
52
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
79
mContext.registerReceiver(
mReceiver
, mIntentFilter);
94
mContext.unregisterReceiver(
mReceiver
);
WifiInfoTest.java
53
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
73
mContext.registerReceiver(
mReceiver
, mIntentFilter);
88
mContext.unregisterReceiver(
mReceiver
);
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEnabler.java
44
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
76
mContext.registerReceiver(
mReceiver
, mIntentFilter);
85
mContext.unregisterReceiver(
mReceiver
);
BluetoothNameDialogFragment.java
64
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
147
getActivity().registerReceiver(
mReceiver
, filter);
153
getActivity().unregisterReceiver(
mReceiver
);
/packages/apps/Settings/src/com/android/settings/nfc/
NfcEnabler.java
42
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
75
mContext.registerReceiver(
mReceiver
, mIntentFilter);
83
mContext.unregisterReceiver(
mReceiver
);
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
WifiP2pEnabler.java
44
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
78
mContext.registerReceiver(
mReceiver
, mIntentFilter);
84
mContext.unregisterReceiver(
mReceiver
);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BluetoothToggleActivity.java
48
private BluetoothBroadcastReceiver
mReceiver
;
64
mReceiver
= new BluetoothBroadcastReceiver();
66
registerReceiver(
mReceiver
, filter);
154
unregisterReceiver(
mReceiver
);
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/
DeviceListActivity.java
96
this.registerReceiver(
mReceiver
, filter);
100
this.registerReceiver(
mReceiver
, filter);
130
this.unregisterReceiver(
mReceiver
);
177
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
/development/samples/Support4Demos/src/com/example/android/supportv4/content/
LocalServiceBroadcaster.java
48
BroadcastReceiver
mReceiver
;
70
mReceiver
= new BroadcastReceiver() {
82
mLocalBroadcastManager.registerReceiver(
mReceiver
, filter);
94
mLocalBroadcastManager.unregisterReceiver(
mReceiver
);
/frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerStressTest.java
62
if (
mReceiver
!= null) {
63
mContext.unregisterReceiver(
mReceiver
);
64
mReceiver
= null;
111
assertEquals(NUM_FILES,
mReceiver
.numDownloadsCompleted());
DownloadManagerFunctionalTest.java
63
if (
mReceiver
!= null) {
64
mContext.unregisterReceiver(
mReceiver
);
65
mReceiver
= null;
211
assertEquals(1,
mReceiver
.numDownloadsCompleted());
258
Set<Long> ids =
mReceiver
.getDownloadIds();
379
assertEquals(1,
mReceiver
.numDownloadsCompleted());
424
assertEquals(1,
mReceiver
.numDownloadsCompleted());
/packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageMeasurement.java
93
private volatile WeakReference<MeasurementReceiver>
mReceiver
;
150
if (
mReceiver
== null ||
mReceiver
.get() == null) {
151
mReceiver
= new WeakReference<MeasurementReceiver>(receiver);
162
mReceiver
= null;
172
MeasurementReceiver receiver = (
mReceiver
!= null) ?
mReceiver
.get() : null;
185
MeasurementReceiver receiver = (
mReceiver
!= null) ?
mReceiver
.get() : null;
/frameworks/base/core/java/android/widget/
AdapterViewFlipper.java
77
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
99
getContext().registerReceiver(
mReceiver
, filter);
112
getContext().unregisterReceiver(
mReceiver
);
ViewFlipper.java
69
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
91
getContext().registerReceiver(
mReceiver
, filter);
104
getContext().unregisterReceiver(
mReceiver
);
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
BatteryWaster.java
120
registerReceiver(
mReceiver
, mFilter);
133
unregisterReceiver(
mReceiver
);
164
BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
/packages/apps/Settings/src/com/android/settings/
DockSettings.java
44
private BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
66
getActivity().registerReceiver(
mReceiver
, filter);
73
getActivity().unregisterReceiver(
mReceiver
);
/packages/apps/Settings/src/com/android/settings/wifi/
WifiEnabler.java
45
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
79
mContext.registerReceiver(
mReceiver
, mIntentFilter);
84
mContext.unregisterReceiver(
mReceiver
);
/packages/apps/Settings/tests/src/com/android/settings/tests/
BluetoothRequestPermissionTest.java
94
registerReceiver(
mReceiver
, filter);
130
unregisterReceiver(
mReceiver
);
138
private BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
Completed in 506 milliseconds
1
2
3
4