/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 59 Context mBase; field in ContextWrapper 62 mBase = base; in ContextWrapper() 73 if (mBase != null) { in attachBaseContext() 76 mBase = base; in attachBaseContext() 83 return mBase; in getBaseContext() 88 return mBase.getAssets(); in getAssets() 93 return mBase.getResources(); in getResources() 98 return mBase.getPackageManager(); in getPackageManager() 103 return mBase.getContentResolver(); in getContentResolver() 108 return mBase.getMainLooper(); in getMainLooper() [all …]
|
/frameworks/av/media/codec2/sfplugin/ |
D | Omx2IGraphicBufferSource.cpp | 42 sp<OmxGraphicBufferSource> mBase; member 43 OmxGbs2IOmxBs(sp<OmxGraphicBufferSource> const& base) : mBase{base} {} in OmxGbs2IOmxBs() 45 return mBase->onOmxExecuting(); in onOmxExecuting() 48 return mBase->onOmxIdle(); in onOmxIdle() 51 return mBase->onOmxLoaded(); in onOmxLoaded() 54 return mBase->onInputBufferAdded(bufferId); in onInputBufferAdded() 59 return mBase->onInputBufferEmptied(bufferId, fenceParcel.get()); in onInputBufferEmptied() 64 sp<IOMXNode> mBase; member 65 OmxNodeWrapper(sp<IOMXNode> const& base) : mBase{base} {} in OmxNodeWrapper() 70 return mBase->emptyBuffer(bufferId, buffer, flags, timestamp, fenceFd); in emptyBuffer() [all …]
|
/frameworks/av/media/libmedia/omx/1.0/ |
D | WGraphicBufferSource.cpp | 30 sp<TGraphicBufferSource> const& base) : mBase(base) { in LWGraphicBufferSource() 36 return toBinderStatus(mBase->configure( in configure() 43 return toBinderStatus(mBase->setSuspend(suspend, timeUs)); in setSuspend() 48 return toBinderStatus(mBase->setRepeatPreviousFrameDelayUs(repeatAfterUs)); in setRepeatPreviousFrameDelayUs() 52 return toBinderStatus(mBase->setMaxFps(maxFps)); in setMaxFps() 57 return toBinderStatus(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig() 62 return toBinderStatus(mBase->setStartTimeUs(startTimeUs)); in setStartTimeUs() 67 return toBinderStatus(mBase->setStopTimeUs(stopTimeUs)); in setStopTimeUs() 72 return toBinderStatus(mBase->getStopTimeOffsetUs( in getStopTimeOffsetUs() 80 return toBinderStatus(mBase->setColorAspects( in setColorAspects() [all …]
|
D | WOmxBufferSource.cpp | 31 mBase(base) { in LWOmxBufferSource() 35 return toBinderStatus(mBase->onOmxExecuting()); in onOmxExecuting() 39 return toBinderStatus(mBase->onOmxIdle()); in onOmxIdle() 43 return toBinderStatus(mBase->onOmxLoaded()); in onOmxLoaded() 48 return toBinderStatus(mBase->onInputBufferAdded( in onInputBufferAdded() 62 mBase->onInputBufferEmptied( in onInputBufferEmptied() 71 mBase(base) { in TWOmxBufferSource() 75 mBase->onOmxExecuting(); in onOmxExecuting() 80 mBase->onOmxIdle(); in onOmxIdle() 85 mBase->onOmxLoaded(); in onOmxLoaded() [all …]
|
D | WOmxNode.cpp | 34 return toStatusT(mBase->freeNode()); in freeNode() 39 return toStatusT(mBase->sendCommand( in sendCommand() 47 status_t transStatus = toStatusT(mBase->getParameter( in getParameter() 64 return toStatusT(mBase->setParameter( in setParameter() 72 status_t transStatus = toStatusT(mBase->getConfig( in getConfig() 89 return toStatusT(mBase->setConfig(toRawIndexType(index), tParams)); in setConfig() 94 return toStatusT(mBase->setPortMode(port_index, toHardwarePortMode(mode))); in setPortMode() 100 return toStatusT(mBase->prepareForAdaptivePlayback( in prepareForAdaptivePlayback() 108 status_t transStatus = toStatusT(mBase->configureVideoTunnelMode( in configureVideoTunnelMode() 124 status_t transStatus = toStatusT(mBase->getGraphicBufferUsage( in getGraphicBufferUsage() [all …]
|
D | WOmxObserver.cpp | 36 LWOmxObserver::LWOmxObserver(sp<IOmxObserver> const& base) : mBase(base) { in LWOmxObserver() 48 auto transResult = mBase->onMessages(tMessages); in onMessages() 59 TWOmxObserver::TWOmxObserver(sp<IOMXObserver> const& base) : mBase(base) { in TWOmxObserver() 68 mBase->onMessages(lMessages); in onMessages()
|
D | WOmx.cpp | 37 LWOmx::LWOmx(sp<IOmx> const& base) : mBase(base) { in LWOmx() 42 status_t transStatus = toStatusT(mBase->listNodes( in listNodes() 62 status_t transStatus = toStatusT(mBase->allocateNode( in allocateNode() 75 status_t transStatus = toStatusT(mBase->createInputSurface( in createInputSurface()
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | WOmxBufferSource.cpp | 31 mBase(base) { in LWOmxBufferSource() 35 return toBinderStatus(mBase->onOmxExecuting()); in onOmxExecuting() 39 return toBinderStatus(mBase->onOmxIdle()); in onOmxIdle() 43 return toBinderStatus(mBase->onOmxLoaded()); in onOmxLoaded() 48 return toBinderStatus(mBase->onInputBufferAdded( in onInputBufferAdded() 62 mBase->onInputBufferEmptied( in onInputBufferEmptied() 71 mBase(base) { in TWOmxBufferSource() 75 mBase->onOmxExecuting(); in onOmxExecuting() 80 mBase->onOmxIdle(); in onOmxIdle() 85 mBase->onOmxLoaded(); in onOmxLoaded() [all …]
|
D | WOmxNode.cpp | 33 LWOmxNode::LWOmxNode(sp<IOmxNode> const& base) : mBase(base) { in LWOmxNode() 37 return toStatusT(mBase->freeNode()); in freeNode() 42 return toStatusT(mBase->sendCommand( in sendCommand() 50 status_t transStatus = toStatusT(mBase->getParameter( in getParameter() 67 return toStatusT(mBase->setParameter( in setParameter() 75 status_t transStatus = toStatusT(mBase->getConfig( in getConfig() 92 return toStatusT(mBase->setConfig(toRawIndexType(index), tParams)); in setConfig() 97 return toStatusT(mBase->setPortMode(port_index, toHardwarePortMode(mode))); in setPortMode() 103 return toStatusT(mBase->prepareForAdaptivePlayback( in prepareForAdaptivePlayback() 111 status_t transStatus = toStatusT(mBase->configureVideoTunnelMode( in configureVideoTunnelMode() [all …]
|
D | WGraphicBufferSource.cpp | 119 mBase(base), in TWGraphicBufferSource() 183 return toStatus(mBase->configure( in configure() 194 return toStatus(mBase->setSuspend(suspend, timeUs)); in setSuspend() 199 return toStatus(mBase->setRepeatPreviousFrameDelayUs(repeatAfterUs)); in setRepeatPreviousFrameDelayUs() 203 return toStatus(mBase->setMaxFps(maxFps)); in setMaxFps() 208 return toStatus(mBase->setTimeLapseConfig(fps, captureFps)); in setTimeLapseConfig() 212 return toStatus(mBase->setStartTimeUs(startTimeUs)); in setStartTimeUs() 216 return toStatus(mBase->setStopTimeUs(stopTimeUs)); in setStopTimeUs() 223 status = mBase->getStopTimeOffsetUs(&stopTimeOffsetUs); in getStopTimeOffsetUs() 230 return toStatus(mBase->setColorAspects(toCompactColorAspects(aspects))); in setColorAspects() [all …]
|
D | WOmxObserver.cpp | 36 LWOmxObserver::LWOmxObserver(sp<IOmxObserver> const& base) : mBase(base) { in LWOmxObserver() 48 auto transResult = mBase->onMessages(tMessages); in onMessages() 59 TWOmxObserver::TWOmxObserver(sp<IOMXObserver> const& base) : mBase(base) { in TWOmxObserver() 68 mBase->onMessages(lMessages); in onMessages()
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | WProducerListener.cpp | 24 mBase(base) { in TWProducerListener() 28 mBase->onBufferReleased(); in onBufferReleased() 33 return mBase->needsReleaseNotify(); in needsReleaseNotify() 39 mBase(base) { in LWProducerListener() 43 mBase->onBufferReleased(); in onBufferReleased() 47 return static_cast<bool>(mBase->needsReleaseNotify()); in needsReleaseNotify()
|
D | B2HProducerListener.cpp | 29 mBase(base) { in B2HProducerListener() 33 mBase->onBufferReleased(); in onBufferReleased() 38 return mBase->needsReleaseNotify(); in needsReleaseNotify()
|
D | H2BGraphicBufferProducer.cpp | 977 status_t transStatus = toStatusT(mBase->requestBuffer( in requestBuffer() 990 return toStatusT(mBase->setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount() 995 return toStatusT(mBase->setAsyncMode(async)); in setAsyncMode() 1005 status_t transStatus = toStatusT(mBase->dequeueBuffer( in dequeueBuffer() 1034 return toStatusT(mBase->detachBuffer(static_cast<int>(slot))); in detachBuffer() 1042 status_t transStatus = toStatusT(mBase->detachNextBuffer( in detachNextBuffer() 1067 status_t transStatus = toStatusT(mBase->attachBuffer(tBuffer, in attachBuffer() 1087 status_t transStatus = toStatusT(mBase->queueBuffer(slot, tInput, in queueBuffer() 1111 status_t status = toStatusT(mBase->cancelBuffer( in cancelBuffer() 1119 status_t transStatus = toStatusT(mBase->query( in query() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | SystemUIInterpolators.java | 23 private final float mBase; field in SystemUIInterpolators.LogDecelerateInterpolator 33 mBase = base; in LogDecelerateInterpolator() 41 return 1f - (float) Math.pow(mBase, -t * mTimeScale) + (mDrift * t); in computeLog() 51 private final int mBase; field in SystemUIInterpolators.LogAccelerateInterpolator 60 mBase = base; in LogAccelerateInterpolator() 62 mLogScale = 1f / computeLog(1, mBase, mDrift); in LogAccelerateInterpolator() 71 return 1 - computeLog(1 - t, mBase, mDrift) * mLogScale; in getInterpolation()
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | WGraphicBufferProducer.h | 67 TWGraphicBufferProducer(sp<BGraphicBufferProducer> const& base) : mBase(base) {} in TWGraphicBufferProducer() 70 status_t status = mBase->requestBuffer(slot, &buf); in requestBuffer() 80 return static_cast<int32_t>(mBase->setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount() 85 return static_cast<int32_t>(mBase->setAsyncMode(async)); in setAsyncMode() 95 status_t status = mBase->dequeueBuffer( in dequeueBuffer() 140 return static_cast<int32_t>(mBase->detachBuffer(slot)); in detachBuffer() 146 status_t status = mBase->detachNextBuffer(&outBuffer, &outFence); in detachNextBuffer() 179 status_t status = mBase->attachBuffer(&outSlot, lBuffer); in attachBuffer() 201 status_t status = mBase->queueBuffer( in queueBuffer() 228 return static_cast<int32_t>(mBase->cancelBuffer(static_cast<int>(slot), lFence)); in cancelBuffer() [all …]
|
/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | B2HGraphicBufferProducer.cpp | 70 : mBase{base} { in B2HGraphicBufferProducer() 77 mBase->setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount() 91 b2h(mBase->requestBuffer( in requestBuffer() 102 bool converted = b2h(mBase->setAsyncMode(async), &hStatus); in setAsyncMode() 115 b2h(mBase->dequeueBuffer( in dequeueBuffer() 138 mBase->detachBuffer(static_cast<int>(slot)), &hStatus); in detachBuffer() 150 b2h(mBase->detachNextBuffer(&bBuffer, &bFence), &hStatus) && in detachNextBuffer() 176 mBase->attachBuffer(&bSlot, bBuffer), &hStatus, in attachBuffer() 223 mBase->queueBuffer(static_cast<int>(slot), bInput, &bOutput), in queueBuffer() 240 mBase->cancelBuffer(static_cast<int>(slot), bFence), in cancelBuffer() [all …]
|
D | H2BGraphicBufferProducer.cpp | 87 Return<void> transResult = mBase->requestBuffer(slot, in requestBuffer() 113 Return<HStatus> transResult = mBase->setMaxDequeuedBufferCount( in setMaxDequeuedBufferCount() 128 Return<HStatus> transResult = mBase->setAsyncMode(async); in setAsyncMode() 152 Return<void> transResult = mBase->dequeueBuffer(input, in dequeueBuffer() 181 Return<HStatus> transResult = mBase->detachBuffer( in detachBuffer() 198 Return<void> transResult = mBase->detachNextBuffer( in detachNextBuffer() 229 Return<void> transResult = mBase->attachBuffer(hBuffer, hGenerationNumber, in attachBuffer() 262 Return<void> transResult = mBase->queueBuffer( in queueBuffer() 289 Return<HStatus> transResult = mBase->cancelBuffer( in cancelBuffer() 305 Return<void> transResult = mBase->query( in query() [all …]
|
D | H2BProducerListener.cpp | 39 if (mBase) { in onBufferReleased() 40 Return<void> transResult = mBase->onBuffersReleased(1); in onBufferReleased() 48 return static_cast<bool>(mBase); in needsReleaseNotify()
|
/frameworks/native/libs/binder/ |
D | MemoryHeapBase.cpp | 38 : mFD(-1), mSize(0), mBase(MAP_FAILED), in MemoryHeapBase() 44 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase() 61 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase() 80 : mFD(-1), mSize(0), mBase(MAP_FAILED), mFlags(flags), in MemoryHeapBase() 94 mBase = base; in init() 128 mBase = base; in mapfd() 131 mBase = nullptr; // not MAP_FAILED in mapfd() 151 munmap(mBase, mSize); in dispose() 153 mBase = nullptr; in dispose() 164 return mBase; in getBase()
|
D | IMemory.cpp | 113 mutable void* mBase; member in android::BpMemoryHeap 256 mHeapId(-1), mBase(MAP_FAILED), mSize(0), mFlags(0), mOffset(0), mRealHeap(false) in BpMemoryHeap() 266 if (mBase != MAP_FAILED) { in ~BpMemoryHeap() 274 munmap(mBase, mSize); in ~BpMemoryHeap() 291 if (heap->mBase != MAP_FAILED) { in assertMapped() 294 mBase = heap->mBase; in assertMapped() 346 mBase = mmap(nullptr, size, access, MAP_SHARED, fd, offset); in assertReallyMapped() 347 if (mBase == MAP_FAILED) { in assertReallyMapped() 369 return mBase; in getBase() 507 h->mHeapId.load(memory_order_relaxed), h->mBase, h->mSize); in dump_heaps()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LogDecelerateInterpolator.java | 23 private int mBase; field in LogDecelerateInterpolator 28 mBase = base; in LogDecelerateInterpolator() 31 mLogScale = 1f / computeLog(1, mBase, mDrift); in LogDecelerateInterpolator() 40 return computeLog(t, mBase, mDrift) * mLogScale; in getInterpolation()
|
/frameworks/av/media/codec2/hidl/client/ |
D | client.cpp | 185 : mBase{base}, in Codec2ConfigurableClient() 221 Return<void> transStatus = mBase->query( in query() 303 Return<void> transStatus = mBase->config( in config() 341 Return<void> transStatus = mBase->querySupportedParams( in querySupportedParams() 382 Return<void> transStatus = mBase->querySupportedValues( in querySupportedValues() 526 mBase{base}, 537 return mBase; in getBase() 552 Return<void> transStatus = mBase->createComponent( in createComponent() 595 Return<void> transStatus = mBase->createInterface( in createInterface() 622 Return<void> transStatus = mBase->createInputSurface( in createInputSurface() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | Chronometer.java | 75 private long mBase; field in Chronometer 129 mBase = SystemClock.elapsedRealtime(); in init() 130 updateText(mBase); in init() 179 mBase = base; in setBase() 188 return mBase; in getBase() 292 long seconds = mCountDown ? mBase - now : now - mBase; in updateText() 392 return formatDuration(mNow - mBase); in getContentDescription()
|
/frameworks/base/libs/hwui/debug/ |
D | GlesErrorCheckWrapper.cpp | 29 while ((status = mBase.glGetError_()) != GL_NO_ERROR) { in assertNoErrors() 59 mBase.x##_(__VA_ARGS__); \ 63 auto ret = mBase.x##_(__VA_ARGS__); \
|