/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
FakeInputStream.java | 26 private long mRemaining; 29 mRemaining = length; 35 if (mRemaining > 0) { 36 mRemaining--; 47 if (length > mRemaining) { 48 length = (int) mRemaining; 50 mRemaining -= length;
|
/frameworks/base/core/java/android/content/res/ |
AssetFileDescriptor.java | 202 private long mRemaining; 207 mRemaining = (int)fd.getLength(); 212 return mRemaining >= 0 213 ? (mRemaining < 0x7fffffff ? (int)mRemaining : 0x7fffffff) 226 if (mRemaining >= 0) { 227 if (mRemaining == 0) return -1; 228 if (count > mRemaining) count = (int)mRemaining; 230 if (res >= 0) mRemaining -= res [all...] |
/frameworks/av/media/libnbaio/ |
SourceAudioBufferProvider.cpp | 28 mAllocated(NULL), mSize(0), mOffset(0), mRemaining(0), mGetCount(0), mFramesReleased(0) 52 if (mRemaining > 0) { 53 ALOG_ASSERT(mOffset + mRemaining <= mSize); 54 if (mRemaining < buffer->frameCount) { 55 buffer->frameCount = mRemaining; 80 mRemaining = actual; 99 (mGetCount <= mRemaining) && 100 (mOffset + mRemaining <= mSize)); 102 mRemaining -= buffer->frameCount;
|
/frameworks/av/include/media/nbaio/ |
SourceAudioBufferProvider.h | 48 size_t mRemaining; // frame count within mAllocated of valid data
|
/frameworks/ex/framesequence/jni/ |
Stream.h | 48 mRemaining(size), 59 size_t mRemaining;
|
Stream.cpp | 104 return mRemaining; 111 size = min(size, mRemaining); 114 mRemaining -= size;
|
/frameworks/av/services/audioflinger/ |
BufferProviders.cpp | 332 mRemaining(0), 367 if (pBuffer->frameCount <= mRemaining) { 377 if (mRemaining != 0) { 378 memcpy(newmem, mLocalBufferData, mRemaining * mFrameSize); 387 const size_t outputDesired = pBuffer->frameCount - mRemaining; 398 if (mRemaining == 0) { 404 pBuffer->frameCount = mRemaining; 410 dstAvailable = min(mLocalBufferFrameCount - mRemaining, outputDesired); 412 processFrames((uint8_t*)mLocalBufferData + mRemaining * mFrameSize, &dstAvailable, 421 mRemaining += dstAvailable [all...] |
BufferProviders.h | 187 size_t mRemaining; // remaining data in local buffer
|
/cts/tests/tests/os/src/android/os/cts/ |
MessageQueueTest.java | 288 private int mRemaining = size; 305 int count = Math.min(mBuffer.length, mRemaining); 311 mRemaining -= count; 312 return mRemaining != 0 ? EVENT_OUTPUT : EVENT_ERROR; 325 private int mRemaining = size; 343 mRemaining -= count; 347 if (mRemaining != 0) { [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/ |
StorageMeasurement.java | 192 private int mRemaining; 206 mRemaining = remaining; 215 if (--mRemaining == 0) {
|
/frameworks/base/core/jni/android/opengl/ |
util.cpp | 857 mRemaining = 0; 862 mData = getPointer(mEnv, mBuffer, &mRemaining); 878 return mRemaining; 885 jint mRemaining; [all...] |
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
PrivateVolumeSettings.java | 822 private int mRemaining; 826 mRemaining = remaining; 832 if (--mRemaining == 0) [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.1.2_r1-robolectric-0.jar | |
android-all-4.2.2_r1.2-robolectric-0.jar | |
android-all-4.3_r2-robolectric-0.jar | |