/frameworks/base/tests/net/java/android/net/util/ |
D | BlockingSocketReaderTest.java | 57 protected BlockingSocketReader mReceiver; field in BlockingSocketReaderTest 67 mReceiver = new BlockingSocketReader() { in setUp() 102 if (mReceiver != null) mReceiver.stop(); in tearDown() 103 mReceiver = null; in tearDown() 121 assertTrue(mReceiver.start()); in testBasicWorking() 131 assertEquals(1, mReceiver.numPacketsReceived()); in testBasicWorking() 138 assertEquals(2, mReceiver.numPacketsReceived()); in testBasicWorking() 142 mReceiver.stop(); in testBasicWorking() 144 assertEquals(2, mReceiver.numPacketsReceived()); in testBasicWorking()
|
/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/support/lifecycle/compiler/src/tests/test-data/expected/ |
D | InterfaceOk2Derived_LifecycleAdapter.java | 27 final InterfaceOk2Derived mReceiver; field in InterfaceOk2Derived_LifecycleAdapter 30 this.mReceiver = receiver; in InterfaceOk2Derived_LifecycleAdapter() 36 mReceiver.onStop1(owner); in onStateChanged() 37 mReceiver.onStop2(owner); in onStateChanged() 38 mReceiver.onStop3(owner); in onStateChanged()
|
D | OnAnyMethod_LifecycleAdapter.java | 27 final OnAnyMethod mReceiver; field in OnAnyMethod_LifecycleAdapter 30 this.mReceiver = receiver; in OnAnyMethod_LifecycleAdapter() 36 mReceiver.onStop(owner); in onStateChanged() 38 mReceiver.any(owner); in onStateChanged() 39 mReceiver.any(owner,event); in onStateChanged()
|
D | InheritanceOk2Derived_LifecycleAdapter.java | 27 final InheritanceOk2Derived mReceiver; field in InheritanceOk2Derived_LifecycleAdapter 30 this.mReceiver = receiver; in InheritanceOk2Derived_LifecycleAdapter() 36 mReceiver.onStop(owner); in onStateChanged() 37 mReceiver.onStop2(owner); in onStateChanged()
|
D | DifferentPackagesDerived2_LifecycleAdapter.java | 27 final DifferentPackagesDerived2 mReceiver; field in DifferentPackagesDerived2_LifecycleAdapter 30 this.mReceiver = receiver; in DifferentPackagesDerived2_LifecycleAdapter() 36 mReceiver.onStop(owner); in onStateChanged() 37 mReceiver.onStop2(owner); in onStateChanged()
|
D | DifferentPackagesDerived1_LifecycleAdapter.java | 28 final DifferentPackagesDerived1 mReceiver; field in DifferentPackagesDerived1_LifecycleAdapter 31 this.mReceiver = receiver; in DifferentPackagesDerived1_LifecycleAdapter() 37 DifferentPackagesBase1_LifecycleAdapter.__synthetic_onStop(mReceiver,owner); in onStateChanged() 38 mReceiver.onStop2(owner); in onStateChanged()
|
D | InheritanceOk2Base_LifecycleAdapter.java | 27 final InheritanceOk2Base mReceiver; field in InheritanceOk2Base_LifecycleAdapter 30 this.mReceiver = receiver; in InheritanceOk2Base_LifecycleAdapter() 36 mReceiver.onStop(owner); in onStateChanged()
|
D | InterfaceOk2Base_LifecycleAdapter.java | 27 final InterfaceOk2Base mReceiver; field in InterfaceOk2Base_LifecycleAdapter 30 this.mReceiver = receiver; in InterfaceOk2Base_LifecycleAdapter() 36 mReceiver.onStop1(owner); in onStateChanged()
|
D | InheritanceOk3Derived_LifecycleAdapter.java | 27 final InheritanceOk3Derived mReceiver; field in InheritanceOk3Derived_LifecycleAdapter 30 this.mReceiver = receiver; in InheritanceOk3Derived_LifecycleAdapter() 36 mReceiver.onStop(owner); in onStateChanged()
|
D | DifferentPackagesBase2_LifecycleAdapter.java | 27 final DifferentPackagesBase2 mReceiver; field in DifferentPackagesBase2_LifecycleAdapter 30 this.mReceiver = receiver; in DifferentPackagesBase2_LifecycleAdapter() 36 mReceiver.onStop(owner); in onStateChanged()
|
D | InterfaceOk2Interface_LifecycleAdapter.java | 27 final InterfaceOk2Interface mReceiver; field in InterfaceOk2Interface_LifecycleAdapter 30 this.mReceiver = receiver; in InterfaceOk2Interface_LifecycleAdapter() 36 mReceiver.onStop2(owner); in onStateChanged()
|
D | InheritanceOk3Base_LifecycleAdapter.java | 27 final InheritanceOk3Base mReceiver; field in InheritanceOk3Base_LifecycleAdapter 30 this.mReceiver = receiver; in InheritanceOk3Base_LifecycleAdapter() 36 mReceiver.onStop(owner); in onStateChanged()
|
D | DifferentPackagesBase1_LifecycleAdapter.java | 27 final DifferentPackagesBase1 mReceiver; field in DifferentPackagesBase1_LifecycleAdapter 30 this.mReceiver = receiver; in DifferentPackagesBase1_LifecycleAdapter() 36 mReceiver.onStop(owner); in onStateChanged()
|
/frameworks/support/compat/java/android/support/v4/os/ |
D | ResultReceiver.java | 47 IResultReceiver mReceiver; field in ResultReceiver 102 if (mReceiver != null) { in send() 104 mReceiver.send(resultCode, resultData); in send() 128 if (mReceiver == null) { in writeToParcel() 129 mReceiver = new MyResultReceiver(); in writeToParcel() 131 out.writeStrongBinder(mReceiver.asBinder()); in writeToParcel() 138 mReceiver = IResultReceiver.Stub.asInterface(in.readStrongBinder()); in ResultReceiver()
|
/frameworks/base/services/core/java/com/android/server/fingerprint/ |
D | ClientMonitor.java | 52 private IFingerprintServiceReceiver mReceiver; field in ClientMonitor 72 mReceiver = receiver; in ClientMonitor() 126 if (mReceiver == null) in onAcquired() 129 mReceiver.onAcquired(getHalDeviceId(), acquiredInfo, vendorCode); in onAcquired() 149 if (mReceiver != null) { in onError() 151 mReceiver.onError(getHalDeviceId(), error, vendorCode); in onError() 169 mReceiver = null; in destroy() 175 mReceiver = null; in binderDied() 204 return mReceiver; in getReceiver()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/ |
D | CurrentUserTrackerTest.java | 34 private CurrentUserTracker.UserReceiver mReceiver; field in CurrentUserTrackerTest 38 mReceiver = new CurrentUserTracker.UserReceiver(getContext()); in setUp() 39 mTracker = new CurrentUserTracker(mReceiver) { in setUp() 50 CurrentUserTracker secondTracker = new CurrentUserTracker(mReceiver) { in testBroadCastDoesntCrashOnConcurrentModification() 65 mReceiver.onReceive(getContext(), intent); in triggerUserSwitch()
|
/frameworks/base/libs/androidfw/ |
D | DisplayEventDispatcher.cpp | 38 mLooper(looper), mReceiver(vsyncSource), mWaitingForVsync(false) { in DisplayEventDispatcher() 43 status_t result = mReceiver.initCheck(); in initialize() 49 int rc = mLooper->addFd(mReceiver.getFd(), 0, Looper::EVENT_INPUT, in initialize() 60 if (!mReceiver.initCheck()) { in dispose() 61 mLooper->removeFd(mReceiver.getFd()); in dispose() 78 status_t status = mReceiver.requestNextVsync(); in scheduleVsync() 121 while ((n = mReceiver.getEvents(buf, EVENT_BUFFER_SIZE)) > 0) { in processPendingEvents()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContext.java | 68 private LeakCheck.Tracker mReceiver; field in TestableContext 84 mReceiver = check != null ? check.getTracker("receiver") : null; in TestableContext() 186 if (mReceiver != null) mReceiver.getLeakInfo(receiver).addAllocation(new Throwable()); in registerReceiver() 193 if (mReceiver != null) mReceiver.getLeakInfo(receiver).addAllocation(new Throwable()); in registerReceiver() 200 if (mReceiver != null) mReceiver.getLeakInfo(receiver).addAllocation(new Throwable()); in registerReceiverAsUser() 207 if (mReceiver != null) mReceiver.getLeakInfo(receiver).clearAllocations(); in unregisterReceiver()
|
/frameworks/base/core/java/android/webkit/ |
D | JsResult.java | 37 private final ResultReceiver mReceiver; field in JsResult 62 mReceiver = receiver; in JsResult() 75 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/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/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() 210 assertEquals(1, mReceiver.numDownloadsCompleted()); in testDownloadToExternal() 257 Set<Long> ids = mReceiver.getDownloadIds(); in testGetDownloadIdOnNotification() 311 assertEquals(1, mReceiver.numDownloadsCompleted()); in testRelativeRedirect() 390 assertEquals(1, mReceiver.numDownloadsCompleted()); in testDownloadNoWifi() 419 assertEquals(1, mReceiver.numDownloadsCompleted()); in testServerDropConnection_body()
|
/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()
|