Home
last modified time | relevance | path

Searched refs:nameLength (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/jni/
Dandroid_backup_BackupHelperDispatcher.cpp38 int nameLength; // not including the NULL terminator, which is not written to the file member
93 ALOGD(" nameLength=%d", flattenedHeader.nameLength); in readHeader_native()
96 if (flattenedHeader.dataSize < 0 || flattenedHeader.nameLength < 0 || in readHeader_native()
97 remainingHeader < flattenedHeader.nameLength) { in readHeader_native()
99 flattenedHeader.dataSize, flattenedHeader.nameLength); in readHeader_native()
103 buf = keyPrefix.lockBuffer(flattenedHeader.nameLength); in readHeader_native()
105 ALOGW("unable to allocate %d bytes", flattenedHeader.nameLength); in readHeader_native()
109 amt = read(fd, buf, flattenedHeader.nameLength); in readHeader_native()
110 buf[flattenedHeader.nameLength] = 0; in readHeader_native()
112 keyPrefix.unlockBuffer(flattenedHeader.nameLength); in readHeader_native()
[all …]
/frameworks/wilhelm/tests/sandbox/
Dobject.c95 SLint16 nameLength = -1; in main() local
96 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, NULL, &nameLength); in main()
99 printf(" extension[%u] length = %u\n", i, nameLength); in main()
102 assert(0 == nameLength); in main()
105 nameLength = -1; in main()
107 &nameLength); in main()
114 nameLength = 0; in main()
116 &nameLength); in main()
123 nameLength = 1; in main()
125 &nameLength); in main()
[all …]
/frameworks/base/services/core/java/com/android/server/power/feature/
DPowerManagerFlags.java98 final int nameLength = mName.length(); in toString() local
99 return TextUtils.substring(mName, 39, nameLength) + ": " in toString()
100 + TextUtils.formatSimple("%" + (91 - nameLength) + "s%s", " " , isEnabled()) in toString()
/frameworks/rs/driver/
DrsdShaderCache.h73 uint32_t nameLength; member
79 nameLength = maxName; in UniformQueryData()
80 if (nameLength > 0 ) { in UniformQueryData()
81 name = new char[nameLength]; in UniformQueryData()
/frameworks/rs/driver/runtime/
Drs_element.c44 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength) { in rsElementGetSubElementName() argument
47 nameLength == 0 || name == 0) { in rsElementGetSubElementName()
52 if (nameLength < numToCopy) { in rsElementGetSubElementName()
53 numToCopy = nameLength; in rsElementGetSubElementName()
/frameworks/multidex/library/test/src/androidx/multidex/
DZipEntryReader.java73 int nameLength = in.getShort() & 0xffff; in readEntry() local
81 byte[] nameBytes = new byte[nameLength]; in readEntry()
/frameworks/av/media/libmedia/
DMediaScanner.cpp183 int nameLength = strlen(name); in doProcessDirectoryEntry() local
184 if (nameLength + 1 > pathRemaining) { in doProcessDirectoryEntry()
223 MediaScanResult result = doProcessDirectory(path, pathRemaining - nameLength - 1, in doProcessDirectoryEntry()
/frameworks/rs/
DrsScriptGroup2.cpp21 size_t nameLength, in rsi_ScriptGroup2Create() argument
DrsHidlAdaptation.cpp992 …Group2 RsHidlAdaptation::ScriptGroup2Create(RsContext context, const char* name, size_t nameLength, in ScriptGroup2Create() argument
/frameworks/base/services/core/java/com/android/server/display/feature/
DDisplayManagerFlags.java451 final int nameLength = mName.length(); in toString() local
452 return TextUtils.substring(mName, 41, nameLength) + ": " in toString()
453 + TextUtils.formatSimple("%" + (93 - nameLength) + "s%s", " " , isEnabled()) in toString()
/frameworks/base/core/java/android/companion/
DBluetoothLeDeviceFilter.java396 int nameFrom, int nameLength) { in setRenameFromName() argument
398 checkRangeNotEmpty(nameLength); in setRenameFromName()
400 mRenameNameLength = nameLength; in setRenameFromName()
/frameworks/native/libs/ui/
DGralloc5.cpp215 auto nameLength = std::min(requestorName.length(), descriptorInfo.name.size() - 1); in makeDescriptor() local
216 memcpy(descriptorInfo.name.data(), requestorName.data(), nameLength); in makeDescriptor()
217 requestorName.data()[nameLength] = 0; in makeDescriptor()
/frameworks/av/camera/
DCameraMetadata.cpp794 size_t nameLength = strlen(name); in getTagFromName() local
843 if (sectionLength + 1 >= nameLength) { in getTagFromName()
/frameworks/av/media/libstagefright/rtsp/
DARTPWriter.cpp1627 int nameLength = strlen(kSomeone); in makeSocketPairAndBind() local
1628 memcpy(kCNAME, kSomeone, nameLength); in makeSocketPairAndBind()
1629 memcpy(kCNAME + nameLength, localIp.c_str(), localIp.length() + 1); in makeSocketPairAndBind()
/frameworks/rs/script_api/include/
Drs_object_info.rsh306 * nameLength: Length of the provided name array.
312 rsElementGetSubElementName(rs_element e, uint32_t index, char* name, uint32_t nameLength);
/frameworks/av/media/libstagefright/
DACodec.cpp8405 size_t nameLength = strlen(key); in setVendorParameters() local
8406 key[nameLength] = '.'; in setVendorParameters()
8414 strcpy(key + nameLength + 1, (const char *)config->param[paramIndex].cKey); in setVendorParameters()
8415 removeTrailingTags(key, nameLength, "value"); in setVendorParameters()
8473 key[nameLength] = '\0'; in setVendorParameters()
8516 size_t nameLength = strlen(key); in getVendorParameters() local
8517 key[nameLength] = '.'; in getVendorParameters()
8522 strcpy(key + nameLength + 1, (const char *)config->param[paramIndex].cKey); in getVendorParameters()
8523 removeTrailingTags(key, nameLength, "value"); in getVendorParameters()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...