Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/security/
DIdentityScope.java72 private static IdentityScope scope; field in IdentityScope
90 scope = (IdentityScope) Class.forName(classname).newInstance(); in initializeSystemScope()
125 public IdentityScope(String name, IdentityScope scope) in IdentityScope() argument
127 super(name, scope); in IdentityScope()
139 if (scope == null) { in getSystemScope()
142 return scope; in getSystemScope()
163 protected static void setSystemScope(IdentityScope scope) { in setSystemScope() argument
165 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/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/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/ojluni/src/main/native/
Dnet_util.c141 jint scope; in NET_SockaddrToInetAddress() local
159 scope = getScopeID(him); in NET_SockaddrToInetAddress()
160 (*env)->SetIntField(env, iaObj, ia6_scopeidID, scope); in NET_SockaddrToInetAddress()
161 if (scope > 0) in NET_SockaddrToInetAddress()
217 int scope; in NET_SockaddrEqualsInetAddress() local
223 scope = (*env)->GetIntField(env, iaObj, ia6_scopeidID); in NET_SockaddrEqualsInetAddress()
225 if (NET_IsEqual(caddrNew, caddrCur) && cmpScopeID(scope, him)) { in NET_SockaddrEqualsInetAddress()
DInet6AddressImpl.c263 jint scope, in Inet6AddressImpl_isReachable0() argument
304 if (scope > 0) in Inet6AddressImpl_isReachable0()
305 him6.sin6_scope_id = scope; in Inet6AddressImpl_isReachable0()
Dnet_util_md.c260 int cmpScopeID (unsigned int scope, struct sockaddr *him) { in cmpScopeID() argument
265 return hext->sin6_scope_id == scope; in cmpScopeID()
275 int cmpScopeID (unsigned int scope, struct sockaddr *him) { in cmpScopeID() argument
277 return him6->sin6_scope_id == scope; in cmpScopeID()
643 int plen, scope, dad_status, if_idx; in initLoopbackRoutes() local
649 &if_idx, &plen, &scope, &dad_status, devname) == 13) { in initLoopbackRoutes()
DNetworkInterface.c580 int scope=0; in createNetworkInterface() local
590 scope = ((struct sockaddr_in6*)addrP->addr)->sin6_scope_id; in createNetworkInterface()
592 if (scope != 0) { /* zero is default value, no need to set */ in createNetworkInterface()
593 (*env)->SetIntField(env, iaObj, ia6_scopeidID, scope); in createNetworkInterface()
/libcore/ojluni/src/main/java/java/net/
DInet6AddressImpl.java144 int scope = -1; in isReachable() local
172 scope = ((Inet6Address) addr).getScopeId(); in isReachable()
180 return isReachable0(addr.getAddress(), scope, timeout, ifaddr, ttl, netif_scope); in isReachable()
219 …private native boolean isReachable0(byte[] addr, int scope, int timeout, byte[] inf, int ttl, int … in isReachable0() argument
/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