/frameworks/base/packages/VpnServices/src/com/android/server/vpn/ |
H A D | DaemonProxy.java | 129 int data = in.read();
|
/frameworks/base/services/audioflinger/ |
H A D | AudioHardwareGeneric.h | 86 virtual ssize_t read(void* buffer, ssize_t bytes);
|
H A D | AudioHardwareStub.h | 55 virtual ssize_t read(void* buffer, ssize_t bytes);
|
H A D | AudioDumpInterface.cpp | 228 // LOGV("test_cmd_policy command %s read", mPolicyCommands.string()); 439 ssize_t AudioStreamInDump::read(void* buffer, ssize_t bytes) function in class:android::AudioStreamInDump 444 ret = mFinalStream->read(buffer, bytes); 483 LOGV("Opening input read file %s, fh %p", name, mFile);
|
H A D | AudioHardwareGeneric.cpp | 341 ssize_t AudioStreamInGeneric::read(void* buffer, ssize_t bytes) function in class:android::AudioStreamInGeneric 345 LOGE("Attempt to read from unopened device"); 348 return ::read(mFd, buffer, bytes);
|
/frameworks/base/services/java/com/android/server/ |
H A D | DockObserver.java | 104 int len = file.read(buffer, 0, 1024);
|
H A D | LightsService.java | 145 int result = fis.read();
|
/frameworks/base/services/java/com/android/server/usb/ |
H A D | UsbDeviceSettingsManager.java | 101 public static AccessoryFilter read(XmlPullParser parser) method in class:UsbDeviceSettingsManager.AccessoryFilter 224 AccessoryFilter filter = AccessoryFilter.read(parser); 309 AccessoryFilter filter = AccessoryFilter.read(parser); 481 AccessoryFilter filter = AccessoryFilter.read(parser);
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | URLTest.java | 50 stream.read(data);
|
/frameworks/base/tools/aapt/ |
H A D | ZipEntry.cpp | 47 /* read the CDE */ 48 result = mCDE.read(fp); 50 LOGD("mCDE.read failed\n"); 64 result = mLFH.read(fp); 66 LOGD("mLFH.read failed\n"); 76 * We *might* need to read the Data Descriptor at this point and 402 status_t ZipEntry::LocalFileHeader::read(FILE* fp) function in class:ZipEntry::LocalFileHeader 536 status_t ZipEntry::CentralDirEntry::read(FILE* fp) function in class:ZipEntry::CentralDirEntry 590 /* read "extra field" */
|
/frameworks/base/tools/localize/ |
H A D | file_utils.cpp | 134 while ((amt = read(fd, buf, sizeof(buf)-1)) > 0) {
|
/frameworks/base/media/libstagefright/ |
H A D | AudioPlayer.cpp | 87 mFirstBufferResult = mSource->read(&mFirstBuffer); 333 err = mSource->read(&mInputBuffer, &options);
|
H A D | AudioSource.cpp | 207 status_t AudioSource::read( function in class:android::AudioSource 289 ssize_t n = mRecord->read(buffer->data(), buffer->size());
|
H A D | WAVExtractor.cpp | 60 virtual status_t read( 314 status_t WAVSource::read( function in class:android::WAVSource
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | M4vH263Encoder.cpp | 268 status_t M4vH263Encoder::read( function in class:android::M4vH263Encoder 293 if (OK != mSource->read(&mInputBuffer, options)) { 294 LOGE("Failed to read from data source");
|
/frameworks/base/services/surfaceflinger/DisplayHardware/ |
H A D | DisplayHardwareBase.cpp | 89 err = read(fd, &buf, 1); 104 err = read(fd, &buf, 1);
|
/frameworks/base/media/libmedia/ |
H A D | IOMX.cpp | 169 reply.read(params, size); 204 reply.read(params, size); 477 data.read(params, size); 519 data.read(params, size); 736 data.read(&msg, sizeof(msg));
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | DownloadManagerBaseTest.java | 361 assertEquals(input.read(actualData), fileSize); 401 while (((actualRead = input.read(actual)) != -1) && 402 ((expectedRead = inFile.read(expected)) != -1)) {
|
/frameworks/base/libs/utils/ |
H A D | Asset.cpp | 18 // Provide access to a read-only asset. 132 * always open things read-only it doesn't really matter, so there's 419 ssize_t _FileAsset::read(void* buf, size_t count) function in class:_FileAsset 428 * On first access, read or map the entire file. The caller has 447 //printf("map read\n"); 452 //printf("buf read\n"); 456 /* read from the file */ 457 //printf("file read\n"); 468 * file, so if we don't read the full amount we know something is 534 * Return a read 743 ssize_t _CompressedAsset::read(void* buf, size_t count) function in class:_CompressedAsset [all...] |
H A D | ZipFileRO.cpp | 45 * Otherwise strange read errors will happen. 131 * Open the specified file read-only. We memory-map the entire thing and 211 ssize_t actual = TEMP_FAILURE_RETRY(read(mFd, scanBuf, sizeof(int32_t))); 213 LOGI("couldn't read first signature from zip archive: %s", strerror(errno)); 237 * need to read the last part of the file into a buffer, dig through 250 actual = TEMP_FAILURE_RETRY(read(mFd, scanBuf, readAmount)); 252 LOGW("Zip: read " ZD ", expected " ZD ". Failed: %s\n", 261 * doing an initial minimal read; if we don't find it, retry with a 262 * second read as above.) 515 * so we have to read th [all...] |
H A D | BackupHelpers.cpp | 96 amt = read(fd, &header, sizeof(header)); 111 amt = read(fd, &file, sizeof(FileState)); 113 LOGW("read_snapshot_file FileState truncated/error with read at %d bytes\n", bytesRead); 123 amt = read(fd, filename, nameBufSize); 132 LOGW("read_snapshot_file filename truncated/error with read at %d bytes\n", bytesRead); 257 while ((amt = read(fd, buf, bufsize)) != 0 && bytesLeft > 0) { 323 while ((amt = read(fd, buf, bufsize)) != 0) { 482 LOGW("Could not read metadata for %s -- %ld / %s", filename.string(), 600 amt = read(fd, contents, readLen); 602 fprintf(stderr, "compare_file read expecte [all...] |
/frameworks/base/core/jni/ |
H A D | android_bluetooth_HeadsetBase.cpp | 138 int rc = read(fd, bufit, 1); 145 LOGI("read() error %s (%d): repeating read()...", 150 LOGE("read() error %s (%d)", strerror(errno), errno); 426 /* A trial async read() will tell us if everything is OK. */ 430 int nr = read(nat->rfcomm_sock, &ch, 1);
|
H A D | android_media_AudioRecord.cpp | 89 // set size to 0 to signal we're not using the callback to read more data 304 // get the audio recorder from which we'll read new audio samples 325 // read the new audio data from the native AudioRecord object 327 ssize_t readSize = lpRecorder->read(recordBuff + offsetInBytes, 352 // get the audio recorder from which we'll read new audio samples 372 // read new data from the recorder 373 return (jint) lpRecorder->read(nativeFromJavaBuf,
|
/frameworks/base/media/libstagefright/codecs/avc/dec/ |
H A D | AVCDecoder.cpp | 283 status_t AVCDecoder::read( function in class:android::AVCDecoder 326 status_t err = mSource->read(&mInputBuffer, &seekOptions);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 85 * @param input the file from which to read the bitmap content 95 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888); 103 * @param input the stream from which to read the bitmap content 113 Bitmap_Delegate delegate = new Bitmap_Delegate(ImageIO.read(input), Config.ARGB_8888);
|