/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 73 private LaunchParams mCurrent; field in TaskLaunchParamsModifierTests 84 mCurrent = new LaunchParams(); in setUp() 85 mCurrent.reset(); in setUp() 94 /* activity */ null, /* source */ null, /* options */ null, mCurrent, mResult)); in testReturnsSkipWithEmptyActivity() 105 mActivity, /* source */ null, /* options */ null, mCurrent, mResult)); in testDefaultToPrimaryDisplay() 112 mCurrent.mPreferredDisplayId = 19; in testUsesDefaultDisplayIfPreviousDisplayNotExists() 115 mActivity, /* source */ null, /* options */ null, mCurrent, mResult)); in testUsesDefaultDisplayIfPreviousDisplayNotExists() 125 mCurrent.mPreferredDisplayId = display.mDisplayId; in testUsesPreviousDisplayIdIfSet() 128 mActivity, /* source */ null, /* options */ null, mCurrent, mResult)); in testUsesPreviousDisplayIdIfSet() 140 mCurrent.mPreferredDisplayId = freeformDisplay.mDisplayId; in testUsesSourcesDisplayIdIfSet() [all …]
|
/frameworks/av/media/libmedia/ |
D | StringArray.cpp | 32 : mMax(0), mCurrent(0), mArray(NULL) in StringArray() 37 for (int i = 0; i < mCurrent; i++) in ~StringArray() 46 if (mCurrent >= mMax) { in push_back() 58 memcpy(tmp, mArray, mCurrent * sizeof(char*)); in push_back() 64 mArray[mCurrent] = new char[len+1]; in push_back() 65 memcpy(mArray[mCurrent], str, len+1); in push_back() 66 mCurrent++; in push_back() 75 if (idx < 0 || idx >= mCurrent) in erase() 78 if (idx < mCurrent-1) { in erase() 80 (mCurrent-1 - idx) * sizeof(char*)); in erase() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/ |
D | XMLParser.java | 57 private XMLNode mCurrent = null; field in XMLParser 66 mCurrent = null; in parse() 80 XMLNode parent = mCurrent; in startElement() 82 mCurrent = new XMLNode(parent, qName); in startElement() 85 mRoot = mCurrent; in startElement() 89 parent.addChild(mCurrent); in startElement() 95 if (!qName.equals(mCurrent.getTag())) { in endElement() 97 mCurrent); in endElement() 100 mCurrent.close(); in endElement() 101 mCurrent = mCurrent.getParent(); in endElement() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.cpp | 92 mCurrent = mLast = mScanOffset = from; in followingWithLocale() 95 return mCurrent; in followingWithLocale() 102 mCurrent = 0; in setText() 110 return mCurrent; in current() 165 int32_t result = ubrk_following(mIcuBreaker.breaker.get(), mCurrent); in iteratorNext() 259 mLast = mCurrent; in next() 263 mCurrent = findNextBreakInEmailOrUrl(); in next() 265 mCurrent = (ssize_t)iteratorNext(); in next() 267 return mCurrent; in next() 275 while (result < mCurrent) { in wordStart() [all …]
|
D | StringPiece.h | 91 : mStarted(false), mCurrent(0), mString(string), mDelimiter(delimiter) {} in SplitIterator() 97 const size_t searchFrom = mStarted ? mCurrent + 1 : 0; in next() 99 mCurrent = mString.find(searchFrom, mDelimiter); in next() 100 return mString.substr(searchFrom, mCurrent - searchFrom); in next() 102 inline bool hasNext() const { return mCurrent < mString.size(); } in hasNext() 106 size_t mCurrent; variable
|
D | WordBreaker.h | 144 ssize_t mCurrent; variable
|
/frameworks/av/services/audioflinger/ |
D | FastThread.cpp | 43 mPrevious(NULL), mCurrent(NULL), in FastThread() 117 next = mCurrent; in threadLoop() 121 if (next != mCurrent) { in threadLoop() 138 if (!(mCurrent->mCommand & FastThreadState::IDLE)) { in threadLoop() 147 mPrevious = mCurrent; in threadLoop() 149 mCurrent = next; in threadLoop() 168 if (mCurrent->mColdGen != mColdGen) { in threadLoop() 169 int32_t *coldFutexAddr = mCurrent->mColdFutexAddr; in threadLoop() 187 mColdGen = mCurrent->mColdGen; in threadLoop() 207 if (mCurrent != mPrevious) { in threadLoop() [all …]
|
D | FastCapture.cpp | 42 mCurrent = &sInitial; in FastCapture() 67 mPreIdle = *(const FastCaptureState *)mCurrent; in onIdle() 68 mCurrent = &mPreIdle; in onIdle() 90 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onStateChange() 162 const FastCaptureState * const current = (const FastCaptureState *) mCurrent; in onWork()
|
D | StateQueue.cpp | 44 mAck(NULL), mCurrent(NULL), in StateQueue() 64 if (next != mCurrent) { in poll() 66 mCurrent = next; in poll()
|
D | FastMixer.cpp | 78 mCurrent = &sInitial; in FastMixer() 115 mPreIdle = *(const FastMixerState *)mCurrent; in onIdle() 116 mCurrent = &mPreIdle; in onIdle() 139 const FastMixerState * const current = (const FastMixerState *) mCurrent; in updateMixerTrack() 209 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onStateChange() 345 const FastMixerState * const current = (const FastMixerState *) mCurrent; in onWork()
|
D | StateQueue.h | 195 const T* mCurrent; // most recent value returned by poll() variable
|
D | FastThread.h | 53 const FastThreadState* mCurrent; variable
|
/frameworks/native/services/surfaceflinger/ |
D | LayerRejecter.cpp | 35 mCurrent(current), in LayerRejecter() 80 mCurrent.active_legacy = mFront.active_legacy; in reject() 81 mCurrent.modified = true; in reject() 90 mCurrent.crop_legacy = mFront.requestedCrop_legacy; in reject() 136 mCurrent.activeTransparentRegion_legacy = mFront.activeTransparentRegion_legacy; in reject()
|
D | LayerRejecter.h | 39 Layer::State &mCurrent; variable
|
/frameworks/av/media/libmedia/include/media/ |
D | StringArray.h | 59 inline int size(void) const { return mCurrent; } in size() 66 return (unsigned(idx) >= unsigned(mCurrent)) ? NULL : mArray[idx]; in getEntry() 77 int mCurrent; variable
|
/frameworks/rs/driver/ |
D | rsdShaderCache.h | 59 int32_t vtxUniformSlot(uint32_t a) const {return mCurrent->vtxUniforms[a].slot;} in vtxUniformSlot() 60 uint32_t vtxUniformSize(uint32_t a) const {return mCurrent->vtxUniforms[a].arraySize;} in vtxUniformSize() 61 int32_t fragUniformSlot(uint32_t a) const {return mCurrent->fragUniforms[a].slot;} in fragUniformSlot() 62 uint32_t fragUniformSize(uint32_t a) const {return mCurrent->fragUniforms[a].arraySize;} in fragUniformSize() 144 ProgramEntry *mCurrent; variable
|
D | rsdShaderCache.cpp | 75 UniformData *data = mCurrent->vtxUniforms; in hasArrayUniforms() 81 data = mCurrent->fragUniforms; in hasArrayUniforms() 128 mCurrent = mEntries[ct]; in link() 139 mCurrent = e; in link() 237 for (uint32_t ct=0; ct < mCurrent->vtxAttrCount; ct++) { in vtxAttribSlot() 238 if (attrName == mCurrent->vtxAttrs[ct].name) { in vtxAttribSlot() 239 return mCurrent->vtxAttrs[ct].slot; in vtxAttribSlot()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerFirGen.h | 54 mCurrent = cos(wstart); 57 mCurrent = sin(wstart); 63 mCurrent = expNow; in SineGen() 68 return mCurrent; in value() 71 double tmp = mCurrent; in advance() 72 mCurrent = mCurrent*mTwoCos - mPrevious; in advance() 76 double tmp = mCurrent; in valueAdvance() 77 mCurrent = mCurrent*mTwoCos - mPrevious; in valueAdvance() 83 double mCurrent; // current value of sine/cosine
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayFrames.java | 82 public final Rect mCurrent = new Rect(); field in DisplayFrames 170 mCurrent.set(mUnrestricted); in onBeginLayout() 193 return mDock.bottom - mCurrent.bottom; in getInputMethodWindowVisibleHeight() 209 dumpFrame(mCurrent, "mCurrent", myPrefix, pw); in dump()
|
D | DisplayPolicy.java | 1314 cf = displayFrames.mCurrent; in getLayoutHintLw() 1501 displayFrames.mCurrent.inset(mForwardedInsets); in beginLayoutLw() 1569 displayFrames.mCurrent.set(dockFrame); in layoutScreenDecorWindows() 1621 displayFrames.mCurrent.set(dockFrame); in layoutStatusBar() 1625 displayFrames.mContent.toString(), displayFrames.mCurrent.toString())); in layoutStatusBar() 1736 displayFrames.mCurrent.set(dockFrame); in layoutNavigationBar() 1949 vf.set(displayFrames.mCurrent); in layoutWindowLw() 2076 vf.set(displayFrames.mCurrent); in layoutWindowLw() 2168 vf.set(displayFrames.mCurrent); in layoutWindowLw() 2214 vf.set(displayFrames.mCurrent); in layoutWindowLw() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphRunner.java | 60 private int mCurrent = STOPPED; field in GraphRunner.State 63 mCurrent = newState; in setState() 67 return ((mCurrent & state) == state); in check() 71 if ((mCurrent & state) != state) { in addState() 72 mCurrent |= state; in addState() 79 boolean result = (mCurrent & state) == state; in removeState() 80 mCurrent &= (~state); in removeState() 85 return mCurrent; in current()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 225 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseSecurityParameterIndex() 260 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testSecurityParameterIndexBinderDeath() 448 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi() 460 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testReleaseOwnedSpi() 485 assertEquals(0, userRecord.mTransformQuotaTracker.mCurrent); in testDeleteTransform() 486 assertEquals(1, userRecord.mSpiQuotaTracker.mCurrent); in testDeleteTransform() 500 assertEquals(0, userRecord.mSpiQuotaTracker.mCurrent); in testDeleteTransform() 538 assertEquals(0, userRecord.mTransformQuotaTracker.mCurrent); in testTransportModeTransformBinderDeath() 649 assertEquals(1, userRecord.mTunnelQuotaTracker.mCurrent); in testCreateTunnelInterface() 671 assertEquals(0, userRecord.mTunnelQuotaTracker.mCurrent); in testDeleteTunnelInterface() [all …]
|
/frameworks/av/media/libstagefright/xmlparser/ |
D | MediaCodecsXmlParser.cpp | 214 std::vector<CodecAndType> mCurrent; member 233 mIncludeStack.size(), mSectionStack.size(), mVariantsStack.size(), mCurrent.size() in createRestorePoint() 241 CHECK_GE(mCurrent.size(), rp.numCodecAndTypes); in restore() 246 mCurrent.resize(rp.numCodecAndTypes); in restore() 257 return !mCurrent.empty() && mCurrent.back().mCodec != mData->mCodecMap.end(); in inCodec() 262 && mCurrent.back().mType != mCurrent.back().mCodec->second.typeMap.end(); in inType() 268 mCurrent.pop_back(); in exitCodecOrType() 273 return mCurrent.back().mCodec->second; in codec() 277 return mCurrent.back().mName; in codecName() 281 return mCurrent.back().mUpdating; in updating() [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_object_ref_count.h | 54 clang::Stmt *mCurrent; // The statement currently being analyzed variable 89 void setCurrentStmt(clang::Stmt *S) { mCurrent = S; } in setCurrentStmt()
|
/frameworks/base/services/core/java/com/android/server/ |
D | IpSecService.java | 326 int mCurrent; field in IpSecService.ResourceTracker 330 mCurrent = 0; in ResourceTracker() 334 return (mCurrent < mMax); in isAvailable() 341 mCurrent++; in take() 345 if (mCurrent <= 0) { in give() 348 mCurrent--; in give() 355 .append(mCurrent) in toString()
|