/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsSourceTest.java | 46 private InsetsSource mSource = new InsetsSource(TYPE_NAVIGATION_BAR); field in InsetsSourceTest 50 mSource.setVisible(true); in setUp() 55 mSource.setFrame(new Rect(0, 0, 500, 100)); in testCalculateInsetsTop() 56 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsTop() 63 mSource.setFrame(new Rect(0, 400, 500, 500)); in testCalculateInsetsBottom() 64 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsBottom() 71 mSource.setFrame(new Rect(0, 0, 100, 500)); in testCalculateInsetsLeft() 72 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsLeft() 79 mSource.setFrame(new Rect(400, 0, 500, 500)); in testCalculateInsetsRight() 80 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsRight() [all …]
|
/frameworks/av/media/ndk/ |
D | NdkMediaDataSource.cpp | 183 AMediaDataSource *mSource = new AMediaDataSource(); in AMediaDataSource_new() local 184 mSource->userdata = NULL; in AMediaDataSource_new() 185 mSource->readAt = NULL; in AMediaDataSource_new() 186 mSource->getSize = NULL; in AMediaDataSource_new() 187 mSource->close = NULL; in AMediaDataSource_new() 188 return mSource; in AMediaDataSource_new() 218 void AMediaDataSource_delete(AMediaDataSource *mSource) { in AMediaDataSource_delete() argument 220 if (mSource != NULL) { in AMediaDataSource_delete() 221 delete mSource; in AMediaDataSource_delete() 226 void AMediaDataSource_setUserdata(AMediaDataSource *mSource, void *userdata) { in AMediaDataSource_setUserdata() argument [all …]
|
D | NdkMediaDataSourceCallbacksPriv.h | 40 AMediaDataSource *mSource = AMediaDataSource_new(); in convertDataSourceToAMediaDataSource() local 41 AMediaDataSource_setUserdata(mSource, source.get()); in convertDataSourceToAMediaDataSource() 42 AMediaDataSource_setReadAt(mSource, DataSource_readAt); in convertDataSourceToAMediaDataSource() 43 AMediaDataSource_setGetSize(mSource, DataSource_getSize); in convertDataSourceToAMediaDataSource() 44 AMediaDataSource_setClose(mSource, DataSource_close); in convertDataSourceToAMediaDataSource() 45 AMediaDataSource_setGetAvailableSize(mSource, DataSource_getAvailableSize); in convertDataSourceToAMediaDataSource() 46 return mSource; in convertDataSourceToAMediaDataSource()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecFeatureAction.java | 57 private final HdmiCecLocalDevice mSource; field in HdmiCecFeatureAction 65 mSource = source; in HdmiCecFeatureAction() 66 mService = mSource.getService(); in HdmiCecFeatureAction() 179 mSource.addAndStartAction(action); in addAndStartAction() 183 return mSource.getActions(clazz); in getActions() 187 return mSource.getCecMessageCache(); in getCecMessageCache() 197 mSource.removeAction(action); in removeAction() 201 mSource.removeActionExcept(clazz, null); in removeAction() 206 mSource.removeActionExcept(clazz, exception); in removeActionExcept() 248 return mSource; in localDevice() [all …]
|
D | ActiveSourceHandler.java | 37 private final HdmiCecLocalDeviceTv mSource; field in ActiveSourceHandler 51 mSource = source; in ActiveSourceHandler() 52 mService = mSource.getService(); in ActiveSourceHandler() 64 HdmiCecLocalDeviceTv tv = mSource; in process() 98 return mSource.getDeviceInfo().getLogicalAddress(); in getSourceAddress()
|
/frameworks/base/location/java/android/location/ |
D | Country.java | 60 private final int mSource; field in Country 89 mSource = source; in Country() 99 mSource = source; in Country() 105 mSource = country.mSource; in Country() 129 return mSource; in getSource() 156 parcel.writeInt(mSource); in writeToParcel() 173 return mCountryIso.equals(c.getCountryIso()) && mSource == c.getSource(); in equals() 184 hash = hash * 13 + mSource; in hashCode() 204 return "Country {ISO=" + mCountryIso + ", source=" + mSource + ", time=" + mTimestamp + "}"; in toString()
|
/frameworks/av/media/libstagefright/webm/tests/ |
D | WebmFrameThreadUnitTest.cpp | 70 : mSinkThread(nullptr), mAudioThread(nullptr), mVideoThread(nullptr), mSource{} {} in WebmFrameThreadUnitTest() 87 if (mSource[idx] != nullptr) { in TearDown() 88 mSource[idx].clear(); in TearDown() 111 sp<MediaAdapter> mSource[kMaxStreamCount]; member in WebmFrameThreadUnitTest 163 mSource[kVideoIdx] = new MediaAdapter(trackMeta); in addTrack() 164 ASSERT_NE(mSource[kVideoIdx], nullptr) << "Unable to create source"; in addTrack() 166 mSource[kAudioIdx] = new MediaAdapter(trackMeta); in addTrack() 167 ASSERT_NE(mSource[kAudioIdx], nullptr) << "Unable to create source"; in addTrack() 181 mVideoThread = new WebmFrameMediaSourceThread(mSource[kVideoIdx], kVideoType, mVSink, in createWebmThreads() 184 mAudioThread = new WebmFrameMediaSourceThread(mSource[kAudioIdx], kAudioType, mASink, in createWebmThreads() [all …]
|
/frameworks/base/core/java/android/security/net/config/ |
D | CertificatesEntryRef.java | 25 private final CertificateSource mSource; field in CertificatesEntryRef 29 mSource = source; in CertificatesEntryRef() 40 for (X509Certificate cert : mSource.getCertificates()) { in getTrustAnchors() 47 X509Certificate foundCert = mSource.findBySubjectAndPublicKey(cert); in findBySubjectAndPublicKey() 56 X509Certificate foundCert = mSource.findByIssuerAndSignature(cert); in findByIssuerAndSignature() 65 return mSource.findAllByIssuerAndSignature(cert); in findAllCertificatesByIssuerAndSignature() 69 mSource.handleTrustStorageUpdate(); in handleTrustStorageUpdate()
|
/frameworks/av/media/libstagefright/ |
D | CallbackMediaSource.cpp | 23 :mSource(source) {} in CallbackMediaSource() 28 return mSource->start(params); in start() 32 return mSource->stop(); in stop() 36 return mSource->getFormat(); in getFormat() 40 return mSource->read(buffer, reinterpret_cast<const ReadOptions*>(options)); in read() 44 return mSource->pause(); in pause()
|
D | JPEGSource.cpp | 56 : mSource(source), in JPEGSource() 64 CHECK(mSource->getSize(&mSize) == OK); in JPEGSource() 124 ssize_t n = mSource->readAt(mOffset, buffer->data(), mSize - mOffset); in read() 149 if (!mSource->getUInt16(i, &soi)) { in parseJPEG() 161 if (mSource->readAt(i++, &marker, 1) != 1) { in parseJPEG() 167 if (mSource->readAt(i++, &marker, 1) != 1) { in parseJPEG() 174 if (!mSource->getUInt16(i, &chunkSize)) { in parseJPEG() 209 if (!mSource->getUInt16(i + 1, &height) in parseJPEG() 210 || !mSource->getUInt16(i + 3, &width)) { in parseJPEG()
|
D | CallbackDataSource.cpp | 121 : mSource(source), mCachedOffset(0), mCachedSize(0) { in TinyCacheSource() 122 mName = String8::format("TinyCacheSource(%s)", mSource->toString().string()); in TinyCacheSource() 126 return mSource->initCheck(); in initCheck() 154 return mSource->readAt(offset, data, size); in readAt() 158 const ssize_t numRead = mSource->readAt(offset, mCache, kCacheSize); in readAt() 182 return mSource->getSize(size); in getSize() 186 return mSource->flags(); in flags() 190 return mSource->getIDataSource(); in getIDataSource()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | Statement.java | 51 private final AbstractAsset mSource; field in Statement 54 mSource = source; in Statement() 64 return mSource; in getSource() 114 if (!mSource.equals(statement.mSource)) { in equals() 125 result = 31 * result + mSource.hashCode(); in hashCode() 133 statement.append(mSource); in toString()
|
/frameworks/base/core/java/android/text/ |
D | InputFilter.java | 107 private final CharSequence mSource; field in InputFilter.AllCaps.CharSequenceWrapper 112 mSource = source; in CharSequenceWrapper() 126 return mSource.charAt(mStart + index); in charAt() 133 return new CharSequenceWrapper(mSource, mStart + start, mStart + end); in subSequence() 137 return mSource.subSequence(mStart, mEnd).toString(); in toString() 141 return ((Spanned) mSource).getSpans(mStart + start, mStart + end, type); in getSpans() 145 return ((Spanned) mSource).getSpanStart(tag) - mStart; in getSpanStart() 149 return ((Spanned) mSource).getSpanEnd(tag) - mStart; in getSpanEnd() 153 return ((Spanned) mSource).getSpanFlags(tag); in getSpanFlags() 157 return ((Spanned) mSource).nextSpanTransition(mStart + start, mStart + limit, type) in nextSpanTransition()
|
D | AlteredCharSequence.java | 46 mSource = source; in AlteredCharSequence() 95 return mSource.charAt(off); in charAt() 99 return mSource.length(); in length() 103 return AlteredCharSequence.make(mSource.subSequence(start, end), in subSequence() 108 TextUtils.getChars(mSource, start, end, dest, off); in getChars() 128 private CharSequence mSource; field in AlteredCharSequence
|
/frameworks/av/media/libstagefright/include/ |
D | ThrottledSource.h | 42 return mSource->initCheck(); in initCheck() 46 return mSource->getSize(size); in getSize() 50 return mSource->flags(); in flags() 54 return mSource->reconnectAtOffset(offset); in reconnectAtOffset() 58 return mSource->getMIMEType(); in getMIMEType() 64 sp<DataSource> mSource; member
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | RemoteDataSource.h | 51 return mSource->readAt(offset, mMemory->pointer(), size); in readAt() 54 return mSource->getSize(size); in getSize() 60 mSource = nullptr; in close() 64 return mSource->flags(); in getFlags() 76 sp<DataSource> mSource; variable 81 mSource = source; in RemoteDataSource() 87 mName = String8::format("RemoteDataSource(%s)", mSource->toString().string()); in RemoteDataSource()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | CursorInputMapper.cpp | 67 return mSource; in getSources() 76 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, minX, maxX, 0.0f, 0.0f, 0.0f); in populateDeviceInfo() 77 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, minY, maxY, 0.0f, 0.0f, 0.0f); in populateDeviceInfo() 80 info->addMotionRange(AMOTION_EVENT_AXIS_X, mSource, -1.0f, 1.0f, 0.0f, mXScale, 0.0f); in populateDeviceInfo() 81 info->addMotionRange(AMOTION_EVENT_AXIS_Y, mSource, -1.0f, 1.0f, 0.0f, mYScale, 0.0f); in populateDeviceInfo() 83 info->addMotionRange(AMOTION_EVENT_AXIS_PRESSURE, mSource, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo() 86 info->addMotionRange(AMOTION_EVENT_AXIS_VSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo() 89 info->addMotionRange(AMOTION_EVENT_AXIS_HSCROLL, mSource, -1.0f, 1.0f, 0.0f, 0.0f, 0.0f); in populateDeviceInfo() 130 mSource = AINPUT_SOURCE_MOUSE; in configure() 138 mSource = AINPUT_SOURCE_TRACKBALL; in configure() [all …]
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | GenericSource.cpp | 233 if (mAudioTrack.mSource == NULL) { in initFromDataSource() 235 mAudioTrack.mSource = track; in initFromDataSource() 237 new AnotherPacketSource(mAudioTrack.mSource->getFormat()); in initFromDataSource() 248 if (mVideoTrack.mSource == NULL) { in initFromDataSource() 250 mVideoTrack.mSource = track; in initFromDataSource() 252 new AnotherPacketSource(mVideoTrack.mSource->getFormat()); in initFromDataSource() 318 if (mAudioTrack.mSource != NULL && mAudioTrack.mSource->start() != OK) { in startSources() 323 if (mVideoTrack.mSource != NULL && mVideoTrack.mSource->start() != OK) { in startSources() 332 if (mAudioTrack.mSource != NULL) { in getLastReadPosition() 334 } else if (mVideoTrack.mSource != NULL) { in getLastReadPosition() [all …]
|
D | NuPlayer.cpp | 465 source = mSource; in resetAsync() 554 CHECK(mSource == NULL); in onMessageReceived() 561 mSource = static_cast<Source *>(obj.get()); in onMessageReceived() 582 if (mSource != NULL) { in onMessageReceived() 583 err = mSource->getBufferingSettings(&buffering); in onMessageReceived() 605 if (mSource != NULL) { in onMessageReceived() 606 err = mSource->setBufferingSettings(buffering); in onMessageReceived() 620 mSource->prepareAsync(); in onMessageReceived() 633 if (mSource != NULL) { in onMessageReceived() 634 inbandTracks = mSource->getTrackCount(); in onMessageReceived() [all …]
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | VirtualDisplaySurface.cpp | 65 mSource{}, in VirtualDisplaySurface() 83 mSource[SOURCE_SINK] = sink; 84 mSource[SOURCE_SCRATCH] = bqProducer; 115 mSource[SOURCE_SCRATCH]->connect(nullptr, NATIVE_WINDOW_API_EGL, false, &output); 119 mSource[SOURCE_SCRATCH]->disconnect(NATIVE_WINDOW_API_EGL); in ~VirtualDisplaySurface() 262 status_t result = mSource[SOURCE_SINK]->queueBuffer(sslot, in onFrameCommitted() 278 mSource[SOURCE_SINK]->cancelBuffer(sslot, retireFence); in onFrameCommitted() 302 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf); in requestBuffer() 315 return mSource[SOURCE_SINK]->setMaxDequeuedBufferCount(maxDequeuedBuffers); in setMaxDequeuedBufferCount() 319 return mSource[SOURCE_SINK]->setAsyncMode(async); in setAsyncMode() [all …]
|
/frameworks/compile/libbcc/lib/ |
D | Script.cpp | 32 : mSource(pSource), in Script() 41 BCCContext &context = mSource->getContext(); in LinkRuntime() 50 mLinkRuntimeCallback(this, &mSource->getModule(), in LinkRuntime() 81 if (!mSource->merge(*libclcore_source)) { in LinkRuntime() 90 bool Script::mergeSource(Source &pSource) { return mSource->merge(pSource); } in mergeSource()
|
/frameworks/base/core/java/android/text/method/ |
D | PasswordTransformationMethod.java | 144 mSource = source; in PasswordCharSequence() 148 return mSource.length(); in length() 152 if (mSource instanceof Spanned) { in charAt() 153 Spanned sp = (Spanned) mSource; in charAt() 159 return mSource.charAt(i); in charAt() 170 return mSource.charAt(i); in charAt() 191 TextUtils.getChars(mSource, start, end, dest, off); in getChars() 197 if (mSource instanceof Spanned) { in getChars() 198 Spanned sp = (Spanned) mSource; in getChars() 234 private CharSequence mSource; field in PasswordTransformationMethod.PasswordCharSequence
|
/frameworks/av/media/libmedia/ |
D | MidiIoWrapper.cpp | 57 mSource = csource; in DataSourceUnwrapper() 68 return mSource->readAt(mSource->handle, offset, data, size); in readAt() 73 return mSource->getSize(mSource->handle, size); in getSize() 86 CDataSource *mSource; member in android::MidiIoWrapper::DataSourceUnwrapper
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InsetsSourceProvider.java | 51 private final @NonNull InsetsSource mSource; field in InsetsSourceProvider 73 mSource = source; in InsetsSourceProvider() 88 return mSource; in getSource() 114 mSource.setFrame(new Rect()); in setWindow() 137 mSource.setFrame(mTmpRect); in onPostLayout() 162 setClientVisible(InsetsState.getDefaultVisibility(mSource.getType())); in updateControlForTarget() 166 mControl = new InsetsSourceControl(mSource.getType(), mAdapter.mCapturedLeash, in updateControlForTarget() 194 mSource.setVisible(mServerVisible && mClientVisible); in updateVisibility() 231 setClientVisible(InsetsState.getDefaultVisibility(mSource.getType())); in onAnimationCancelled()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AAudioFlowGraph.cpp | 46 mSource = std::make_unique<SourceFloat>(sourceChannelCount); in configure() 49 mSource = std::make_unique<SourceI16>(sourceChannelCount); in configure() 52 mSource = std::make_unique<SourceI24>(sourceChannelCount); in configure() 58 lastOutput = &mSource->output; in configure() 103 mSource->setData(source, numFrames); in process()
|