/frameworks/base/core/java/android/os/ |
D | ResultReceiver.java | 31 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/app/admin/ |
D | DeviceAdminInfo.java | 199 final ResolveInfo mReceiver; field in DeviceAdminInfo 220 mReceiver = receiver; in DeviceAdminInfo() 290 mReceiver = ResolveInfo.CREATOR.createFromParcel(source); in DeviceAdminInfo() 298 return mReceiver.activityInfo.packageName; in getPackageName() 306 return mReceiver.activityInfo.name; in getReceiverName() 314 return mReceiver.activityInfo; in getActivityInfo() 321 return new ComponentName(mReceiver.activityInfo.packageName, in getComponent() 322 mReceiver.activityInfo.name); in getComponent() 332 return mReceiver.loadLabel(pm); in loadLabel() 342 if (mReceiver.activityInfo.descriptionRes != 0) { in loadDescription() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | BroadcastInterceptingContext.java | 46 private final BroadcastReceiver mReceiver; field in BroadcastInterceptingContext.BroadcastInterceptor 50 mReceiver = receiver; in BroadcastInterceptor() 56 if (mReceiver != null) { in dispatchBroadcast() 58 mReceiver.onReceive(context, intent); in dispatchBroadcast() 115 if (receiver.equals(interceptor.mReceiver)) { in unregisterReceiver()
|
/frameworks/ex/common/java/com/android/common/ |
D | NetworkConnectivityListener.java | 60 private ConnectivityBroadcastReceiver mReceiver; field in NetworkConnectivityListener 129 mReceiver = new ConnectivityBroadcastReceiver(); in NetworkConnectivityListener() 142 context.registerReceiver(mReceiver, filter); in startListening() 152 mContext.unregisterReceiver(mReceiver); in stopListening()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 63 if (mReceiver != null) { in tearDown() 64 mContext.unregisterReceiver(mReceiver); in tearDown() 65 mReceiver = null; in tearDown() 211 assertEquals(1, mReceiver.numDownloadsCompleted()); in testDownloadToExternal() 258 Set<Long> ids = mReceiver.getDownloadIds(); in testGetDownloadIdOnNotification() 379 assertEquals(1, mReceiver.numDownloadsCompleted()); in testDownloadNoWifi() 424 assertEquals(1, mReceiver.numDownloadsCompleted()); in testServerDropConnection_body()
|
D | DownloadManagerStressTest.java | 62 if (mReceiver != null) { in tearDown() 63 mContext.unregisterReceiver(mReceiver); in tearDown() 64 mReceiver = null; in tearDown() 111 assertEquals(NUM_FILES, mReceiver.numDownloadsCompleted()); in testMultipleDownloads()
|
D | DownloadManagerBaseTest.java | 65 protected MultipleDownloadsCompletedReceiver mReceiver = null; field in DownloadManagerBaseTest 240 mReceiver = registerNewMultipleDownloadsReceiver(); in setUp() 846 int count = mReceiver.numDownloadsCompleted(); in waitForReceiverNotifications() 854 count = mReceiver.numDownloadsCompleted(); in waitForReceiverNotifications() 1035 assertEquals(1, mReceiver.numDownloadsCompleted()); in doBasicDownload()
|
/frameworks/base/core/java/android/widget/ |
D | ViewFlipper.java | 69 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in ViewFlipper 91 getContext().registerReceiver(mReceiver, filter); in onAttachedToWindow() 104 getContext().unregisterReceiver(mReceiver); in onDetachedFromWindow()
|
D | AdapterViewFlipper.java | 77 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in AdapterViewFlipper 99 getContext().registerReceiver(mReceiver, filter); in onAttachedToWindow() 112 getContext().unregisterReceiver(mReceiver); in onDetachedFromWindow()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 650 + " to " + (rd != null ? rd.mReceiver : null)); in performReceive() 676 final BroadcastReceiver mReceiver; field in LoadedApk.ReceiverDispatcher 699 final BroadcastReceiver receiver = mReceiver; in run() 705 + " seq=" + seq + " to " + mReceiver); in run() 717 "Finishing null broadcast to " + mReceiver); in run() 724 ClassLoader cl = mReceiver.getClass().getClassLoader(); in run() 732 "Finishing failed broadcast to " + mReceiver); in run() 736 !mInstrumentation.onException(mReceiver, e)) { in run() 739 + " in " + mReceiver, e); in run() 757 mReceiver = receiver; in ReceiverDispatcher() [all …]
|
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/ |
D | BatteryWaster.java | 120 registerReceiver(mReceiver, mFilter); in startRunning() 133 unregisterReceiver(mReceiver); in stopRunning() 164 BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BatteryWaster
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 72 private final AtomicReference<BroadcastReceiver> mReceiver; field in RegisteredServicesCache 113 mReceiver = new AtomicReference<BroadcastReceiver>(receiver); in RegisteredServicesCache() 223 final BroadcastReceiver receiver = mReceiver.getAndSet(null); in close() 231 if (mReceiver.get() != null) { in finalize()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/ |
D | DownloadManagerBaseTest.java | 70 protected MultipleDownloadsCompletedReceiver mReceiver = null; field in DownloadManagerBaseTest 245 mReceiver = registerNewMultipleDownloadsReceiver(); in setUp() 678 int count = mReceiver.numDownloadsCompleted(); in waitForReceiverNotifications() 686 count = mReceiver.numDownloadsCompleted(); in waitForReceiverNotifications()
|
/frameworks/base/media/libmedia/ |
D | Visualizer.cpp | 300 : Thread(bCanCallJava), mReceiver(receiver) in CaptureThread() 312 mReceiver.periodicCapture(); in threadLoop()
|
/frameworks/base/include/media/ |
D | Visualizer.h | 137 Visualizer& mReceiver; variable
|
D | AudioRecord.h | 345 AudioRecord& mReceiver; variable
|
D | AudioTrack.h | 434 AudioTrack& mReceiver; variable
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | BroadcastTest.java | 179 getContext().registerReceiver(mReceiver, filter, permission, null); in registerMyReceiver() 191 getContext().unregisterReceiver(mReceiver); in unregisterMyReceiverNoCheck() 224 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BroadcastTest
|
D | LaunchpadActivity.java | 469 registerReceiver(mReceiver, filter); in registerMyReceiver() 476 unregisterReceiver(mReceiver); in unregisterMyReceiver() 581 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in LaunchpadActivity
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ImageWallpaper.java | 101 private WallpaperObserver mReceiver; field in ImageWallpaper.DrawableEngine 178 if (mReceiver != null) { in onDestroy() 179 unregisterReceiver(mReceiver); in onDestroy()
|
/frameworks/base/services/java/com/android/server/ |
D | LocationManagerService.java | 928 if (!record.mReceiver.callProviderEnabledLocked(provider, enabled)) { in updateProviderListenersLocked() 932 deadReceivers.add(record.mReceiver); in updateProviderListenersLocked() 981 final Receiver mReceiver; field in LocationManagerService.UpdateRecord 995 mReceiver = receiver; in UpdateRecord() 1031 pw.println(prefix + "mProvider=" + mProvider + " mReceiver=" + mReceiver); in dump() 1076 if (record.mUid == uid && record.mReceiver != excludedReceiver) { in providerHasListener() 1796 Receiver receiver = r.mReceiver; in handleLocationChangedLocked() 1915 if (ur.mReceiver.isPendingIntent() && ur.mUid == uid) { 1923 if (!removedRecs.contains(ur.mReceiver)) { 1924 removedRecs.add(ur.mReceiver);
|
D | DropBoxManagerService.java | 97 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in DropBoxManagerService 141 context.registerReceiver(mReceiver, filter); in DropBoxManagerService() 147 mReceiver.onReceive(context, (Intent) null); in DropBoxManagerService() 157 mContext.unregisterReceiver(mReceiver); in stop()
|
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/ |
D | ScoAudioTest.java | 87 private final BroadcastReceiver mReceiver = new ScoBroadcastReceiver(); field in ScoAudioTest 107 registerReceiver(mReceiver, intentFilter); in onCreate() 170 unregisterReceiver(mReceiver); in onDestroy()
|
/frameworks/base/core/java/android/server/ |
D | BluetoothBondState.java | 92 mContext.registerReceiver(mReceiver, filter); in BluetoothBondState() 484 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothBondState
|
/frameworks/base/core/java/android/webkit/ |
D | WebTextView.java | 158 private MyResultReceiver mReceiver; field in WebTextView 209 mReceiver = new MyResultReceiver(mHandler); in WebTextView() 387 /* package */ ResultReceiver getResultReceiver() { return mReceiver; } in getResultReceiver()
|