Home
last modified time | relevance | path

Searched refs:openRead (Results 1 – 25 of 88) sorted by relevance

1234

/frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/
DAtomicFileTest.kt44 val bytes = file.openRead().use { it.readBytes() } in tryWriteSuccess()
61 val bytes = file.openRead().use { it.readBytes() } in tryWriteFail()
68 val bytes = file.openRead().use { it.readBytes() } in writeBytes()
75 val bytes = file.openRead().use { it.readBytes() } in writeText()
82 val bytes = file.openRead().use { it.readBytes() } in writeTextCharset()
/frameworks/support/compat/src/main/java/androidx/core/util/
DAtomicFile.java169 public FileInputStream openRead() throws FileNotFoundException { in openRead() method in AtomicFile
183 FileInputStream stream = openRead(); in readFully()
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java142 public FileInputStream openRead() throws FileNotFoundException { in openRead() method in AtomicFile
151 FileInputStream stream = openRead(); in readFully()
/frameworks/base/core/java/android/util/
DAtomicFile.java224 public FileInputStream openRead() throws FileNotFoundException { in openRead() method in AtomicFile
260 FileInputStream stream = openRead(); in readFully()
/frameworks/base/core/java/android/content/pm/
DIPackageInstallerSession.aidl31 ParcelFileDescriptor openRead(String name); in openRead() method
DRegisteredServicesCache.java130 is = file.openRead(); in findOrCreateUserLocked()
717 is = oldFile.openRead(); in migrateIfNecessaryLocked()
DPackageInstaller.java917 public @NonNull InputStream openRead(@NonNull String name) throws IOException { in openRead() method in PackageInstaller.Session
919 final ParcelFileDescriptor pfd = mSession.openRead(name); in openRead()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageStatusStorage.java129 try (FileInputStream fis = mPackageStatusFile.openRead()) { in getPackageStatusLocked()
254 try (FileInputStream fis = mPackageStatusFile.openRead()) { in getCurrentOptimisticLockId()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXml.java60 FileInputStream in = file.openRead(); in read()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistSettings.java94 try (FileInputStream stream = mXmlFile.openRead()){ in reloadSettings()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DPersistentDataStoreTest.java198 public InputStream openRead() throws FileNotFoundException { in openRead() method in PersistentDataStoreTest.TestInjector
/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java97 in = new BufferedInputStream(file.openRead()); in readInternal()
DCompilerStats.java288 in = new BufferedReader(new InputStreamReader(file.openRead())); in readInternal()
/frameworks/base/services/core/java/com/android/server/display/
DPersistentDataStore.java327 is = mInjector.openRead(); in load()
778 public InputStream openRead() throws FileNotFoundException { in openRead() method in PersistentDataStore.Injector
779 return mAtomicFile.openRead(); in openRead()
DBrightnessTracker.java468 input = readFrom.openRead(); in readEvents()
486 input = readFrom.openRead(); in readAmbientBrightnessStats()
/frameworks/base/services/core/java/com/android/server/tv/
DPersistentDataStore.java163 is = mAtomicFile.openRead(); in load()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplaySettings.java111 stream = mFile.openRead(); in readSettingsLocked()
/frameworks/base/services/core/java/com/android/server/
DSystemUpdateManagerService.java132 try (FileInputStream fis = mFile.openRead()) { in loadSystemUpdateInfoLocked()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DFileUpdater.java346 try (FileInputStream in = file.openRead()) { in loadDefaultValuesLocked()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java495 InputStream input = new AtomicFile(file).openRead(); in readLegacyOwnerFileLocked()
713 input = f.openRead(); in readFromFileLocked()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java534 in = new DataInputStream(new BufferedInputStream(inputFile.openRead())); in readLegacyNetwork()
573 in = new DataInputStream(new BufferedInputStream(inputFile.openRead())); in readLegacyUid()
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/
DAssistant.java109 infile = mFile.openRead(); in loadFile()
/frameworks/base/services/core/java/com/android/server/am/
DCompatModePackages.java90 fis = mFile.openRead(); in CompatModePackages()
DAppWarnings.java516 fis = mConfigFile.openRead(); in readConfigFromFileAmsThread()
/frameworks/base/services/core/java/com/android/server/storage/
DCacheQuotaStrategy.java301 stream = mPreviousValuesFile.openRead(); in setupQuotasFromFile()

1234