Searched refs:libraryDir (Results 1 – 2 of 2) sorted by relevance
461 void initConfigFromLib(File libraryDir) { in initConfigFromLib() argument462 if (!libraryDir.exists() || !libraryDir.isDirectory()) { in initConfigFromLib()463 Slog.e(TAG, "No directory " + libraryDir + ", skipping"); in initConfigFromLib()466 for (File f : libraryDir.listFiles()) { in initConfigFromLib()
450 void readPermissions(File libraryDir, int permissionFlag) { in readPermissions() argument452 if (!libraryDir.exists() || !libraryDir.isDirectory()) { in readPermissions()454 Slog.w(TAG, "No directory " + libraryDir + ", skipping"); in readPermissions()458 if (!libraryDir.canRead()) { in readPermissions()459 Slog.w(TAG, "Directory " + libraryDir + " cannot be read"); in readPermissions()465 for (File f : libraryDir.listFiles()) { in readPermissions()477 Slog.i(TAG, "Non-xml file " + f + " in " + libraryDir + " directory, ignoring"); in readPermissions()