Searched refs:libraryDir (Results 1 – 2 of 2) sorted by relevance
478 void initConfigFromLib(File libraryDir) { in initConfigFromLib() argument479 if (!libraryDir.exists() || !libraryDir.isDirectory()) { in initConfigFromLib()480 Slog.d(TAG, "No directory " + libraryDir + ", skipping"); in initConfigFromLib()483 for (File f : libraryDir.listFiles()) { in initConfigFromLib()
545 public void readPermissions(File libraryDir, int permissionFlag) { in readPermissions() argument547 if (!libraryDir.exists() || !libraryDir.isDirectory()) { in readPermissions()549 Slog.w(TAG, "No directory " + libraryDir + ", skipping"); in readPermissions()553 if (!libraryDir.canRead()) { in readPermissions()554 Slog.w(TAG, "Directory " + libraryDir + " cannot be read"); in readPermissions()560 for (File f : libraryDir.listFiles()) { in readPermissions()572 Slog.i(TAG, "Non-xml file " + f + " in " + libraryDir + " directory, ignoring"); in readPermissions()