/frameworks/base/ravenwood/runtime-helper-src/framework/com/android/platform/test/ravenwood/nativesubstitution/ |
D | LongMultiStateCounter_host.java | 35 private final int mStateCount; field in LongMultiStateCounter_host.LongMultiStateCounterRavenwood 50 mStateCount = stateCount; in LongMultiStateCounterRavenwood() 52 for (int i = 0; i < mStateCount; i++) { in LongMultiStateCounterRavenwood() 87 for (int i = 0; i < mStateCount; i++) { in setState() 111 for (int i = 0; i < mStateCount; i++) { in updateValue() 119 for (int i = 0; i < mStateCount; i++) { in updateValue() 124 for (int i = 0; i < mStateCount; i++) { in updateValue() 146 for (int i = 0; i < mStateCount; i++) { in reset() 153 parcel.writeInt(mStateCount); in writeToParcel() 154 for (int i = 0; i < mStateCount; i++) { in writeToParcel() [all …]
|
D | LongArrayMultiStateCounter_host.java | 36 private final int mStateCount; field in LongArrayMultiStateCounter_host.LongArrayMultiStateCounterRavenwood 53 mStateCount = stateCount; in LongArrayMultiStateCounterRavenwood() 56 for (int i = 0; i < mStateCount; i++) { in LongArrayMultiStateCounterRavenwood() 94 for (int i = 0; i < mStateCount; i++) { in setState() 104 for (int i = 0; i < mStateCount; i++) { in copyStatesFrom() 129 for (int i = 0; i < mStateCount; i++) { in updateValue() 173 for (int i = 0; i < mStateCount; i++) { in reset() 180 parcel.writeInt(mStateCount); in writeToParcel() 182 for (int i = 0; i < mStateCount; i++) { in writeToParcel() 189 for (int i = 0; i < mStateCount; i++) { in initFromParcel() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LongMultiStateCounter.java | 65 private final int mStateCount; field in LongMultiStateCounter 73 mStateCount = stateCount; in LongMultiStateCounter() 82 mStateCount = native_getStateCount(mNativeObject); in LongMultiStateCounter() 103 return mStateCount; in getStateCount() 122 if (state < 0 || state >= mStateCount) { in setState() 124 "State: " + state + ", outside the range: [0-" + (mStateCount - 1) + "]"); in setState() 165 if (state < 0 || state >= mStateCount) { in getCount() 167 "State: " + state + ", outside the range: [0-" + mStateCount + "]"); in getCount() 177 for (int state = 0; state < mStateCount; state++) { in getTotalCount()
|
D | LongArrayMultiStateCounter.java | 163 private final int mStateCount; field in LongArrayMultiStateCounter 172 mStateCount = stateCount; in LongArrayMultiStateCounter() 200 mStateCount = native_getStateCount(mNativeObject); in LongArrayMultiStateCounter() 205 return mStateCount; in getStateCount() 224 if (state < 0 || state >= mStateCount) { in setState() 226 "State: " + state + ", outside the range: [0-" + (mStateCount - 1) + "]"); in setState() 235 if (mStateCount != counter.mStateCount) { in copyStatesFrom() 237 "State count is not the same: " + mStateCount + " vs. " + counter.mStateCount); in copyStatesFrom() 246 if (state < 0 || state >= mStateCount) { in setValues() 248 "State: " + state + ", outside the range: [0-" + (mStateCount - 1) + "]"); in setValues() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
D | LongArrayMultiStateCounterPerfTest.java | 44 private final int mStateCount; field in LongArrayMultiStateCounterPerfTest.TestLongArrayMultiStateCounter 60 mStateCount = stateCount; in TestLongArrayMultiStateCounter() 63 for (int i = 0; i < mStateCount; i++) { in TestLongArrayMultiStateCounter() 77 for (int i = 0; i < mStateCount; i++) { in setState() 93 for (int i = 0; i < mStateCount; i++) { in updateValue() 117 for (int i = 0; i < mStateCount; i++) { in delta()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
D | StateWaiter.java | 49 private final int mStateCount; field in StateWaiter 66 mStateCount = stateNames.length; in StateWaiter() 67 mStateNames = new String[mStateCount]; in StateWaiter() 68 System.arraycopy(stateNames, /*srcPos*/0, mStateNames, /*dstPos*/0, mStateCount); in StateWaiter() 205 if (state < 0 || state >= mStateCount) { in checkStateInRange()
|
/frameworks/av/media/libaudioprocessing/ |
D | AudioResamplerDyn.cpp | 63 : mState(NULL), mImpulse(NULL), mRingFull(NULL), mStateCount(0) in InBuffer() 80 mStateCount = 0; in init() 92 && stateCount == mStateCount in resize() 93 && mRingFull-mState == (ssize_t) (mStateCount-halfNumCoefs*CHANNELS)) { in resize() 115 if (srcHi > mState + mStateCount) { in resize() 116 srcHi = mState + mStateCount; in resize() 124 mStateCount = stateCount; in resize() 126 mRingFull = state + mStateCount - halfNumCoefs*CHANNELS; in resize() 162 memset(mState, 0, mStateCount * sizeof(TI)); in reset()
|
D | AudioResamplerDyn.h | 147 size_t mStateCount; // size of state in units of TI. variable
|