/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509KeyManagerTest.java | 21 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/ |
D | ConsoleHandler.java | 73 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()
|
D | SocketHandler.java | 92 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()
|
D | MemoryHandler.java | 102 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()
|
D | StreamHandler.java | 84 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()
|
D | FileHandler.java | 222 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 …]
|
D | Logger.java | 256 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 …]
|
D | Handler.java | 50 private final LogManager manager = LogManager.getLogManager(); field in Handler 310 manager.checkPermission(); in checkPermission()
|
D | XMLFormatter.java | 47 private LogManager manager = LogManager.getLogManager(); field in XMLFormatter
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldMemoryHandlerTest.java | 35 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()
|
D | OldLogManagerTest.java | 37 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()
|
D | OldFileHandlerTest.java | 41 static LogManager manager = LogManager.getLogManager(); field in OldFileHandlerTest 52 manager.reset(); in setUp() 76 manager.readConfiguration(propertiesToInputStream(props)); in setUp()
|
/libcore/ojluni/annotations/hiddenapi/java/util/logging/ |
D | Handler.java | 109 private final java.util.logging.LogManager manager; field in Handler 112 manager = null;
|
D | Logger.java | 41 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
|
D | LogManager.java | 243 private static final java.util.logging.LogManager manager; field in LogManager 246 manager = null;
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | AbstractCookiesTest.java | 1204 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/expectations/ |
D | knownfailures.txt | 1666 description: "We're retiring the security manager. Unfortunately, tests all over the place 1668 a security manager. This suppresses all of these failures.",
|