/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 | 211 final ResolveInfo mReceiver; field in DeviceAdminInfo 232 mReceiver = receiver; in DeviceAdminInfo() 302 mReceiver = ResolveInfo.CREATOR.createFromParcel(source); in DeviceAdminInfo() 310 return mReceiver.activityInfo.packageName; in getPackageName() 318 return mReceiver.activityInfo.name; in getReceiverName() 326 return mReceiver.activityInfo; in getActivityInfo() 333 return new ComponentName(mReceiver.activityInfo.packageName, in getComponent() 334 mReceiver.activityInfo.name); in getComponent() 344 return mReceiver.loadLabel(pm); in loadLabel() 354 if (mReceiver.activityInfo.descriptionRes != 0) { in loadDescription() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | JsResult.java | 34 private final ResultReceiver mReceiver; field in JsResult 58 mReceiver = receiver; in JsResult() 70 mReceiver.onJsResultComplete(this); in wakeUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | BroadcastInterceptingContext.java | 47 private final BroadcastReceiver mReceiver; field in BroadcastInterceptingContext.BroadcastInterceptor 51 mReceiver = receiver; in BroadcastInterceptor() 57 if (mReceiver != null) { in dispatchBroadcast() 59 mReceiver.onReceive(context, intent); in dispatchBroadcast() 116 if (receiver.equals(interceptor.mReceiver)) { in unregisterReceiver()
|
/frameworks/base/core/jni/ |
D | android_view_DisplayEventReceiver.cpp | 61 DisplayEventReceiver mReceiver; member in android::NativeDisplayEventReceiver 84 status_t result = mReceiver.initCheck(); in initialize() 90 int rc = mMessageQueue->getLooper()->addFd(mReceiver.getFd(), 0, ALOOPER_EVENT_INPUT, in initialize() 101 if (!mReceiver.initCheck()) { in dispose() 102 mMessageQueue->getLooper()->removeFd(mReceiver.getFd()); in dispose() 116 status_t status = mReceiver.requestNextVsync(); in scheduleVsync() 159 while ((n = mReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in processPendingEvents()
|
/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 | 62 if (mReceiver != null) { in tearDown() 63 mContext.unregisterReceiver(mReceiver); in tearDown() 64 mReceiver = null; in tearDown() 208 assertEquals(1, mReceiver.numDownloadsCompleted()); in testDownloadToExternal() 255 Set<Long> ids = mReceiver.getDownloadIds(); in testGetDownloadIdOnNotification() 378 assertEquals(1, mReceiver.numDownloadsCompleted()); in testDownloadNoWifi() 407 assertEquals(1, mReceiver.numDownloadsCompleted()); in testServerDropConnection_body()
|
D | DownloadManagerStressTest.java | 61 if (mReceiver != null) { in tearDown() 62 mContext.unregisterReceiver(mReceiver); in tearDown() 63 mReceiver = null; in tearDown() 110 assertEquals(NUM_FILES, mReceiver.numDownloadsCompleted()); in testMultipleDownloads()
|
D | DownloadManagerBaseTest.java | 68 protected MultipleDownloadsCompletedReceiver mReceiver = null; field in DownloadManagerBaseTest 244 mReceiver = registerNewMultipleDownloadsReceiver(); in setUp() 841 int count = mReceiver.numDownloadsCompleted(); in waitForReceiverNotifications() 849 count = mReceiver.numDownloadsCompleted(); in waitForReceiverNotifications() 1030 assertEquals(1, mReceiver.numDownloadsCompleted()); in doBasicDownload()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | IInputMethodSessionWrapper.java | 58 ImeInputEventReceiver mReceiver; field in IInputMethodSessionWrapper 67 mReceiver = new ImeInputEventReceiver(channel, context.getMainLooper()); in IInputMethodSessionWrapper() 129 if (mReceiver != null) { in doFinishSession() 130 mReceiver.dispose(); in doFinishSession() 131 mReceiver = null; in doFinishSession()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 680 + " to " + (rd != null ? rd.mReceiver : null)); in performReceive() 706 final BroadcastReceiver mReceiver; field in LoadedApk.ReceiverDispatcher 729 final BroadcastReceiver receiver = mReceiver; in run() 735 + " seq=" + seq + " to " + mReceiver); in run() 747 "Finishing null broadcast to " + mReceiver); in run() 755 ClassLoader cl = mReceiver.getClass().getClassLoader(); in run() 763 "Finishing failed broadcast to " + mReceiver); in run() 767 !mInstrumentation.onException(mReceiver, e)) { in run() 771 + " in " + mReceiver, e); in run() 790 mReceiver = receiver; in ReceiverDispatcher() [all …]
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | SourceActivity.java | 47 private AccessoryReceiver mReceiver; field in SourceActivity 77 mReceiver = new AccessoryReceiver(); in onCreate() 78 registerReceiver(mReceiver, filter); in onCreate() 101 unregisterReceiver(mReceiver); in onDestroy()
|
/frameworks/base/core/java/android/widget/ |
D | ViewFlipper.java | 71 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in ViewFlipper 93 getContext().registerReceiver(mReceiver, filter, null, mHandler); in onAttachedToWindow() 106 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/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/services/java/com/android/server/ |
D | LocationManagerService.java | 1183 if (UserHandle.getUserId(record.mReceiver.mUid) == userId) { in updateProviderListenersLocked() 1185 if (!record.mReceiver.callProviderEnabledLocked(provider, enabled)) { in updateProviderListenersLocked() 1189 deadReceivers.add(record.mReceiver); in updateProviderListenersLocked() 1222 if (UserHandle.getUserId(record.mReceiver.mUid) == mCurrentUserId) { in applyRequirementsLocked() 1223 if (checkLocationAccess(record.mReceiver.mUid, record.mReceiver.mPackageName, in applyRequirementsLocked() 1224 record.mReceiver.mAllowedResolutionLevel)) { in applyRequirementsLocked() 1243 if (UserHandle.getUserId(record.mReceiver.mUid) == mCurrentUserId) { in applyRequirementsLocked() 1246 if (record.mReceiver.mWorkSource != null in applyRequirementsLocked() 1247 && record.mReceiver.mWorkSource.size() > 0 in applyRequirementsLocked() 1248 && record.mReceiver.mWorkSource.getName(0) != null) { in applyRequirementsLocked() [all …]
|
D | BluetoothManagerService.java | 146 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothManagerService 157 synchronized(mReceiver) { 177 synchronized(mReceiver) { 215 mContext.registerReceiver(mReceiver, filter); in BluetoothManagerService() 382 synchronized(mReceiver) { in enableNoAutoConnect() 404 synchronized(mReceiver) { in enable() 431 synchronized(mReceiver) { in disable()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerBaseTest.java | 50 protected MultipleDownloadsCompletedReceiver mReceiver = null; field in DownloadManagerBaseTest 181 mReceiver = registerNewMultipleDownloadsReceiver(); in setUp() 476 int count = mReceiver.numDownloadsCompleted(); in waitForReceiverNotifications() 484 count = mReceiver.numDownloadsCompleted(); in waitForReceiverNotifications()
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | ImmersiveModeConfirmation.java | 214 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in ImmersiveModeConfirmation.ClingWindowView 285 … mContext.registerReceiver(mReceiver, new IntentFilter(Intent.ACTION_CONFIGURATION_CHANGED)); in onAttachedToWindow() 290 mContext.unregisterReceiver(mReceiver); in onDetachedFromWindow()
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | SinkActivity.java | 68 private DeviceReceiver mReceiver; field in SinkActivity 119 mReceiver = new DeviceReceiver(); in onCreate() 120 registerReceiver(mReceiver, filter); in onCreate() 142 unregisterReceiver(mReceiver); in onDestroy()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellBroadcastHandler.java | 91 mContext.sendOrderedBroadcast(intent, receiverPermission, appOp, mReceiver, in handleBroadcastSms()
|
/frameworks/av/include/media/ |
D | Visualizer.h | 153 Visualizer& mReceiver; variable
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | BroadcastTest.java | 180 getContext().registerReceiver(mReceiver, filter, permission, null); in registerMyReceiver() 192 getContext().unregisterReceiver(mReceiver); in unregisterMyReceiverNoCheck() 225 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/av/media/libmedia/ |
D | Visualizer.cpp | 409 : Thread(bCanCallJava), mReceiver(receiver) in CaptureThread() 421 mReceiver.periodicCapture(); in threadLoop()
|