Searched defs:sm (Results 1 - 6 of 6) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
H A DReflectionBenchmark.java103 Method m = klass.getDeclaredMethod("sm");
217 public static void sm() { method in class:ReflectionBenchmark.C
/libcore/ojluni/src/main/java/java/net/
H A DURL.java374 SecurityManager sm = System.getSecurityManager();
375 if (sm != null) {
377 checkSpecifyHandler(sm);
521 SecurityManager sm = System.getSecurityManager();
522 if (sm != null) {
523 checkSpecifyHandler(sm);
652 private void checkSpecifyHandler(SecurityManager sm) { argument
653 sm.checkPermission(SecurityConstants.SPECIFY_HANDLER_PERMISSION);
1031 SecurityManager sm = System.getSecurityManager();
1032 if (p.type() != Proxy.Type.DIRECT && sm !
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
H A DJarFileTest.java143 SecurityManager sm = new SecurityManager() { field in class:JarFileTest
/libcore/luni/src/test/java/libcore/java/net/
H A DOldSocketTest.java51 SecurityManager sm = new SecurityManager() { field in class:OldSocketTest
471 SecurityManager sm = new SecurityManager() {
/libcore/ojluni/src/main/java/java/lang/
H A DSystem.java248 * Throws {@code SecurityException} (except in case {@code sm == null}).
255 * @param sm a security manager
256 * @throws SecurityException always, unless {@code sm == null}
258 public static void setSecurityManager(SecurityManager sm) { argument
259 if (sm != null) {
/libcore/ojluni/src/main/java/java/util/
H A DCollections.java1783 private final SortedMap<K, ? extends V> sm; field in class:Collections.UnmodifiableSortedMap
1785 UnmodifiableSortedMap(SortedMap<K, ? extends V> m) {super(m); sm = m; }
1786 public Comparator<? super K> comparator() { return sm.comparator(); }
1788 { return new UnmodifiableSortedMap<>(sm.subMap(fromKey, toKey)); }
1790 { return new UnmodifiableSortedMap<>(sm.headMap(toKey)); }
1792 { return new UnmodifiableSortedMap<>(sm.tailMap(fromKey)); }
1793 public K firstKey() { return sm.firstKey(); }
1794 public K lastKey() { return sm.lastKey(); }
2482 private final SortedMap<K,V> sm; field in class:Collections.SynchronizedSortedMap
2486 sm
3413 private final SortedMap<K, V> sm; field in class:Collections.CheckedSortedMap
[all...]

Completed in 364 milliseconds