/frameworks/av/media/extractors/amr/ |
H A D | AMRExtractor.cpp | 170 status_t status = getFrameSizeByOffset(source, offset, mIsWide, &frameSize); local 171 if (status == ERROR_END_OF_STREAM) { 173 } else if (status != OK) {
|
/frameworks/av/media/libaaudio/src/core/ |
H A D | AudioStream.cpp | 332 android::status_t status = -errno; local 333 ALOGE("createThread() - pthread_create() failed, %d", status); 334 return AAudioConvert_androidToAAudioResult(status);
|
/frameworks/av/media/libaudioclient/ |
H A D | IAudioTrack.cpp | 61 status_t status = remote()->transact(GET_CBLK, data, &reply); local 62 if (status == NO_ERROR) { 75 status_t status = remote()->transact(START, data, &reply); local 76 if (status == NO_ERROR) { 77 status = reply.readInt32(); 79 ALOGW("start() error: %s", strerror(-status)); 81 return status; 110 status_t status = remote()->transact(ATTACH_AUX_EFFECT, data, &reply); local 111 if (status == NO_ERROR) { 112 status 123 status_t status = remote()->transact(SET_PARAMETERS, data, &reply); local 133 status_t status = remote()->transact(GET_TIMESTAMP, data, &reply); local 157 status_t status = configuration.get() == nullptr local 185 status_t status = remote()->transact(GET_VOLUME_SHAPER_STATE, data, &reply); local 245 status_t status = getTimestamp(timestamp); local 265 status_t status = data.readInt32(&present); local 284 status_t status = data.readInt32(&id); local [all...] |
/frameworks/av/media/libaudiohal/2.0/ |
H A D | DeviceHalHidl.cpp | 63 int status = sscanf(halAddress, local 67 return status == 6 ? OK : BAD_VALUE; 70 int status = sscanf(halAddress, local 74 return status == 4 ? OK : BAD_VALUE; 77 int status = sscanf(halAddress, local 80 return status == 2 ? OK : BAD_VALUE; 194 status_t status = parametersFromHal(kvPairs, &hidlParams); local 195 if (status != OK) return status; 203 status_t status local 243 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local 273 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local [all...] |
H A D | DeviceHalLocal.cpp | 32 int status = audio_hw_device_close(mDev); local 33 ALOGW_IF(status, "Error closing audio hw device %p: %s", mDev, strerror(-status)); 122 ALOGV("open_output_stream status %d stream %p", openResut, halStream); 145 ALOGV("open_input_stream status %d stream %p", openResult, inStream);
|
H A D | EffectHalHidl.cpp | 173 ALOGE_IF(!tempStatusMQ, "Failed to obtain status message queue for effects"); 192 status_t status; 193 if (!mStatusMQ && (status = prepareForProcessing()) != OK) { 194 return status; 196 if (needToResetBuffers() && (status = setProcessBuffers()) != OK) { 197 return status; 249 status_t status; local 254 status = s; 255 if (status == 0) { 262 return ret.isOk() ? status [all...] |
/frameworks/av/media/libaudiohal/4.0/ |
H A D | DeviceHalHidl.cpp | 69 int status = sscanf(halAddress, local 73 return status == 6 ? OK : BAD_VALUE; 76 int status = sscanf(halAddress, local 80 return status == 4 ? OK : BAD_VALUE; 83 int status = sscanf(halAddress, local 86 return status == 2 ? OK : BAD_VALUE; 200 status_t status = parametersFromHal(kvPairs, &hidlParams); local 201 if (status != OK) return status; 211 status_t status local 252 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local 283 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local [all...] |
H A D | DeviceHalLocal.cpp | 33 int status = audio_hw_device_close(mDev); local 34 ALOGW_IF(status, "Error closing audio hw device %p: %s", mDev, strerror(-status)); 123 ALOGV("open_output_stream status %d stream %p", openResut, halStream); 146 ALOGV("open_input_stream status %d stream %p", openResult, inStream); 192 status_t status = mDev->get_microphones(mDev, &mic_array[0], &actual_mics); local 197 return status;
|
H A D | EffectHalHidl.cpp | 176 ALOGE_IF(!tempStatusMQ, "Failed to obtain status message queue for effects"); 195 status_t status; 196 if (!mStatusMQ && (status = prepareForProcessing()) != OK) { 197 return status; 199 if (needToResetBuffers() && (status = setProcessBuffers()) != OK) { 200 return status; 252 status_t status; local 257 status = s; 258 if (status == 0) { 265 return ret.isOk() ? status [all...] |
/frameworks/av/media/libaudioprocessing/ |
H A D | BufferProviders.cpp | 185 status_t status; local 186 status = mEffectsFactory->mirrorBuffer( 188 if (status != 0) { 189 ALOGE("DownmixerBufferProvider() error %d while creating input buffer", status); 194 status = mEffectsFactory->mirrorBuffer( 196 if (status != 0) { 197 ALOGE("DownmixerBufferProvider() error %d while creating output buffer", status); 210 status = mDownmixInterface->command( 214 if (status != 0 || cmdStatus != 0) { 216 status, cmdStatu [all...] |
/frameworks/av/media/libaudioprocessing/tests/ |
H A D | test-mixer.cpp | 246 const status_t status = mixer->create( local 248 LOG_ALWAYS_FATAL_IF(status != OK);
|
/frameworks/av/media/libmedia/ |
H A D | CharacterEncodingDetector.cpp | 35 UErrorCode status = U_ZERO_ERROR; local 36 mUtf8Conv = ucnv_open("UTF-8", &status); 37 if (U_FAILURE(status)) { 85 UErrorCode status = U_ZERO_ERROR; local 86 UCharsetDetector *csd = ucsdet_open(&status); 118 ucsdet_setText(csd, buf, strlen(buf), &status); 120 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status); 147 ucsdet_setText(csd, buf, strlen(buf), &status); 148 ucma = ucsdet_detectAll(csd, &matches, &status); 161 combinedenc = ucsdet_getName(bestCombinedMatch, &status); 303 UErrorCode status = U_ZERO_ERROR; local [all...] |
H A D | JetPlayer.cpp | 88 status_t status = mAudioTrack->set(AUDIO_STREAM_MUSIC, //TODO parameterize this local 94 if (status != OK) { 95 ALOGE("JetPlayer::init(): Error initializing JET library; AudioTrack error %d", status); 263 // fire up an update if any of the status fields has changed 462 ALOGV(">> current JET player status: userID=%d segmentRepeatCount=%d numQueuedSegments=%d " 467 ALOGE(">> JET player status is NULL");
|
H A D | MediaScanner.cpp | 214 status_t status = client.scanFile(path, statbuf.st_mtime, 0, local 216 if (status) { 230 status_t status = client.scanFile(path, statbuf.st_mtime, statbuf.st_size, local 232 if (status) {
|
H A D | Visualizer.cpp | 76 status_t status = AudioEffect::setEnabled(enabled); local 79 if (enabled && status == NO_ERROR) { 90 return status; 145 status_t status = setParameter(p); local 147 ALOGV("setCaptureSize size %d status %d p->status %d", size, status, p->status); 149 if (status == NO_ERROR) { 150 status 174 status_t status = setParameter(p); local 204 status_t status = setParameter(p); local 237 status_t status = NO_ERROR; local 264 status_t status = NO_ERROR; local 288 status_t status = NO_ERROR; local 338 status_t status = getWaveForm(waveform); local 373 status_t status = getParameter(p); local [all...] |
/frameworks/av/media/libmedia/include/media/omx/1.0/ |
H A D | Conversion.h | 239 ALOGW("Unrecognized status value: %" PRId32, static_cast<int32_t>(t)); 291 ALOGW("Unrecognized status value: %" PRId32, static_cast<int32_t>(l)); 655 status_t status = l->unflatten(constBuffer, size, constFds, numFds); local 660 return status == NO_ERROR;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 171 status_t status = p->setDataSource(fd, offset, length); local 172 if (status == NO_ERROR) mRetriever = p; 173 return status;
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDrm.cpp | 33 status_t &status = *pstatus; local 51 status = drm->initCheck(); 52 if (status != OK && status != NO_INIT) { 53 ALOGE("CreateDrm failed drm->initCheck(): %d", status); 61 status_t &status = *pstatus; local 67 status = UNKNOWN_ERROR; 74 status = UNKNOWN_ERROR; 80 status = crypto->initCheck(); 81 if (status ! 157 status_t status = OK; local 179 createCryptoAndPlugin(const uint8_t uuid[16], const Vector<uint8_t> &drmSessionId, status_t &status) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AACWriter.cpp | 161 status_t status = mSource->stop(); local 163 (status != OK && status != ERROR_END_OF_STREAM)) { 164 err = status;
|
H A D | MediaClock.cpp | 200 status_t status = local 202 if (status != OK) { 203 return status; 257 status_t status = getMediaTime_l( local 260 if (status != OK) {
|
/frameworks/av/media/libstagefright/bqhelper/ |
H A D | Conversion.cpp | 250 status_t status = l->unflatten(constBuffer, size, constFds, numFds); local 255 return status == NO_ERROR; 770 status_t status = unflatten( local 773 if (status != NO_ERROR) { 780 return status; 833 status_t status = flatten( local 835 if (status != NO_ERROR) { 836 return status; 911 status_t status = unflatten( local 914 if (status ! 947 status_t status = flatten(t.deltas[deltaIndex], buffer, size, fds, numFds); local 1089 status_t status = rect.unflatten(buffer, size); local 1123 status_t status = rect.flatten(buffer, size); local 1275 status_t status = flattenFence(hidl_handle(*nh), buffer, size, fds, numFds); local 1331 status_t status = unflattenFence(&(t->fence), nh, local [all...] |
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/ |
H A D | WGraphicBufferProducer.h | 70 status_t status = mBase->requestBuffer(slot, &buf); variable 75 _hidl_cb(static_cast<int32_t>(status), anwBuffer); 95 status_t status = mBase->dequeueBuffer( variable 106 _hidl_cb(static_cast<int32_t>(status), 116 _hidl_cb(static_cast<int32_t>(status), 124 _hidl_cb(static_cast<int32_t>(status), 146 status_t status = mBase->detachNextBuffer(&outBuffer, &outFence); variable 153 _hidl_cb(static_cast<int32_t>(status), tBuffer, tFence); 161 _hidl_cb(static_cast<int32_t>(status), tBuffer, tFence); 165 _hidl_cb(static_cast<int32_t>(status), tBuffe 179 status_t status = mBase->attachBuffer(&outSlot, lBuffer); variable 201 status_t status = mBase->queueBuffer( variable 244 status_t status = mBase->connect(lListener, variable 320 status_t status = mBase->getLastQueuedBuffer( variable 369 status_t status = mBase->getUniqueId(&outId); variable [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | bitstream.cpp | 177 PV_STATUS status = PV_SUCCESS; local 182 status = BitstreamFillCache(stream); 185 return status; 195 PV_STATUS status = PV_SUCCESS; local 200 status = BitstreamFillCache(stream); 203 return status; 217 PV_STATUS status = PV_SUCCESS; local 223 status = BitstreamFillCache(stream); 227 return status; 240 PV_STATUS status local 259 PV_STATUS status = PV_SUCCESS; local 273 PV_STATUS status; local 288 PV_STATUS status = PV_SUCCESS; local 357 PV_STATUS status = PV_SUCCESS; local 424 PV_STATUS status = PV_SUCCESS; local 443 PV_STATUS status = PV_SUCCESS; local 462 PV_STATUS status = PV_SUCCESS; local 605 PV_STATUS status = PV_SUCCESS; local 634 PV_STATUS status = PV_SUCCESS; local 684 PV_STATUS status = PV_SUCCESS; local 708 PV_STATUS status = PV_SUCCESS; local 787 PV_STATUS status; local 878 PV_STATUS status; local 952 PV_STATUS status; local [all...] |
H A D | combined_decode.cpp | 44 PV_STATUS status; local 155 status = GetMBheader(video, &QP); 157 if (status != PV_SUCCESS) 171 status = GetMBData(video); 172 if (status != PV_SUCCESS) 205 status = BitstreamShowBits32(stream, GOB_RESYNC_MARKER_LENGTH, &tmpvar); 213 status = PV_BitstreamShowBitsByteAlign(stream, GOB_RESYNC_MARKER_LENGTH, &tmpvar); 261 status = PV_BitstreamShowBitsByteAlign(stream, 23, &tmpvar); /* this call is valid for f_code < 8 */ 281 while ((status = PV_GobHeader(video)) == PV_FAIL) 283 if ((status 545 PV_STATUS status; local [all...] |
H A D | datapart_decode.cpp | 41 PV_STATUS status; local 86 status = DecodeDataPart_I_VideoPacket(video, slice_counter); 90 status = DecodeDataPart_P_VideoPacket(video, slice_counter); 98 while ((status = PV_ReadVideoPacketHeader(video, &mbnum)) == PV_FAIL) 100 if ((status = quickSearchVideoPacketHeader(stream, resync_marker_length)) != PV_SUCCESS) 106 if (status == PV_END_OF_VOP) 140 PV_STATUS status; local 175 status = GetMBheaderDataPart_DQUANT_DC(video, &QP); 198 status = BitstreamShowBits32(stream, DC_MARKER_LENGTH, &tmpvar); 209 status 305 PV_STATUS status; local 518 PV_STATUS status = PV_SUCCESS; local [all...] |