Home
last modified time | relevance | path

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

12345

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryDatabaseTest.java218 verify(file, times(1)).openRead(); in testReadNotificationHistory_readsAllFiles()
244 verify(af, times(1)).openRead(); in testReadNotificationHistory_withNumFilterDoesNotReadExtraFiles()
245 verify(af2, never()).openRead(); in testReadNotificationHistory_withNumFilterDoesNotReadExtraFiles()
266 verify(af).openRead(); in testRemoveNotificationRunnable()
289 verify(af).openRead(); in testRemoveNotificationRunnable_noChanges()
312 verify(af).openRead(); in testRemoveConversationRunnable()
335 verify(af).openRead(); in testRemoveConversationRunnable_noChanges()
358 verify(af).openRead(); in testRemoveChannelRunnable()
381 verify(af).openRead(); in testRemoveChannelRunnable_noChanges()
/frameworks/base/services/permission/java/com/android/server/permission/access/util/
DAtomicFileExtensions.kt32 openRead().use(block) in <lambda>()
39 AtomicFile(reserveFile).openRead().use(block) in <lambda>()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DIBlobStoreSession.aidl24 ParcelFileDescriptor openRead(); in openRead() method
DBlobStoreManager.java699 public @NonNull ParcelFileDescriptor openRead() throws IOException { in openRead() method in BlobStoreManager.Session
701 return mSession.openRead(); in openRead()
/frameworks/base/core/java/android/util/
DAtomicFile.java243 public FileInputStream openRead() throws FileNotFoundException { in openRead() method in AtomicFile
291 FileInputStream stream = openRead(); in readFully()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubblePersistentRepository.kt54 try { return bubbleFile.openRead().use(::readXml) } catch (e: Throwable) { in readFromDisk()
/frameworks/base/core/tests/utiltests/src/android/util/
DAtomicFileTest.java255 assertThrows(FileNotFoundException.class, atomicFile::openRead); in testAtomicFile()
265 try (FileInputStream inputStream = atomicFile.openRead()) { in testAtomicFile()
269 assertThrows(FileNotFoundException.class, atomicFile::openRead); in testAtomicFile()
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DFakeBlobData.java190 session.openRead())) { in readFromSessionAndVerifyBytes()
213 session.openRead())) { in readFromSessionAndVerifyDigest()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettingsProvider.java82 InputStream openRead() throws IOException; in openRead() method
345 stream = storage.openRead(); in readSettings()
607 public InputStream openRead() throws FileNotFoundException { in openRead() method in DisplayWindowSettingsProvider.AtomicFileStorage
608 return mAtomicFile.openRead(); in openRead()
/frameworks/base/core/java/android/content/pm/
DIPackageInstallerSession.aidl36 ParcelFileDescriptor openRead(String name); in openRead() method
/frameworks/base/services/companion/java/com/android/server/companion/utils/
DDataStoreUtils.java103 try (FileInputStream in = file.openRead()) { in fileToByteArray()
/frameworks/base/wifi/java/src/android/net/wifi/
DWifiMigration.java180 return getSharedAtomicFile(storeFileId).openRead(); in convertAndRetrieveSharedConfigStoreFile()
264 return getUserAtomicFile(storeFileId, userHandle.getIdentifier()).openRead(); in convertAndRetrieveUserConfigStoreFile()
/frameworks/base/services/core/java/com/android/server/input/
DPersistentDataStore.java249 is = mInjector.openRead(); in load()
598 InputStream openRead() throws FileNotFoundException { in openRead() method in PersistentDataStore.Injector
599 return mAtomicFile.openRead(); in openRead()
/frameworks/base/services/core/java/com/android/server/apphibernation/
DHibernationStateDiskStore.java122 FileInputStream inputStream = atomicFile.openRead(); in readHibernationStates()
/frameworks/base/services/core/java/com/android/server/location/settings/
DSettingsStore.java86 try (DataInputStream is = new DataInputStream(mFile.openRead())) { in initializeCache()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DAllSensorStateController.java71 try (FileInputStream inputStream = mAtomicFile.openRead()) { in AllSensorStateController()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistSettings.java96 try (FileInputStream stream = mXmlFile.openRead()){ in reloadSettings()
/frameworks/base/tests/Input/src/com/android/server/input/
DKeyRemapperTests.kt90 override fun openRead(): InputStream? { in createKeyboard() method
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsProviderTests.java383 try (InputStream stream = storage.openRead()) { in getStoredDisplayAttributeValue()
440 public InputStream openRead() throws FileNotFoundException { in openRead() method in DisplayWindowSettingsProviderTests.TestStorage
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java146 InputStream openRead() throws IOException; in openRead() method
798 try (InputStream in = readableConfig.openRead(); in parseConfig()
817 public InputStream openRead() throws IOException { in openRead() method in DeviceStateProviderImpl.ReadableFileConfig
/frameworks/base/services/people/java/com/android/server/people/data/
DAbstractProtoDiskReadWriter.java215 try (FileInputStream fileInputStream = atomicFile.openRead()) { in parseFile()
/frameworks/base/services/core/java/com/android/server/locales/
DSystemAppUpdateTracker.java116 updatedAppNamesInputStream = mUpdatedAppsFile.openRead(); in loadUpdatedSystemApps()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java98 in = new BufferedInputStream(file.openRead()); in readInternal()
DResilientAtomicFile.java177 public FileInputStream openRead() throws IOException { in openRead() method in ResilientAtomicFile
DCompilerStats.java288 in = new BufferedReader(new InputStreamReader(file.openRead())); in readInternal()

12345