/frameworks/native/services/sensorservice/ |
H A D | LinearAccelerationSensor.cpp | 32 LinearAccelerationSensor::LinearAccelerationSensor(sensor_t const* list, size_t count) : argument 33 mGravitySensor(list, count) {
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | GsmCodec.cpp | 47 int decode(int16_t *samples, int count, void *payload, int length); 60 int GsmCodec::decode(int16_t *samples, int count, void *payload, int length) argument 64 while (n + 160 <= count && length >= 33 &&
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LogWriter.java | 51 @Override public void write(char[] buf, int offset, int count) { argument 52 for(int i = 0; i < count; i++) {
|
/frameworks/support/v4/tests/java/android/support/v4/view/ |
H A D | ViewPropertyAnimatorCompatTest.java | 124 void waitAndCheckCallCount(final int count) throws InterruptedException { argument 126 while (mNumListenerCalls != count) {
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/util/ |
H A D | SortedListAdapterCallback.java | 41 public void onInserted(int position, int count) { argument 42 mAdapter.notifyItemRangeInserted(position, count); 46 public void onRemoved(int position, int count) { argument 47 mAdapter.notifyItemRangeRemoved(position, count); 56 public void onChanged(int position, int count) { argument 57 mAdapter.notifyItemRangeChanged(position, count);
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraMetadata.h | 51 camera_status_t update(uint32_t tag, uint32_t count, const uint8_t* data); 52 camera_status_t update(uint32_t tag, uint32_t count, const int32_t* data); 53 camera_status_t update(uint32_t tag, uint32_t count, const float* data); 54 camera_status_t update(uint32_t tag, uint32_t count, const double* data); 55 camera_status_t update(uint32_t tag, uint32_t count, const int64_t* data); 56 camera_status_t update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data); 70 camera_status_t updateImpl(uint32_t tag, uint32_t count, const NDK_T* data) { argument 83 if (count == 0 && data == nullptr) { 88 ret = mData.update(tag, reinterpret_cast<const INTERNAL_T*>(data), count);
|
/frameworks/av/media/img_utils/src/ |
H A D | EndianUtils.cpp | 48 status_t EndianOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument 50 if((res = mOutput->write(buf, offset, count)) == OK) { 51 mOffset += count; 56 status_t EndianOutput::write(const int8_t* buf, size_t offset, size_t count) { argument 57 return write(reinterpret_cast<const uint8_t*>(buf), offset, count); 61 status_t EndianOutput::write(const _type_* buf, size_t offset, size_t count) { \ 62 return writeHelper<_type_>(buf, offset, count); \ 72 status_t EndianOutput::write(const float* buf, size_t offset, size_t count) { argument 74 return writeHelper<uint32_t>(reinterpret_cast<const uint32_t*>(buf), offset, count); 77 status_t EndianOutput::write(const double* buf, size_t offset, size_t count) { argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | IMediaDeathNotifier.cpp | 92 size_t count = list.size(); local 93 for (size_t iter = 0; iter < count; ++iter) {
|
H A D | MemoryLeakTrackUtil.cpp | 64 size_t count; local 66 || (count = overallSize / infoSize) == 0) { 72 oss << totalMemory << " bytes in " << count << " allocations\n"; local 74 if (count > limit) count = limit; 79 for (size_t i = 0; i < count; i++) {
|
/frameworks/av/media/libnbaio/ |
H A D | AudioBufferProviderSource.cpp | 49 ssize_t AudioBufferProviderSource::read(void *buffer, size_t count) argument 55 mBuffer.frameCount = count; 64 if (CC_UNLIKELY(count > available)) { 65 count = available; 67 // count could be zero, either because count was zero on entry or 69 memcpy(buffer, (char *) mBuffer.raw + (mConsumed * mFrameSize), count * mFrameSize); 70 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) { 75 mFramesRead += count; 76 // For better responsiveness with large values of count, 92 size_t count = total - accumulator; local [all...] |
H A D | AudioStreamInSource.cpp | 67 ssize_t AudioStreamInSource::read(void *buffer, size_t count) argument 72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize);
|
H A D | MonoPipeReader.cpp | 46 ssize_t MonoPipeReader::read(void *buffer, size_t count) argument 48 // count == 0 is unlikely and not worth checking for explicitly; will be handled automatically 53 if (CC_LIKELY((size_t) red > count)) { 54 red = count;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_EncodeMV.c | 104 OMX_INT iBlk, i, count = 1; local 133 count = 4; 137 count = 1; 143 for (iBlk = 0; iBlk < count; iBlk++)
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_mid_hor.s | 37 count RN 2 ;// bit-packed width and count values
label 71 ;// pack values to count register
81 AND tmp3, count, #0x000F0000 ;// partWidth-1
84 ADD count, count, tmp3, LSL #12
115 SUBS count, count, #4<<28
146 SUBS count, count, # [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpStringBuffer.cpp | 59 // count the characters 60 int count = 0; local 64 while ((ch = *src++) != 0 && count < MTP_STRING_MAX_CHARACTER_NUMBER) { 95 count++; 100 mCharCount = count; 104 int count = 0; local 108 while ((ch = *src++) != 0 && count < MTP_STRING_MAX_CHARACTER_NUMBER) { 119 count++; 122 mCharCount = count; 127 uint8_t count; local 155 int count = mCharCount; local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | StateQueue.cpp | 117 unsigned count = 0; local 130 if (count == 1) { 133 ++count; 138 if (count > 1) { 161 unsigned count = 0; local 170 if (count == 1) { 173 ++count; 178 if (count > 1) {
|
/frameworks/base/core/java/android/os/health/ |
H A D | TimerStat.java | 23 * A TimerStat object stores a count and a time. 49 * Construct an empty TimerStat object with the count and time set to 0. 55 * Construct a TimerStat object with the supplied count and time fields. 57 * @param count The count 60 public TimerStat(int count, long time) { argument 61 mCount = count; 90 * Set the count for this timer. 92 public void setCount(int count) { argument 93 mCount = count; [all...] |
/frameworks/base/core/java/android/util/ |
H A D | LogWriter.java | 64 @Override public void write(char[] buf, int offset, int count) { argument 65 for(int i = 0; i < count; i++) {
|
H A D | LongArray.java | 83 final int count = values.mSize; 84 ensureCapacity(count); 86 System.arraycopy(values.mValues, 0, mValues, mSize, count); 87 mSize += count; 91 * Ensures capacity to append at least <code>count</code> values. 93 private void ensureCapacity(int count) { argument 95 final int minCapacity = currentSize + count;
|
/frameworks/base/core/java/com/android/internal/logging/ |
H A D | MetricsLogger.java | 82 public static void count(Context context, String name, int value) { method in class:MetricsLogger
|
/frameworks/base/core/java/com/android/internal/midi/ |
H A D | MidiFramer.java | 48 public static String formatMidiData(byte[] data, int offset, int count) { argument 50 for (int i = 0; i < count; i++) { 60 public void onSend(byte[] data, int offset, int count, long timestamp) argument 64 for (int i = 0; i < count; i++) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AlertDialogLayout.java | 78 final int count = getChildCount(); 79 for (int i = 0; i < count; i++) { 193 for (int i = 0; i < count; i++) { 209 forceUniformWidth(count, heightMeasureSpec); 218 * @param count the number of child views 221 private void forceUniformWidth(int count, int heightMeasureSpec) { argument 226 for (int i = 0; i < count; i++) {
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmOutputStream.java | 93 public void write(byte[] buffer, int offset, int count) throws IOException { argument 94 Arrays.checkOffsetAndCount(buffer.length, offset, count); 97 if (count == buffer.length) { 100 exactBuffer = new byte[count]; 101 System.arraycopy(buffer, offset, exactBuffer, 0, count);
|
/frameworks/base/libs/common_time/ |
H A D | utils.h | 65 uint32_t count; member in class:android::LogRing::Entry
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestScene.h | 39 int count = 0; member in struct:android::uirenderer::test::TestScene::Options
|