Searched refs:mCurrentCount (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LongSamplingCounterTest.java | 78 assertEquals(CURRENT_COUNT, mCounter.mCurrentCount); in testReadWriteParcel() 119 assertEquals(111, mCounter.mCurrentCount); in testAddCountLocked() 122 assertEquals(333, mCounter.mCurrentCount); in testAddCountLocked() 127 assertEquals(789, mCounter.mCurrentCount); in testAddCountLocked() 131 assertEquals(1233, mCounter.mCurrentCount); in testAddCountLocked() 134 assertEquals(1800, mCounter.mCurrentCount); in testAddCountLocked() 144 assertEquals(111, mCounter.mCurrentCount); in testUpdate() 147 assertEquals(333, mCounter.mCurrentCount); in testUpdate() 152 assertEquals(789, mCounter.mCurrentCount); in testUpdate() 155 assertEquals(100, mCounter.mCurrentCount); in testUpdate() [all …]
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 32 mCurrentCount = mCurrentDimX; in updateCacheInfo() 34 mCurrentCount *= mCurrentDimY; in updateCacheInfo() 37 mCurrentCount *= mCurrentDimZ; in updateCacheInfo() 223 if((off + count) > mCurrentCount) { in copy1DRangeFrom() 224 ALOGE("Overflow, Available count %u, got %zu at offset %u.", mCurrentCount, count, off); in copy1DRangeFrom() 246 if((off + count) > mCurrentCount) { in copy1DRangeTo() 247 ALOGE("Overflow, Available count %u, got %zu at offset %u.", mCurrentCount, count, off); in copy1DRangeTo() 274 copy1DRangeFrom(0, mCurrentCount, data); in copy1DFrom() 278 copy1DRangeTo(0, mCurrentCount, data); in copy1DTo()
|
D | rsCppStructs.h | 594 uint32_t mCurrentCount; variable
|
/frameworks/base/rs/java/android/renderscript/ |
D | AllocationAdapter.java | 61 mCurrentCount = mCurrentDimX; in initLOD() 63 mCurrentCount *= mCurrentDimY; in initLOD() 66 mCurrentCount *= mCurrentDimZ; in initLOD()
|
D | Allocation.java | 82 int mCurrentCount; field in Allocation 369 mCurrentCount = mCurrentDimX; in updateCacheInfo() 371 mCurrentCount *= mCurrentDimY; in updateCacheInfo() 374 mCurrentCount *= mCurrentDimZ; in updateCacheInfo() 609 if (d.length != mCurrentCount) { in copyFrom() 611 … mCurrentCount + ", array length = " + d.length); in copyFrom() 619 copy1DRangeFromUnchecked(0, mCurrentCount, i); in copyFrom() 625 copy1DRangeFromUnchecked(0, mCurrentCount, i); in copyFrom() 696 copy1DRangeFromUnchecked(0, mCurrentCount, array, dt, arrayLen); in copyFromUnchecked() 1108 if((off + count) > mCurrentCount) { in data1DChecks() [all …]
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
D | Allocation.java | 82 int mCurrentCount; field in Allocation 337 mCurrentCount = mCurrentDimX; in updateCacheInfo() 339 mCurrentCount *= mCurrentDimY; in updateCacheInfo() 342 mCurrentCount *= mCurrentDimZ; in updateCacheInfo() 598 if (d.length != mCurrentCount) { in copyFrom() 600 mCurrentCount + ", array length = " + d.length); in copyFrom() 608 copy1DRangeFromUnchecked(0, mCurrentCount, i); in copyFrom() 614 copy1DRangeFromUnchecked(0, mCurrentCount, i); in copyFrom() 680 copy1DRangeFromUnchecked(0, mCurrentCount, array, dt, arrayLen); in copyFromUnchecked() 1090 if((off + count) > mCurrentCount) { in data1DChecks() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 1572 public long mCurrentCount; field in BatteryStatsImpl.LongSamplingCounter 1579 mCurrentCount = in.readLong(); in LongSamplingCounter() 1592 out.writeLong(mCurrentCount); in writeToParcel() 1619 + " mCurrentCount=" + mCurrentCount in logState() 1625 update(mCurrentCount + count, mTimeBase.isRunning()); in addCountLocked() 1629 update(mCurrentCount + count, isRunning); in addCountLocked() 1637 if (count < mCurrentCount) { in update() 1638 mCurrentCount = 0; in update() 1641 mCount += count - mCurrentCount; in update() 1643 mCurrentCount = count; in update()
|