Home
last modified time | relevance | path

Searched refs:readFrom (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/libs/androidfw/
DObbFile.cpp86 bool ObbFile::readFrom(const char* filename) in readFrom() function in android::ObbFile
96 success = readFrom(fd); in readFrom()
107 bool ObbFile::readFrom(int fd) in readFrom() function in android::ObbFile
336 if (!readFrom(fd)) { in removeFrom()
/frameworks/base/libs/androidfw/tests/
DObbFile_test.cpp57 EXPECT_FALSE(mObbFile->readFrom(-1)) in TEST_F()
77 EXPECT_TRUE(mObbFile->readFrom(mFileName.string())) in TEST_F()
/frameworks/base/libs/androidfw/include/androidfw/
DObbFile.h39 bool readFrom(const char* filename);
40 bool readFrom(int fd);
/frameworks/base/core/java/android/os/incremental/
DV4Signature.java193 public static V4Signature readFrom(ParcelFileDescriptor pfd) throws IOException { in readFrom() method in V4Signature
195 return readFrom(stream); in readFrom()
203 public static V4Signature readFrom(@NonNull byte[] bytes) throws IOException { in readFrom() method in V4Signature
205 return readFrom(stream); in readFrom()
257 private static V4Signature readFrom(InputStream stream) throws IOException { in readFrom() method in V4Signature
DIncrementalStorage.java496 signature = V4Signature.readFrom(v4signatureBytes); in validateV4Signature()
/frameworks/base/core/java/android/net/
DUri.java510 static Uri readFrom(Parcel parcel) { in readFrom() method in Uri.StringUri
884 static Uri readFrom(Parcel parcel) { in readFrom() method in Uri.OpaqueUri
887 Part.readFrom(parcel), in readFrom()
888 Part.readFrom(parcel) in readFrom()
1204 static Uri readFrom(Parcel parcel) { in readFrom() method in Uri.HierarchicalUri
1206 final Part authority = Part.readFrom(parcel); in readFrom()
1211 final PathPart path = PathPart.readFrom(hasSchemeOrAuthority, parcel); in readFrom()
1212 final Part query = Part.readFrom(parcel); in readFrom()
1213 final Part fragment = Part.readFrom(parcel); in readFrom()
1823 case StringUri.TYPE_ID: return StringUri.readFrom(in);
[all …]
/frameworks/base/tools/obbtool/
DMain.cpp94 if (obb->readFrom(filename)) { in doAdd()
117 if (!obb->readFrom(filename)) { in doRemove()
132 if (!obb->readFrom(filename)) { in doInfo()
/frameworks/base/core/java/android/app/
DUiAutomationConnection.java415 private final InputStream readFrom; field in UiAutomationConnection.Repeater
417 public Repeater (InputStream readFrom, OutputStream writeTo) { in Repeater() argument
418 this.readFrom = readFrom; in Repeater()
427 readByteCount = readFrom.read(buffer); in run()
437 IoUtils.closeQuietly(readFrom); in run()
/frameworks/minikin/include/minikin/
DFontFamily.h42 static std::shared_ptr<FontFamily> readFrom(BufferReader* reader) { in readFrom() function
48 fonts.emplace_back(Font::readFrom<typefaceReader>(reader, localeListId)); in readFrom()
DFont.h122 static std::shared_ptr<Font> readFrom(BufferReader* reader, uint32_t localeListId) { in readFrom() function
DFontCollection.h49 allFontFamilies.push_back(FontFamily::readFrom<typefaceReader>(reader)); in readVector()
/frameworks/native/services/inputflinger/reader/
DTouchVideoDevice.cpp205 const int16_t* readFrom = mReadLocations[buf.index]; in readFrame() local
206 std::copy(readFrom, readFrom + mHeight * mWidth, data.begin()); in readFrame()
/frameworks/base/native/android/
Dobb.cpp30 if (obbFile == NULL || !obbFile->readFrom(filename)) { in AObbScanner_getObbInfo()
Dstorage_manager.cpp85 if (!obbFile->readFrom(canonicalPath)) { in getObbInfo()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java535 final AtomicFile readFrom = mInjector.getFile(EVENTS_FILE); in readEvents() local
536 if (readFrom != null && readFrom.exists()) { in readEvents()
539 input = readFrom.openRead(); in readEvents()
542 readFrom.delete(); in readEvents()
553 final AtomicFile readFrom = mInjector.getFile(AMBIENT_BRIGHTNESS_STATS_FILE); in readAmbientBrightnessStats() local
554 if (readFrom != null && readFrom.exists()) { in readAmbientBrightnessStats()
557 input = readFrom.openRead(); in readAmbientBrightnessStats()
560 readFrom.delete(); in readAmbientBrightnessStats()
/frameworks/minikin/tests/unittest/
DFontTest.cpp34 Font::readFrom<readFreeTypeMinikinFontForTest>(&reader, kEmptyLocaleListId); in TEST()
DFontLanguageListCacheTest.cpp80 EXPECT_EQ(LocaleListCache::getId(locale), LocaleListCache::readFrom(&reader)) in TEST()
DFontFamilyTest.cpp832 FontFamily::readFrom<readFreeTypeMinikinFontForTest>(&reader); in TEST_F()
853 FontFamily::readFrom<readFreeTypeMinikinFontForTest>(&reader); in TEST_F()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceProviderPermissions.java118 authority.readFrom(parser); in createFrom()
178 public synchronized void readFrom(XmlPullParser parser) in readFrom() method in SliceProviderPermissions.SliceAuthority
DSliceClientPermissions.java188 authority.readFrom(parser); in createFrom()
300 public synchronized void readFrom(XmlPullParser parser) in readFrom() method in SliceClientPermissions.SliceAuthority
/frameworks/minikin/libs/minikin/
DLocaleListCache.h41 static inline uint32_t readFrom(BufferReader* reader) { in readFrom() function
DFontFamily.cpp101 return LocaleListCache::readFrom(reader); in readLocaleListInternal()
/frameworks/base/services/companion/java/com/android/server/companion/
DPersistentDataStore.java247 final AtomicFile readFrom; in readStateForUser() local
259 readFrom = new AtomicFile(legacyBaseFile); in readStateForUser()
262 readFrom = file; in readStateForUser()
267 final int version = readStateFromFileLocked(userId, readFrom, rootTag, in readStateForUser()
/frameworks/base/core/jni/
Dandroid_content_res_ObbScanner.cpp47 if (!obb->readFrom(filePath)) { in android_content_res_ObbScanner_getObbInfo()
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV4Verifier.java80 final V4Signature signature = V4Signature.readFrom(signatureBytes); in extractSignature()

12