Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/androidfw/
H A 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()
/aosp14/frameworks/base/core/java/android/os/incremental/
H A 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
H A DIncrementalStorage.java497 signature = V4Signature.readFrom(v4signatureBytes); in validateV4Signature()
/aosp14/frameworks/base/libs/androidfw/tests/
H A DObbFile_test.cpp57 EXPECT_FALSE(mObbFile->readFrom(-1)) in TEST_F()
77 EXPECT_TRUE(mObbFile->readFrom(mFileName.string())) in TEST_F()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DObbFile.h39 bool readFrom(const char* filename);
40 bool readFrom(int fd);
/aosp14/frameworks/base/core/java/android/net/
H A 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
1212 final Part query = Part.readFrom(parcel); in readFrom()
1213 final Part fragment = Part.readFrom(parcel); in readFrom()
1826 return HierarchicalUri.readFrom(in);
2072 static Part readFrom(Parcel parcel) { in readFrom() method in Uri.Part
2261 static PathPart readFrom(Parcel parcel) { in readFrom() method in Uri.PathPart
[all …]
/aosp14/frameworks/base/tools/obbtool/
H A DMain.cpp94 if (obb->readFrom(filename)) { in doAdd()
117 if (!obb->readFrom(filename)) { in doRemove()
132 if (!obb->readFrom(filename)) { in doInfo()
/aosp14/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java432 private final InputStream readFrom; field in UiAutomationConnection.Repeater
434 public Repeater (InputStream readFrom, OutputStream writeTo) { in Repeater() argument
435 this.readFrom = readFrom; in Repeater()
444 readByteCount = readFrom.read(buffer); in run()
453 IoUtils.closeQuietly(readFrom); in run()
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DBrightnessTracker.java558 final AtomicFile readFrom = getFileWithLegacyFallback(EVENTS_FILE); in readEvents() local
559 if (readFrom != null && readFrom.exists()) { in readEvents()
562 input = readFrom.openRead(); in readEvents()
565 readFrom.delete(); in readEvents()
576 final AtomicFile readFrom = getFileWithLegacyFallback(AMBIENT_BRIGHTNESS_STATS_FILE); in readAmbientBrightnessStats() local
577 if (readFrom != null && readFrom.exists()) { in readAmbientBrightnessStats()
580 input = readFrom.openRead(); in readAmbientBrightnessStats()
583 readFrom.delete(); in readAmbientBrightnessStats()
/aosp14/frameworks/base/native/android/
H A Dobb.cpp30 if (obbFile == NULL || !obbFile->readFrom(filename)) { in AObbScanner_getObbInfo()
H A Dstorage_manager.cpp85 if (!obbFile->readFrom(canonicalPath)) { in getObbInfo()
/aosp14/frameworks/base/services/core/java/com/android/server/slice/
H A DSliceProviderPermissions.java118 authority.readFrom(parser); in createFrom()
178 public synchronized void readFrom(XmlPullParser parser) in readFrom() method in SliceProviderPermissions.SliceAuthority
H A DSliceClientPermissions.java188 authority.readFrom(parser); in createFrom()
300 public synchronized void readFrom(XmlPullParser parser) in readFrom() method in SliceClientPermissions.SliceAuthority
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/
H A DPersistentDataStore.java255 final AtomicFile readFrom; in readStateForUser() local
267 readFrom = new AtomicFile(legacyBaseFile); in readStateForUser()
270 readFrom = file; in readStateForUser()
275 final int version = readStateFromFileLocked(userId, readFrom, rootTag, in readStateForUser()
/aosp14/frameworks/base/core/jni/
H A Dandroid_content_res_ObbScanner.cpp47 if (!obb->readFrom(filePath)) { in android_content_res_ObbScanner_getObbInfo()
/aosp14/frameworks/base/core/java/android/util/apk/
H A DApkSignatureSchemeV4Verifier.java80 final V4Signature signature = V4Signature.readFrom(signatureBytes); in extractSignature()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerServiceUtils.java1149 V4Signature.readFrom(baseFileSignature); in getRootHash()
H A DPackageManagerShellCommand.java3785 if ((signature.length > 0) && (V4Signature.readFrom(signature) == null)) { in processArgForStdin()
3829 final V4Signature v4signature = V4Signature.readFrom(pfd); in processArgForLocalFile()
/aosp14/frameworks/base/config/
H A Dboot-profile.txt1111 Landroid/net/Uri$Part;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$Part;
H A Dboot-image-profile.txt11610 HSPLandroid/net/Uri$HierarchicalUri;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri;
11628 HSPLandroid/net/Uri$Part;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$Part;
11638 HSPLandroid/net/Uri$PathPart;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$PathPart;
11639 HSPLandroid/net/Uri$PathPart;->readFrom(ZLandroid/os/Parcel;)Landroid/net/Uri$PathPart;
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt11607 HSPLandroid/net/Uri$HierarchicalUri;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri;
11625 HSPLandroid/net/Uri$Part;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$Part;
11635 HSPLandroid/net/Uri$PathPart;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$PathPart;
11636 HSPLandroid/net/Uri$PathPart;->readFrom(ZLandroid/os/Parcel;)Landroid/net/Uri$PathPart;
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt9139 Landroid/app/UiAutomationConnection$Repeater;->readFrom:Ljava/io/InputStream;
33583 Landroid/net/Uri$HierarchicalUri;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri;
33591 Landroid/net/Uri$OpaqueUri;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri;
33606 Landroid/net/Uri$Part;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$Part;
33619 Landroid/net/Uri$PathPart;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$PathPart;
33650 Landroid/net/Uri$StringUri;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri;