Home
last modified time | relevance | path

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

12345678910>>...18

/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.rs103 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/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Delement.rs121 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.rs123 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/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.java81 boolean written = false; in writeConfig()
107 written = true; in writeConfig()
112 written = true; in writeConfig()
136 written = true; in writeConfig()
144 written = true; in writeConfig()
149 written = true; in writeConfig()
159 if (written) { in writeConfig()
172 return written; in writeConfig()
/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/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/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/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/av/media/libcpustats/include/cpustats/
DREADME.txt1 This is a static library of CPU usage statistics, originally written
/frameworks/av/camera/
DAndroid.bp32 // Source for camera interface parcelables, and manually-written interfaces
92 // because they have hand-written native implementations.
/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/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/base/core/java/android/util/
DLog.java463 private int written = 0; field in Log.ImmediateLogWriter
476 return written; in getWritten()
484 written += println_native(bufID, priority, tag, new String(cbuf, off, len)); in write()
/frameworks/hardware/interfaces/cameraservice/vts/functional/
DVtsHalCameraServiceV2_0TargetTest.cpp331 bool written = requestMQ->write(settingsMetadata.data(), settingsMetadata.size()); in TEST_F() local
332 EXPECT_TRUE(written); in TEST_F()
353 bool written = requestMQ->write(settingsMetadata.data(), settingsMetadata.size()); in TEST_F() local
354 EXPECT_TRUE(written); in TEST_F()
/frameworks/rs/tests/lldb/
D.gitignore31 # Usually these files are written by a python script from a template
/frameworks/compile/mclinker/
DLICENSE.TXT33 prior written permission.
46 The LLVM software contains code written by third parties. Such software will
/frameworks/av/media/libmediaplayer2/nuplayer2/
DNuPlayer2Renderer.cpp1068 ssize_t written = mAudioSink->write(entry->mBuffer->data() + entry->mOffset, in onDrainAudioQueue() local
1070 if (written < 0) { in onDrainAudioQueue()
1072 if (written == WOULD_BLOCK) { in onDrainAudioQueue()
1075 ALOGE("AudioSink write error(%zd) when writing %zu bytes", written, copy); in onDrainAudioQueue()
1083 entry->mOffset += written; in onDrainAudioQueue()
1099 size_t copiedFrames = written / mAudioSink->frameSize(); in onDrainAudioQueue()
1114 if (written != (ssize_t)copy) { in onDrainAudioQueue()
1134 ALOGV("AudioSink write short frame count %zd < %zu", written, copy); in onDrainAudioQueue()
1727 uint32_t written; in onAudioSinkChanged() local
1728 if (mAudioSink->getFramesWritten(&written) == OK) { in onAudioSinkChanged()
[all …]
/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 …]

12345678910>>...18