/frameworks/base/services/core/java/com/android/server/wm/ |
D | AssistDataReceiverProxy.java | 40 private IAssistDataReceiver mReceiver; field in AssistDataReceiverProxy 43 mReceiver = receiver; in AssistDataReceiverProxy() 56 if (mReceiver != null) { in onAssistDataReceivedLocked() 58 mReceiver.onHandleAssistData(data); in onAssistDataReceivedLocked() 68 if (mReceiver != null) { in onAssistScreenshotReceivedLocked() 70 mReceiver.onHandleAssistScreenshot(screenshot); in onAssistScreenshotReceivedLocked() 90 mReceiver.asBinder().linkToDeath(this, 0); in linkToDeath() 97 if (mReceiver != null) { in unlinkToDeath() 98 mReceiver.asBinder().unlinkToDeath(this, 0); in unlinkToDeath() 100 mReceiver = null; in unlinkToDeath()
|
/frameworks/base/core/java/android/os/ |
D | ResultReceiver.java | 38 IResultReceiver mReceiver; field in ResultReceiver 91 if (mReceiver != null) { in send() 93 mReceiver.send(resultCode, resultData); in send() 115 if (mReceiver == null) { in writeToParcel() 116 mReceiver = new MyResultReceiver(); in writeToParcel() 118 out.writeStrongBinder(mReceiver.asBinder()); in writeToParcel() 125 mReceiver = IResultReceiver.Stub.asInterface(in.readStrongBinder()); in ResultReceiver()
|
/frameworks/base/core/java/com/android/internal/midi/ |
D | MidiFramer.java | 37 private MidiReceiver mReceiver; field in MidiFramer 45 mReceiver = receiver; in MidiFramer() 80 mReceiver.send(data, sysExStartOffset, in onSend() 94 mReceiver.send(data, sysExStartOffset, in onSend() 98 mReceiver.send(data, offset, 1, timestamp); in onSend() 107 mReceiver.send(mBuffer, 0, mCount, timestamp); in onSend() 118 mReceiver.send(data, sysExStartOffset, in onSend()
|
/frameworks/base/packages/Tethering/src/android/net/util/ |
D | VersionedBroadcastListener.java | 48 private BroadcastReceiver mReceiver; field in VersionedBroadcastListener 63 if (mReceiver != null) return; in startListening() 65 mReceiver = new Receiver(mTag, mGenerationNumber, mCallback); in startListening() 66 mContext.registerReceiver(mReceiver, mFilter, null, mHandler); in startListening() 72 if (mReceiver == null) return; in stopListening() 75 mContext.unregisterReceiver(mReceiver); in stopListening() 76 mReceiver = null; in stopListening()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | CurrentUserTrackerTest.java | 35 private CurrentUserTracker.UserReceiver mReceiver; field in CurrentUserTrackerTest 39 mReceiver = new CurrentUserTracker.UserReceiver(getContext()); in setUp() 40 mTracker = new CurrentUserTracker(mReceiver) { in setUp() 51 CurrentUserTracker secondTracker = new CurrentUserTracker(mReceiver) { in testBroadCastDoesntCrashOnConcurrentModification() 66 mReceiver.onReceive(getContext(), intent); in triggerUserSwitch()
|
/frameworks/base/libs/androidfw/ |
D | DisplayEventDispatcher.cpp | 39 mLooper(looper), mReceiver(vsyncSource, configChanged), mWaitingForVsync(false) { in DisplayEventDispatcher() 44 status_t result = mReceiver.initCheck(); in initialize() 50 int rc = mLooper->addFd(mReceiver.getFd(), 0, Looper::EVENT_INPUT, in initialize() 61 if (!mReceiver.initCheck()) { in dispose() 62 mLooper->removeFd(mReceiver.getFd()); in dispose() 79 status_t status = mReceiver.requestNextVsync(); in scheduleVsync() 123 while ((n = mReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in processPendingEvents()
|
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/ |
D | PacketReaderTest.java | 79 protected PacketReader mReceiver; field in PacketReaderTest 137 if (mReceiver != null) { in tearDown() 138 mHandlerThread.getThreadHandler().post(() -> mReceiver.stop()); in tearDown() 141 mReceiver = null; in tearDown() 168 mReceiver = new UdpLoopbackReader(h); in testBasicWorking() 170 h.post(() -> mReceiver.start()); in testBasicWorking() 181 assertEquals(1, mReceiver.numPacketsReceived()); in testBasicWorking() 188 assertEquals(2, mReceiver.numPacketsReceived()); in testBasicWorking() 192 h.post(() -> mReceiver.stop()); in testBasicWorking() 194 assertEquals(2, mReceiver.numPacketsReceived()); in testBasicWorking() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | JsResult.java | 39 private final ResultReceiver mReceiver; field in JsResult 64 mReceiver = receiver; in JsResult() 77 mReceiver.onJsResultComplete(this); in wakeUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
D | StorageMeasurement.java | 96 private WeakReference<MeasurementReceiver> mReceiver; field in StorageMeasurement 115 if (mReceiver == null || mReceiver.get() == null) { in setReceiver() 116 mReceiver = new WeakReference<MeasurementReceiver>(receiver); in setReceiver() 129 mReceiver = null; in onDestroy() 140 final MeasurementReceiver receiver = (mReceiver != null) ? mReceiver.get() : null; in onPostExecute()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | BiometricDialogImpl.java | 60 private IBiometricServiceReceiverInternal mReceiver; field in BiometricDialogImpl 247 mReceiver = (IBiometricServiceReceiverInternal) args.arg2; in handleShowDialog() 301 mReceiver.onDialogDismissed(BiometricPrompt.DISMISSED_REASON_USER_CANCEL); in handleHideDialog() 306 mReceiver = null; in handleHideDialog() 312 if (mReceiver == null) { in handleButtonNegative() 317 mReceiver.onDialogDismissed(BiometricPrompt.DISMISSED_REASON_NEGATIVE); in handleButtonNegative() 325 if (mReceiver == null) { in handleButtonPositive() 330 mReceiver.onDialogDismissed(BiometricPrompt.DISMISSED_REASON_POSITIVE); in handleButtonPositive() 343 mReceiver.onTryAgainPressed(); in handleTryAgainPressed()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 64 if (mReceiver != null) { in tearDown() 65 mContext.unregisterReceiver(mReceiver); in tearDown() 66 mReceiver = null; in tearDown() 211 assertEquals(1, mReceiver.numDownloadsCompleted()); in testDownloadToExternal() 258 Set<Long> ids = mReceiver.getDownloadIds(); in testGetDownloadIdOnNotification() 312 assertEquals(1, mReceiver.numDownloadsCompleted()); in testRelativeRedirect() 391 assertEquals(1, mReceiver.numDownloadsCompleted()); in testDownloadNoWifi() 420 assertEquals(1, mReceiver.numDownloadsCompleted()); in testServerDropConnection_body()
|
D | DownloadManagerStressTest.java | 64 if (mReceiver != null) { in tearDown() 65 mContext.unregisterReceiver(mReceiver); in tearDown() 66 mReceiver = null; in tearDown() 113 assertEquals(NUM_FILES, mReceiver.numDownloadsCompleted()); in testMultipleDownloads()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppTimeTracker.java | 37 private final PendingIntent mReceiver; field in AppTimeTracker 47 mReceiver = receiver; in AppTimeTracker() 94 mReceiver.send(context, 0, fillinIntent); in deliverResult() 107 pw.print(prefix); pw.print("mReceiver="); pw.println(mReceiver); in dump() 127 proto.write(AppTimeTrackerProto.RECEIVER, mReceiver.toString()); in writeToProto()
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | BroadcastInterceptingContext.java | 63 private final BroadcastReceiver mReceiver; field in BroadcastInterceptingContext.BroadcastInterceptor 67 mReceiver = receiver; in BroadcastInterceptor() 73 if (mReceiver != null) { in dispatchBroadcast() 75 mReceiver.onReceive(context, intent); in dispatchBroadcast() 147 if (receiver.equals(interceptor.mReceiver)) { in unregisterReceiver()
|
/frameworks/ex/common/java/com/android/common/ |
D | NetworkConnectivityListener.java | 61 private ConnectivityBroadcastReceiver mReceiver; field in NetworkConnectivityListener 130 mReceiver = new ConnectivityBroadcastReceiver(); in NetworkConnectivityListener() 143 context.registerReceiver(mReceiver, filter); in startListening() 153 mContext.unregisterReceiver(mReceiver); in stopListening()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContext.java | 69 private LeakCheck.Tracker mReceiver; field in TestableContext 87 mReceiver = check != null ? check.getTracker("receiver") : null; in TestableContext() 189 if (mReceiver != null) mReceiver.getLeakInfo(receiver).addAllocation(new Throwable()); in registerReceiver() 196 if (mReceiver != null) mReceiver.getLeakInfo(receiver).addAllocation(new Throwable()); in registerReceiver() 203 if (mReceiver != null) mReceiver.getLeakInfo(receiver).addAllocation(new Throwable()); in registerReceiverAsUser() 210 if (mReceiver != null) mReceiver.getLeakInfo(receiver).clearAllocations(); in unregisterReceiver()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SimActivationTracker.java | 69 private final BroadcastReceiver mReceiver; field in SimActivationTracker 76 mReceiver = new BroadcastReceiver() { in SimActivationTracker() 93 mPhone.getContext().registerReceiver(mReceiver, intentFilter); in SimActivationTracker() 176 mPhone.getContext().unregisterReceiver(mReceiver); in dispose()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | InputChannelCompat.java | 71 private final BatchedInputEventReceiver mReceiver; field in InputChannelCompat.InputEventReceiver 77 mReceiver = new BatchedInputEventReceiver(inputChannel, looper, choreographer) { in InputEventReceiver() 91 mReceiver.dispose(); in dispose()
|
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/ |
D | UsbAoapHostTestActivity.java | 44 private UsbStateReceiver mReceiver; field in UsbAoapHostTestActivity 58 mReceiver = new UsbStateReceiver(); in onCreate() 59 registerReceiver(mReceiver, filter); in onCreate() 75 unregisterReceiver(mReceiver); in onDestroy()
|
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/ |
D | UsbAoapDeviceTestActivity.java | 44 private AccessoryReceiver mReceiver; field in UsbAoapDeviceTestActivity 60 mReceiver = new AccessoryReceiver(); in onCreate() 61 registerReceiver(mReceiver, filter); in onCreate() 80 unregisterReceiver(mReceiver); in onDestroy()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | IInputMethodSessionWrapper.java | 61 ImeInputEventReceiver mReceiver; field in IInputMethodSessionWrapper 70 mReceiver = new ImeInputEventReceiver(channel, context.getMainLooper()); in IInputMethodSessionWrapper() 145 if (mReceiver != null) { in doFinishSession() 146 mReceiver.dispose(); in doFinishSession() 147 mReceiver = null; in doFinishSession()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputViewTest.java | 72 private BlockingQueueIntentReceiver mReceiver; field in RemoteInputViewTest 85 mReceiver = new BlockingQueueIntentReceiver(); in setUp() 86 mContext.registerReceiver(mReceiver, new IntentFilter(TEST_ACTION), null, in setUp() 95 mContext.unregisterReceiver(mReceiver); in tearDown() 121 Intent resultIntent = mReceiver.waitForIntent(); in testSendRemoteInput_intentContainsResultsAndSource()
|
/frameworks/base/services/core/java/com/android/server/deviceidle/ |
D | BluetoothConstraint.java | 69 mContext.registerReceiver(mReceiver, filter); in startMonitoring() 81 mContext.unregisterReceiver(mReceiver); in stopMonitoring() 123 final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothConstraint
|
/frameworks/base/core/tests/coretests/BstatsTestApp/src/com/android/coretests/apps/bstatstestapp/ |
D | TestActivity.java | 33 Common.notifyLaunched(getIntent(), mReceiver.asBinder(), TAG); in notifyActivityLaunched() 42 private BaseCmdReceiver mReceiver = new BaseCmdReceiver() { field in TestActivity
|
D | IsolatedTestService.java | 35 return mReceiver.asBinder(); in onBind() 43 private BaseCmdReceiver mReceiver = new BaseCmdReceiver() { field in IsolatedTestService
|