Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/incremental/
DV4Signature.java128 public static V4Signature readFrom(ParcelFileDescriptor pfd) throws IOException { in readFrom() method in V4Signature
130 return readFrom(stream); in readFrom()
138 public static V4Signature readFrom(@NonNull byte[] bytes) throws IOException { in readFrom() method in V4Signature
140 return readFrom(stream); in readFrom()
192 private static V4Signature readFrom(InputStream stream) throws IOException { in readFrom() method in V4Signature
DIncrementalStorage.java442 signature = V4Signature.readFrom(v4signatureBytes); in validateV4Signature()
/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/core/java/android/app/
DUiAutomationConnection.java336 private final InputStream readFrom; field in UiAutomationConnection.Repeater
338 public Repeater (InputStream readFrom, OutputStream writeTo) { in Repeater() argument
339 this.readFrom = readFrom; in Repeater()
348 readByteCount = readFrom.read(buffer); in run()
358 IoUtils.closeQuietly(readFrom); in run()
/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/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/net/
DUri.java502 static Uri readFrom(Parcel parcel) { in readFrom() method in Uri.StringUri
876 static Uri readFrom(Parcel parcel) { in readFrom() method in Uri.OpaqueUri
879 Part.readFrom(parcel), in readFrom()
880 Part.readFrom(parcel) in readFrom()
1196 static Uri readFrom(Parcel parcel) { in readFrom() method in Uri.HierarchicalUri
1199 Part.readFrom(parcel), in readFrom()
1200 PathPart.readFrom(parcel), in readFrom()
1201 Part.readFrom(parcel), in readFrom()
1202 Part.readFrom(parcel) in readFrom()
1812 case StringUri.TYPE_ID: return StringUri.readFrom(in);
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java502 final AtomicFile readFrom = mInjector.getFile(EVENTS_FILE); in readEvents() local
503 if (readFrom != null && readFrom.exists()) { in readEvents()
506 input = readFrom.openRead(); in readEvents()
509 readFrom.delete(); in readEvents()
520 final AtomicFile readFrom = mInjector.getFile(AMBIENT_BRIGHTNESS_STATS_FILE); in readAmbientBrightnessStats() local
521 if (readFrom != null && readFrom.exists()) { in readAmbientBrightnessStats()
524 input = readFrom.openRead(); in readAmbientBrightnessStats()
527 readFrom.delete(); in readAmbientBrightnessStats()
/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/native/services/inputflinger/reader/
DTouchVideoDevice.cpp204 const int16_t* readFrom = mReadLocations[buf.index]; in readFrame() local
205 std::copy(readFrom, readFrom + mHeight * mWidth, data.begin()); in readFrame()
/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/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.java69 signature = V4Signature.readFrom(signatureBytes); in extractCertificates()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceControllerTest.java181 newController.readFrom(mHeadsUpAppearanceController); in testHeaderReadFromOldController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceController.java454 void readFrom(HeadsUpAppearanceController oldController) { in readFrom() method in HeadsUpAppearanceController
DStatusBar.java1070 mHeadsUpAppearanceController.readFrom(oldController); in makeStatusBarView()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java1040 V4Signature.readFrom(baseFileSignature); in getRootHash()
DPackageManagerShellCommand.java3180 if ((signature.length > 0) && (V4Signature.readFrom(signature) == null)) { in processArgForStdin()
3212 final V4Signature v4signature = V4Signature.readFrom(pfd); in processArgForLocalFile()
/frameworks/base/config/
Dboot-profile.txt1111 Landroid/net/Uri$Part;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$Part;
Dboot-image-profile.txt14573 HSPLandroid/net/Uri$HierarchicalUri;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri;
14581 HSPLandroid/net/Uri$OpaqueUri;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri;
14592 HSPLandroid/net/Uri$Part;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$Part;
14602 HSPLandroid/net/Uri$PathPart;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$PathPart;
14637 HSPLandroid/net/Uri$StringUri;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/services/
Dart-profile29998 HPLcom/android/server/slice/SliceClientPermissions$SliceAuthority;->readFrom(Lorg/xmlpull/v1/XmlPul…
30103 HPLcom/android/server/slice/SliceProviderPermissions$SliceAuthority;->readFrom(Lorg/xmlpull/v1/XmlP…