/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | PacketEncoder.java | 32 * @param count the number of bytes in the packet buffer to write 34 public void writePacket(byte[] buffer, int count); argument
|
/frameworks/base/tools/aapt2/format/binary/ |
H A D | ResourceTypeExtensions.h | 28 uint32_t count; member in struct:aapt::ResTable_entry_ext
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ListChangeRegistry.java | 44 callback.onItemRangeChanged(sender, listChanges.start, listChanges.count); 47 callback.onItemRangeInserted(sender, listChanges.start, listChanges.count); 51 listChanges.count); 54 callback.onItemRangeRemoved(sender, listChanges.start, listChanges.count); 77 * @param count The number of changed elements. 79 public void notifyChanged(ObservableList list, int start, int count) { argument 80 ListChanges listChanges = acquire(start, 0, count); 89 * @param count The number of elements that were inserted. 91 public void notifyInserted(ObservableList list, int start, int count) { argument 92 ListChanges listChanges = acquire(start, 0, count); 104 notifyMoved(ObservableList list, int from, int to, int count) argument 116 notifyRemoved(ObservableList list, int start, int count) argument 121 acquire(int start, int to, int count) argument 147 public int count; field in class:ListChangeRegistry.ListChanges [all...] |
/frameworks/rs/tests/java_api/Refocus/dataExtraction/ |
H A D | extract_ave.sh | 11 count=0 27 if (( count > 0 ));then 28 rNine=$((InitializeSum/count)) 31 rTen=$((UnpackInputImageSum/count)) 34 rZero=$((MarkLayerMaskSum/count)) 37 rOne=$((ComputeLayerMatteBehindFocalDepthSum/count)) 40 rTwo=$((ComputeIntegralImageForLayerBehindFocalDepthSum/count)) 43 rThree=$((FilterLayerBehindFocalDepthSum/count)) 46 rFour=$((updateSharpImageUsingFuzzyImageSum/count)) 49 rFive=$((ComputeLayerMatteInFrontOfFocalDepthSum/count)) [all...] |
/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/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | BatchingListUpdateCallback.java | 75 public void onInserted(int position, int count) { argument 78 mLastEventCount += count; 84 mLastEventCount = count; 89 public void onRemoved(int position, int count) { argument 91 mLastEventPosition <= position + count) { 92 mLastEventCount += count; 98 mLastEventCount = count; 109 public void onChanged(int position, int count, Object payload) { argument 112 || position + count < mLastEventPosition || mLastEventPayload != payload)) { 116 mLastEventCount = Math.max(previousEnd, position + count) [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | KernelWakelockStats.java | 29 Entry(int count, long totalTime, int version) { argument 30 mCount = count;
|
H A D | RpmStats.java | 32 * updates its timeMs and count, and returns it. 36 String name, long timeMs, int count) { 44 e.mCount = count; 65 private PowerStateElement(long timeMs, int count) { argument 67 this.mCount = count; 79 * count. 82 public void putVoter(String name, long timeMs, int count) { argument 85 mVoters.put(name, new PowerStateElement(timeMs, count)); 88 e.mCount = count; 99 * timeMs and count 35 getAndUpdatePlatformState( String name, long timeMs, int count) argument 102 putState(String name, long timeMs, int count) argument [all...] |
/frameworks/hardware/interfaces/displayservice/1.0/ |
H A D | IEventCallback.hal | 21 * @param count Vsync count. 23 oneway onVsync(uint64_t timestamp, uint32_t count);
|
/frameworks/minikin/include/minikin/ |
H A D | Measurement.h | 24 float getRunAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, 27 size_t getOffsetForAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count,
|
/frameworks/base/core/java/android/os/health/ |
H A D | HealthStats.java | 35 * be a count, a time, or some other type of value. The unit for a measurement 50 * A <b>timer</b> metric contains an {@code int} count and a {@code long} time, 130 int count; 136 count = in.readInt(); 137 mTimerKeys = new int[count]; 138 mTimerCounts = new int[count]; 139 mTimerTimes = new long[count]; 140 for (int i=0; i<count; i++) { 147 count = in.readInt(); 148 mMeasurementKeys = new int[count]; [all...] |
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/net/metrics/ |
H A D | NetworkMetrics.java | 83 pendingSummary.dnsLatencies.count(latencyMs); 84 pendingSummary.dnsErrorRate.count(isSuccess ? 0 : 1); 93 pendingSummary.connectErrorRate.count(isSuccess ? 0 : 1); 95 pendingSummary.connectLatencies.count(latencyMs); 104 pendingSummary.tcpLossRate.count(lost, sent); 105 pendingSummary.roundTripTimeUs.count(rttUs); 106 pendingSummary.sentAckTimeDiffenceMs.count(sentAckDiffMs); 152 100 * dnsErrorRate.average(), dnsErrorRate.count)); 155 100 * connectErrorRate.average(), connectErrorRate.count)); 157 100 * tcpLossRate.average(), tcpLossRate.count, (in 168 public int count; field in class:NetworkMetrics.Metrics 176 void count(double value) { method in class:NetworkMetrics.Metrics 180 void count(double value, int subcount) { method in class:NetworkMetrics.Metrics [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpStringBuffer.cpp | 67 uint8_t count; local 68 if (!packet->getUInt8(count)) 70 if (count == 0) 73 std::vector<char16_t> buffer(count); 74 for (int i = 0; i < count; i++) { 80 if (buffer[count-1] != '\0') { 90 int count = src16.length(); local 92 if (count == 0) { 96 packet->putUInt8(std::min(count + 1, MTP_STRING_MAX_CHARACTER_NUMBER));
|
H A D | MtpDataPacket.cpp | 33 // Reads the exact |count| bytes from |fd| to |buf|. 34 // Returns |count| if it succeed to read the bytes. Otherwise returns -1. If it reaches EOF, the 36 ssize_t readExactBytes(int fd, void* buf, size_t count) { argument 37 if (count > SSIZE_MAX) { 41 while (read_count < count) { 42 int result = read(fd, static_cast<int8_t*>(buf) + read_count, count - read_count); 49 return read_count == count ? count : -1; 123 uint32_t count; local 124 if (!getUInt32(count)) 139 uint32_t count; local 155 uint32_t count; local 171 uint32_t count; local 187 uint32_t count; local 203 uint32_t count; local 219 uint32_t count; local 235 uint32_t count; local [all...] |
/frameworks/native/libs/gui/ |
H A D | DisplayEventReceiver.cpp | 62 status_t DisplayEventReceiver::setVsyncRate(uint32_t count) { argument 63 if (int32_t(count) < 0) 67 mEventConnection->setVsyncRate(count); 83 size_t count) { 84 return DisplayEventReceiver::getEvents(mDataChannel.get(), events, count); 88 Event* events, size_t count) 90 return gui::BitTube::recvObjects(dataChannel, events, count); 94 Event const* events, size_t count) 96 return gui::BitTube::sendObjects(dataChannel, events, count); 82 getEvents(DisplayEventReceiver::Event* events, size_t count) argument 87 getEvents(gui::BitTube* dataChannel, Event* events, size_t count) argument 93 sendEvents(gui::BitTube* dataChannel, Event const* events, size_t count) argument
|
/frameworks/minikin/libs/minikin/ |
H A D | Measurement.cpp | 30 size_t start, size_t count, size_t offset) { 42 if (offset < start + count && advances[offset - layoutStart] == 0.0f) { 47 for (nextCluster = offset + 1; nextCluster < start + count; nextCluster++) { 54 if (GraphemeBreak::isGraphemeBreak(advances + (start - layoutStart), buf, start, count, 69 float getRunAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, argument 71 return getRunAdvance(advances, buf, start, start, count, offset); 82 size_t getOffsetForAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, argument 86 for (size_t i = start; i < start + count; i++) { 87 if (GraphemeBreak::isGraphemeBreak(advances, buf, start, count, i)) { 103 for (size_t i = searchStart; i <= start + count; 29 getRunAdvance(const float* advances, const uint16_t* buf, size_t layoutStart, size_t start, size_t count, size_t offset) argument [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | value.cpp | 48 result.count = 1; 54 Value MakePtrValue(const BASE* values, int count) { argument 57 result.value = malloc(sizeof(BASE) * count); 58 memcpy(result.value, values, sizeof(BASE) * count); 59 result.count = count; 68 value->count = 1; 78 int SetPtrValue(Value* value, const BASE* new_values, int count) { argument 81 value->value = malloc(sizeof(BASE) * count); 82 value->count 194 MakeIntArrayValue(const int* values, int count) argument 198 MakeFloatArrayValue(const float* values, int count) argument 218 SetIntArrayValue(Value* value, const int* new_values, int count) argument 222 SetFloatArrayValue(Value* value, const float* new_values, int count) argument [all...] |
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
H A D | LayoutUtils.java | 29 int count = currentNode.getChildCount(); 30 for (int i = 0; i < count; i++) { 53 int count = nodeList.size(); 54 for (int i = 0; i < count; i++) {
|
/frameworks/base/libs/hwui/ |
H A D | GradientCache.h | 38 count = 0; 43 GradientCacheEntry(uint32_t* colors, float* positions, uint32_t count) { argument 44 copy(colors, positions, count); 48 copy(entry.colors.get(), entry.positions.get(), entry.count); 53 copy(entry.colors.get(), entry.positions.get(), entry.count); 69 uint32_t count; member in struct:android::uirenderer::GradientCacheEntry 72 void copy(uint32_t* colors, float* positions, uint32_t count) { argument 73 this->count = count; 74 this->colors.reset(new uint32_t[count]); [all...] |
H A D | ProfileRenderer.cpp | 27 void ProfileRenderer::drawRects(const float* rects, int count, const SkPaint& paint) { argument 28 mRenderer.drawRects(rects, count, &paint);
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetDebugMessageLog.java | 1 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 4 int count, 19 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 22 int count, 30 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 33 int count, 43 // C function GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 46 int count, 3 glGetDebugMessageLog( int count, int bufSize, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset, int[] lengths, int lengthsOffset, byte[] messageLog, int messageLogOffset) argument 21 glGetDebugMessageLog( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog) argument 32 glGetDebugMessageLog( int count, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset) argument 45 glGetDebugMessageLog( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities) argument
|
H A D | glGetDebugMessageLogKHR.java | 1 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 4 int count, 19 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 22 int count, 30 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 33 int count, 43 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 46 int count, 3 glGetDebugMessageLogKHR( int count, int bufSize, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset, int[] lengths, int lengthsOffset, byte[] messageLog, int messageLogOffset) argument 21 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog) argument 32 glGetDebugMessageLogKHR( int count, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset) argument 45 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities) argument
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | NotificationVisibility.java | 35 public int count; field in class:NotificationVisibility 43 private NotificationVisibility(String key, int rank, int count, boolean visibile) { argument 47 this.count = count; 56 + " count=" + count 63 return obtain(this.key, this.rank, this.count, this.visible); 91 out.writeInt(this.count); 98 this.count = in.readInt(); 106 public static NotificationVisibility obtain(String key, int rank, int count, boolea argument [all...] |
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | Input.h | 43 * count argument will be read. Bytes will be written into the given buffer starting 49 virtual ssize_t read(uint8_t* buf, size_t offset, size_t count) = 0; 57 virtual ssize_t skip(size_t count);
|