Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryDatabaseTest.java233 verify(file, times(1)).openRead(); in testReadNotificationHistory_readsAllFiles()
259 verify(af, times(1)).openRead(); in testReadNotificationHistory_withNumFilterDoesNotReadExtraFiles()
260 verify(af2, never()).openRead(); in testReadNotificationHistory_withNumFilterDoesNotReadExtraFiles()
281 verify(af).openRead(); in testRemoveNotificationRunnable()
304 verify(af).openRead(); in testRemoveNotificationRunnable_noChanges()
327 verify(af).openRead(); in testRemoveConversationRunnable()
350 verify(af).openRead(); in testRemoveConversationRunnable_noChanges()
373 verify(af).openRead(); in testRemoveChannelRunnable()
396 verify(af).openRead(); in testRemoveChannelRunnable_noChanges()
/frameworks/base/apex/blobstore/framework/java/android/app/blob/
DIBlobStoreSession.aidl24 ParcelFileDescriptor openRead(); in openRead() method
DBlobStoreManager.java683 public @NonNull ParcelFileDescriptor openRead() throws IOException { in openRead() method in BlobStoreManager.Session
685 return mSession.openRead(); in openRead()
/frameworks/base/core/tests/utiltests/src/android/util/
DAtomicFileTest.java242 assertThrows(FileNotFoundException.class, atomicFile::openRead); in testAtomicFile()
252 try (FileInputStream inputStream = atomicFile.openRead()) { in testAtomicFile()
256 assertThrows(FileNotFoundException.class, atomicFile::openRead); in testAtomicFile()
/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/core/java/android/content/pm/
DIPackageInstallerSession.aidl33 ParcelFileDescriptor openRead(String name); in openRead() method
/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/services/core/java/com/android/server/wm/
DDisplayWindowSettingsProvider.java80 InputStream openRead() throws IOException; in openRead() method
283 stream = storage.openRead(); in readSettings()
541 public InputStream openRead() throws FileNotFoundException { in openRead() method in DisplayWindowSettingsProvider.AtomicFileStorage
542 return mAtomicFile.openRead(); in openRead()
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DFakeBlobData.java189 session.openRead())) { in readFromSessionAndVerifyBytes()
212 session.openRead())) { in readFromSessionAndVerifyDigest()
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java99 InputStream openRead() throws IOException; in openRead() method
527 try (InputStream in = readableConfig.openRead(); in parseConfig()
546 public InputStream openRead() throws IOException { in openRead() method in DeviceStateProviderImpl.ReadableFileConfig
/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/core/java/com/android/internal/os/
DBatteryUsageStatsStore.java195 try (InputStream in = mConfigFile.openRead()) { in setLastBatteryUsageStatsBeforeResetAtomPullTimestamp()
223 try (InputStream in = mConfigFile.openRead()) { in getLastBatteryUsageStatsBeforeResetAtomPullTimestamp()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DLogicalDisplayTest.java68 public InputStream openRead() { in setUp()
DPersistentDataStoreTest.java196 public InputStream openRead() throws FileNotFoundException { in openRead() method in PersistentDataStoreTest.TestInjector
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageStatusStorage.java131 try (FileInputStream fis = mPackageStatusFile.openRead()) { in getPackageStatusLocked()
256 try (FileInputStream fis = mPackageStatusFile.openRead()) { in getCurrentOptimisticLockId()
/frameworks/base/services/core/java/com/android/server/apphibernation/
DHibernationStateDiskStore.java122 FileInputStream inputStream = atomicFile.openRead(); in readHibernationStates()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowSettingsProviderTests.java317 try (InputStream stream = storage.openRead()) { in getStoredDisplayAttributeValue()
374 public InputStream openRead() throws FileNotFoundException { in openRead() method in DisplayWindowSettingsProviderTests.TestStorage
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistSettings.java96 try (FileInputStream stream = mXmlFile.openRead()){ in reloadSettings()
/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/display/
DPersistentDataStore.java341 is = mInjector.openRead(); in load()
743 public InputStream openRead() throws FileNotFoundException { in openRead() method in PersistentDataStore.Injector
744 return mAtomicFile.openRead(); in openRead()
/frameworks/base/services/core/java/com/android/server/app/
DGameManagerSettings.java146 final FileInputStream str = mSettingsFile.openRead(); in readPersistentDataLocked()
/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/pm/
DPackageUsage.java99 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/tv/
DPersistentDataStore.java159 is = mAtomicFile.openRead(); in load()

1234