Home
last modified time | relevance | path

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

123456789

/frameworks/av/media/libnbaio/
DMonoPipe.cpp81 size_t written = (size_t) actual; in write() local
82 totalFramesWritten += written; in write()
86 count -= written; in write()
87 buffer = (char *) buffer + (written * mFrameSize); in write()
92 if (written > 0) { in write()
103 ns = written * ( 500000000 / Format_sampleRate(mFormat)); in write()
106 ns = written * ( 750000000 / Format_sampleRate(mFormat)); in write()
109 ns = written * (1000000000 / Format_sampleRate(mFormat)); in write()
112 ns = written * (1150000000 / Format_sampleRate(mFormat)); in write()
115 ns = written * (1350000000 / Format_sampleRate(mFormat)); in write()
[all …]
DAudioStreamOutSink.cpp65 size_t written; in write() local
66 status_t ret = mStream->write(buffer, count * mFrameSize, &written); in write()
67 if (ret == OK && written > 0) { in write()
68 written /= mFrameSize; in write()
69 mFramesWritten += written; in write()
70 return written; in write()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Delement.rscript103 uint32_t written = rsElementGetSubElementName(complexElem, i, buffer, 64);
104 _RS_ASSERT(written == subElemNamesSizes[i]);
105 _RS_ASSERT(equals(buffer, subElemNames[i], written));
120 uint32_t written = rsElementGetSubElementName(complexElem, 0, buffer, 5);
121 _RS_ASSERT(written == 4);
/frameworks/base/packages/PrintSpooler/jni/
Dcom_android_printspooler_util_BitmapSerializeUtils.cpp147 bool written = writeAllBytes(fd, (void*) &info, sizeof(AndroidBitmapInfo)); in writeBitmapPixels() local
148 if (!written) { in writeBitmapPixels()
163 written = writeAllBytes(fd, (void*) pixels, byteCount); in writeBitmapPixels()
164 if (!written) { in writeBitmapPixels()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java82 boolean written = false; in writeConfig()
108 written = true; in writeConfig()
113 written = true; in writeConfig()
137 written = true; in writeConfig()
145 written = true; in writeConfig()
150 written = true; in writeConfig()
160 if (written) { in writeConfig()
173 return written; in writeConfig()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Delement.rscript121 uint32_t written = rsElementGetSubElementName(complexElem, i, buffer, 64);
122 _RS_ASSERT(written == subElemNamesSizes[i]);
123 _RS_ASSERT(equals(buffer, subElemNames[i], written));
138 uint32_t written = rsElementGetSubElementName(complexElem, 0, buffer, 5);
139 _RS_ASSERT(written == 4);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Delement.rscript123 uint32_t written = rsElementGetSubElementName(complexElem, i, buffer, 64);
124 _RS_ASSERT(written == subElemNamesSizes[i]);
125 _RS_ASSERT(equals(buffer, subElemNames[i], written));
140 uint32_t written = rsElementGetSubElementName(complexElem, 0, buffer, 5);
141 _RS_ASSERT(written == 4);
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp409 int written = 0; in main() local
673 written = loopbackData.loopbackProcessor->save(FILENAME_ECHOS); in main()
674 if (written > 0) { in main()
676 written, FILENAME_ECHOS); in main()
679 written = loopbackData.audioRecording.save(FILENAME_ALL); in main()
680 if (written > 0) { in main()
682 written, FILENAME_ALL); in main()
752 written = loopbackData.loopbackProcessor->save(FILENAME_PROCESSED); in main()
753 if (written > 0) { in main()
755 written, FILENAME_PROCESSED); in main()
/frameworks/base/cmds/incidentd/tests/
Dtest_proto.proto22 // The id of the section, written by TestSection.
25 // The id of the section, times 10, written by TestSection.
/frameworks/av/media/libaaudio/examples/write_sine/src/
Dwrite_sine_callback.cpp176 int64_t written = AAudioStream_getFramesWritten(player.getStream()); in testOpenPlayClose() local
179 (long long) written, in testOpenPlayClose()
181 (int) (written - read)); in testOpenPlayClose()
/frameworks/compile/slang/
Dslang_rs_reflect_utils.cpp143 for (int written = 0; written < blen; written++) { in GenerateSegmentMethod() local
151 out << std::setw(4) << static_cast<int>(buff[written]) << ","; in GenerateSegmentMethod()
/frameworks/base/services/core/java/com/android/server/am/
DProviderMap.java251 boolean written = false; in dumpProvidersByClassLocked()
266 written = true; in dumpProvidersByClassLocked()
271 return written; in dumpProvidersByClassLocked()
277 boolean written = false; in dumpProvidersByNameLocked()
292 written = true; in dumpProvidersByNameLocked()
298 return written; in dumpProvidersByNameLocked()
/frameworks/base/core/java/android/speech/tts/
DBlockingAudioTrack.java201 int written = audioTrack.write(bytes, count, bytes.length); in writeToAudioTrack() local
202 if (written <= 0) { in writeToAudioTrack()
205 count += written; in writeToAudioTrack()
/frameworks/av/media/mtp/
DMtpFfsCompatHandle.cpp200 int written = aio_return(&aio); in receiveFile() local
201 if (written == -1) { in receiveFile()
205 if (static_cast<size_t>(written) < aio.aio_nbytes) { in receiveFile()
/frameworks/base/core/jni/
Dandroid_media_AudioTrack.cpp638 ssize_t written = 0; in writeToTrack() local
642 written = track->write(data + offsetInSamples, sizeInBytes, blocking); in writeToTrack()
644 if (written == (ssize_t) WOULD_BLOCK) { in writeToTrack()
645 written = 0; in writeToTrack()
653 written = sizeInBytes; in writeToTrack()
655 if (written >= 0) { in writeToTrack()
656 return written / sizeof(T); in writeToTrack()
658 return interpretWriteSizeError(written); in writeToTrack()
724 jint written = writeToTrack(lpTrack, javaAudioFormat, bytes, byteOffset, in android_media_AudioTrack_write_native_bytes() local
727 return written; in android_media_AudioTrack_write_native_bytes()
/frameworks/av/media/libaudiohal/impl/
DStreamHalLocal.cpp149 status_t StreamOutHalLocal::write(const void *buffer, size_t bytes, size_t *written) { in write() argument
152 *written = writeResult; in write()
153 mStreamPowerLog.log(buffer, *written); in write()
156 *written = 0; in write()
DStreamHalHidl.cpp353 status_t StreamOutHalHidl::write(const void *buffer, size_t bytes, size_t *written) { in write() argument
355 *written = 0; in write()
382 *written = writeStatus.reply.written; in write()
384 ALOGE_IF(*written > bytes, in write()
386 (long long)*written, (long long)bytes); in write()
388 mStreamPowerLog.log(buffer, *written); in write()
/frameworks/av/camera/
DAndroid.bp32 // Source for camera interface parcelables, and manually-written interfaces
93 // because they have hand-written native implementations.
/frameworks/base/core/java/android/util/
DLog.java482 private int written = 0; field in Log.ImmediateLogWriter
495 return written; in getWritten()
503 written += println_native(bufID, priority, tag, new String(cbuf, off, len)); in write()
/frameworks/av/media/libcpustats/include/cpustats/
DREADME.txt1 This is a static library of CPU usage statistics, originally written
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerRenderer.cpp1081 ssize_t written = mAudioSink->write(entry->mBuffer->data() + entry->mOffset, in onDrainAudioQueue() local
1083 if (written < 0) { in onDrainAudioQueue()
1085 if (written == WOULD_BLOCK) { in onDrainAudioQueue()
1088 ALOGE("AudioSink write error(%zd) when writing %zu bytes", written, copy); in onDrainAudioQueue()
1096 entry->mOffset += written; in onDrainAudioQueue()
1112 size_t copiedFrames = written / mAudioSink->frameSize(); in onDrainAudioQueue()
1127 if (written != (ssize_t)copy) { in onDrainAudioQueue()
1147 ALOGV("AudioSink write short frame count %zd < %zu", written, copy); in onDrainAudioQueue()
1733 uint32_t written; in onAudioSinkChanged() local
1734 if (mAudioSink->getFramesWritten(&written) == OK) { in onAudioSinkChanged()
[all …]
/frameworks/compile/mclinker/
DLICENSE.TXT33 prior written permission.
46 The LLVM software contains code written by third parties. Such software will
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp399 bool written = requestMQ->write(settingsMetadata.data(), settingsMetadata.size()); in TEST_P() local
400 EXPECT_TRUE(written); in TEST_P()
421 bool written = requestMQ->write(settingsMetadata.data(), settingsMetadata.size()); in TEST_P() local
422 EXPECT_TRUE(written); in TEST_P()
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt33 This extension is written against the wording of the EGL 1.4 Specification
56 Note that although this extension is written as if the application
169 less than or equal to <valueSize> then the value is written to the memory
170 pointed to by <value>. Otherwise nothing is written to the memory pointed
/frameworks/native/cmds/lshal/
Dtest.cpp82 ssize_t written = write(fd, content.c_str(), content.size()); in debug() local
83 if (written != (ssize_t)content.size()) { in debug()
84 LOG(WARNING) << "SERVER(Child) debug writes " << written << " bytes < " in debug()
833 ssize_t written = write(fd, content.c_str(), content.size()); in debug() local
834 if (written != (ssize_t)content.size()) { in debug()
835 LOG(WARNING) << "SERVER(" << descriptor << ") debug writes " << written << " bytes < " in debug()

123456789