Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 100) sorted by relevance

1234

/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/cms/
DSignerIdentifier.java13 private DEREncodable id; field in SignerIdentifier
16 IssuerAndSerialNumber id) in SignerIdentifier() argument
18 this.id = id; in SignerIdentifier()
22 ASN1OctetString id) in SignerIdentifier() argument
24 this.id = new DERTaggedObject(false, 0, id); in SignerIdentifier()
28 DERObject id) in SignerIdentifier() argument
30 this.id = id; in SignerIdentifier()
68 return (id instanceof ASN1TaggedObject); in isTagged()
73 if (id instanceof ASN1TaggedObject) in getId()
75 return ASN1OctetString.getInstance((ASN1TaggedObject)id, false); in getId()
[all …]
DRecipientIdentifier.java13 private DEREncodable id; field in RecipientIdentifier
16 IssuerAndSerialNumber id) in RecipientIdentifier() argument
18 this.id = id; in RecipientIdentifier()
22 ASN1OctetString id) in RecipientIdentifier() argument
24 this.id = new DERTaggedObject(false, 0, id); in RecipientIdentifier()
28 DERObject id) in RecipientIdentifier() argument
30 this.id = id; in RecipientIdentifier()
68 return (id instanceof ASN1TaggedObject); in isTagged()
73 if (id instanceof ASN1TaggedObject) in getId()
75 return ASN1OctetString.getInstance((ASN1TaggedObject)id, false); in getId()
[all …]
DOriginatorIdentifierOrKey.java13 private DEREncodable id; field in OriginatorIdentifierOrKey
16 IssuerAndSerialNumber id) in OriginatorIdentifierOrKey() argument
18 this.id = id; in OriginatorIdentifierOrKey()
22 ASN1OctetString id) in OriginatorIdentifierOrKey() argument
24 this.id = new DERTaggedObject(false, 0, id); in OriginatorIdentifierOrKey()
28 OriginatorPublicKey id) in OriginatorIdentifierOrKey() argument
30 this.id = new DERTaggedObject(false, 1, id); in OriginatorIdentifierOrKey()
34 DERObject id) in OriginatorIdentifierOrKey() argument
36 this.id = id; in OriginatorIdentifierOrKey()
85 return id; in getId()
[all …]
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScope2Test.java103 public void addIdentity(Identity id) throws KeyManagementException { in addIdentity() argument
104 if (identities.containsKey(id)) in addIdentity()
107 if (getIdentity(id.getPublicKey()) != null) in addIdentity()
110 identities.put(id, id); in addIdentity()
113 public void removeIdentity(Identity id) throws KeyManagementException { in removeIdentity() argument
114 if (!identities.containsKey(id)) in removeIdentity()
117 identities.remove(id); in removeIdentity()
214 Identity id = new IdentitySubclass("id1"); in test_addIdentityLjava_security_Identity() local
215 id.setPublicKey(pubKey); in test_addIdentityLjava_security_Identity()
216 sub.addIdentity(id); in test_addIdentityLjava_security_Identity()
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/
DX509ObjectIdentifiers.java10 static final String id = "2.5.4"; field
12 … static final DERObjectIdentifier commonName = new DERObjectIdentifier(id + ".3");
13 … static final DERObjectIdentifier countryName = new DERObjectIdentifier(id + ".6");
14 … static final DERObjectIdentifier localityName = new DERObjectIdentifier(id + ".7");
15 … static final DERObjectIdentifier stateOrProvinceName = new DERObjectIdentifier(id + ".8");
16 … static final DERObjectIdentifier organization = new DERObjectIdentifier(id + ".10");
17 … static final DERObjectIdentifier organizationalUnitName = new DERObjectIdentifier(id + ".11");
DCertPolicyId.java16 public CertPolicyId (String id) in CertPolicyId() argument
18 super(id); in CertPolicyId()
/dalvik/hit/src/com/android/hit/
DState.java42 public Heap setHeapTo(int id, String name) { in setHeapTo() argument
43 Heap heap = mHeaps.get(id); in setHeapTo()
48 mHeaps.put(id, heap); in setHeapTo()
56 public Heap getHeap(int id) { in getHeap() argument
57 return mHeaps.get(id); in getHeap()
74 public final StackFrame getStackFrame(long id) { in getStackFrame() argument
75 return mCurrentHeap.getStackFrame(id); in getStackFrame()
103 public final void addInstance(long id, Instance instance) { in addInstance() argument
104 mCurrentHeap.addInstance(id, instance); in addInstance()
107 public final void addClass(long id, ClassObj theClass) { in addClass() argument
[all …]
DArrayInstance.java28 public ArrayInstance(long id, StackTrace stack, int type, int numEntries, in ArrayInstance() argument
30 mId = id; in ArrayInstance()
53 long id; in resolveReferences() local
57 id = dis.readInt(); in resolveReferences()
59 id = dis.readLong(); in resolveReferences()
62 Instance instance = state.findReference(id); in resolveReferences()
109 long id; in visit() local
113 id = dis.readInt(); in visit()
115 id = dis.readLong(); in visit()
118 Instance instance = state.findReference(id); in visit()
[all …]
DClassInstance.java27 public ClassInstance(long id, StackTrace stack, long classId) { in ClassInstance() argument
28 mId = id; in ClassInstance()
63 long id; in resolve() local
66 id = dis.readInt(); in resolve()
68 id = dis.readLong(); in resolve()
71 Instance instance = state.findReference(id); in resolve()
123 long id; in visit() local
126 id = dis.readInt(); in visit()
128 id = dis.readLong(); in visit()
131 Instance instance = state.findReference(id); in visit()
[all …]
DClassObj.java41 public ClassObj(long id, StackTrace stack, String className) { in ClassObj() argument
42 mId = id; in ClassObj()
66 long id; in resolveReferences() local
69 id = dis.readInt(); in resolveReferences()
71 id = dis.readLong(); in resolveReferences()
74 RootObj root = new RootObj(RootType.JAVA_STATIC, id); in resolveReferences()
76 if (id == 0) { in resolveReferences()
82 Instance instance = state.findReference(id); in resolveReferences()
92 id); in resolveReferences()
131 public final void setSuperclassId(long id) { in setSuperclassId() argument
[all …]
DHprofParser.java191 long id = readId(); in loadString() local
194 mStrings.put(id, string); in loadString()
200 long id = readId(); in loadClass() local
204 mClassNames.put(id, name); in loadClass()
208 long id = readId(); in loadStackFrame() local
215 StackFrame frame = new StackFrame(id, methodName, methodSignature, in loadStackFrame()
353 long id = readId(); in loadJniLocal() local
359 RootObj root = new RootObj(RootType.NATIVE_LOCAL, id, in loadJniLocal()
369 long id = readId(); in loadJavaFrame() local
375 RootObj root = new RootObj(RootType.JAVA_LOCAL, id, threadSerialNumber, in loadJavaFrame()
[all …]
DHeap.java55 public final StackFrame getStackFrame(long id) { in getStackFrame() argument
56 return mFrames.get(id); in getStackFrame()
91 public final void addInstance(long id, Instance instance) { in addInstance() argument
92 mInstances.put(id, instance); in addInstance()
95 public final Instance getInstance(long id) { in getInstance() argument
96 return mInstances.get(id); in getInstance()
99 public final void addClass(long id, ClassObj theClass) { in addClass() argument
100 mClassesById.put(id, theClass); in addClass()
104 public final ClassObj getClass(long id) { in getClass() argument
105 return mClassesById.get(id); in getClass()
DThreadObj.java23 public ThreadObj(long id, int stackTrace) { in ThreadObj() argument
24 mId = id; in ThreadObj()
DRootObj.java37 public RootObj(RootType type, long id) { in RootObj() argument
38 this(type, id, 0, null); in RootObj()
41 public RootObj(RootType type, long id, int thread, StackTrace stack) { in RootObj() argument
43 mId = id; in RootObj()
/dalvik/libcore/sql/src/test/java/tests/support/
DDatabaseCreator.java341 for (int id = 0; id < numberOfRecords; id++) { in fillTestTable1()
342 String value = DatabaseCreator.defaultString + id; in fillTestTable1()
344 + " (id, field1, field2, field3) VALUES(" + id + ", '" in fillTestTable1()
345 + value + "', " + id + ", " + id + ")"; in fillTestTable1()
353 for (int id = startID; id <= endID; id++) { in fillTestTable2()
354 double value = id + DatabaseCreator.defaultDouble; in fillTestTable2()
358 + " VALUES (" + id + ", '" + DatabaseCreator.defaultString in fillTestTable2()
359 + id + "'," + " '" + DatabaseCreator.defaultCharacter + id in fillTestTable2()
371 for (int id = 0; id < numberOfRecords; id++) { in fillTestTable2()
372 double value = id + DatabaseCreator.defaultDouble; in fillTestTable2()
[all …]
/dalvik/libcore/security/src/main/java/org/bouncycastle/i18n/
DLocalizedMessage.java17 protected final String id; field in LocalizedMessage
32 public LocalizedMessage(String resource,String id) throws NullPointerException in LocalizedMessage() argument
34 if (resource == null || id == null) in LocalizedMessage()
38 this.id = id; in LocalizedMessage()
52 …public LocalizedMessage(String resource, String id, Object[] arguments) throws NullPointerException in LocalizedMessage() argument
54 if (resource == null || id == null || arguments == null) in LocalizedMessage()
58 this.id = id; in LocalizedMessage()
75 String entry = id + "." + key; in getEntry()
166 return id; in getId()
DMessageBundle.java21 public MessageBundle(String resource, String id) throws NullPointerException in MessageBundle() argument
23 super(resource, id); in MessageBundle()
34 public MessageBundle(String resource, String id, Object[] arguments) throws NullPointerException in MessageBundle() argument
36 super(resource, id, arguments); in MessageBundle()
DTextBundle.java21 public TextBundle(String resource, String id) throws NullPointerException in TextBundle() argument
23 super(resource, id); in TextBundle()
34 public TextBundle(String resource, String id, Object[] arguments) throws NullPointerException in TextBundle() argument
36 super(resource, id, arguments); in TextBundle()
DErrorBundle.java26 public ErrorBundle(String resource, String id) throws NullPointerException in ErrorBundle() argument
28 super(resource, id); in ErrorBundle()
39 public ErrorBundle(String resource, String id, Object[] arguments) throws NullPointerException in ErrorBundle() argument
41 super(resource, id, arguments); in ErrorBundle()
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/asn1/
DASN1Implicit.java89 if (type.checkTag(type.id)) { in ASN1Implicit()
116 return id == identifier; in checkTag()
120 return id == identifier || constrId == identifier; in checkTag()
131 new Object[] { in.tagOffset, Integer.toHexString(id), in decode()
136 if (id == in.tag) { in decode()
137 in.tag = type.id; in decode()
160 out.encodeTag(id); in encodeASN()
/dalvik/libcore/sql/src/test/java/tests/java/sql/
DMultiThreadAccessTest.java232 int id = 1; in test_MultipleUpdatesInOneTables() local
236 + " WHERE id=" + id; in test_MultipleUpdatesInOneTables()
240 assertTrue("There is no records with id = " + id, result.next()); in test_MultipleUpdatesInOneTables()
247 threadPool.runTask(createTask7(id, field)); in test_MultipleUpdatesInOneTables()
252 double expectedVal = id + numThreads; in test_MultipleUpdatesInOneTables()
254 assertTrue("There is no records with id = " + id, result.next()); in test_MultipleUpdatesInOneTables()
310 int id = result.getInt("finteger");
312 DatabaseCreator.defaultString + id, result
315 DatabaseCreator.defaultCharacter + id,
318 DatabaseCreator.defaultDouble + id, result
[all …]
/dalvik/vm/jdwp/
DJdwp.h61 INLINE void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { in expandBufAddFieldId() argument
62 expandBufAdd4BE(pReply, id); in expandBufAddFieldId()
64 INLINE void expandBufAddMethodId(ExpandBuf* pReply, MethodId id) { in expandBufAddMethodId() argument
65 expandBufAdd4BE(pReply, id); in expandBufAddMethodId()
67 INLINE void expandBufAddObjectId(ExpandBuf* pReply, ObjectId id) { in expandBufAddObjectId() argument
68 expandBufAdd8BE(pReply, id); in expandBufAddObjectId()
70 INLINE void expandBufAddRefTypeId(ExpandBuf* pReply, RefTypeId id) { in expandBufAddRefTypeId() argument
71 expandBufAdd8BE(pReply, id); in expandBufAddRefTypeId()
73 INLINE void expandBufAddFrameId(ExpandBuf* pReply, FrameId id) { in expandBufAddFrameId() argument
74 expandBufAdd8BE(pReply, id); in expandBufAddFrameId()
/dalvik/libcore/xml/src/main/java/org/kxml2/wap/
DWbxmlParser.java659 int id = peekId (); in nextImpl() local
660 while(id == Wbxml.SWITCH_PAGE){ in nextImpl()
663 id = peekId(); in nextImpl()
667 switch (id) { in nextImpl()
710 wapCode = id; in nextImpl()
711 wapExtensionData = parseWapExtension(id); in nextImpl()
727 parseElement(id); in nextImpl()
737 public Object parseWapExtension(int id) throws IOException, XmlPullParserException { in parseWapExtension() argument
739 switch (id) { in parseWapExtension()
769 exception("illegal id: "+id); in parseWapExtension()
[all …]
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x501/
DAttributes.java55 ASN1OpenType.Id id = new ASN1OpenType.Id(); in getASN1() local
56 ASN1OpenType any = new ASN1OpenType(id, set); in getASN1()
58 return new ASN1Sequence(new ASN1Type[] { id, new ASN1SetOf(any) }); in getASN1()
/dalvik/tools/
Dgclog.py55 id = (value >> 24) & 0xffffffffff
60 (id >> 32) & 0xff, \
61 (id >> 24) & 0xff, \
62 (id >> 16) & 0xff, \
63 (id >> 8) & 0xff, \
64 id & 0xff )

1234