Home
last modified time | relevance | path

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

12

/frameworks/base/libs/androidfw/
DTypeWrappers.cpp23 if (mIndex > dtohl(mTypeVariant->data->entryCount)) { in operator ++()
24 mIndex = dtohl(mTypeVariant->data->entryCount); in operator ++()
31 const uint32_t entryCount = dtohl(type->entryCount); in operator *() local
32 if (mIndex >= entryCount) { in operator *()
40 … if (reinterpret_cast<uintptr_t>(entryIndices) + (sizeof(uint32_t) * entryCount) > containerEnd) { in operator *()
DResourceTypes.cpp275 uint16_t entryCount = dtohs(mData[2]); in byteSize() local
276 return (sizeof(uint16_t) * 4) + (sizeof(uint32_t) * static_cast<size_t>(entryCount)); in byteSize()
312 uint16_t entryCount = dtohs(header[2]); in setTo() local
313 if (size < sizeof(uint32_t) * (entryCount + 2)) { in setTo()
315 (uint32_t) size, (uint32_t) entryCount); in setTo()
323 uint16_t entryCount = dtohs(mData[2]); in lookup() local
333 if (entryId >= entryCount) { in lookup()
3154 : header(_header), package(_package), entryCount(count), in Type()
3158 const size_t entryCount; member
3246 const size_t N = typeList[0]->entryCount; in clearBagCache()
[all …]
/frameworks/support/v14/preference/src/android/support/v14/preference/
DMultiSelectListPreferenceDialogFragment.java97 final int entryCount = mEntryValues.length; in onPrepareDialogBuilder() local
98 final boolean[] checkedItems = new boolean[entryCount]; in onPrepareDialogBuilder()
99 for (int i = 0; i < entryCount; i++) { in onPrepareDialogBuilder()
DMultiSelectListPreference.java238 final int entryCount = entries.length; in getSelectedItems() local
240 boolean[] result = new boolean[entryCount]; in getSelectedItems()
242 for (int i = 0; i < entryCount; i++) { in getSelectedItems()
/frameworks/base/tools/aapt2/flatten/
DTableFlattener.cpp315 const uint32_t entryCount = in flattenConfig() local
318 typeHeader->entryCount = util::hostToDevice32(entryCount); in flattenConfig()
319 uint32_t* indices = typeWriter.nextBlock<uint32_t>(entryCount); in flattenConfig()
321 assert((size_t) entryCount <= std::numeric_limits<uint16_t>::max() + 1); in flattenConfig()
322 memset(indices, 0xff, entryCount * sizeof(uint32_t)); in flattenConfig()
328 assert(flatEntry.entry->id.value() < entryCount); in flattenConfig()
387 specHeader->entryCount = util::hostToDevice32(numEntries); in flattenTypeSpec()
/frameworks/base/core/java/android/preference/
DMultiSelectListPreference.java196 final int entryCount = entries.length; in getSelectedItems() local
198 boolean[] result = new boolean[entryCount]; in getSelectedItems()
200 for (int i = 0; i < entryCount; i++) { in getSelectedItems()
/frameworks/base/media/java/android/media/
DTimedText.java595 int entryCount = parcel.readInt(); in readFont() local
597 for (int i = 0; i < entryCount; i++) { in readFont()
631 int entryCount = parcel.readInt(); in readKaraoke() local
633 for (int i = 0; i < entryCount; i++) { in readKaraoke()
/frameworks/base/cmds/idmap/
Dinspect.cpp262 const uint32_t entryCount = static_cast<uint32_t>(data16); in parse_data() local
263 print("", "entry count", entryCount, ""); in parse_data()
272 for (uint32_t i = 0; i < entryCount; i++) { in parse_data()
/frameworks/native/services/inputflinger/
DInputDispatcher.h616 uint32_t entryCount; member
618 inline Queue() : head(NULL), tail(NULL), entryCount(0) { in Queue()
626 entryCount++; in enqueueAtTail()
638 entryCount++; in enqueueAtHead()
650 entryCount--; in dequeue()
664 entryCount--; in dequeueAtHead()
676 return entryCount; in count()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DStreamingProcessor.cpp109 if (mPreviewRequest.entryCount() == 0) { in updatePreviewRequest()
271 if (mRecordingRequest.entryCount() == 0) { in updateRecordingRequest()
597 if (mPreviewRequest.entryCount() != 0) { in dump()
606 if (mRecordingRequest.entryCount() != 0) { in dump()
DCaptureSequencer.cpp155 if (mCaptureRequest.entryCount() != 0) { in dump()
550 if (captureCopy.entryCount() == 0) { in manageStandardCapture()
680 if (mCaptureRequest.entryCount() == 0) { in updateCaptureRequest()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DGuidedStepFragment.java1229 final int entryCount = fragmentManager.getBackStackEntryCount(); in finishGuidedStepFragments() local
1230 if (entryCount > 0) { in finishGuidedStepFragments()
1231 for (int i = entryCount - 1; i >= 0; i--) { in finishGuidedStepFragments()
1257 final int entryCount = fragmentManager.getBackStackEntryCount(); in popBackStackToGuidedStepFragment() local
1259 if (entryCount > 0) { in popBackStackToGuidedStepFragment()
1260 for (int i = entryCount - 1; i >= 0; i--) { in popBackStackToGuidedStepFragment()
DGuidedStepSupportFragment.java1231 final int entryCount = fragmentManager.getBackStackEntryCount(); in finishGuidedStepSupportFragments() local
1232 if (entryCount > 0) { in finishGuidedStepSupportFragments()
1233 for (int i = entryCount - 1; i >= 0; i--) { in finishGuidedStepSupportFragments()
1259 final int entryCount = fragmentManager.getBackStackEntryCount(); in popBackStackToGuidedStepSupportFragment() local
1261 if (entryCount > 0) { in popBackStackToGuidedStepSupportFragment()
1262 for (int i = entryCount - 1; i >= 0; i--) { in popBackStackToGuidedStepSupportFragment()
/frameworks/base/include/androidfw/
DTypeWrappers.h73 return iterator(this, dtohl(data->entryCount)); in endEntries()
DResourceTypes.h1311 uint32_t entryCount; member
1353 uint32_t entryCount; member
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java922 int entryCount = 0; in findApkSignatureSchemeV2Block() local
924 entryCount++; in findApkSignatureSchemeV2Block()
927 "Insufficient data to read size of APK Signing Block entry #" + entryCount); in findApkSignatureSchemeV2Block()
932 "APK Signing Block entry #" + entryCount in findApkSignatureSchemeV2Block()
939 "APK Signing Block entry #" + entryCount + " size out of range: " + len in findApkSignatureSchemeV2Block()
/frameworks/rs/driver/
DrsdShaderCache.cpp126 uint32_t entryCount = mEntries.size(); in link() local
127 for (uint32_t ct = 0; ct < entryCount; ct ++) { in link()
/frameworks/av/include/camera/
DCameraMetadata.h109 size_t entryCount() const;
/frameworks/base/libs/androidfw/tests/
DTypeWrappers_test.cpp31 t.entryCount = 3; in createTypeData()
/frameworks/av/camera/
DCameraMetadata.cpp154 size_t CameraMetadata::entryCount() const { in entryCount() function in android::CameraMetadata
160 return entryCount() == 0; in isEmpty()
/frameworks/av/camera/ndk/impl/
DACameraMetadata.cpp214 size_t entry_count = mData.entryCount(); in getTags()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_CameraMetadata.cpp240 __FUNCTION__, empty, metadata->entryCount()); in CameraMetadata_isEmpty()
252 return metadata->entryCount(); in CameraMetadata_getEntryCount()
Dandroid_util_AssetManager.cpp941 ssize_t entryCount = res.getBagLocked(ident, &entry, &typeSpecFlags); in android_content_AssetManager_loadResourceBagValue() local
943 for (ssize_t i=0; i<entryCount; i++) { in android_content_AssetManager_loadResourceBagValue()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp3004 size_t entryCount = 0; in dumpTee() local
3005 while (entryCount < TEE_MAX_SORT) { in dumpTee()
3026 strcpy(entries[entryCount++].mFileName, de.d_name); in dumpTee()
3029 if (entryCount > TEE_MAX_KEEP) { in dumpTee()
3030 qsort(entries, entryCount, sizeof(Entry), comparEntry); in dumpTee()
3031 for (size_t i = 0; i < entryCount - TEE_MAX_KEEP; ++i) { in dumpTee()
/frameworks/base/tools/aapt/
DResourceTable.cpp3086 tsHeader->entryCount = htodl(N); in flatten()
3182 tHeader->entryCount = htodl(N); in flatten()
3992 const size_t entryCount = mOrderedConfigs.size(); in getUniqueConfigs() local
3993 for (size_t i = 0; i < entryCount; i++) { in getUniqueConfigs()
4251 const size_t entryCount = entries.size(); in movePrivateAttrs() local
4252 for (size_t j = 0; j < entryCount; j++) { in movePrivateAttrs()
4628 const size_t entryCount = entries.size(); in modifyForCompat() local
4629 for (size_t ei = 0; ei < entryCount; ei++) { in modifyForCompat()

12