/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 112 int status = pthread_setspecific(gThreadTLSKey, &dc->mTlsStruct); local 113 if (status) { 114 ALOGE("pthread_setspecific %i", status); 215 int status = pthread_key_create(&gThreadTLSKey, nullptr); local 216 if (status) { 227 int status = pthread_setspecific(gThreadTLSKey, &mTlsStruct); local 228 if (status) { 229 ALOGE("pthread_setspecific %i", status); 265 status = pthread_attr_init(&threadAttr); 266 if (status) { [all...] |
/frameworks/rs/ |
H A D | rsContext.cpp | 509 int status; local 516 status = pthread_attr_init(&threadAttr); 517 if (status) { 535 status = pthread_create(&mThreadId, &threadAttr, threadProc, this); 536 if (status) {
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.c | 241 * @return A status code. 244 FwdLockConv_Status_t status; local 253 status = FwdLockConv_Status_OutOfMemory; 257 status = FwdLockConv_Status_ProgramError; 264 status = FwdLockConv_Status_ProgramError; 271 status = FwdLockConv_Status_OK; 277 return status; 312 * @return A status code. 331 * @return A status code. 335 FwdLockConv_Status_t status local 472 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 529 FwdLockConv_Status_t status; local 551 FwdLockConv_Status_t status; local 598 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 870 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 938 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 1079 FwdLockConv_Status_t status; local 1112 FwdLockConv_Status_t status; local 1172 FwdLockConv_Status_t status; local 1202 FwdLockConv_Status_t status; local 1256 FwdLockConv_Status_t status; local [all...] |
/frameworks/av/drm/libmediadrm/ |
H A D | DrmHal.cpp | 202 static status_t toStatusT(Status status) { argument 203 switch (status) { 360 [&](Status status, const sp<IDrmPlugin>& hPlugin) { 361 if (status != Status::OK) { 591 [&](Status status,const hidl_vec<uint8_t>& id) { 592 if (status == Status::OK) { 595 err = toStatusT(status); 600 [&](Status status, const hidl_vec<uint8_t>& id) { 601 if (status == Status::OK) { 604 err = toStatusT(status); 640 Return<Status> status = mPlugin->closeSession(toHidlVec(sessionId)); local 788 Return<Status> status = mPlugin->removeKeys(toHidlVec(keySetId)); local 799 Return<Status> status = mPlugin->restoreKeys(toHidlVec(sessionId), local 964 Return<Status> status = mPluginV1_1->removeSecureStop(toHidlVec(ssid)); local 1124 Return<Status> status = mPlugin->setPropertyString(toHidlString(name), local 1134 Return<Status> status = mPlugin->setPropertyByteArray(toHidlString(name), local 1165 Return<void> status = mPluginV1_1->getMetrics( local 1191 Return<Status> status = mPlugin->setCipherAlgorithm(toHidlVec(sessionId), local 1203 Return<Status> status = mPlugin->setMacAlgorithm(toHidlVec(sessionId), local [all...] |
/frameworks/av/media/libaudioclient/ |
H A D | AudioSystem.cpp | 1184 status_t status = afc->addAudioDeviceCallback(callback, audioIo); local 1185 if (status == NO_ERROR) { 1191 return status;
|
H A D | IAudioFlinger.cpp | 106 status_t *status) 112 if (status == nullptr) { 121 *status = DEAD_OBJECT; 124 *status = reply.readInt32(); 125 if (*status != NO_ERROR) { 126 ALOGE("createTrack returned error %d", *status); 131 ALOGE("createTrack returned an NULL IAudioTrack with status OK"); 132 *status = DEAD_OBJECT; 141 status_t *status) 147 if (status 104 createTrack(const CreateTrackInput& input, CreateTrackOutput& output, status_t *status) argument 139 createRecord(const CreateRecordInput& input, CreateRecordOutput& output, status_t *status) argument 381 status_t status = remote()->transact(OPEN_OUTPUT, data, &reply); local 457 status_t status = remote()->transact(OPEN_INPUT, data, &reply); local 507 status_t status = reply.readInt32(); local 526 status_t status = remote()->transact(GET_INPUT_FRAMES_LOST, data, &reply); local 538 status_t status = remote()->transact(NEW_AUDIO_UNIQUE_ID, data, &reply); local 568 status_t status = remote()->transact(QUERY_NUM_EFFECTS, data, &reply); local 590 status_t status = remote()->transact(QUERY_EFFECT, data, &reply); local 611 status_t status = remote()->transact(GET_EFFECT_DESCRIPTOR, data, &reply); local 623 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, audio_session_t sessionId, const String16& opPackageName, pid_t pid, status_t *status, int *id, int *enabled) argument 735 status_t status = remote()->transact(LIST_AUDIO_PORTS, data, &reply); local 752 status_t status = remote()->transact(GET_AUDIO_PORT, data, &reply); local 770 status_t status = remote()->transact(CREATE_AUDIO_PATCH, data, &reply); local 783 status_t status = remote()->transact(RELEASE_AUDIO_PATCH, data, &reply); local 798 status_t status = remote()->transact(LIST_AUDIO_PATCHES, data, &reply); local 815 status_t status = remote()->transact(SET_AUDIO_PORT_CONFIG, data, &reply); local 826 status_t status = remote()->transact(GET_AUDIO_HW_SYNC_FOR_SESSION, data, &reply); local 843 status_t status = remote()->transact(FRAME_COUNT_HAL, data, &reply); local 853 status_t status = remote()->transact(GET_MICROPHONES, data, &reply); local 966 status_t status; local 991 status_t status; local 1145 status_t status = openOutput(module, &output, &config, local 1192 status_t status = openInput(module, &input, &config, local 1224 status_t status = getRenderPosition(&halFrames, &dspFrames, output); local 1260 status_t status = queryNumberEffects(&numEffects); local 1270 status_t status = queryEffect(data.readInt32(), &desc); local 1282 status_t status = getEffectDescriptor(&uuid, &desc); local 1302 status_t status = NO_ERROR; local 1342 const status_t status = local 1364 status_t status = listAudioPorts(&numPorts, ports); local 1382 status_t status = getAudioPort(&port); local 1397 status_t status = createAudioPatch(&patch, &handle); local 1408 status_t status = releaseAudioPatch(handle); local 1427 status_t status = listAudioPatches(&numPatches, patches); local 1443 status_t status = setAudioPortConfig(&config); local 1465 status_t status = getMicrophones(µphones); local [all...] |
H A D | IAudioPolicyService.cpp | 230 status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply); local 231 if (status != NO_ERROR) { 232 return status; 234 status = (status_t)reply.readInt32(); 235 if (status != NO_ERROR) { 236 return status; 245 return status; 325 status_t status = remote()->transact(GET_INPUT_FOR_ATTR, data, &reply); local 326 if (status != NO_ERROR) { 327 return status; 347 status_t status = static_cast <status_t> (reply.readInt32()); local 513 status_t status = remote()->transact(QUERY_DEFAULT_PRE_PROCESSING, data, &reply); local 552 status_t status = remote()->transact(LIST_AUDIO_PORTS, data, &reply); local 577 status_t status = remote()->transact(GET_AUDIO_PORT, data, &reply); local 596 status_t status = remote()->transact(CREATE_AUDIO_PATCH, data, &reply); local 610 status_t status = remote()->transact(RELEASE_AUDIO_PATCH, data, &reply); local 629 status_t status = remote()->transact(LIST_AUDIO_PATCHES, data, &reply); local 654 status_t status = remote()->transact(SET_AUDIO_PORT_CONFIG, data, &reply); local 686 status_t status = remote()->transact(ACQUIRE_SOUNDTRIGGER_SESSION, data, &reply); local 704 status_t status = remote()->transact(RELEASE_SOUNDTRIGGER_SESSION, data, &reply); local 715 status_t status = remote()->transact(GET_PHONE_STATE, data, &reply); local 747 status_t status = remote()->transact(REGISTER_POLICY_MIXES, data, &reply); local 765 status_t status = remote()->transact(START_AUDIO_SOURCE, data, &reply); local 782 status_t status = remote()->transact(STOP_AUDIO_SOURCE, data, &reply); local 795 status_t status = remote()->transact(SET_MASTER_MONO, data, &reply); local 810 status_t status = remote()->transact(GET_MASTER_MONO, data, &reply); local 828 status_t status = remote()->transact(GET_STREAM_VOLUME_DB, data, &reply); local 849 status_t status = remote()->transact(GET_SURROUND_FORMATS, data, &reply); local 876 status_t status = remote()->transact(SET_SURROUND_FORMAT_ENABLED, data, &reply); local 1064 status_t status = getOutputForAttr(hasAttributes ? &attr : NULL, local 1125 status_t status = getInputForAttr(&attr, &input, session, pid, uid, local 1141 status_t status = startInput(portId, &silenced); local 1189 status_t status = getStreamVolumeIndex(stream, &index, device); local 1289 status_t status = queryDefaultPreProcessing(audioSession, descriptors, &retCount); local 1331 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation); local 1352 status_t status = getAudioPort(&port); local 1368 status_t status = createAudioPatch(&patch, &handle); local 1380 status_t status = releaseAudioPatch(handle); local 1401 status_t status = listAudioPatches(&numPatches, patches, &generation); local 1420 status_t status = setAudioPortConfig(&config); local 1446 status_t status = acquireSoundTriggerSession(&session, &ioHandle, &device); local 1461 status_t status = releaseSoundTriggerSession(session); local 1486 status_t status = registerPolicyMixes(mixes, registration); local 1500 status_t status = startAudioSource(&source, &attributes, &handle); local 1509 status_t status = stopAudioSource(handle); local 1517 status_t status = setMasterMono(mono); local 1525 status_t status = getMasterMono(&mono); local 1562 status_t status = getSurroundFormats( local 1583 status_t status = setSurroundFormatEnabled(audioFormat, enabled); local [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 571 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */ 752 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */ 855 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */ 925 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */ 963 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */ 1088 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */ 1140 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */ 1188 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */ 1356 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */ 1397 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */ 1554 int status = 0; local 2173 int status = 0; local 2239 int status = 0; local 2299 int status = 0; local 2408 int status = 0; local 2482 int status = 0; local 2724 int status = 0; local 2847 int status = 0; local 2952 int status = 0; local 3223 int status = 0; local [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 298 int status = 0; local 326 status = -EINVAL; 351 status = -EINVAL; 354 return status; 359 int status = 0; local 367 status = agc->set_target_level_dbfs(-(*(int16_t *)pValue / 100)); 371 status = agc->set_compression_gain_db(*(int16_t *)pValue / 100); 375 status = agc->enable_limiter(*(bool *)pValue); 382 status = agc->set_target_level_dbfs(-(pProperties->targetLevel / 100)); 383 if (status ! 461 int status = 0; local 483 int status = 0; local 600 int status = 0; local 606 int status = 0; local 693 int status = 0; local 808 int status = 0; local 826 int status = -ENOMEM; local 948 int status; local 1086 int status = session->apm->Initialize(processing_config); local 1177 int status = 0; local 1893 int status; local [all...] |
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
H A D | NuPlayer2.cpp | 1552 status_t status = onPrepareDrm(msg); local 1555 response->setInt32("status", status); 1564 status_t status = onReleaseDrm(); local 1567 response->setInt32("status", status); 1772 // Audio decoder is no longer needed if it's in shut/shutting down status. 2944 status_t status = msg->postAndAwaitResponse(&response); local 2946 if (status == OK && response != NULL) { 2947 CHECK(response->findInt32("status", 2963 status_t status = msg->postAndAwaitResponse(&response); local 2980 status_t status = INVALID_OPERATION; local 3025 status_t status; local [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 789 } else if (key == "param-track-time-status") { 923 status_t status = OK; local 930 status = setupMPEG4orWEBMRecording(); 935 status = setupAMRRecording(); 940 status = setupAACRecording(); 944 status = setupRTPRecording(); 948 status = setupMPEG2TSRecording(); 953 status = UNKNOWN_ERROR; 960 return status; 980 status_t status local 1201 status_t status = BAD_VALUE; local 1805 status_t status = BAD_VALUE; local 2210 status_t status = mAudioSourceNode->getRoutedDeviceId(deviceId); local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 1516 // Enquires buffering status every second. 1580 status_t status = OK; local 1581 sp<ICrypto> crypto = NuPlayerDrm::createCryptoAndPlugin(uuid, drmSessionId, status); 1583 ALOGE("prepareDrm: createCrypto failed. status: %d", status); 1584 return status; 1594 status = UNKNOWN_ERROR; 1595 ALOGE("prepareDrm: Unexpected. Must have at least one track. status: %d", status); 1596 return status; [all...] |
H A D | NuPlayer.cpp | 1410 status_t status = onPrepareDrm(msg); local 1413 response->setInt32("status", status); 1422 status_t status = onReleaseDrm(); local 1425 response->setInt32("status", status); 1724 // Audio decoder is no longer needed if it's in shut/shutting down status. 2854 status_t status = msg->postAndAwaitResponse(&response); local 2856 if (status == OK && response != NULL) { 2857 CHECK(response->findInt32("status", 2873 status_t status = msg->postAndAwaitResponse(&response); local 2890 status_t status = INVALID_OPERATION; local 2937 status_t status; local [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | PlaylistFetcher.cpp | 1896 status_t status; local 1897 while (mVideoBuffer->hasBufferAvailable(&status)) {
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 1422 Status status = Status::OK; local 1437 [&status, &bytesWritten, &detailedError] ( 1440 status = _status;
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXNodeInstance.cpp | 290 status_t status = mThread->join(); local 291 if (status != WOULD_BLOCK) { 294 CHECK_EQ(status, (status_t)NO_ERROR);
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 132 status_t status; local 160 status = NO_ERROR; 162 status = ALREADY_EXISTS; 166 return status; 495 status_t status; local 501 status = NO_INIT; 507 status = DEAD_OBJECT; 583 status = mEffectInterface->command(EFFECT_CMD_SET_CONFIG, 588 if (status == NO_ERROR) { 589 status 697 status_t status = mEffectInterface->command(EFFECT_CMD_INIT, local 727 status_t status; local 751 status_t status = mEffectInterface->command(EFFECT_CMD_ENABLE, local 781 status_t status = mEffectInterface->command(EFFECT_CMD_DISABLE, local 890 status_t status = mEffectInterface->command(cmdCode, local 920 status_t status = AudioSystem::setEffectEnabled(mId, enabled); local 1098 status_t status = NO_ERROR; local 1135 status_t status = NO_ERROR; local 1156 status_t status = NO_ERROR; local 1178 status_t status = NO_ERROR; local 1223 status_t status = NO_ERROR; local 1529 status_t status = effect->setEnabled(true); local 1576 status_t status = effect->setEnabled(false); local 1716 status_t status = NO_ERROR; local [all...] |
H A D | Tracks.cpp | 236 status_t status; local 238 status = cblk() != NULL ? NO_ERROR : NO_MEMORY; 240 status = getCblk() != 0 ? NO_ERROR : NO_MEMORY; 242 return status; 474 status_t status = TrackBase::initCheck(); local 475 if (status == NO_ERROR && mName == TRACK_NAME_FAILURE) { 476 status = NO_MEMORY; 478 return status; 642 status_t status = mServerProxy->obtainBuffer(&buf); local 653 return status; 712 status_t status = NO_ERROR; local 981 VolumeShaper::Status status = mVolumeHandler->applyVolumeShaper( local 1037 status_t status = DEAD_OBJECT; local 1327 status_t status = Track::start(event, triggerSession); local 1374 status_t status = obtainBuffer(&mOutBuffer, waitTimeLeftMs); local 1473 status_t status = mClientProxy->obtainBuffer(&buf, &timeout); local 1533 status_t status = Track::start(event, triggerSession); local 1548 status_t status = mPeerProxy->obtainBuffer(&buf, &mPeerTimeout); local 1571 status_t status = NO_ERROR; local 1709 status_t status = TrackBase::initCheck(); local 1721 status_t status = mServerProxy->obtainBuffer(&buf); local 1903 status_t status = mPeerProxy->obtainBuffer(&buf, &mPeerTimeout); local [all...] |
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 258 status_t status = SurfaceComposerClient::getDisplayInfo(dtoken, &dinfo); local 259 if (status) 531 status_t status = NO_ERROR; local 537 status = initTexture(font->map, &font->texture.w, &font->texture.h); 544 status = initTexture(&font->texture, mAssets, fallback); 549 if (status == NO_ERROR) { 554 return status;
|
/frameworks/base/core/java/android/app/ |
H A D | DownloadManager.java | 126 * Current status of the download, as one of the STATUS_* constants. 131 * Provides more detail on the status of the download. Its meaning depends on the value of 135 * occurred. If an HTTP error occurred, this will hold the HTTP status code as defined in RFC 145 * status codes</a> 846 * Include only downloads with status matching any the given status flags. 1098 int status = cursor.getInt(cursor.getColumnIndexOrThrow(COLUMN_STATUS)); 1099 if (DownloadManager.STATUS_SUCCESSFUL == status) { 1108 // downloaded file not found or its status is not 'successfully completed' 1136 // downloaded file not found or its status i 1543 getReason(int status) argument 1556 getPausedReason(int status) argument 1572 getErrorCode(int status) argument 1610 translateStatus(int status) argument [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 377 public void onObbResult(String filename, int nonce, int status) { argument 387 delegate.sendObbStateChanged(filename, status); 644 * not mounted or exception encountered trying to read status 900 public void onStatus(int status, PersistableBundle extras) { 905 public void onFinished(int status, PersistableBundle extras) { 1455 final String status = SystemProperties.get("vold.decrypt"); 1456 return "trigger_restart_min_framework".equals(status);
|
/frameworks/base/core/java/android/provider/ |
H A D | Contacts.java | 1554 * The server defined status. 1570 * The user defined status line. 1630 * @param status the status to get the icon for 1635 public static final int getPresenceIconResourceId(int status) { argument 1636 switch (status) { 1660 * @param serverStatus that status
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeech.java | 199 * @param status {@link TextToSpeech#SUCCESS} or {@link TextToSpeech#ERROR}. 201 void onInit(int status); argument 293 * Indicates success when checking the installation status of the resources used by the 299 * Indicates failure when checking the installation status of the resources used by the 305 * Indicates erroneous data when checking the installation status of the resources used by 314 * Indicates missing resources when checking the installation status of the resources used 323 * Indicates missing storage volume when checking the installation status of the resources 356 * and if need be, should check installation status with 1468 * @return Code indicating the support status for the locale. See {@link #LANG_AVAILABLE}, 1778 * @return Code indicating the support status fo [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 1080 android::status_t status = p->readBlob(size, &blob); local 1081 if (status) { 1189 android::status_t status; local 1198 status = p->writeDupImmutableBlobFileDescriptor(fd); 1199 if (status) { 1217 status = p->writeBlob(size, mutableCopy, &blob); 1218 if (status) {
|
/frameworks/base/core/jni/ |
H A D | android_hardware_SoundTrigger.cpp | 273 event->status, event->model, event->capture_available, 280 event->status, event->model, event->capture_available, 286 event->status, event->model, event->capture_available, 323 event->status, event->model, jData); 402 status_t status = SoundTrigger::listModules(nModules, &numModules); local 403 if (status != NO_ERROR || numModules == 0) { 404 return (jint)status; 410 status = SoundTrigger::listModules(nModules, &numModules); 411 ALOGV("listModules SoundTrigger::listModules status %d numModules %d", status, numModule 505 jint status = SOUNDTRIGGER_STATUS_OK; local 673 jint status = SOUNDTRIGGER_STATUS_OK; local 688 jint status = SOUNDTRIGGER_STATUS_OK; local 781 jint status = SOUNDTRIGGER_STATUS_OK; local [all...] |