Home
last modified time | relevance | path

Searched refs:valueLength (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/
DSignedLongLong.java54 int valueLength = value.length(); in fromString() local
55 if (valueLength == 0 || valueLength > 32) { in fromString()
56 throw new NumberFormatException("invalid string length: " + valueLength); in fromString()
58 if (valueLength <= 16) { in fromString()
61 lsbStr = value.substring(valueLength - 16, valueLength); in fromString()
62 msbStr = value.substring(0, valueLength - 16); in fromString()
/packages/modules/NeuralNetworks/runtime/
DModelBuilder.cpp152 uint32_t valueLength = static_cast<uint32_t>(length); in setOperandValue() local
155 if (neededLength != valueLength) { in setOperandValue()
156 LOG(ERROR) << "ANeuralNetworksModel_setOperandValue setting " << valueLength in setOperandValue()
161 if (valueLength <= ANEURALNETWORKS_MAX_SIZE_OF_IMMEDIATELY_COPIED_VALUES) { in setOperandValue()
163 uint32_t extraBytes = alignBytesNeeded(existingSize, valueLength); in setOperandValue()
164 mSmallOperandValues.resize(existingSize + extraBytes + valueLength); in setOperandValue()
167 .poolIndex = 0, .offset = existingSize + extraBytes, .length = valueLength}; in setOperandValue()
168 memcpy(&mSmallOperandValues[operand.location.offset], buffer, valueLength); in setOperandValue()
178 .length = valueLength}; in setOperandValue()
925 uint32_t valueLength = operand.location.length; in updateOperandLocations() local
[all …]
/packages/apps/SecureElement/src/com/android/se/security/gpac/
DResponse_AR_DO.java51 public Response_AR_DO(byte[] rawData, int valueIndex, int valueLength) { in Response_AR_DO() argument
52 super(rawData, TAG, valueIndex, valueLength); in Response_AR_DO()
DNFC_AR_DO.java57 public NFC_AR_DO(byte[] rawData, int valueIndex, int valueLength) { in NFC_AR_DO() argument
58 super(rawData, TAG, valueIndex, valueLength); in NFC_AR_DO()
DResponse_ALL_AR_DO.java53 public Response_ALL_AR_DO(byte[] rawData, int valueIndex, int valueLength) { in Response_ALL_AR_DO() argument
54 super(rawData, TAG, valueIndex, valueLength); in Response_ALL_AR_DO()
DPERM_AR_DO.java32 public PERM_AR_DO(byte[] rawData, int valueIndex, int valueLength) { in PERM_AR_DO() argument
33 super(rawData, TAG, valueIndex, valueLength); in PERM_AR_DO()
DResponse_ARAC_AID_DO.java53 public Response_ARAC_AID_DO(byte[] rawData, int valueIndex, int valueLength) { in Response_ARAC_AID_DO() argument
54 super(rawData, TAG, valueIndex, valueLength); in Response_ARAC_AID_DO()
DResponse_RefreshTag_DO.java50 public Response_RefreshTag_DO(byte[] rawData, int valueIndex, int valueLength) { in Response_RefreshTag_DO() argument
51 super(rawData, TAG, valueIndex, valueLength); in Response_RefreshTag_DO()
DREF_AR_DO.java51 public REF_AR_DO(byte[] rawData, int valueIndex, int valueLength) { in REF_AR_DO() argument
52 super(rawData, TAG, valueIndex, valueLength); in REF_AR_DO()
DHash_REF_DO.java54 public Hash_REF_DO(byte[] rawData, int valueIndex, int valueLength) { in Hash_REF_DO() argument
55 super(rawData, TAG, valueIndex, valueLength); in Hash_REF_DO()
DPKG_REF_DO.java33 public PKG_REF_DO(byte[] rawData, int valueIndex, int valueLength) { in PKG_REF_DO() argument
34 super(rawData, TAG, valueIndex, valueLength); in PKG_REF_DO()
DAID_REF_DO.java56 public AID_REF_DO(byte[] rawData, int tag, int valueIndex, int valueLength) { in AID_REF_DO() argument
57 super(rawData, tag, valueIndex, valueLength); in AID_REF_DO()
DAR_DO.java54 public AR_DO(byte[] rawData, int valueIndex, int valueLength) { in AR_DO() argument
55 super(rawData, TAG, valueIndex, valueLength); in AR_DO()
DAPDU_AR_DO.java55 public APDU_AR_DO(byte[] rawData, int valueIndex, int valueLength) { in APDU_AR_DO() argument
56 super(rawData, TAG, valueIndex, valueLength); in APDU_AR_DO()
DBerTlv.java50 public BerTlv(byte[] rawData, int tag, int valueIndex, int valueLength) { in BerTlv() argument
54 mValueLength = valueLength; in BerTlv()
DREF_DO.java52 public REF_DO(byte[] rawData, int valueIndex, int valueLength) { in REF_DO() argument
53 super(rawData, TAG, valueIndex, valueLength); in REF_DO()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/
Dheader_read_write_utils.cpp85 const int valueLength = ByteArrayUtils::readStringAndAdvancePosition(dictBuf, in fetchAllHeaderAttributes() local
88 value.insert(value.end(), valueBuffer.get(), valueBuffer.get() + valueLength); in fetchAllHeaderAttributes()
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduComposer.java644 final int valueLength = valueStart.getLength(); in appendHeader() local
646 appendValueLength(valueLength); in appendHeader()