/frameworks/av/media/libaaudio/src/legacy/ |
H A D | AudioStreamTrack.cpp | 271 status_t err = mAudioTrack->getPosition(&mPositionWhenStarting); local 272 if (err != OK) { 273 return AAudioConvert_androidToAAudioResult(err); 279 err = mAudioTrack->start(); 280 if (err != OK) { 281 return AAudioConvert_androidToAAudioResult(err); 297 status_t err = mAudioTrack->getPosition(&mPositionWhenPausing); local 298 if (err != OK) { 299 return AAudioConvert_androidToAAudioResult(err); 336 status_t err; local [all...] |
/frameworks/av/media/libmedia/ |
H A D | IMediaMetadataRetriever.cpp | 443 status_t err = getFrameAtIndex( local 445 reply->writeInt32(err); 446 if (OK == err) {
|
/frameworks/av/media/libstagefright/ |
H A D | AudioSource.cpp | 144 status_t err = mRecord->start(); local 145 if (err == OK) { 152 return err;
|
H A D | HevcUtils.cpp | 53 status_t err = OK; local 60 err = parseVps(data + 2, size - 2); 67 err = parseSps(data + 2, size - 2); 74 err = parsePps(data + 2, size - 2); 85 if (err != OK) { 86 return err;
|
H A D | MediaCodecListOverrides.cpp | 138 status_t err = OK; local 140 while (err == OK && codecs.size() < kMaxInstances) { 148 sp<MediaCodec> codec = MediaCodec::CreateByComponentName(looper, name.c_str(), &err); 149 if (err != OK) { 157 err = codec->configure(format, nativeWindow, crypto, flags); 158 if (err != OK) { 164 err = codec->start(); 165 if (err != OK) { 175 err = codecs[i]->release(); 176 if (err ! [all...] |
/frameworks/av/media/libstagefright/colorconversion/ |
H A D | ColorConverter.cpp | 170 status_t err; local 175 err = convertYUV420PlanarUseLibYUV(src, dst); 177 err = convertYUV420Planar(src, dst); 186 err = convertYUV420Planar16(src, dst); 195 err = convertCbYCrY(src, dst); 199 err = convertQCOMYUV420SemiPlanar(src, dst); 203 err = convertYUV420SemiPlanar(src, dst); 207 err = convertTIYUV420PackedSemiPlanar(src, dst); 217 return err;
|
/frameworks/av/media/libstagefright/filters/ |
H A D | MediaFilter.cpp | 350 status_t err; local 351 err = mFilter->processBuffers(inputInfo->mData, outputInfo->mData); 352 if (err != (status_t)OK) { 353 outputInfo->mData->meta()->setInt32("err", err); 455 status_t err; local 456 err = mFilter->configure(msg); 457 if (err != (status_t)OK) { 458 ALOGE("Failed to configure filter component, err %d", err); 495 status_t err = mFilter->start(); local 534 int32_t err = OK; local 663 status_t err = mFilter->setParameters(msg); local 676 status_t err = mGraphicBufferListener->init( local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4AudioAssembler.cpp | 460 status_t err = parseStreamMuxConfig( local 465 if (err == ERROR_UNSUPPORTED) { 474 CHECK_EQ(err, (status_t)NO_ERROR);
|
H A D | ARTPConnection.cpp | 288 status_t err = OK; local 290 err = receive(&*it, true); 292 if (err == OK && FD_ISSET(it->mRTCPSocket, &rs)) { 293 err = receive(&*it, false); 296 if (err == -ECONNRESET) { 403 status_t err; local 405 err = parseRTP(s, buffer); 407 err = parseRTCP(s, buffer); 410 return err;
|
H A D | ARTPWriter.cpp | 269 status_t err = mSource->read(&mediaBuf); local 271 if (err != OK) {
|
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmFrameThread.cpp | 40 status_t err = OK; local 44 if ((err = pthread_create(&mThread, &attr, WebmFrameThread::wrap, this))) { 48 return err; 293 status_t err = mSource->start(meta.get()); local 294 if (err != OK) { 297 return err; 339 status_t err = OK; local 341 while (!mDone && (err = mSource->read(&buffer, NULL)) == OK) {
|
/frameworks/base/cmds/incidentd/src/ |
H A D | IncidentService.cpp | 260 status_t err; local 266 int err = data.readFileDescriptor(); local 278 FILE* ferr = fdopen(err, "w"); 283 err = command(fin, fout, ferr, args); 284 resultReceiver->send(err); 306 status_t IncidentService::command(FILE* in, FILE* out, FILE* err, Vector<String8>& args) { argument 311 return cmd_privacy(in, out, err, args); 340 status_t IncidentService::cmd_privacy(FILE* in, FILE* out, FILE* err, Vector<String8>& args) { argument 348 fprintf(err, "Can't find section id %d\n", sectionId); 351 fprintf(err, "Ge [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | SurfaceTexture.cpp | 325 status_t err = surfaceTexture->updateTexImage(); local 326 if (err == INVALID_OPERATION) { 329 } else if (err < 0) { 337 status_t err = surfaceTexture->releaseTexImage(); local 338 if (err == INVALID_OPERATION) { 341 } else if (err < 0) {
|
/frameworks/base/core/jni/ |
H A D | android_os_HwBlob.cpp | 176 status_t err = parcel->writeBuffer(data(), size(), &handle); local 178 if (err != OK) { 179 return err; 185 err = info.mBlob->writeEmbeddedToParcel(parcel, handle, info.mOffset); 187 if (err != OK) { 188 return err; 200 status_t err = parcel->writeEmbeddedBuffer( local 203 if (err != OK) { 204 return err; 210 err 296 status_t err = blob->read(offset, &x, sizeof(x)); local 311 status_t err = blob->getString(offset, &s); local 423 status_t err = blob->write(offset, &b, sizeof(b)); local 527 status_t err = JHwBlob::GetNativeContext(env, thiz)->getHandle(&handle); local [all...] |
/frameworks/base/libs/androidfw/ |
H A D | LoadedArsc.cpp | 427 status_t err = loaded_package->type_string_pool_.setTo( local 429 if (err != NO_ERROR) { 435 status_t err = loaded_package->key_string_pool_.setTo( local 437 if (err != NO_ERROR) { 611 status_t err = global_string_pool_.setTo(child_chunk.header<ResStringPool_header>(), local 613 if (err != NO_ERROR) {
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaDescrambler.cpp | 230 auto err = mDescrambler->descramble( local 245 if (!err.isOk()) { 400 status_t err = getBufferAndSize( local 403 if (err == OK) { 407 err = getBufferAndSize( 412 if (err != OK) { 428 err = descrambler->descramble( 441 if (err == NO_MEMORY) { 443 } else if (err == FAILED_TRANSACTION) {
|
H A D | android_media_MediaSync.cpp | 147 JNIEnv *env, status_t err, const char *msg = NULL) { 148 switch (err) { 159 if (err > 0) { 164 msgWithErrorCode.append(err); 191 status_t err = sync->setSurface(bufferProducer); local 193 if (err == INVALID_OPERATION) { 196 } if (err != NO_ERROR) { 198 msg.append(err); 222 status_t err = sync->setAudioTrack(audioTrack); local 224 if (err 146 throwExceptionAsNecessary( JNIEnv *env, status_t err, const char *msg = NULL) argument 246 status_t err = sync->createInputSurface(&bufferProducer); local 265 status_t err = sync->updateQueuedAudioData(sizeInBytes, presentationTimeUs); local 308 status_t err = sync->getPlayTimeForPendingAudioFrames(&playTimeUs); local 351 status_t err = sync->setPlaybackParams(rate); local 407 status_t err = OK; local [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | PrintManagerService.java | 132 FileDescriptor err, String[] args, ShellCallback callback, 134 new PrintShellCommand(this).exec(this, in, out, err, args, callback, resultReceiver); 131 onShellCommand(FileDescriptor in, FileDescriptor out, FileDescriptor err, String[] args, ShellCallback callback, ResultReceiver resultReceiver) argument
|
/frameworks/base/tools/aapt/ |
H A D | XMLNode.cpp | 569 status_t err = root->flatten(rsc, !keepComments, false); local 570 if (err != NO_ERROR) { 571 return err; 573 err = outTree->setTo(rsc->getData(), rsc->getSize(), true); 574 if (err != NO_ERROR) { 575 return err; 1005 status_t err = mChildren.itemAt(i)->parseValues(assets, table); 1006 if (err != NO_ERROR) { 1059 status_t err = mChildren.itemAt(i)->assignResourceIds(assets, table); 1060 if (err < NO_ERRO [all...] |
/frameworks/base/tools/aapt2/java/ |
H A D | JavaClassGenerator.cpp | 535 std::stringstream err; local 536 err << "invalid symbol name '" << resource_name << "'"; 537 error_ = err.str();
|
/frameworks/native/cmds/dumpstate/ |
H A D | DumpstateUtil.cpp | 197 int err = errno; local 199 dprintf(out_fd, "*** Error dumping %s: %s\n", path.c_str(), strerror(err)); 202 strerror(err));
|
/frameworks/native/cmds/dumpstate/tests/ |
H A D | dumpstate_test.cpp | 156 err = GetCapturedStderr(); 166 err = GetCapturedStderr(); 199 std::string out, err; member in class:android::os::dumpstate::DumpstateTest 211 EXPECT_THAT(err, StrEq("stderr\n")); 216 EXPECT_THAT(err, StrEq("stderr\n")); 228 EXPECT_THAT(err, StrEq("COMMAND, Y U NO LOG FIRST?stderr\n")); 235 EXPECT_THAT(err, StrEq("stdout\nstderr\n")); 240 EXPECT_THAT(err, IsEmpty()); 246 EXPECT_THAT(err, IsEmpty()); 257 EXPECT_THAT(err, IsEmpt 317 std::string err = GetCapturedStderr(); local 913 std::string out, err; member in class:android::os::dumpstate::DumpstateUtilTest 1054 std::string err = GetCapturedStderr(); local [all...] |
/frameworks/native/cmds/lshal/ |
H A D | test.cpp | 123 err.str(""); 133 lshal = std::make_unique<Lshal>(out, err, serviceManager, serviceManager); 137 std::stringstream err; member in class:android::lshal::DebugTest 158 EXPECT_THAT(err.str(), IsEmpty()); 166 EXPECT_THAT(err.str(), IsEmpty()); 173 EXPECT_THAT(err.str(), HasSubstr("does not exist")); 181 MOCK_CONST_METHOD0(err, NullableOStream<std::ostream>()); 249 ON_CALL(*mockLshal, err()).WillByDefault(Return(NullableOStream<std::ostream>(output))); 318 lshal = std::make_unique<Lshal>(out, err, serviceManager, passthruManager); 375 std::stringstream err; member in class:android::lshal::ListTest 604 std::stringstream err; member in class:android::lshal::HelpTest [all...] |
/frameworks/native/include/binder/ |
H A D | Parcel.h | 106 void setError(status_t err); 583 status_t err = writeInt32(static_cast<int32_t>(size)); local 584 if (err != NO_ERROR) { 585 return err; 610 status_t err = readInt32(&s); local 611 if (err != NO_ERROR) { 612 return err; 644 status_t err = readInt32(&size); local 645 if (err != NO_ERROR) { 646 return err; 659 status_t err = readInt32(&size); local [all...] |
/frameworks/native/libs/binder/ |
H A D | IMemory.cpp | 316 status_t err = remote()->transact(HEAP_ID, data, &reply); local 322 ALOGE_IF(err, "binder=%p transaction failed fd=%d, size=%zd, err=%d (%s)", 324 parcel_fd, size, err, strerror(-err)); 329 ALOGE_IF(fd==-1, "cannot dup fd=%d, size=%zd, err=%d (%s)", 330 parcel_fd, size, err, strerror(errno));
|