Home
last modified time | relevance | path

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

/frameworks/opt/net/ike/tests/iketests/src/java/com/android/ike/ikev2/message/
DIkeSaPayloadTest.java178 Pair<Attribute, Integer> pair = Attribute.readFrom(inputBuffer); in testDecodeAttribute()
205 Transform transform = Transform.readFrom(inputBuffer); in testDecodeEncryptionTransform()
225 Transform.readFrom(inputBuffer); in testDecodeEncryptionTransformWithInvalidKeyLength()
268 Transform transform = Transform.readFrom(inputBuffer); in testDecodePrfTransform()
303 Transform transform = Transform.readFrom(inputBuffer); in testDecodeIntegrityTransform()
319 Transform transform = Transform.readFrom(inputBuffer); in testDecodeIntegrityTransformWithUnrecognizedAttribute()
354 Transform transform = Transform.readFrom(inputBuffer); in testDecodeDhGroupTransform()
389 Transform transform = Transform.readFrom(inputBuffer); in testDecodeEsnTransform()
406 Transform transform = Transform.readFrom(inputBuffer); in testDecodeEsnTransformWithUnsupportedId()
421 Transform transform = Transform.readFrom(inputBuffer); in testDecodeEsnTransformWithUnrecognizedAttribute()
[all …]
/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.java331 private final InputStream readFrom; field in UiAutomationConnection.Repeater
333 public Repeater (InputStream readFrom, OutputStream writeTo) { in Repeater() argument
334 this.readFrom = readFrom; in Repeater()
343 readByteCount = readFrom.read(buffer); in run()
353 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/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DByteStringTest.java175 ByteString.readFrom(new ByteArrayInputStream(new byte[0])); in testReadFrom_emptyStream()
187 ByteString byteString = ByteString.readFrom(eis); in testReadFrom_mutating()
216 ByteString.readFrom(new FailStream()); in testReadFrom_IOExceptions()
230 ByteString byteString = ByteString.readFrom(new ReluctantStream(data)); in testReadFrom_reluctantStream()
248 ByteString b = ByteString.readFrom(new ReluctantStream(bytes), chunkSize); in assertReadFromReluctantStream()
258 ByteString byteString = ByteString.readFrom(new AvailableStream(data)); in testReadFrom_available()
266 ByteString.readFrom(new ByteArrayInputStream(bytes)); in assertReadFrom()
/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.java491 final AtomicFile readFrom = mInjector.getFile(EVENTS_FILE); in readEvents() local
492 if (readFrom != null && readFrom.exists()) { in readEvents()
495 input = readFrom.openRead(); in readEvents()
498 readFrom.delete(); in readEvents()
509 final AtomicFile readFrom = mInjector.getFile(AMBIENT_BRIGHTNESS_STATS_FILE); in readAmbientBrightnessStats() local
510 if (readFrom != null && readFrom.exists()) { in readAmbientBrightnessStats()
513 input = readFrom.openRead(); in readAmbientBrightnessStats()
516 readFrom.delete(); in readAmbientBrightnessStats()
/frameworks/native/services/inputflinger/
DTouchVideoDevice.cpp200 const int16_t* readFrom = mReadLocations[buf.index]; in readFrame() local
201 std::copy(readFrom, readFrom + mHeight * mWidth, data.begin()); in readFrame()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java177 ByteString.readFrom(new ByteArrayInputStream(new byte[0])); in testReadFrom_emptyStream()
189 ByteString byteString = ByteString.readFrom(eis); in testReadFrom_mutating()
256 ByteString.readFrom(new FailStream()); in testReadFrom_IOExceptions()
270 ByteString byteString = ByteString.readFrom(new ReluctantStream(data)); in testReadFrom_reluctantStream()
288 ByteString b = ByteString.readFrom(new ReluctantStream(bytes), chunkSize); in assertReadFromReluctantStream()
298 ByteString byteString = ByteString.readFrom(new AvailableStream(data)); in testReadFrom_available()
306 ByteString.readFrom(new ByteArrayInputStream(bytes)); in assertReadFrom()
/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/opt/net/ike/src/java/com/android/ike/ikev2/message/
DIkeSaPayload.java66 Proposal proposal = Proposal.readFrom(inputBuffer); in IkeSaPayload()
206 Transform transform = Transform.readFrom(inputBuffer);
245 static Proposal readFrom(ByteBuffer inputBuffer) throws IkeException { in readFrom() method in IkeSaPayload.Proposal
432 Pair<Attribute, Integer> pair = Attribute.readFrom(inputBuffer);
466 static Transform readFrom(ByteBuffer inputBuffer) throws IkeException { in readFrom() method in IkeSaPayload.Transform
1096 static Pair<Attribute, Integer> readFrom(ByteBuffer inputBuffer) throws IkeException { in readFrom() method in IkeSaPayload.Attribute
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DByteString.java417 public static ByteString readFrom(InputStream streamToDrain) in readFrom() method
419 return readFrom(streamToDrain, MIN_READ_FROM_CHUNK_SIZE, MAX_READ_FROM_CHUNK_SIZE); in readFrom()
443 public static ByteString readFrom(InputStream streamToDrain, int chunkSize) in readFrom() method
445 return readFrom(streamToDrain, chunkSize, chunkSize); in readFrom()
449 public static ByteString readFrom(InputStream streamToDrain, int minChunkSize, in readFrom() method
/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.java182 authority.readFrom(parser); in createFrom()
294 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceControllerTest.java153 newController.readFrom(mHeadsUpAppearanceController); in testHeaderReadFromOldController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceController.java408 void readFrom(HeadsUpAppearanceController oldController) { in readFrom() method in HeadsUpAppearanceController
DStatusBar.java846 mHeadsUpAppearanceController.readFrom(oldController); in makeStatusBarView()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9768 Landroid/app/UiAutomationConnection$Repeater;->readFrom:Ljava/io/InputStream;
48680 Landroid/net/Uri$HierarchicalUri;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri;
48689 Landroid/net/Uri$OpaqueUri;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri;
48706 Landroid/net/Uri$Part;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$Part;
48720 Landroid/net/Uri$PathPart;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$PathPart;
48754 Landroid/net/Uri$StringUri;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri;
108782 Lcom/android/okhttp/okio/Buffer;->readFrom(Ljava/io/InputStream;)Lcom/android/okhttp/okio/Buffer;
108783 Lcom/android/okhttp/okio/Buffer;->readFrom(Ljava/io/InputStream;J)Lcom/android/okhttp/okio/Buffer;
108784 Lcom/android/okhttp/okio/Buffer;->readFrom(Ljava/io/InputStream;JZ)V
Dboot-image-profile.txt10629 HSPLandroid/net/Uri$Part;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$Part;
10636 HSPLandroid/net/Uri$PathPart;->readFrom(Landroid/os/Parcel;)Landroid/net/Uri$PathPart;
/frameworks/base/services/
Dart-profile12969 PLcom/android/server/slice/SliceClientPermissions$SliceAuthority;->readFrom(Lorg/xmlpull/v1/XmlPull…
13032 PLcom/android/server/slice/SliceProviderPermissions$SliceAuthority;->readFrom(Lorg/xmlpull/v1/XmlPu…