Home
last modified time | relevance | path

Searched refs:entryCount (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/libs/androidfw/
DTypeWrappers.cpp23 TypeVariant::TypeVariant(const ResTable_type* data) : data(data), mLength(dtohl(data->entryCount)) { in TypeVariant()
25 const uint32_t entryCount = dtohl(data->entryCount); in TypeVariant() local
29 if (reinterpret_cast<uintptr_t>(entryIndices) + (sizeof(uint32_t) * entryCount) in TypeVariant()
34 mLength = ResTable_sparseTypeEntry{entryIndices[entryCount - 1]}.idx + 1; in TypeVariant()
57 const uint32_t entryCount = dtohl(mTypeVariant->data->entryCount); in operator *() local
62 … if (reinterpret_cast<uintptr_t>(entryIndices) + (sizeof(uint32_t) * entryCount) > containerEnd) { in operator *()
69 auto iter = std::lower_bound(entryIndices, entryIndices + entryCount, mIndex, keyCompare); in operator *()
70 if (iter == entryIndices + entryCount in operator *()
DResourceTypes.cpp277 uint16_t entryCount = dtohs(mData[2]); in byteSize() local
278 return (sizeof(uint16_t) * 4) + (sizeof(uint32_t) * static_cast<size_t>(entryCount)); in byteSize()
314 uint16_t entryCount = dtohs(header[2]); in setTo() local
315 if (size < sizeof(uint32_t) * (entryCount + 2)) { in setTo()
317 (uint32_t) size, (uint32_t) entryCount); in setTo()
325 uint16_t entryCount = dtohs(mData[2]); in lookup() local
335 if (entryId >= entryCount) { in lookup()
3483 : header(_header), package(_package), entryCount(count), in Type()
3487 const size_t entryCount; member
3578 const size_t N = typeList[0]->entryCount; in clearBagCache()
[all …]
DLoadedArsc.cpp100 const size_t entry_count = dtohl(header->entryCount); in VerifyResTableType()
251 const size_t entry_count = dtohl(type_chunk->entryCount); in GetEntryOffset()
374 size_t entry_count = dtohl(type->entryCount); in FindEntryByName()
500 const size_t entry_count = dtohl(type_spec->entryCount); in Load()
/frameworks/base/cmds/idmap2/libidmap2/
DBinaryStreamVisitor.cpp67 const uint16_t entryCount = type_entry.GetEntryCount(); in visit() local
71 Write16(entryCount); in visit()
73 for (uint16_t i = 0; i < entryCount; i++) { in visit()
/frameworks/base/core/java/android/preference/
DMultiSelectListPreference.java203 final int entryCount = entries.length; in getSelectedItems() local
205 boolean[] result = new boolean[entryCount]; in getSelectedItems()
207 for (int i = 0; i < entryCount; i++) { in getSelectedItems()
/frameworks/base/media/java/android/media/
DTimedText.java606 int entryCount = parcel.readInt(); in readFont() local
608 for (int i = 0; i < entryCount; i++) { in readFont()
642 int entryCount = parcel.readInt(); in readKaraoke() local
644 for (int i = 0; i < entryCount; i++) { in readKaraoke()
/frameworks/base/cmds/idmap/
Dinspect.cpp263 const uint32_t entryCount = static_cast<uint32_t>(data16); in parse_data() local
264 print("", "entry count", entryCount, ""); in parse_data()
273 for (uint32_t i = 0; i < entryCount; i++) { in parse_data()
/frameworks/base/core/java/android/util/apk/
DApkSigningBlockUtils.java724 int entryCount = 0; in findApkSignatureSchemeBlock() local
726 entryCount++; in findApkSignatureSchemeBlock()
729 "Insufficient data to read size of APK Signing Block entry #" + entryCount); in findApkSignatureSchemeBlock()
734 "APK Signing Block entry #" + entryCount in findApkSignatureSchemeBlock()
741 "APK Signing Block entry #" + entryCount + " size out of range: " + len in findApkSignatureSchemeBlock()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp109 if (mPreviewRequest.entryCount() == 0) { in updatePreviewRequest()
265 if (mRecordingRequest.entryCount() == 0) { in updateRecordingRequest()
586 if (mPreviewRequest.entryCount() != 0) { in dump()
595 if (mRecordingRequest.entryCount() != 0) { in dump()
DCaptureSequencer.cpp178 if (mCaptureRequest.entryCount() != 0) { in dump()
567 if (captureCopy.entryCount() == 0) { in manageStandardCapture()
707 if (mCaptureRequest.entryCount() == 0) { in updateCaptureRequest()
/frameworks/native/services/inputflinger/
DInputDispatcher.h673 uint32_t entryCount; member
675 inline Queue() : head(nullptr), tail(nullptr), entryCount(0) { in Queue()
683 entryCount++; in enqueueAtTail()
695 entryCount++; in enqueueAtHead()
707 entryCount--; in dequeue()
721 entryCount--; in dequeueAtHead()
733 return entryCount; in count()
/frameworks/rs/driver/
DrsdShaderCache.cpp123 uint32_t entryCount = mEntries.size(); in link() local
124 for (uint32_t ct = 0; ct < entryCount; ct ++) { in link()
/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp31 t.entryCount = 3; in createTypeData()
/frameworks/av/camera/include/camera/
DCameraMetadata.h113 size_t entryCount() const;
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h67 if (entry_index >= dtohl(type_spec->entryCount)) { in GetFlagsForEntryIndex()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp409 ASSERT_EQ(2u, secondMetadata.entryCount()); in TEST()
410 ASSERT_EQ(2u, metadata.entryCount()); in TEST()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp375 type_header->entryCount = util::HostToDevice32(entries->size()); in FlattenConfig()
388 type_header->entryCount = util::HostToDevice32(num_total_entries); in FlattenConfig()
583 spec_header->entryCount = util::HostToDevice32(num_entries); in FlattenTypeSpec()
/frameworks/av/camera/
DCameraMetadata.cpp154 size_t CameraMetadata::entryCount() const { in entryCount() function in android::CameraMetadata
160 return entryCount() == 0; in isEmpty()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp240 __FUNCTION__, empty, metadata->entryCount()); in CameraMetadata_isEmpty()
252 return metadata->entryCount(); in CameraMetadata_getEntryCount()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp770 size_t entryCount = entry.count / 4; in getSupportedDepthSizes() local
771 depthSizes->reserve(entryCount); in getSupportedDepthSizes()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp855 uint32_t entryCount; in parse() local
856 if (!source()->getUInt32(offset, &entryCount)) { in parse()
862 for (size_t k = 0; k < entryCount; ++k) { in parse()
/frameworks/av/camera/ndk/impl/
DACameraMetadata.cpp393 size_t entry_count = mData.entryCount(); in getTags()
/frameworks/av/media/libstagefright/
DMPEG4Writer.cpp4618 size_t entryCount = properties.size(); in writeIpmaBox() local
4619 if (entryCount > 255) { in writeIpmaBox()
4620 ALOGW("Dropping excess associations: entryCount %zu", entryCount); in writeIpmaBox()
4621 entryCount = 255; in writeIpmaBox()
4623 writeInt8((uint8_t)entryCount); in writeIpmaBox()
4624 for (size_t propIndex = 0; propIndex < entryCount; propIndex++) { in writeIpmaBox()
/frameworks/base/tools/aapt/
DResourceTable.cpp3104 tsHeader->entryCount = htodl(N); in flatten()
3200 tHeader->entryCount = htodl(N); in flatten()
4010 const size_t entryCount = mOrderedConfigs.size(); in getUniqueConfigs() local
4011 for (size_t i = 0; i < entryCount; i++) { in getUniqueConfigs()
4269 const size_t entryCount = entries.size(); in movePrivateAttrs() local
4270 for (size_t j = 0; j < entryCount; j++) { in movePrivateAttrs()
4647 const size_t entryCount = entries.size(); in modifyForCompat() local
4648 for (size_t ei = 0; ei < entryCount; ei++) { in modifyForCompat()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DSession.java3171 final int entryCount = dataset.getFieldIds().size(); in autoFillApp() local
3172 final List<AutofillId> ids = new ArrayList<>(entryCount); in autoFillApp()
3173 final List<AutofillValue> values = new ArrayList<>(entryCount); in autoFillApp()
3175 for (int i = 0; i < entryCount; i++) { in autoFillApp()

12