Home
last modified time | relevance | path

Searched refs:entryCount (Results 1 – 25 of 35) 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
64 if (reinterpret_cast<uintptr_t>(entryIndices) + (indexSize * entryCount) > containerEnd) { in operator *()
71 auto iter = std::lower_bound(entryIndices, entryIndices + entryCount, mIndex, keyCompare); in operator *()
72 if (iter == entryIndices + entryCount in operator *()
DResourceTypes.cpp319 uint16_t entryCount = dtohs(mData[2]); in byteSize() local
320 return (sizeof(uint16_t) * 4) + (sizeof(uint32_t) * static_cast<size_t>(entryCount)); in byteSize()
356 uint16_t entryCount = dtohs(header[2]); in setTo() local
357 if (size < sizeof(uint32_t) * (entryCount + 2)) { in setTo()
359 (uint32_t) size, (uint32_t) entryCount); in setTo()
367 uint16_t entryCount = dtohs(mData[2]); in lookup() local
377 if (entryId >= entryCount) { in lookup()
3729 : header(_header), package(_package), entryCount(count), in Type()
3733 const size_t entryCount; member
3824 const size_t N = typeList[0]->entryCount; in clearBagCache()
[all …]
DLoadedArsc.cpp86 const size_t entry_count = dtohl(header->entryCount); in VerifyResTableType()
255 const size_t entry_count = dtohl(type_chunk->entryCount); in GetEntryOffset()
399 const size_t entry_count = dtohl(type->entryCount); in FindEntryByName()
566 const size_t entry_count = dtohl(type_spec->entryCount); in Load()
/frameworks/av/media/libstagefright/timedtext/test/
DTimedTextUnitTest.cpp81 int32_t entryCount = -1; member
226 fontInfo.entryCount = U16_AT(tmpData + 8); in TEST_P()
227 ALOGI("Value of entry count: %d", fontInfo.entryCount); in TEST_P()
232 for (int32_t i = 0; i < fontInfo.entryCount; i++) { in TEST_P()
341 ASSERT_EQ(parcel.readInt32(), fontInfo.entryCount) << "Parcel has invalid value of entry count"; in TEST_P()
342 ASSERT_EQ(fontInfo.entryCount, fontRecordEntries.size()) in TEST_P()
344 for (int32_t i = 0; i < fontInfo.entryCount; i++) { in TEST_P()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java280 final int entryCount = entriesToDismiss.size(); in dismissNotifications() local
289 mLogger.logDismissNonExistentNotif(entry, i, entryCount); in dismissNotifications()
296 + " (" + i + "/" + entryCount + ")" in dismissNotifications()
302 mLogger.logDismissAlreadyDismissedNotif(entry, i, entryCount); in dismissNotifications()
305 mLogger.logDismissAlreadyParentDismissedNotif(entry, i, entryCount); in dismissNotifications()
310 mLogger.logNotifDismissedIntercepted(entry, i, entryCount); in dismissNotifications()
329 mLogger.logRemoteExceptionOnNotificationClear(entry, finalI, entryCount, e); in dismissNotifications()
391 final int entryCount = entries.size(); in locallyDismissNotifications() local
397 mLogger.logLocallyDismissNonExistentNotif(entry, i, entryCount); in locallyDismissNotifications()
399 mLogger.logLocallyDismissMismatchedEntry(entry, i, entryCount, storedEntry); in locallyDismissNotifications()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DZipFilePerfTest.java78 protected void writeEntries(ZipOutputStream out, int entryCount, long entrySize) in writeEntries() argument
83 for (int entry = 0; entry < entryCount; ++entry) { in writeEntries()
DZipFileReadPerfTest.java67 protected void writeEntries(ZipOutputStream out, int entryCount, long entrySize) in writeEntries() argument
72 for (int entry = 0; entry < entryCount; ++entry) { in writeEntries()
/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.java608 int entryCount = parcel.readInt(); in readFont() local
610 for (int i = 0; i < entryCount; i++) { in readFont()
644 int entryCount = parcel.readInt(); in readKaraoke() local
646 for (int i = 0; i < entryCount; i++) { in readKaraoke()
/frameworks/av/media/libstagefright/timedtext/test/fuzzer/
Dtimedtext_fuzz.proto64 uint32 entryCount = 9; field
91 uint32 entryCount = 2; field
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/
DBrowseActivityTest.kt136 private fun SpaLoggerForTest.verifyPageEvent(id: String, entryCount: Int, leaveCount: Int) { in verifyPageEvent()
137 assertThat(getEventCount(id, LogEvent.PAGE_ENTER, LogCategory.FRAMEWORK)).isEqualTo(entryCount) in verifyPageEvent()
/frameworks/base/core/java/android/util/apk/
DApkSigningBlockUtils.java762 int entryCount = 0; in findApkSignatureSchemeBlock() local
764 entryCount++; in findApkSignatureSchemeBlock()
767 "Insufficient data to read size of APK Signing Block entry #" + entryCount); in findApkSignatureSchemeBlock()
772 "APK Signing Block entry #" + entryCount in findApkSignatureSchemeBlock()
779 "APK Signing Block entry #" + entryCount + " size out of range: " + len in findApkSignatureSchemeBlock()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp114 if (mPreviewRequest.entryCount() == 0) { in updatePreviewRequest()
271 if (mRecordingRequest.entryCount() == 0) { in updateRecordingRequest()
592 if (mPreviewRequest.entryCount() != 0) { in dump()
601 if (mRecordingRequest.entryCount() != 0) { in dump()
DCaptureSequencer.cpp179 if (mCaptureRequest.entryCount() != 0) { in dump()
568 if (captureCopy.entryCount() == 0) { in manageStandardCapture()
708 if (mCaptureRequest.entryCount() == 0) { in updateCaptureRequest()
/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/av/camera/include/camera/
DCameraMetadata.h123 size_t entryCount() const;
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp240 __FUNCTION__, empty, metadata->entryCount()); in CameraMetadata_isEmpty()
252 return metadata->entryCount(); in CameraMetadata_getEntryCount()
268 auto entryCount = get_camera_metadata_entry_count(metaBuffer); in CameraMetadata_update() local
269 for (size_t i = 0; i < entryCount; i++) { in CameraMetadata_update()
/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp40 t.entryCount = values.size(); in createTypeTable()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener.cpp217 type_header->entryCount = android::util::HostToDevice32(entries->size()); in FlattenConfig()
230 type_header->entryCount = android::util::HostToDevice32(num_total_entries); in FlattenConfig()
402 spec_header->entryCount = android::util::HostToDevice32(num_entries); in FlattenTypeSpec()
/frameworks/av/camera/tests/fuzzer/
Dcamera_metadata_fuzzer.cpp83 [&]() { mCameraMetadata->entryCount(); }, in invokeCameraMetadata()
/frameworks/base/libs/androidfw/include/androidfw/
DLoadedArsc.h66 if (entry_index >= dtohl(type_spec->entryCount)) { in GetFlagsForEntryIndex()
/frameworks/av/camera/
DCameraMetadata.cpp164 size_t CameraMetadata::entryCount() const { in entryCount() function in android::CameraMetadata
170 return entryCount() == 0; in isEmpty()
/frameworks/av/services/camera/libcameraservice/api2/
DDepthCompositeStream.cpp887 size_t entryCount = entry.count / 4; in getSupportedDepthSizes() local
888 depthSizes->reserve(entryCount); in getSupportedDepthSizes()
/frameworks/av/media/module/extractors/mp4/
DItemTable.cpp946 uint32_t entryCount; in parse() local
947 if (!source()->getUInt32(offset, &entryCount)) { in parse()
953 for (size_t k = 0; k < entryCount; ++k) { in parse()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp712 ASSERT_EQ(2u, secondMetadata.entryCount()); in TEST()
713 ASSERT_EQ(2u, metadata.entryCount()); in TEST()

12