Home
last modified time | relevance | path

Searched refs:driver (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/sql/
DDriverManager.java263 if(isDriverAllowed(aDriver.driver, callerClass)) { in getDriver()
265 if(aDriver.driver.acceptsURL(url)) { in getDriver()
267 println("getDriver returning " + aDriver.driver.getClass().getName()); in getDriver()
268 return (aDriver.driver); in getDriver()
275 println(" skipping: " + aDriver.driver.getClass().getName()); in getDriver()
295 public static synchronized void registerDriver(java.sql.Driver driver) in registerDriver() argument
299 if(driver != null) { in registerDriver()
300 registeredDrivers.addIfAbsent(new DriverInfo(driver)); in registerDriver()
306 println("registerDriver: " + driver); in registerDriver()
318 public static synchronized void deregisterDriver(Driver driver) in deregisterDriver() argument
[all …]
/libcore/luni/src/test/java/libcore/java/sql/
DDriverTest.java42 Driver driver = getDriver(); in testDriverImplementation() local
43 assertTrue(driver instanceof JDBCDriver); in testDriverImplementation()
47 Driver driver = getDriver(); in testAcceptsURL() local
48 assertTrue(driver.acceptsURL(SQLITE_JDBC_URL)); in testAcceptsURL()
60 Driver driver = getDriver(); in testGetPropertyInfo() local
61 DriverPropertyInfo[] info = driver.getPropertyInfo(SQLITE_JDBC_URL, null); in testGetPropertyInfo()
72 Driver driver = DriverManager.getDriver(SQLITE_JDBC_URL); in getDriver() local
73 assertNotNull(driver); in getDriver()
74 return driver; in getDriver()
DConnectionTest.java41 Driver driver = DriverManager.getDriver(getConnectionURL()); in testConnect() local
42 assertNotNull(driver); in testConnect()
43 Connection c = driver.connect(getConnectionURL(), null); in testConnect()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DParserAdapter.java81 String driver = System.getProperty("org.xml.sax.parser"); in ParserAdapter() local
88 driver, e1); in ParserAdapter()
92 driver + in ParserAdapter()
97 driver + in ParserAdapter()
102 driver + in ParserAdapter()
/libcore/ojluni/src/main/native/
Dnet_util_md.c147 getParam(char *driver, char *param) in getParam() argument
154 s = open (driver, O_RDWR); in getParam()