Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
DIdentityScope.java72 private static IdentityScope scope; field in IdentityScope
92 scope = (IdentityScope) Class.forName(classname).newInstance(); in initializeSystemScope()
127 public IdentityScope(String name, IdentityScope scope) in IdentityScope() argument
129 super(name, scope); in IdentityScope()
141 if (scope == null) { in getSystemScope()
144 return scope; in getSystemScope()
165 protected static void setSystemScope(IdentityScope scope) { in setSystemScope() argument
167 IdentityScope.scope = scope; in setSystemScope()
DIdentity.java92 IdentityScope scope; field in Identity
117 public Identity(String name, IdentityScope scope) throws in Identity() argument
120 if (scope != null) { in Identity()
121 scope.addIdentity(this); in Identity()
123 this.scope = scope; in Identity()
150 return scope; in getScope()
389 if (scope != null) { in fullName()
390 parsable += "." + scope.getName(); in fullName()
415 if (scope != null) { in toString()
416 printable += "[" + scope.getName() + "]"; in toString()
DSigner.java87 public Signer(String name, IdentityScope scope) in Signer() argument
89 super(name, scope); in Signer()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScopeTest.java78 IdentityScope scope = new IdentityScopeStub("my scope"); in testIdentityScopeStringIdentityScope() local
79 is = new IdentityScopeStub("Aleksei Semenov", scope); in testIdentityScopeStringIdentityScope()
82 assertEquals(scope.getName(), is.getScope().getName()); in testIdentityScopeStringIdentityScope()
92 IdentityScope scope = IdentityScope.getSystemScope(); in testGetSystemScope() local
93 assertNull(scope); in testGetSystemScope()
DIdentity2Test.java132 public IdentitySubclass(String name, IdentityScope scope) in IdentitySubclass() argument
134 super(name, scope); in IdentitySubclass()
203 IdentityScope scope = new IdentityScopeSubclass(); in test_getScope() local
204 IdentitySubclass sub = new IdentitySubclass("test", scope); in test_getScope()
206 assertEquals("Wrong Scope returned", scope, returnedScope); in test_getScope()
DIdentityScope2Test.java64 public IdentityScopeSubclass(String name, IdentityScope scope) in IdentityScopeSubclass() argument
66 super(name, scope); in IdentityScopeSubclass()
319 IdentityScope scope = IdentityScope.getSystemScope(); in test_getIdentity() local
321 scope.getIdentity((String) null); in test_getIdentity()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DIdentityScopeStub.java59 public IdentityScopeStub(String name, IdentityScope scope) in IdentityScopeStub() argument
61 super(name, scope); in IdentityScopeStub()
120 public static void mySetSystemScope(IdentityScope scope) { in mySetSystemScope() argument
122 IdentityScope.setSystemScope(scope); in mySetSystemScope()
DSignerStub.java59 public SignerStub(String name, IdentityScope scope) in SignerStub() argument
61 super(name, scope); in SignerStub()
DIdentityStub.java63 public IdentityStub(String name, IdentityScope scope) in IdentityStub() argument
65 super(name, scope); in IdentityStub()
DSystemScope.java67 public SystemScope(String name, IdentityScope scope) in SystemScope() argument
69 super(name, scope); in SystemScope()
/libcore/ojluni/src/main/native/
Dnet_util.c235 jint scope; in NET_SockaddrToInetAddress() local
251 scope = getScopeID(him); in NET_SockaddrToInetAddress()
252 setInet6Address_scopeid(env, iaObj, scope); in NET_SockaddrToInetAddress()
313 int scope; in NET_SockaddrEqualsInetAddress() local
318 scope = getInet6Address_scopeid(env, iaObj); in NET_SockaddrEqualsInetAddress()
320 if (NET_IsEqual(caddrNew, caddrCur) && cmpScopeID(scope, him)) { in NET_SockaddrEqualsInetAddress()
Dnet_util_md.c249 int cmpScopeID (unsigned int scope, struct sockaddr *him) { in cmpScopeID() argument
251 return hext->sin6_scope_id == scope; in cmpScopeID()
261 int cmpScopeID (unsigned int scope, struct sockaddr *him) { in cmpScopeID() argument
263 return him6->sin6_scope_id == scope; in cmpScopeID()
630 int plen, scope, dad_status, if_idx;
636 &if_idx, &plen, &scope, &dad_status, devname) == 13) {
/libcore/ojluni/src/main/java/java/sql/
DDatabaseMetaData.java1833 String table, int scope, boolean nullable) throws SQLException; in getBestRowIdentifier() argument
/libcore/
DLICENSE71 this License; they are outside its scope. The act of running the Program is
125 distribution medium does not bring the other work under the scope of this
/libcore/ojluni/
DNOTICE357 this License; they are outside its scope. The act of running the Program is
411 distribution medium does not bring the other work under the scope of this