Home
last modified time | relevance | path

Searched refs:mReceiver (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/java/android/os/
DResultReceiver.java31 IResultReceiver mReceiver; field in ResultReceiver
84 if (mReceiver != null) { in send()
86 mReceiver.send(resultCode, resultData); in send()
108 if (mReceiver == null) { in writeToParcel()
109 mReceiver = new MyResultReceiver(); in writeToParcel()
111 out.writeStrongBinder(mReceiver.asBinder()); in writeToParcel()
118 mReceiver = IResultReceiver.Stub.asInterface(in.readStrongBinder()); in ResultReceiver()
/frameworks/base/core/java/android/net/
DNetworkConnectivityListener.java56 private ConnectivityBroadcastReceiver mReceiver; field in NetworkConnectivityListener
125 mReceiver = new ConnectivityBroadcastReceiver(); in NetworkConnectivityListener()
138 context.registerReceiver(mReceiver, filter); in startListening()
148 mContext.unregisterReceiver(mReceiver); in stopListening()
/frameworks/base/core/java/com/android/internal/service/wallpaper/
DImageWallpaper.java63 private WallpaperObserver mReceiver; field in ImageWallpaper.DrawableEngine
82 mReceiver = new WallpaperObserver(); in onCreate()
83 registerReceiver(mReceiver, filter); in onCreate()
91 unregisterReceiver(mReceiver); in onDestroy()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java70 private final AtomicReference<BroadcastReceiver> mReceiver; field in RegisteredServicesCache
111 mReceiver = new AtomicReference<BroadcastReceiver>(receiver); in RegisteredServicesCache()
215 final BroadcastReceiver receiver = mReceiver.getAndSet(null); in close()
223 if (mReceiver.get() != null) { in finalize()
/frameworks/base/services/java/com/android/server/
DLocationManagerService.java682 if (!record.mReceiver.callProviderEnabledLocked(provider, enabled)) { in updateProviderListenersLocked()
686 deadReceivers.add(record.mReceiver); in updateProviderListenersLocked()
723 final Receiver mReceiver; field in LocationManagerService.UpdateRecord
736 mReceiver = receiver; in UpdateRecord()
766 + " " + mProvider + " " + mReceiver + "}"; in toString()
771 pw.println(prefix + "mProvider=" + mProvider + " mReceiver=" + mReceiver); in dump()
813 if (record.mUid == uid && record.mReceiver != excludedReceiver) { in providerHasListener()
1474 Receiver receiver = r.mReceiver; in handleLocationChangedLocked()
1563 if (ur.mReceiver.isPendingIntent() && ur.mUid == uid) {
1567 if (!removedRecs.contains(ur.mReceiver)) {
[all …]
DWifiWatchdogService.java254 mContext.registerReceiver(mReceiver, intentFilter); in registerForWifiBroadcasts()
261 mContext.unregisterReceiver(mReceiver); in unregisterForWifiBroadcasts()
1098 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in WifiWatchdogService
DWifiService.java348 mContext.unregisterReceiver(mReceiver); in setWifiEnabledBlocking()
1298 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in WifiService
1490 mContext.registerReceiver(mReceiver, intentFilter); in registerForBroadcasts()
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/activity/
DBroadcastTest.java179 getContext().registerReceiver(mReceiver, filter, permission, null); in registerMyReceiver()
191 getContext().unregisterReceiver(mReceiver); in unregisterMyReceiverNoCheck()
224 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BroadcastTest
DLaunchpadActivity.java469 registerReceiver(mReceiver, filter); in registerMyReceiver()
476 unregisterReceiver(mReceiver); in unregisterMyReceiver()
581 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in LaunchpadActivity
/frameworks/base/include/media/
DAudioRecord.h312 AudioRecord& mReceiver; variable
DAudioTrack.h389 AudioTrack& mReceiver; variable
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java142 final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in WallpaperService.Engine
576 registerReceiver(mReceiver, filter); in attach()
691 unregisterReceiver(mReceiver); in detach()
/frameworks/base/media/libmedia/
DAudioRecord.cpp646 : Thread(bCanCallJava), mReceiver(receiver) in ClientRecordThread()
652 return mReceiver.processAudioBuffer(this); in threadLoop()
DAudioTrack.cpp959 : Thread(bCanCallJava), mReceiver(receiver) in AudioTrackThread()
965 return mReceiver.processAudioBuffer(this); in threadLoop()
/frameworks/base/core/java/android/server/
DBluetoothA2dpService.java77 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothA2dpService
147 mContext.registerReceiver(mReceiver, mIntentFilter); in BluetoothA2dpService()
DBluetoothService.java164 mContext.unregisterReceiver(mReceiver); in finalize()
1425 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothService
1453 mContext.registerReceiver(mReceiver, mIntentFilter); in registerForAirplaneMode()
/frameworks/base/core/java/android/app/
DActivityThread.java699 final BroadcastReceiver mReceiver; field in ActivityThread.PackageInfo.ReceiverDispatcher
716 BroadcastReceiver receiver = mReceiver; in run()
720 + " to " + mReceiver); in run()
730 ClassLoader cl = mReceiver.getClass().getClassLoader(); in run()
750 !mInstrumentation.onException(mReceiver, e)) { in run()
753 + " in " + mReceiver, e); in run()
777 mReceiver = receiver; in ReceiverDispatcher()
789 "Receiver " + mReceiver + in validate()
795 "Receiver " + mReceiver + in validate()
806 return mReceiver; in getIntentReceiver()
[all …]
/frameworks/base/media/java/android/media/
DAudioService.java223 private final BroadcastReceiver mReceiver = new AudioServiceBroadcastReceiver(); field in AudioService
261 context.registerReceiver(mReceiver, intentFilter); in AudioService()
/frameworks/base/telephony/java/com/android/internal/telephony/
DRIL.java219 RILReceiver mReceiver; field in RIL
616 mReceiver = new RILReceiver(); in RIL()
617 mReceiverThread = new Thread(mReceiver, "RILReceiver"); in RIL()