OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mReceiver
(Results
1 - 25
of
116
) sorted by null
1
2
3
4
5
/frameworks/base/core/java/android/webkit/
JsResult.java
34
private final ResultReceiver
mReceiver
;
58
mReceiver
= receiver;
70
mReceiver
.onJsResultComplete(this);
/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());
/cts/tests/tests/admin/src/android/admin/cts/
DeviceAdminReceiverTest.java
38
private TestReceiver
mReceiver
;
44
mReceiver
= new TestReceiver();
54
mReceiver
.reset();
55
mReceiver
.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_CHANGED));
56
assertTrue(
mReceiver
.hasFlags(PASSWORD_CHANGED));
58
mReceiver
.reset();
59
mReceiver
.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_FAILED));
60
assertTrue(
mReceiver
.hasFlags(PASSWORD_FAILED));
62
mReceiver
.reset();
63
mReceiver
.onReceive(mContext, new Intent(DeviceAdminReceiver.ACTION_PASSWORD_SUCCEEDED))
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
BroadcastInterceptingContext.java
47
private final BroadcastReceiver
mReceiver
;
51
mReceiver
= receiver;
57
if (
mReceiver
!= null) {
59
mReceiver
.onReceive(context, intent);
116
if (receiver.equals(interceptor.
mReceiver
)) {
/sdk/dumpeventlog/src/com/android/dumpeventlog/
DumpEventLog.java
44
private LogReceiver
mReceiver
;
54
if (
mReceiver
!= null) {
55
mReceiver
.cancel();
66
mReceiver
= receiver;
/packages/apps/Settings/src/com/android/settings/
NsdEnabler.java
39
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
58
mContext.registerReceiver(
mReceiver
, mIntentFilter);
63
mContext.unregisterReceiver(
mReceiver
);
/frameworks/base/core/java/android/app/admin/
DeviceAdminInfo.java
211
final ResolveInfo
mReceiver
;
232
mReceiver
= receiver;
302
mReceiver
= ResolveInfo.CREATOR.createFromParcel(source);
310
return
mReceiver
.activityInfo.packageName;
318
return
mReceiver
.activityInfo.name;
326
return
mReceiver
.activityInfo;
333
return new ComponentName(
mReceiver
.activityInfo.packageName,
334
mReceiver
.activityInfo.name);
344
return
mReceiver
.loadLabel(pm);
354
if (
mReceiver
.activityInfo.descriptionRes != 0)
[
all
...]
/packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothEnabler.java
44
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
79
mContext.registerReceiver(
mReceiver
, mIntentFilter);
89
mContext.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/
WifiEnabler.java
47
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
81
mContext.registerReceiver(
mReceiver
, mIntentFilter);
86
mContext.unregisterReceiver(
mReceiver
);
WifiApEnabler.java
53
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
92
mContext.registerReceiver(
mReceiver
, mIntentFilter);
97
mContext.unregisterReceiver(
mReceiver
);
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/
ImsFrameworkApp.java
45
private final BroadcastReceiver
mReceiver
= new ImsFrameworkBroadcastReceiver();
61
registerReceiver(
mReceiver
, intentFilter);
71
Log.d(TAG, "
mReceiver
received action " + action);
73
Log.d(TAG, "
mReceiver
: ACTION_AIRPLANE_MODE_CHANGED");
76
Log.d(TAG, "
mReceiver
: ACTION_ANY_DATA_CONNECTION_STATE_CHANGED");
86
Log.d(TAG, "
mReceiver
: ACTION_SIM_STATE_CHANGED");
96
Log.d(TAG, "
mReceiver
: ACTION_RADIO_TECHNOLOGY_CHANGED");
99
Log.d(TAG, "
mReceiver
: ACTION_SERVICE_STATE_CHANGED");
/packages/services/Telephony/src/com/android/phone/
WiredHeadsetManager.java
43
//
mReceiver
.onReceive().
45
private final WiredHeadsetBroadcastReceiver
mReceiver
;
49
mReceiver
= new WiredHeadsetBroadcastReceiver();
53
context.registerReceiver(
mReceiver
, intentFilter);
99
if (VDBG) Log.d(LOG_TAG, "
mReceiver
: ACTION_HEADSET_PLUG");
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
RegisteredServicesCache.java
56
final AtomicReference<BroadcastReceiver>
mReceiver
;
113
mReceiver
= new AtomicReference<BroadcastReceiver>(receiver);
123
mContext.registerReceiverAsUser(
mReceiver
.get(), UserHandle.ALL, intentFilter, null, null);
129
mContext.registerReceiverAsUser(
mReceiver
.get(), UserHandle.ALL, sdFilter, null, null);
TapAgainDialog.java
49
final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
70
registerReceiver(
mReceiver
, filter);
103
unregisterReceiver(
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
);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
P2pTestListActivity.java
45
private final P2pBroadcastReceiver
mReceiver
= new P2pBroadcastReceiver();
114
registerReceiver(
mReceiver
, mIntentFilter);
120
unregisterReceiver(
mReceiver
);
ResponderTestActivity.java
64
private final P2pBroadcastReceiver
mReceiver
= new P2pBroadcastReceiver();
101
registerReceiver(
mReceiver
, mIntentFilter);
108
unregisterReceiver(
mReceiver
);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
GoNegRespTestCase.java
33
private WifiP2pBroadcastReceiver
mReceiver
;
38
mReceiver
= new WifiP2pBroadcastReceiver();
43
mContext.registerReceiver(
mReceiver
, mIntentFilter);
71
mContext.unregisterReceiver(
mReceiver
);
/cts/tests/tests/net/src/android/net/wifi/cts/
ConcurrencyTest.java
43
private final BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
75
mContext.registerReceiver(
mReceiver
, mIntentFilter);
95
mContext.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/av/include/media/
Visualizer.h
153
Visualizer&
mReceiver
;
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
BatteryWaster.java
120
registerReceiver(
mReceiver
, mFilter);
133
unregisterReceiver(
mReceiver
);
164
BroadcastReceiver
mReceiver
= new BroadcastReceiver() {
/frameworks/base/core/java/android/inputmethodservice/
IInputMethodSessionWrapper.java
58
ImeInputEventReceiver
mReceiver
;
67
mReceiver
= new ImeInputEventReceiver(channel, context.getMainLooper());
129
if (
mReceiver
!= null) {
130
mReceiver
.dispose();
131
mReceiver
= null;
Completed in 819 milliseconds
1
2
3
4
5