Home
last modified time | relevance | path

Searched refs:storeDir (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbConfigStore.java459 private static StoreFile createFile(@NonNull File storeDir, in createFile() argument
461 if (!storeDir.exists()) { in createFile()
462 if (!storeDir.mkdir()) { in createFile()
463 Log.w(TAG, "Could not create store directory " + storeDir); in createFile()
467 File file = new File(storeDir, STORE_ID_TO_FILE_NAME.get(fileId)); in createFile()
472 private static List<StoreFile> createFiles(File storeDir, List<Integer> storeFileIds) { in createFiles() argument
476 createFile(storeDir, fileId); in createFiles()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java269 private static @Nullable StoreFile createFile(@NonNull File storeDir, in createFile() argument
271 if (!storeDir.exists()) { in createFile()
272 if (!storeDir.mkdir()) { in createFile()
273 Log.w(TAG, "Could not create store directory " + storeDir); in createFile()
277 File file = new File(storeDir, STORE_ID_TO_FILE_NAME.get(fileId)); in createFile()
285 private static @Nullable List<StoreFile> createFiles(File storeDir, List<Integer> storeFileIds, in createFiles() argument
290 createFile(storeDir, fileId, userHandle, shouldEncryptCredentials); in createFiles()