Searched refs:manager (Results 1 - 14 of 14) sorted by path

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DX509KeyManagerTest.java21 private X509KeyManager manager; field in class:X509KeyManagerTest
662 manager = (X509KeyManager) factory.getKeyManagers()[0];
670 assertNull(manager.getClientAliases(null, null));
671 assertNull(manager.getClientAliases("", null));
672 String[] resArray = manager.getClientAliases(TYPE_RSA, null);
683 assertNull(manager.chooseClientAlias(null, null, new Socket()));
684 assertNull(manager.chooseClientAlias(new String[0], null, new Socket()));
685 assertNull(manager.chooseClientAlias(new String[]{"BOGUS"}, null, new Socket()));
686 String res = manager.chooseClientAlias(new String[]{TYPE_RSA}, null, null);
696 assertNull(manager
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DAbstractCookiesTest.java395 * Test which headers show up where. The cookie manager should be notified
398 * manager should show up in the request and in {@code
1204 CookieManager manager = new CookieManager(createCookieStore(), null);
1206 manager.get(uri, map);
1216 CookieManager manager = new CookieManager(createCookieStore(), null);
1218 manager.put(uri, map);
1262 CookieManager manager = new CookieManager(createCookieStore(), policy);
1263 // Put all cookies into manager
1267 manager.put(uri, responseHeaders);
1270 return manager;
[all...]
/libcore/luni/src/test/java/libcore/java/util/logging/
H A DOldFileHandlerTest.java41 static LogManager manager = LogManager.getLogManager(); field in class:OldFileHandlerTest
52 manager.reset();
76 manager.readConfiguration(propertiesToInputStream(props));
H A DOldLogManagerTest.java37 LogManager manager = LogManager.getLogManager(); field in class:OldLogManagerTest
155 assertTrue(manager.addLogger(foo));
156 assertSame(manager.getLogger(""), manager.getLogger("testGetLogger_hierachy.foo")
185 manager.checkAccess();
H A DOldMemoryHandlerTest.java35 final static LogManager manager = LogManager.getLogManager(); field in class:OldMemoryHandlerTest
42 manager.reset();
44 manager.readConfiguration(propertiesToInputStream(props));
50 manager.readConfiguration();
/libcore/ojluni/src/main/java/java/util/logging/
H A DConsoleHandler.java73 LogManager manager = LogManager.getLogManager();
76 setLevel(manager.getLevelProperty(cname +".level", Level.INFO));
77 setFilter(manager.getFilterProperty(cname +".filter", null));
78 setFormatter(manager.getFormatterProperty(cname +".formatter", new SimpleFormatter()));
80 setEncoding(manager.getStringProperty(cname +".encoding", null));
H A DFileHandler.java222 LogManager manager = LogManager.getLogManager();
226 pattern = manager.getStringProperty(cname + ".pattern", "%h/java%u.log");
227 limit = manager.getIntProperty(cname + ".limit", 0);
231 count = manager.getIntProperty(cname + ".count", 1);
235 append = manager.getBooleanProperty(cname + ".append", false);
236 setLevel(manager.getLevelProperty(cname + ".level", Level.ALL));
237 setFilter(manager.getFilterProperty(cname + ".filter", null));
238 setFormatter(manager.getFormatterProperty(cname + ".formatter", new XMLFormatter()));
240 setEncoding(manager.getStringProperty(cname +".encoding", null));
257 * @exception SecurityException if a security manager exist
[all...]
H A DHandler.java50 private final LogManager manager = LogManager.getLogManager(); field in class:Handler
105 * @exception SecurityException if a security manager exists and if
118 * @exception SecurityException if a security manager exists and if
144 * @exception SecurityException if a security manager exists and if
182 * @exception SecurityException if a security manager exists and if
206 * @exception SecurityException if a security manager exists and if
221 * @exception SecurityException if a security manager exists and if
258 * @exception SecurityException if a security manager exists and if
310 manager.checkPermission();
H A DLogManager.java58 * java.util.logging.manager system property.
146 private static final LogManager manager; field in class:LogManager
180 manager = AccessController.doPrivileged(new PrivilegedAction<LogManager>() {
186 cname = System.getProperty("java.util.logging.manager");
219 LogManager mgr = manager;
270 * Lazy initialization: if this instance of manager is the global
271 * manager then this method will read the initial configuration and
290 if (initializationDone || owner != manager) {
292 // this on private manager instances.
298 // the log manager ha
746 addLocalLogger(Logger logger, LogManager manager) argument
757 addLocalLogger(Logger logger, boolean addDefaultLoggersIfNeeded, LogManager manager) argument
[all...]
H A DLogger.java257 private volatile LogManager manager; field in class:Logger
300 // initialize its log manager.
305 // Logger.global.manager will be null.
312 // Indeed we cannot rely on the observed value of global.manager,
313 // because global.manager will become not null somewhere during
316 // will see global.manager null and call LogManager.getLogManager(),
317 // but the other thread could come in at a time when global.manager
327 // subclass installed as LogManager, in which case global.manager
378 Logger(String name, String resourceBundleName, Class<?> caller, LogManager manager, boolean isSystemLogger) { argument
379 this.manager
413 setLogManager(LogManager manager) argument
[all...]
H A DMemoryHandler.java102 LogManager manager = LogManager.getLogManager();
105 pushLevel = manager.getLevelProperty(cname +".push", Level.SEVERE);
106 size = manager.getIntProperty(cname + ".size", DEFAULT_SIZE);
110 setLevel(manager.getLevelProperty(cname +".level", Level.ALL));
111 setFilter(manager.getFilterProperty(cname +".filter", null));
112 setFormatter(manager.getFormatterProperty(cname +".formatter", new SimpleFormatter()));
124 LogManager manager = LogManager.getLogManager();
126 String targetName = manager.getProperty(handlerName+".target");
250 * @exception SecurityException if a security manager exists and if
265 * @exception SecurityException if a security manager exist
[all...]
H A DSocketHandler.java92 LogManager manager = LogManager.getLogManager();
95 setLevel(manager.getLevelProperty(cname +".level", Level.ALL));
96 setFilter(manager.getFilterProperty(cname +".filter", null));
97 setFormatter(manager.getFormatterProperty(cname +".formatter", new XMLFormatter()));
99 setEncoding(manager.getStringProperty(cname +".encoding", null));
108 port = manager.getIntProperty(cname + ".port", 0);
109 host = manager.getStringProperty(cname + ".host", null);
182 * @exception SecurityException if a security manager exists and if
H A DStreamHandler.java84 LogManager manager = LogManager.getLogManager();
87 setLevel(manager.getLevelProperty(cname +".level", Level.INFO));
88 setFilter(manager.getFilterProperty(cname +".filter", null));
89 setFormatter(manager.getFormatterProperty(cname +".formatter", new SimpleFormatter()));
91 setEncoding(manager.getStringProperty(cname +".encoding", null));
134 * @exception SecurityException if a security manager exists and if
166 * @exception SecurityException if a security manager exists and if
297 * @exception SecurityException if a security manager exists and if
H A DXMLFormatter.java47 private LogManager manager = LogManager.getLogManager(); field in class:XMLFormatter

Completed in 172 milliseconds