Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DX509KeyManagerTest.java21 private X509KeyManager manager; field in X509KeyManagerTest
662 manager = (X509KeyManager) factory.getKeyManagers()[0]; in init()
670 assertNull(manager.getClientAliases(null, null)); in test_getClientAliases()
671 assertNull(manager.getClientAliases("", null)); in test_getClientAliases()
672 String[] resArray = manager.getClientAliases(TYPE_RSA, null); in test_getClientAliases()
683 assertNull(manager.chooseClientAlias(null, null, new Socket())); in test_chooseClientAlias()
684 assertNull(manager.chooseClientAlias(new String[0], null, new Socket())); in test_chooseClientAlias()
685 assertNull(manager.chooseClientAlias(new String[]{"BOGUS"}, null, new Socket())); in test_chooseClientAlias()
686 String res = manager.chooseClientAlias(new String[]{TYPE_RSA}, null, null); in test_chooseClientAlias()
696 assertNull(manager.getServerAliases(null, null)); in test_getServerAliases()
[all …]
/libcore/ojluni/src/main/java/java/util/logging/
DSocketHandler.java92 LogManager manager = LogManager.getLogManager(); in configure() local
95 setLevel(manager.getLevelProperty(cname +".level", Level.ALL)); in configure()
96 setFilter(manager.getFilterProperty(cname +".filter", null)); in configure()
97 setFormatter(manager.getFormatterProperty(cname +".formatter", new XMLFormatter())); in configure()
99 setEncoding(manager.getStringProperty(cname +".encoding", null)); in configure()
108 port = manager.getIntProperty(cname + ".port", 0); in configure()
109 host = manager.getStringProperty(cname + ".host", null); in configure()
DConsoleHandler.java73 LogManager manager = LogManager.getLogManager(); in configure() local
76 setLevel(manager.getLevelProperty(cname +".level", Level.INFO)); in configure()
77 setFilter(manager.getFilterProperty(cname +".filter", null)); in configure()
78 setFormatter(manager.getFormatterProperty(cname +".formatter", new SimpleFormatter())); in configure()
80 setEncoding(manager.getStringProperty(cname +".encoding", null)); in configure()
DMemoryHandler.java102 LogManager manager = LogManager.getLogManager(); in configure() local
105 pushLevel = manager.getLevelProperty(cname +".push", Level.SEVERE); in configure()
106 size = manager.getIntProperty(cname + ".size", DEFAULT_SIZE); in configure()
110 setLevel(manager.getLevelProperty(cname +".level", Level.ALL)); in configure()
111 setFilter(manager.getFilterProperty(cname +".filter", null)); in configure()
112 setFormatter(manager.getFormatterProperty(cname +".formatter", new SimpleFormatter())); in configure()
124 LogManager manager = LogManager.getLogManager(); in MemoryHandler() local
126 String targetName = manager.getProperty(handlerName+".target"); in MemoryHandler()
DStreamHandler.java84 LogManager manager = LogManager.getLogManager(); in configure() local
87 setLevel(manager.getLevelProperty(cname +".level", Level.INFO)); in configure()
88 setFilter(manager.getFilterProperty(cname +".filter", null)); in configure()
89 setFormatter(manager.getFormatterProperty(cname +".formatter", new SimpleFormatter())); in configure()
91 setEncoding(manager.getStringProperty(cname +".encoding", null)); in configure()
DFileHandler.java222 LogManager manager = LogManager.getLogManager(); in configure() local
226 pattern = manager.getStringProperty(cname + ".pattern", "%h/java%u.log"); in configure()
227 limit = manager.getIntProperty(cname + ".limit", 0); in configure()
231 count = manager.getIntProperty(cname + ".count", 1); in configure()
235 append = manager.getBooleanProperty(cname + ".append", false); in configure()
236 setLevel(manager.getLevelProperty(cname + ".level", Level.ALL)); in configure()
237 setFilter(manager.getFilterProperty(cname + ".filter", null)); in configure()
238 setFormatter(manager.getFormatterProperty(cname + ".formatter", new XMLFormatter())); in configure()
240 setEncoding(manager.getStringProperty(cname +".encoding", null)); in configure()
419 LogManager manager = LogManager.getLogManager(); in openFiles() local
[all …]
DLogger.java256 private volatile LogManager manager; field in Logger
377 …Logger(String name, String resourceBundleName, Class<?> caller, LogManager manager, boolean isSyst… in Logger() argument
378 this.manager = manager; in Logger()
412 void setLogManager(LogManager manager) { in setLogManager() argument
413 this.manager = manager; in setLogManager()
418 if (manager == null) { in checkPermission()
420 manager = LogManager.getLogManager(); in checkPermission()
422 manager.checkPermission(); in checkPermission()
448 LogManager manager = LogManager.getLogManager(); in demandLogger() local
452 return manager.demandSystemLogger(name, resourceBundleName); in demandLogger()
[all …]
DHandler.java50 private final LogManager manager = LogManager.getLogManager(); field in Handler
310 manager.checkPermission(); in checkPermission()
DLogManager.java146 private static final LogManager manager; field in LogManager
180 manager = AccessController.doPrivileged(new PrivilegedAction<LogManager>() {
220 LogManager mgr = manager; in run()
291 if (initializationDone || owner != manager) { in ensureLogManagerInitialized()
369 if (manager != null) { in getLogManager()
370 manager.ensureLogManagerInitialized(); in getLogManager()
372 return manager; in getLogManager()
615 final boolean requiresDefaultLoggers = (getOwner() == manager); in requiresDefaultLoggers()
DXMLFormatter.java47 private LogManager manager = LogManager.getLogManager(); field in XMLFormatter
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldMemoryHandlerTest.java35 final static LogManager manager = LogManager.getLogManager(); field in OldMemoryHandlerTest
42 manager.reset(); in setUp()
44 manager.readConfiguration(propertiesToInputStream(props)); in setUp()
50 manager.readConfiguration(); in tearDown()
DOldLogManagerTest.java37 LogManager manager = LogManager.getLogManager(); field in OldLogManagerTest
155 assertTrue(manager.addLogger(foo)); in testGetLogger_hierarchy()
156 assertSame(manager.getLogger(""), manager.getLogger("testGetLogger_hierachy.foo") in testGetLogger_hierarchy()
185 manager.checkAccess(); in testCheckAccess()
DOldFileHandlerTest.java41 static LogManager manager = LogManager.getLogManager(); field in OldFileHandlerTest
52 manager.reset(); in setUp()
76 manager.readConfiguration(propertiesToInputStream(props)); in setUp()
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java1204 CookieManager manager = new CookieManager(createCookieStore(), null); in checkValidParams4Get() local
1206 manager.get(uri, map); in checkValidParams4Get()
1216 CookieManager manager = new CookieManager(createCookieStore(), null); in checkValidParams4Put() local
1218 manager.put(uri, map); in checkValidParams4Put()
1262 CookieManager manager = new CookieManager(createCookieStore(), policy); in store() local
1267 manager.put(uri, responseHeaders); in store()
1270 return manager; in store()
1309 CookieManager manager = store( in test_Put_Get_LURI_LMap() local
1314 Map<String, List<String>> map = manager.get(new URI("http://a.b.c/"), in test_Put_Get_LURI_LMap()
1322 map = manager.get(new URI("http://a.b.c/te"), fakeMap); in test_Put_Get_LURI_LMap()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/logging/
DHandler.java109 private final java.util.logging.LogManager manager; field in Handler
112 manager = null;
DLogger.java41 java.util.logging.LogManager manager, in Logger() argument
62 void setLogManager(java.util.logging.LogManager manager) { in setLogManager() argument
509 private volatile java.util.logging.LogManager manager; field in Logger
DLogManager.java243 private static final java.util.logging.LogManager manager; field in LogManager
246 manager = null;
/libcore/expectations/
Dknownfailures.txt1666 description: "We're retiring the security manager. Unfortunately, tests all over the place
1668 a security manager. This suppresses all of these failures.",