logback-android/src/main/java/ch/qos/logback/core/android/AndroidContextUtil.java
public String getDatabaseDirectoryPath() {
    return this.context != null
            && this.context.getDatabasePath("x") != null
            ? this.context.getDatabasePath("x").getParent()
            : "";
  }
public String getDatabaseDirectoryPath() {
    return this.context != null
            && this.context.getDatabasePath("x") != null
            ? this.context.getDatabasePath("x").getParent()
            : "";
  }
public String getDatabaseDirectoryPath ( ) { return this . context != null && this . context . getDatabasePath ( "x" ) != null ? this . context . getDatabasePath ( "x" ) . getParent ( ) : "" ; }
Returns the absolute path to the directory on the Android
filesystem where databases are stored for the current application.

@return the absolute path to the databases directory
(example: "/data/data/com.example/databases")
Returns the absolute path to the directory on the Android filesystem where databases are stored for the current application .