/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
IdentityScope2Test.java | 20 import java.security.Identity; 43 Hashtable<Identity, Identity> identities; 51 identities = new Hashtable<Identity, Identity>(); 56 identities = new Hashtable<Identity, Identity>(); 61 identities = new Hashtable<Identity, Identity>(); 67 identities = new Hashtable<Identity, Identity>() [all...] |
Identity2Test.java | 25 import java.security.Identity; 122 public static class IdentitySubclass extends Identity { 140 * java.security.Identity#Identity() 147 * java.security.Identity#Identity(java.lang.String) 156 assertTrue(is instanceof Identity); 158 fail("Unexpected exception for Identity(java.lang.String) with parameter " 165 * java.security.Identity#Identity(java.lang.String [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
IdentityScopeStub.java | 24 import java.security.Identity; 76 public Identity getIdentity(String name) { 85 public Identity getIdentity(PublicKey key) { 91 * @see java.security.IdentityScope#addIdentity(java.security.Identity) 93 public void addIdentity(Identity identity) throws KeyManagementException { 100 * @see java.security.IdentityScope#removeIdentity(java.security.Identity) 102 public void removeIdentity(Identity identity) throws KeyManagementException { 116 * Sets the system's identity scop [all...] |
IdentityStub.java | 24 import java.security.Identity; 30 * Stub for abstract class Identity 34 public class IdentityStub extends Identity {
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
IdentityScopeStub.java | 25 import java.security.Identity; 77 public Identity getIdentity(String name) { 86 public Identity getIdentity(PublicKey key) { 92 * @see java.security.IdentityScope#addIdentity(java.security.Identity) 94 public void addIdentity(Identity identity) throws KeyManagementException { 101 * @see java.security.IdentityScope#removeIdentity(java.security.Identity) 103 public void removeIdentity(Identity identity) throws KeyManagementException { 117 * Sets the system's identity scop [all...] |
IdentityStub.java | 25 import java.security.Identity; 31 * Stub for abstract class Identity 35 public class IdentityStub extends Identity { 81 public boolean identityEquals(Identity identity) { 82 return super.identityEquals(identity);
|
/libcore/luni/src/main/java/java/security/ |
IdentityScope.java | 24 * {@code IdentityScope} represents a scope for {@link Identity} objects. 31 public abstract class IdentityScope extends Identity { 64 * if an identity with the same key already exists. 106 * Returns the number of {@code Identity} objects in this scope. 108 * @return the number of {@code Identity} objects in this scope. 113 * Returns the {@code Identity} with the specified name or {@code null} if 114 * no {@code Identity} with the specified name is present in this scope. 117 * the name of the {@code Identity} to be returned. 118 * @return the {@code Identity} with the specified name or {@code null} if 121 public abstract Identity getIdentity(String name) [all...] |
Identity.java | 26 * {@code Identity} represents an identity like a person or a company. 33 public abstract class Identity implements Principal, Serializable { 47 * Constructs a new instance of {@code Identity}. 49 protected Identity() { 53 * Creates a new instance of {@code Identity} with the specified name. 56 * the name of this {@code Identity}. 58 public Identity(String name) { 63 * Creates a new instance of {@code Identity} with the specified name and 64 * the scope of this {@code Identity} [all...] |
Signer.java | 21 * {@link Signer} represents an identity (individual or corporation) that owns a 29 public abstract class Signer extends Identity {
|
/libcore/luni/src/main/java/org/apache/harmony/security/ |
SystemScope.java | 25 import java.security.Identity; 43 // Identities hash: key is the identity name 80 public synchronized Identity getIdentity(String name) { 84 return (Identity) names.get(name); 90 public synchronized Identity getIdentity(PublicKey key) { 94 return (Identity) keys.get(key); 98 * @see java.security.IdentityScope#addIdentity(java.security.Identity) 100 public synchronized void addIdentity(Identity identity) throws KeyManagementException { 101 if (identity == null) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
IdentityScope2Test.java | 20 import java.security.Identity; 73 public Identity getIdentity(String name) { 76 Identity current = (Identity) en.nextElement(); 83 public Identity getIdentity(PublicKey pk) { 86 Identity current = (Identity) en.nextElement(); 97 public void addIdentity(Identity id) throws KeyManagementException { 100 "This Identity is already contained in the scope"); 103 "This Identity's public key already exists in the scope") [all...] |
Identity2Test.java | 24 import java.security.Identity; 132 public static class IdentitySubclass extends Identity { 148 * @tests java.security.Identity#Identity() 155 * @tests java.security.Identity#Identity(java.lang.String) 162 * @tests java.security.Identity#Identity(java.lang.String, 170 * @tests java.security.Identity#getScope() 180 * @tests java.security.Identity#getPublicKey( [all...] |
/external/clang/test/CodeGenCXX/ |
debug-info.cpp | 2 template<typename T> struct Identity { 6 void f(Identity<int>::Type a) {} 7 void f(Identity<int> a) {}
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
IdentityTest.java | 33 * Tests for class Identity 52 Identity i1 = new IdentityStub("testEquals"); 65 Identity i2 = new IdentityStub("testEquals", IdentityScope.getSystemScope()); 67 Identity i3 = new IdentityStub("testEquals3"); 73 * verify Identity.toString() 80 * verify Identity() creates instance 87 * verify Identity(String) creates instance with given name 90 Identity i = new IdentityStub("iii"); 99 * verify Identity(String, IdentityScope) creates instance with given name and in give scope 103 Identity i = new IdentityStub("iii2", s) [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/ |
SystemScopeTest.java | 24 import java.security.Identity; 55 while (e.hasMoreElements()) ss.removeIdentity((Identity)e.nextElement()); 81 * verify getIdentity(String) returns requested identity or null if not found 87 java.security.Identity aaa = new IdentityScopeStub("aaa"); 95 * verify getIdentity(PublicKey) returns requested identity or null if not found 101 java.security.Identity aaa = new IdentityScopeStub("aaa"); 109 * verify that only one identity with given name or public key can be added 115 java.security.Identity aaa = new IdentityScopeStub("aaa"); 119 java.security.Identity bbb = new IdentityScopeStub("aaa"); 125 java.security.Identity ccc = new IdentityScopeStub("ccc") [all...] |
/libcore/luni/src/test/java/tests/java/security/ |
IdentityTest.java | 25 import java.security.Identity; 40 * Tests for class Identity 71 Identity i2 = new IdentityStub("testEquals", IdentityScope.getSystemScope()); 73 Identity i3 = new IdentityStub("testEquals3"); 79 * verify Identity.toString() 86 * verify Identity() creates instance 93 * verify Identity(String) creates instance with given name 96 Identity i = new IdentityStub("iii"); 105 * verify Identity(String, IdentityScope) creates instance with given name and in give scope 109 Identity i = new IdentityStub("iii2", s) [all...] |
/external/chromium/net/http/ |
http_auth.h | 64 // Describes where the identity used for authentication came from. 66 // Came from nowhere -- the identity is not initialized. 69 // The identity came from the auth cache, by doing a path-based 73 // The identity was extracted from a URL of the form: 77 // The identity was retrieved from the auth cache, by doing a 81 // The identity was provided by RestartWithAuth -- it likely 85 // The identity used the default credentials for the computer, 100 // the current identity being used for authorization. 101 struct Identity { 102 Identity(); [all...] |
http_auth_controller.h | 98 // The identity that was rejected is |identity_|. 101 // Sets |identity_| to the next identity that the transaction should try. It 103 // username:password. Returns true if an identity was found. 136 // the handler_ to generate credentials. This identity can come from 138 HttpAuth::Identity identity_; 148 // makes sure we use the embedded identity only once for the transaction,
|
http_auth.cc | 21 HttpAuth::Identity::Identity() : source(IDENT_SRC_NONE), invalid(true) {}
|
http_auth_controller.cc | 210 // since we must first be challenged in order to use the URL's identity. 348 // Pick a new auth identity to try, by looking to the URL and auth cache. 349 // If an identity to try is found, it is saved to identity_. 352 // Proceed with the existing identity or a null identity. 359 // We have exhausted all identity possibilities, all we can do now is 385 // the identity is valid yet, but if it is valid we want other transactions 391 // identity because identity is not required yet or we're using default 426 identity_ = HttpAuth::Identity(); [all...] |
/external/chromium/base/ |
bind_unittest.cc | 150 int Identity(int n) { 324 Callback<int(void)> bind_primitive_cb = Bind(&Identity, n); 331 Callback<int(void)> bind_int_literal_cb = Bind(&Identity, 3); 402 Callback<int(void)> ref_copies_cb = Bind(&Identity, ref_n); 407 Callback<int(void)> const_ref_copies_cb = Bind(&Identity, const_ref_n); 481 Callback<int(void)> copy_cb = Bind(&Identity, n); 482 Callback<int(void)> const_ref_cb = Bind(&Identity, ConstRef(n)); 591 // Callback<int(void)> cb_a0 = Bind(&Identity, 1); 597 // Callback<int(void)> cb_a1 = Bind(&Identity, 1);
|
/external/mesa3d/test/ |
m_matrix.c | 54 #define MAT_FLAG_IDENTITY 0 /**< is an identity matrix flag. 55 * (Not actually used - the identity 135 * Identity matrix. 137 static GLfloat Identity[16] = { 605 memcpy( out, Identity, sizeof(Identity) ); 632 * Compute inverse of an identity transformation matrix. 639 * Simply copies Identity into GLmatrix::inv. 643 memcpy( mat->inv, Identity, sizeof(Identity) ); [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/ |
vertexconversion.h | 22 // static const bool identity: true if this is an identity transform, false otherwise 27 struct Identity 29 static const bool identity = true; member in struct:gl::Identity 42 static const bool identity = false; member in struct:gl::Cast 55 static const bool identity = true; member in struct:gl::Cast 68 static const bool identity = false; member in struct:gl::Normalize 94 static const bool identity = false; member in struct:gl::FixedToFloat 149 // static const bool identity: true if this is an identity transform (with no widening 159 static const bool identity = (WidenRule::initialWidth == WidenRule::finalWidth) && Converter::identity; member in struct:gl::VertexDataConverter [all...] |
/external/chromium/net/socket_stream/ |
socket_stream.h | 44 // authentication identity for proxy URL first. If server requires proxy 45 // authentication, it will try authentication identity for realm that server 292 HttpAuth::Identity auth_identity_;
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactAggregator.java | 40 import android.provider.ContactsContract.CommonDataKinds.Identity; 350 mMimeTypeIdIdentity = mDbHelper.getMimeTypeId(Identity.CONTENT_ITEM_TYPE); [all...] |