Searched refs:size (Results 226 - 250 of 3843) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DGsmCdmaCall.java50 return mConnections.size() > 1;
90 for (int i = 0, s = mConnections.size(); i < s; i ++) {
109 if (mConnections.size() == 0) {
133 return mConnections.size() == mOwner.getMaxConnectionsPerCall();
145 for (int i = 0, s = mConnections.size(); i < s; i++) {
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardEntryConstructor.java117 final int size = mEntryStack.size();
118 if (size > 1) {
119 VCardEntry parent = mEntryStack.get(size - 2);
125 mEntryStack.remove(size - 1);
/frameworks/av/media/libstagefright/
H A DFileSource.cpp130 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { argument
142 if ((uint64_t)size > numAvailable) {
143 size = numAvailable;
149 return readAtDRM(offset, data, size);
157 return ::read(mFd, data, size);
161 status_t FileSource::getSize(off64_t *size) { argument
168 *size = mLength;
201 ssize_t FileSource::readAtDRM(off64_t offset, void *data, size_t size) { argument
208 && (offset + mOffset + size) <= static_cast<size_t>(mDrmBufOffset + mDrmBufSize)) {
210 memcpy(data, (void*)(mDrmBuf+(offset+mOffset-mDrmBufOffset)), size);
[all...]
H A DMPEG2TSWriter.cpp157 size_t size; local
158 if (!meta->findData(kKeyESDS, &type, &data, &size)) {
163 ESDS esds((const char *)data, size);
187 size_t size; local
188 if (!meta->findData(kKeyAVCC, &type, &data, &size)) {
201 size -= 6;
204 CHECK(size >= 2);
208 size -= 2;
210 CHECK(size >= length);
212 CHECK_LE(out->size()
483 MPEG2TSWriter( void *cookie, ssize_t (*write)(void *cookie, const void *data, size_t size)) argument
1011 internalWrite(const void *data, size_t size) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_HardwarePropertiesManagerService.cpp68 ssize_t size = gThermalModule->getCoolingDevices(gThermalModule, list, list_size); local
69 if (size >= 0) {
70 if (list_size > size) {
71 list_size = size;
98 ssize_t size = gThermalModule->getTemperatures(gThermalModule, list, list_size); local
99 if (size >= 0) {
100 if (list_size > size) {
101 list_size = size;
156 ssize_t size = gThermalModule->getCpuUsages(gThermalModule, nullptr); local
157 if (size >
[all...]
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp39 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
43 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type,
45 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type,
49 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type,
51 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
55 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument
57 glColorPointer(size, type, stride, ptr);
63 void glTexCoordPointerBounds(GLint size, GLenum type, argument
65 glTexCoordPointer(size, type, stride, pointer);
67 void glVertexPointerBounds(GLint size, GLenu argument
77 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
82 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei ) argument
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp121 return mSourceImpls.size();
125 if (index >= mSourceImpls.size()) {
137 return index < mSourceImpls.size()
196 off64_t size; local
197 if (mDataSource->getSize(&size) == OK && (haveAudio || haveVideo)) {
209 if (mSeekSyncPoints->size() > prevSyncSize) {
210 prevSyncSize = mSeekSyncPoints->size();
215 durationUs = size * diffUs / diffOffset;
217 if (durations.size() > 5) {
285 for (size_t i = 0; i < mSourceImpls.size();
290 size_t size = syncPoints->size(); local
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPort.cpp76 for (size_t profileIndex = 0; profileIndex < mProfiles.size(); profileIndex++) {
85 for (size_t rateIndex = 0; rateIndex < ratesToExport.size(); rateIndex++) {
91 for (size_t chanIndex = 0; chanIndex < channelsToExport.size(); chanIndex++) {
97 if (flatenedRates.size() > AUDIO_PORT_MAX_SAMPLING_RATES ||
98 flatenedChannels.size() > AUDIO_PORT_MAX_CHANNEL_MASKS ||
99 flatenedFormats.size() > AUDIO_PORT_MAX_FORMATS) {
108 port->num_sample_rates = flatenedRates.size();
109 port->num_channel_masks = flatenedChannels.size();
110 port->num_formats = flatenedFormats.size();
111 for (size_t i = 0; i < flatenedRates.size();
[all...]
/frameworks/av/cmds/stagefright/
H A Dsf2.cpp322 size_t size; local
323 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
328 CHECK(size >= 7);
346 size -= 6;
352 CHECK(size >= 2);
356 size -= 2;
358 CHECK(size >= length);
360 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4);
361 memcpy(buffer->data() + buffer->size() + 4, ptr, length);
362 buffer->setRange(0, buffer->size()
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp62 while (offset < ccBuf->size()) {
108 if (out.size() > 0) {
134 return mTracks.size();
223 for (size_t i = 0; i < sei->size() / sizeof(NALPosition); ++i, ++nal) {
232 bool NuPlayer::CCDecoder::parseSEINalUnit(int64_t timeUs, const uint8_t *data, size_t size) { argument
241 NALBitReader br(data + 1, size - 1);
310 for (size_t i = 0; i < mpegUserData->size() / sizeof(size_t); ++i) {
312 timeUs, accessUnit->data() + userData[i], accessUnit->size() - userData[i]);
319 bool NuPlayer::CCDecoder::parseMPEGUserDataUnit(int64_t timeUs, const uint8_t *data, size_t size) { argument
326 return parseMPEGCCData(timeUs, data + 9, size
333 parseMPEGCCData(int64_t timeUs, const uint8_t *data, size_t size) argument
423 parseDTVCCPacket(int64_t timeUs, const uint8_t *data, size_t size) argument
514 size_t size = 0; local
[all...]
H A DNuPlayerStreamListener.cpp55 void NuPlayer::NuPlayerStreamListener::queueBuffer(size_t index, size_t size) { argument
59 entry.mSize = size;
96 void *data, size_t size, sp<AMessage> *extra) {
97 CHECK_GT(size, 0u);
143 if (copy > size) {
144 copy = size;
147 if (entry->mIndex >= mBuffers.size()) {
152 if (mem == NULL || mem->size() < copy || mem->size() - copy < entry->mOffset) {
95 read( void *data, size_t size, sp<AMessage> *extra) argument
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp106 Media &item = mMediaItems.editItemAt(mMediaItems.size() - 1);
134 if (mSelectedIndex >= (ssize_t)mMediaItems.size()) {
135 mSelectedIndex = mMediaItems.size() - 1;
159 mSelectedIndex = (rand() * mMediaItems.size()) / RAND_MAX;
170 if (index >= mMediaItems.size()) {
193 return mMediaItems.size();
197 if (index >= mMediaItems.size()) {
231 for (size_t i = 0; i < mMediaItems.size(); ++i) {
246 const char *baseURI, const void *data, size_t size)
259 mInitCheck = parse(data, size);
245 M3UParser( const char *baseURI, const void *data, size_t size) argument
306 size_t M3UParser::size() { function in class:android::M3UParser
547 parse(const void *_data, size_t size) argument
[all...]
/frameworks/base/include/androidfw/
H A DCursorWindow.h46 * FieldSlot per column, which has the size, offset, and type of the data for that field.
53 void* data, size_t size, bool readOnly);
74 uint32_t size; member in struct:android::CursorWindow::FieldSlot::__anon974::__anon975
83 static status_t create(const String8& name, size_t size, CursorWindow** outCursorWindow);
89 inline size_t size() { return mSize; } function in class:android::CursorWindow
104 status_t putBlob(uint32_t row, uint32_t column, const void* value, size_t size);
130 *outSizeIncludingNull = fieldSlot->data.buffer.size;
135 *outSize = fieldSlot->data.buffer.size;
182 uint32_t alloc(size_t size, bool aligned = false);
188 const void* value, size_t size, int32_
[all...]
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsPLT.cpp63 uint64_t size = sizeof(PLT0) + (m_pSectionData->size() - 1) * sizeof(PLTA); local
64 m_Section.setSize(size);
70 offset += frag->size();
75 return m_pSectionData->size() > 1;
109 uint32_t* data = static_cast<uint32_t*>(malloc(plt->size()));
114 memcpy(data, PLT0, plt->size());
124 uint32_t* data = static_cast<uint32_t*>(malloc(plt->size()));
129 memcpy(data, PLTA, plt->size());
/frameworks/rs/
H A DrsScriptGroup.cpp37 for (size_t ct=0; ct < mLinks.size(); ct++) {
61 //ALOGE("find %p %i", s, (int)mNodes.size());
62 for (size_t ct=0; ct < mNodes.size(); ct++) {
64 for (size_t ct2=0; ct2 < n->mKernels.size(); ct2++) {
81 for (size_t ct=0; ct < n->mOutputs.size(); ct++) {
121 for (size_t ct=0; ct < mKernels.size(); ct++) {
134 //ALOGE("link count %i", (int)mLinks.size());
135 for (size_t ct=0; ct < mLinks.size(); ct++) {
154 //ALOGE("node count %i", (int)mNodes.size());
157 for (size_t ct=0; ct < mNodes.size(); c
[all...]
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp26 // ADTS header size is 7, but frame size information ends on byte 6 (when counting from byte 1)
30 * Returns the size of an AAC ADTS frame.
31 * Note that if the returned value + offset > size, it means that a partial frame starts at that
32 * offset, but this function will still return the size of the full frame.
35 * @param size the size in bytes of the data block starting at data
36 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given
39 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument
42 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < (off64_t) size)) {
84 validateBufferStartEndOnFrameBoundaries(void* data, size_t size) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.cpp38 bool ASessionDescription::setTo(const void *data, size_t size) { argument
39 mIsValid = parse(data, size);
49 bool ASessionDescription::parse(const void *data, size_t size) { argument
56 AString desc((const char *)data, size);
80 if (line.size() < 2 || line.c_str()[1] != '=') {
118 value.setTo(line, colonPos + 1, line.size() - colonPos - 1);
126 mTracks.editItemAt(mTracks.size() - 1).add(key, value);
133 AString(line, 2, line.size() - 2).c_str());
136 mFormats.push(AString(line, 2, line.size() - 2));
147 value = AString(line, equalPos + 1, line.size()
[all...]
H A DAPacketSource.cpp73 if ((s.size() % 2) != 0) {
77 size_t outLen = s.size() / 2;
82 for (size_t i = 0; i < s.size(); ++i) {
116 CHECK_EQ(profileLevelID->size(), 3u);
133 size_t end = (commaPos < 0) ? val.size() : commaPos;
138 CHECK_GT(nal->size(), 0u);
139 CHECK_LE(nal->size(), 65535u);
149 totalSeqParameterSetSize += nal->size();
153 totalPicParameterSetSize += nal->size();
192 *out++ = nal->size() >>
[all...]
/frameworks/base/core/tests/coretests/src/android/app/backup/
H A DFullBackupTest.java66 assertEquals("Excluding files when there was no <exclude/> tag.", 0, excludesSet.size());
67 assertEquals("Unexpected number of <include/>s", 1, includeMap.size());
70 assertEquals("Didn't find expected file domain include.", 1, fileDomainIncludes.size());
85 assertEquals("Including files when there was no <include/> tag.", 0, includeMap.size());
86 assertEquals("Unexpected number of <exclude/>s", 1, excludesSet.size());
103 assertEquals("Didn't find expected file domain include.", 1, fileDomainIncludes.size());
108 assertEquals("Unexpected number of <exclude/>s", 1, excludesSet.size());
132 assertEquals("Didn't find expected file domain include.", 1, fileDomainIncludes.size());
140 3, databaseDomainIncludes.size());
163 3, sharedPrefDomainIncludes.size());
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DArrayUtilsTest.java48 assertEquals(1, collection.size());
53 assertEquals(0, collection.size());
57 assertEquals(2, collection.size());
63 assertEquals(1, collection.size());
68 assertEquals(1, collection.size());
73 assertEquals(0, collection.size());
77 assertEquals(3, collection.size());
84 assertEquals(2, collection.size());
90 assertEquals(2, collection.size());
96 assertEquals(2, collection.size());
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_frame.cpp37 jint size) {
38 return ToJBool(WrapObjectInJava(new NativeFrame(size), env, thiz, true));
74 jint size) {
78 if (!data || size > frame->Size())
80 jbyteArray result = env->NewByteArray(size);
81 env->SetByteArrayRegion(result, 0, size, reinterpret_cast<const jbyte*>(data));
118 jint size) {
122 if (!data || size > frame->Size() || (size % sizeof(jint)) != 0)
124 const int count = size / sizeo
35 Java_android_filterfw_core_NativeFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument
72 Java_android_filterfw_core_NativeFrame_getNativeData(JNIEnv* env, jobject thiz, jint size) argument
116 Java_android_filterfw_core_NativeFrame_getNativeInts(JNIEnv* env, jobject thiz, jint size) argument
150 Java_android_filterfw_core_NativeFrame_getNativeFloats(JNIEnv* env, jobject thiz, jint size) argument
166 Java_android_filterfw_core_NativeFrame_setNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument
216 Java_android_filterfw_core_NativeFrame_getNativeBitmap(JNIEnv* env, jobject thiz, jobject bitmap, jint size, jint bytes_per_sample) argument
[all...]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetActiveAttrib.cpp1 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
13 GLint *size = (GLint *) 0; local
37 _exceptionMessage = "size == null";
49 size = size_base + sizeOffset;
90 (GLint *)size,
117 /* void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
130 GLint *size = (GLint *) 0; local
135 size = (GLint *)getPointer(_env, size_buf, (jarray*)&_sizeArray, &_sizeRemaining, &_sizeBufferOffset);
141 if (size == NULL) {
143 size
178 GLint *size = (GLint *) 0; local
275 GLint *size = (GLint *) 0; local
[all...]
H A DglGetActiveUniform.cpp1 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
13 GLint *size = (GLint *) 0; local
37 _exceptionMessage = "size == null";
49 size = size_base + sizeOffset;
90 (GLint *)size,
117 /* void glGetActiveUniform ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name ) */
130 GLint *size = (GLint *) 0; local
135 size = (GLint *)getPointer(_env, size_buf, (jarray*)&_sizeArray, &_sizeRemaining, &_sizeBufferOffset);
141 if (size == NULL) {
143 size
179 GLint *size = (GLint *) 0; local
276 GLint *size = (GLint *) 0; local
[all...]
/frameworks/av/services/audioflinger/
H A DEffects.cpp113 size_t size = mHandles.size(); local
116 for (i = 0; i < size; i++) {
149 size_t size = mHandles.size(); local
151 for (i = 0; i < size; i++) {
156 if (i == size) {
157 return size;
173 if (mHandles.size() == 0 && !mPinned) {
177 return mHandles.size();
343 uint32_t size; local
459 uint32_t size = sizeof(status_t); local
513 uint32_t size = sizeof(status_t); local
544 uint32_t size = sizeof(status_t); local
626 uint32_t size = (replySize == NULL) ? 0 : *replySize; local
740 uint32_t size = sizeof(volume); local
773 uint32_t size = sizeof(status_t); local
795 uint32_t size = sizeof(status_t); local
817 uint32_t size = 0; local
865 uint32_t size = sizeof(status_t); local
1296 int size = *p++; local
1379 dumpToBuffer(char* buffer, size_t size) argument
1426 size_t size = mEffects.size(); local
1439 size_t size = mEffects.size(); local
1454 size_t size = mEffects.size(); local
1520 size_t size = mEffects.size(); local
1579 size_t size = mEffects.size(); local
1655 size_t size = mEffects.size(); local
1688 size_t size = mEffects.size(); local
1697 size_t size = mEffects.size(); local
1706 size_t size = mEffects.size(); local
1719 size_t size = mEffects.size(); local
2017 size_t size = mEffects.size(); local
[all...]
/frameworks/rs/api/
H A Drs_graphics.spec33 size: 32
52 size: 32
70 size: 32
83 size: 32
102 size: 32
119 size: 32
131 size: 32
142 size: 32
153 size: 32
164 size
[all...]

Completed in 717 milliseconds

1234567891011>>