Searched refs:dbFile (Results 1 – 8 of 8) sorted by relevance
44 private val dbFile: AtomicFile = AtomicFile(File(context.filesDir, getDatabaseFileName())) constant82 dbFile.delete() in clearEvents()124 dbFile.startWrite() in writeData()131 dbFile.finishWrite(stream) in writeData()134 dbFile.failWrite(stream) in writeData()142 if (!dbFile.baseFile.exists()) { in readData()146 parse(dbFile.openRead()) in readData()
158 String dbFile; in onWellbeingUriChanged() local160 dbFile = DB_NAME_MINIMAL_DEVICE; in onWellbeingUriChanged()164 dbFile = InvariantDeviceProfile.INSTANCE.get(mContext).dbFile; in onWellbeingUriChanged()168 dbFile, extras); in onWellbeingUriChanged() local
184 public String dbFile; field in InvariantDeviceProfile280 String currentDbFile = dbFile; in reinitializeAfterRestore()282 String newDbFile = dbFile; in reinitializeAfterRestore()345 dbFile = closestProfile.dbFile; in initGrid()468 iconBitmapSize, fillResIconDpi, numDatabaseAllAppsColumns, dbFile}; in toModelState()798 private final String dbFile; field in InvariantDeviceProfile.GridOption815 dbFile = a.getString(R.styleable.GridDisplayOption_dbFile); in GridOption()
167 private synchronized boolean prepForMigration(String dbFile, String targetTableName, in prepForMigration() argument169 if (TextUtils.equals(dbFile, mOpenHelper.getDatabaseName())) { in prepForMigration()170 Log.e(TAG, "prepForMigration - target db is same as current: " + dbFile); in prepForMigration()679 dbName = InvariantDeviceProfile.INSTANCE.get(context).dbFile; in createDatabaseHelper()
167 final File dbFile = sContext.getDatabasePath(APN_DATABASE_NAME); in doesDatabaseExist() local168 return dbFile.exists(); in doesDatabaseExist()
477 final File dbFile = new File(mDb.getPath()); in getDbSize() local479 return dbFile.length(); in getDbSize()
59 mDbFile = idp.dbFile; in DeviceGridState()
218 if (mApp.getInvariantDeviceProfile().dbFile.equals(mDbName)) { in run()