Home
last modified time | relevance | path

Searched refs:lengthBytes (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java128 private String lengthBytes; field in UiccCarrierPrivilegeRules.TLV
149 lengthBytes = data.substring(offset, offset + 2); in parseLength()
153 lengthBytes = data.substring(offset, offset + 2 + numBytes * 2); in parseLength()
155 log("TLV parseLength length=" + length + "lenghtBytes: " + lengthBytes); in parseLength()
156 return lengthBytes; in parseLength()
170 index += lengthBytes.length(); in parse()
600 String lengthBytes = allRules.parseLength(mRules); in isDataComplete() local
601 log("isDataComplete lengthBytes: " + lengthBytes); in isDataComplete()
602 if (mRules.length() == TAG_ALL_REF_AR_DO.length() + lengthBytes.length() + in isDataComplete()
663 if (!cpDo.lengthBytes.equals("06") || !cpDo.value.equals(CARRIER_PRIVILEGE_AID) in parseRefArdo()
/frameworks/base/core/java/android/content/pm/
DIPackageInstallerSession.aidl30 ParcelFileDescriptor openWrite(String name, long offsetBytes, long lengthBytes); in openWrite() argument
33 void write(String name, long offsetBytes, long lengthBytes, in ParcelFileDescriptor fd); in write() argument
DPackageInstaller.java912 long lengthBytes) throws IOException { in openWrite() argument
916 mSession.openWrite(name, offsetBytes, lengthBytes)); in openWrite()
919 offsetBytes, lengthBytes); in openWrite()
931 public void write(@NonNull String name, long offsetBytes, long lengthBytes, in write() argument
934 mSession.write(name, offsetBytes, lengthBytes, fd); in write()
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java487 int lengthBytes = input.length; in decodeGSMPackedString() local
488 int lengthSeptets = (lengthBytes * 8) / 7; in decodeGSMPackedString()
495 if (lengthBytes % 7 == 0) { in decodeGSMPackedString()
496 if (lengthBytes > 0) { in decodeGSMPackedString()
497 if ((input[lengthBytes - 1] >> 1) == PADDING_CHAR) { in decodeGSMPackedString()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerSession.java658 public ParcelFileDescriptor openWrite(String name, long offsetBytes, long lengthBytes) { in openWrite() argument
660 return doWriteInternal(name, offsetBytes, lengthBytes, null); in openWrite()
667 public void write(String name, long offsetBytes, long lengthBytes, in write() argument
670 doWriteInternal(name, offsetBytes, lengthBytes, fd); in write()
676 private ParcelFileDescriptor doWriteInternal(String name, long offsetBytes, long lengthBytes, in doWriteInternal() argument
719 if (stageDir != null && lengthBytes > 0) { in doWriteInternal()
720 mContext.getSystemService(StorageManager.class).allocateBytes(targetFd, lengthBytes, in doWriteInternal()
745 FileUtils.copy(incomingFd.getFileDescriptor(), targetFd, lengthBytes, null, in doWriteInternal() local
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java844 int lengthBytes = 2 + (addressLength + 1) / 2; in getAddress() local
847 ret = new GsmSmsAddress(mPdu, mCur, lengthBytes); in getAddress()
854 mCur += lengthBytes; in getAddress()