/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 467 String8 result; local 469 result.append(buffer); 475 result.append(buffer); 477 write(fd, result.string(), result.size());
|
H A D | ICameraService.cpp | 87 status_t result = getCameraInfo(data.readInt32(), &cameraInfo); local 90 reply->writeInt32(result);
|
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 782 int result; local 793 result = reply.readInt32(); 794 if (0 < result) { 795 reply.read(buffer, result); 797 return result; 942 bool result = canHandle(uniqueId, path, mimeType); local 944 reply->writeInt32(result); 1121 const int result = checkRightsStatus(uniqueId, path, action); local 1123 reply->writeInt32(result); 1177 bool result local 1506 ssize_t result = pread(uniqueId, &handle, buffer, numBytes, offset); local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 206 bool result = (EMPTY_STRING != plugInId) ? true : false; local 209 if (result) { 211 result = rDrmEngine.canHandle(uniqueId, path); 215 result = canHandle(uniqueId, path); 219 return result; 233 bool result = false; local 238 result = rDrmEngine.canHandle(uniqueId, path); 240 if (result) { 244 return result; 261 status_t result local 301 status_t result = DRM_ERROR_UNKNOWN; local 312 status_t result = DRM_ERROR_UNKNOWN; local 335 status_t result = DRM_ERROR_UNKNOWN; local 345 status_t result = DRM_ERROR_UNKNOWN; local 433 status_t result = DRM_ERROR_CANNOT_HANDLE; local 461 status_t result = DRM_ERROR_CANNOT_HANDLE; local 490 status_t result = DRM_ERROR_CANNOT_HANDLE; local 519 status_t result = DRM_ERROR_UNKNOWN; local 532 status_t result = DRM_ERROR_UNKNOWN; local 543 status_t result = DRM_ERROR_UNKNOWN; local 556 status_t result = DRM_ERROR_UNKNOWN; local 567 ssize_t result = DECRYPT_FILE_ERROR; local [all...] |
H A D | DrmManagerService.cpp | 281 String8 result; local 287 result.append(buffer); 301 write(fd, result.string(), result.size());
|
/frameworks/av/drm/libdrmframework/plugins/common/util/src/ |
H A D | MimeTypeUtil.cpp | 126 String8 result = mimeType; local 152 result = String8(pMimeItem->pMimeType); 159 result = String8(mime_type_unsupported); 162 pMimeType, result.string()); 164 return result;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 226 bool result = false; local 266 int result = RightsStatus::RIGHTS_INVALID; local 280 result = RightsStatus::RIGHTS_VALID; 285 result = RightsStatus::RIGHTS_INVALID; 290 return result; 382 status_t result = DRM_ERROR_UNKNOWN; local 389 result = DRM_NO_ERROR; 395 return result; 478 status_t result = DRM_ERROR_CANNOT_HANDLE; local 489 return result; 528 status_t result = DRM_ERROR_CANNOT_HANDLE; local 556 status_t result = DRM_ERROR_UNKNOWN; local [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
H A D | FwdLockGlue.c | 51 int result = TRUE; local 55 result = FALSE; 62 result = FALSE; 70 return result; 152 int result = FALSE; local 164 result = TRUE; 167 return result; 174 int result = FALSE; local 186 result = FwdLockGlue_ValidatePadding(pData, decryptedKeyLength); 190 return result; [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/ |
H A D | FwdLockFile.c | 172 int result; local 179 result = FALSE; 181 result = FwdLockGlue_DecryptKey(pSession->pEncryptedSessionKey, 183 if (result) { 185 result = FALSE; 192 result = FALSE; 202 if (!result) { 208 return result; 367 int result; local 370 result 408 int result; local [all...] |
/frameworks/av/include/media/ |
H A D | JetPlayer.h | 110 int result; local 111 result = mPlayer->render();
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorAudioPlayer.cpp | 326 M4OSA_ERR result = M4NO_ERROR; local 364 result = M4OSA_fileReadGetOption(mBGAudioPCMFileHandle, 375 if ( result == M4NO_ERROR ) { 431 if ( result == M4NO_ERROR ) {
|
H A D | VideoEditorPlayer.cpp | 564 String8 result; local 566 result.append(" VeAudioOutput\n"); 569 result.append(buffer); 572 result.append(buffer); 573 ::write(fd, result.string(), result.size());
|
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_Mutex.c | 133 int result; local 164 result = pthread_mutex_trylock(&pMutexContext->mutex); 165 while ( ( EBUSY == result ) && ( 0 < timeout ) ) 179 result = pthread_mutex_trylock(&pMutexContext->mutex); 181 if (0 != result) 183 if (EBUSY == result)
|
H A D | M4OSA_Semaphore.c | 134 int result; local 157 result = sem_trywait(&semaphoreContext->semaphore); 158 while ( ((EBUSY == result) || (EAGAIN == result)) && ( 0 < timeout ) ) 172 result = sem_trywait(&semaphoreContext->semaphore); 174 if (0 != result) 176 if ((EBUSY == result) || (EAGAIN == result))
|
/frameworks/av/libvideoeditor/vss/src/ |
H A D | M4VSS3GPP_AudioMixing.c | 3914 (with a bad result on sheduling and block effetcs) */ 4123 M4OSA_Bool result = 0; local 4134 result = M4OSA_TRUE; 4136 result = M4OSA_FALSE; 4138 return result;
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | MediaBufferPuller.cpp | 134 status_t result = mSource->read(&pBuffer, NULL); local 136 mSourceError = result; 137 if (result != OK) {
|
H A D | VideoEditorAudioDecoder.cpp | 271 M4OSA_UInt32 result = 0; local 298 result <<= endBit; 300 result <<= 8; 302 result |= ui32Tmp; 306 *pResult = result; 331 M4OSA_Int32 result = 0; local 340 err = VideoEditorAudioDecoder_getBits(pDSI, dsiSize, 5, &result, &offset); 342 switch( result ) { 360 result); 364 pProperties->aAudioObjectType = (M4OSA_Int32)result; 436 status_t result = OK; local 656 status_t result = OK; local 718 status_t result = OK; local [all...] |
H A D | VideoEditorAudioEncoder.cpp | 347 status_t result = OK; local 439 result = pEncoderContext->mClient.connect(); 440 VIDEOEDITOR_CHECK(OK == result, M4ERR_STATE); 459 result = pEncoderContext->mEncoder->start(); 460 VIDEOEDITOR_CHECK(OK == result, M4ERR_STATE); 468 result = pEncoderContext->mEncoder->read(&buffer, NULL); 469 VIDEOEDITOR_CHECK(OK == result, M4ERR_STATE); 554 status_t result = OK; local 609 status_t result = OK; local 626 result [all...] |
H A D | VideoEditorVideoEncoder.cpp | 307 status_t result = OK; local 334 result = client.connect(); 335 VIDEOEDITOR_CHECK(OK == result, M4ERR_STATE); 358 result = encoder->start();; 359 VIDEOEDITOR_CHECK(OK == result, M4ERR_STATE); 360 result = encoder->read(&outputBuffer, NULL); 361 VIDEOEDITOR_CHECK(OK == result, M4ERR_STATE); 368 result = buildAVCCodecSpecificData( 374 VIDEOEDITOR_CHECK(OK == result, M4ERR_STATE); 387 result 559 status_t result = OK; local 845 status_t result = OK; local 975 status_t result = OK; local 1052 status_t result = OK; local 1090 status_t result = OK; local [all...] |
/frameworks/av/media/libmedia/ |
H A D | AudioParameter.cpp | 142 status_t result = get(key, str8); local 144 if (result == NO_ERROR) { 149 result = INVALID_OPERATION; 152 return result; 158 status_t result = get(key, str8); local 160 if (result == NO_ERROR) { 165 result = INVALID_OPERATION; 168 return result;
|
H A D | AudioRecord.cpp | 478 status_t result = NO_ERROR; local 503 result = cblk->cv.waitRelative(cblk->lock, milliseconds(waitTimeMs)); 514 if (CC_UNLIKELY(result != NO_ERROR)) { 521 result = mAudioRecord->start(AudioSystem::SYNC_EVENT_SAME, 0); 523 if (result == DEAD_OBJECT) { 526 result = AudioRecord::restoreRecord_l(cblk); 528 if (result != NO_ERROR) { 529 ALOGW("obtainBuffer create Track error %d", result); 531 return result; 758 status_t result; local [all...] |
H A D | AudioSystem.cpp | 177 String8 result = String8(""); local 178 if (af == 0) return result; 180 result = af->getParameters(ioHandle, keys); 181 return result; 386 unsigned int result = 0; local 387 if (af == 0) return result; 388 if (ioHandle == 0) return result; 390 result = af->getInputFramesLost(ioHandle); 391 return result;
|
H A D | AudioTrack.cpp | 947 status_t result = NO_ERROR; local 979 result = cblk->cv.waitRelative(cblk->lock, milliseconds(waitTimeMs)); 991 if (CC_UNLIKELY(result != NO_ERROR)) { 1001 result = mAudioTrack->start(); 1003 if (result == DEAD_OBJECT) { 1006 result = restoreTrack_l(cblk, false); 1008 if (result != NO_ERROR) { 1009 ALOGW("obtainBuffer create Track error %d", result); 1011 return result; 1143 status_t result local 1329 status_t result; local 1439 String8 result; local [all...] |
H A D | ICrypto.cpp | 139 ssize_t result = reply.readInt32(); local 141 if (result >= ERROR_DRM_VENDOR_MIN && result <= ERROR_DRM_VENDOR_MAX) { 145 if (!secure && result >= 0) { 146 reply.read(dstPtr, result); 149 return result; 258 ssize_t result = decrypt( local 268 reply->writeInt32(result); 270 if (result >= ERROR_DRM_VENDOR_MIN 271 && result < [all...] |
H A D | IMediaPlayer.cpp | 464 status_t result = invoke(data, reply); local 465 return result;
|