Searched refs:dbFile (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | BasePermissionEventStorage.kt | 38 private val dbFile: AtomicFile = AtomicFile(File(context.filesDir, getDatabaseFileName())) constant 75 synchronized(fileLock) { dbFile.delete() } in clearEvents() 118 dbFile.startWrite() in writeData() 125 dbFile.finishWrite(stream) in writeData() 128 dbFile.failWrite(stream) in writeData() 136 if (!dbFile.baseFile.exists()) { in readData() 140 parse(dbFile.openRead()) in readData()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | DeviceGridState.java | 56 public DeviceGridState(int columns, int row, int numHotseat, int deviceType, String dbFile) { in DeviceGridState() argument 60 mDbFile = dbFile; in DeviceGridState() 67 mDbFile = idp.dbFile; in DeviceGridState()
|
D | ModelDbController.java | 116 String dbName = isSandbox ? null : InvariantDeviceProfile.INSTANCE.get(mContext).dbFile; in createDatabaseHelper()
|
D | LoaderTask.java | 253 if (Objects.equals(mApp.getInvariantDeviceProfile().dbFile, mDbName)) { in run()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/ |
D | FederatedComputeDbHelperTest.java | 152 File dbFile = new File(mContext.getFilesDir(), "test_federatedcompute.db"); in testOnUpgrade_fromVersion1To2_migratesDataAndCreatesIndex() local 153 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(dbFile, null); in testOnUpgrade_fromVersion1To2_migratesDataAndCreatesIndex() 243 dbFile.delete(); in testOnUpgrade_fromVersion1To2_migratesDataAndCreatesIndex()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InvariantDeviceProfile.java | 210 public String dbFile; field in InvariantDeviceProfile 310 String currentDbFile = dbFile; in reinitializeAfterRestore() 312 String newDbFile = dbFile; in reinitializeAfterRestore() 372 dbFile = closestProfile.dbFile; in initGrid() 506 iconBitmapSize, fillResIconDpi, numDatabaseAllAppsColumns, dbFile}; in toModelState() 585 .filter(gridOption -> Objects.equals(gridOption.dbFile, fileName)) in getGridOptionFromFileName() 873 private final String dbFile; field in InvariantDeviceProfile.GridOption 902 dbFile = a.getString(R.styleable.GridDisplayOption_dbFile); in GridOption()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | ApnDatabase.java | 167 final File dbFile = sContext.getDatabasePath(APN_DATABASE_NAME); in doesDatabaseExist() local 168 return dbFile.exists(); in doesDatabaseExist()
|
/packages/modules/NetworkStack/src/com/android/networkstack/ipmemorystore/ |
D | IpMemoryStoreService.java | 497 final File dbFile = new File(mDb.getPath()); in getDbSize() local 499 return dbFile.length(); in getDbSize()
|
/packages/apps/Launcher3/src/com/android/launcher3/provider/ |
D | RestoreDbTask.java | 129 String oldPhoneFileName = idp.dbFile; in restoreIfNeeded()
|