Home
last modified time | relevance | path

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

/packages/apps/SecureElement/src/com/android/se/security/gpac/
DAID_REF_DO.java112 if (getValueLength() != 0) { in interpret()
118 if ((getValueLength() < 5 || getValueLength() > 16) && getValueLength() != 0) { in interpret()
122 if (index + getValueLength() > data.length) { in interpret()
126 mAid = new byte[getValueLength()]; in interpret()
127 System.arraycopy(data, index, mAid, 0, getValueLength()); in interpret()
155 if (getValueLength() != 0) { in build()
156 if (getValueLength() < 5 || getValueLength() > 16) { in build()
DAR_DO.java112 if (index + getValueLength() > data.length) { in interpret()
120 mApduAr = new APDU_AR_DO(data, temp.getValueIndex(), temp.getValueLength()); in interpret()
123 mNfcAr = new NFC_AR_DO(data, temp.getValueIndex(), temp.getValueLength()); in interpret()
126 mPermAr = new PERM_AR_DO(data, temp.getValueIndex(), temp.getValueLength()); in interpret()
133 index = temp.getValueIndex() + temp.getValueLength(); in interpret()
134 } while (getValueIndex() + getValueLength() > index); in interpret()
DAPDU_AR_DO.java106 if (index + getValueLength() > data.length) { in interpret()
113 if (getValueLength() == 1) { in interpret()
121 } else if ((getValueLength() % 8 == 0) && (getValueLength() != 0)) { in interpret()
124 for (int i = index; i < index + getValueLength(); i += 8) { in interpret()
140 } else if (getValueLength() == 0) { in interpret()
DResponse_AR_DO.java74 if (getValueLength() == 0) { in interpret()
79 if (index + getValueLength() > data.length) { in interpret()
84 int endPos = index + getValueLength(); in interpret()
89 mArDo = new AR_DO(data, temp.getValueIndex(), temp.getValueLength()); in interpret()
97 currentPos = temp.getValueIndex() + temp.getValueLength(); in interpret()
DResponse_ALL_AR_DO.java78 if (getValueLength() == 0) { in interpret()
83 if (index + getValueLength() > data.length) { in interpret()
89 int endPos = index + getValueLength(); in interpret()
96 tempRefArDo = new REF_AR_DO(data, temp.getValueIndex(), temp.getValueLength()); in interpret()
105 currentPos = temp.getValueIndex() + temp.getValueLength(); in interpret()
DResponse_ARAC_AID_DO.java78 if (getValueLength() == 0) { in interpret()
83 if (index + getValueLength() > data.length) { in interpret()
89 int endPos = index + getValueLength(); in interpret()
99 temp.getValueLength()); in interpret()
108 currentPos = temp.getValueIndex() + temp.getValueLength(); in interpret()
DREF_DO.java122 if (index + getValueLength() > data.length) { in interpret()
132 temp.getValueLength()); in interpret()
135 mHashDo = new Hash_REF_DO(data, temp.getValueIndex(), temp.getValueLength()); in interpret()
138 mPkgDo = new PKG_REF_DO(data, temp.getValueIndex(), temp.getValueLength()); in interpret()
145 index = temp.getValueIndex() + temp.getValueLength(); in interpret()
146 } while (getValueIndex() + getValueLength() > index); in interpret()
DREF_AR_DO.java93 if (index + getValueLength() > data.length) { in interpret()
100 mRefDo = new REF_DO(data, temp.getValueIndex(), temp.getValueLength()); in interpret()
103 mArDo = new AR_DO(data, temp.getValueIndex(), temp.getValueLength()); in interpret()
111 index = temp.getValueIndex() + temp.getValueLength(); in interpret()
112 } while (getValueIndex() + getValueLength() > index); in interpret()
DResponse_DO_Factory.java51 tempTlv.getValueLength()); in createDO()
55 tempTlv.getValueLength()); in createDO()
60 tempTlv.getValueLength()); in createDO()
64 tempTlv.getValueLength()); in createDO()
DPKG_REF_DO.java79 if (getValueLength() > 128) { in interpret()
83 if (index + getValueLength() > data.length) { in interpret()
87 byte[] pkg = new byte[getValueLength()]; in interpret()
88 System.arraycopy(data, index, pkg, 0, getValueLength()); in interpret()
DResponse_RefreshTag_DO.java72 if (super.getValueLength() != 8) { in interpret()
79 if (index + super.getValueLength() > data.length) { in interpret()
82 mRefreshTagArray = new byte[super.getValueLength()]; in interpret()
DNFC_AR_DO.java83 if (index + getValueLength() > data.length) { in interpret()
87 if (getValueLength() != 1) { in interpret()
DPERM_AR_DO.java54 int length = getValueLength(); in interpret()
56 if (index + getValueLength() > data.length) { in interpret()
DHash_REF_DO.java112 int length = getValueLength(); in interpret()
DBerTlv.java248 public int getValueLength() { in getValueLength() method in BerTlv
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeConfigPayload.java260 .putShort((short) getValueLength()); in encodeAttributeToByteBuffer()
266 return ATTRIBUTE_HEADER_LEN + getValueLength(); in getAttributeLen()
271 return getValueLength() == VALUE_LEN_NOT_INCLUDED; in isEmptyValue()
308 protected abstract int getValueLength(); in getValueLength() method in IkeConfigPayload.ConfigAttribute
386 protected int getValueLength() { in getValueLength() method in IkeConfigPayload.TunnelModeChildConfigAttrIpv4AddressBase
443 protected int getValueLength() { in getValueLength() method in IkeConfigPayload.IkeConfigAttrIpv4AddressBase
660 protected int getValueLength() { in getValueLength() method in IkeConfigPayload.ConfigAttributeIpv4Subnet
747 protected int getValueLength() { in getValueLength() method in IkeConfigPayload.TunnelModeChildConfigAttrIpv6AddressBase
804 protected int getValueLength() { in getValueLength() method in IkeConfigPayload.IkeConfigAttrIpv6AddressBase
881 protected int getValueLength() { in getValueLength() method in IkeConfigPayload.TunnelModeChildConfigAttrIpv6AddrRangeBase
[all …]
/packages/apps/SecureElement/src/com/android/se/security/ara/
DAccessRuleApplet.java88 overallLen = tempTlv.getValueLength() + tempTlv.getValueIndex(); in readAllAccessRules()