Searched refs:driver (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/xml/ |
D | XmlToSax2DriverTest.java | 49 private Driver driver; field in XmlToSax2DriverTest 55 driver = new Driver(); in setUp() 59 Driver driver = null; in testConstructor() local 61 driver = new Driver(); in testConstructor() 66 assertEquals(0, driver.getLength()); in testConstructor() 67 assertEquals(1, driver.getColumnNumber()); in testConstructor() 68 assertEquals(1, driver.getLineNumber()); in testConstructor() 81 Driver driver = null; in testConstructor_parametrized() local 84 driver = new Driver(parser); in testConstructor_parametrized() 89 assertEquals(0, driver.getLength()); in testConstructor_parametrized() [all …]
|
/libcore/ojluni/src/main/java/java/sql/ |
D | DriverManager.java | 263 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/ |
D | DriverTest.java | 43 Driver driver = getDriver(); in testDriverImplementation() local 44 assertTrue(driver instanceof JDBCDriver); in testDriverImplementation() 48 Driver driver = getDriver(); in testAcceptsURL() local 49 assertTrue(driver.acceptsURL(SQLITE_JDBC_URL)); in testAcceptsURL() 61 Driver driver = getDriver(); in testGetPropertyInfo() local 62 DriverPropertyInfo[] info = driver.getPropertyInfo(SQLITE_JDBC_URL, null); in testGetPropertyInfo() 73 for (Driver driver : Collections.list(DriverManager.getDrivers())) { in testGetDrivers() 74 if (driver instanceof JDBCDriver) { in testGetDrivers() 82 Driver driver = DriverManager.getDriver(SQLITE_JDBC_URL); in getDriver() local 83 assertNotNull(driver); in getDriver() [all …]
|
D | ConnectionTest.java | 41 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/ |
D | ParserAdapter.java | 81 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/ |
D | net_util_md.c | 147 getParam(char *driver, char *param) in getParam() argument 154 s = open (driver, O_RDWR); in getParam()
|