/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 473 String8 result; local 475 result.append(buffer); 481 result.append(buffer); 483 write(fd, result.string(), result.size());
|
H A D | ICameraService.cpp | 118 status_t result = reply.readInt32(); 123 return result; 135 status_t result = reply.readInt32(); 146 return result; 156 status_t result = reply.readInt32(); 164 return result; 335 status_t result = getCameraInfo(data.readInt32(), &cameraInfo); local 337 reply->writeInt32(result); 348 status_t result = getCameraCharacteristics(data.readInt32(), &info); local 350 reply->writeInt32(result); 360 status_t result = getCameraVendorTagDescriptor(d); local [all...] |
H A D | IProCameraCallbacks.cpp | 70 void onResultReceived(int32_t requestId, camera_metadata* result) { argument 75 CameraMetadata::writeToParcel(data, result); 111 camera_metadata_t *result = NULL; local 112 CameraMetadata::readFromParcel(data, &result); 113 onResultReceived(requestId, result);
|
H A D | ProCamera.cpp | 93 void ProCamera::onResultReceived(int32_t requestId, camera_metadata* result) { argument 94 ALOGV("%s: requestId = %d, result = %p", __FUNCTION__, requestId, result); 102 CameraMetadata tmp(result); 112 result = tmp.release(); 115 listener->onResultReceived(requestId, result); 117 free_camera_metadata(result);
|
/frameworks/av/camera/camera2/ |
H A D | ICameraDeviceCallbacks.cpp | 71 void onCaptureStarted(const CaptureResultExtras& result, int64_t timestamp) argument 77 result.writeToParcel(&data); 133 CaptureResultExtras result; local 135 result.readFromParcel(const_cast<Parcel*>(&data)); 137 ALOGE("No CaptureResultExtras object is present in result!"); 140 onCaptureStarted(result, timestamp); 151 ALOGW("No metadata object is present in result"); 157 ALOGW("No capture result extras object is present in result");
|
H A D | ICameraDeviceUser.cpp | 242 status_t result = reply.readInt32(); local 252 return result; 263 status_t result = reply.readInt32(); local 274 return result;
|
/frameworks/av/cmds/screenrecord/ |
H A D | EglWindow.cpp | 101 EGLBoolean result; local 110 result = eglInitialize(mEglDisplay, &majorVersion, &minorVersion); 111 if (result != EGL_TRUE) { 137 result = eglChooseConfig(mEglDisplay, 140 if (result != EGL_TRUE) {
|
/frameworks/av/cmds/stagefright/ |
H A D | muxer.cpp | 301 int result = muxing(looper, argv[0], useAudio, useVideo, outputFileName, local 306 return result;
|
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 772 int result; local 783 result = reply.readInt32(); 784 if (0 < result) { 785 reply.read(buffer, result); 787 return result; 921 bool result = canHandle(uniqueId, path, mimeType); local 923 reply->writeInt32(result); 1100 const int result = checkRightsStatus(uniqueId, path, action); local 1102 reply->writeInt32(result); 1156 bool result local 1485 ssize_t result = pread(uniqueId, &handle, buffer, numBytes, offset); local [all...] |
/frameworks/av/drm/drmserver/ |
H A D | DrmManager.cpp | 181 bool result = (EMPTY_STRING != plugInId) ? true : false; local 184 if (result) { 186 result = rDrmEngine.canHandle(uniqueId, path); 190 result = canHandle(uniqueId, path); 194 return result; 208 bool result = false; local 213 result = rDrmEngine.canHandle(uniqueId, path); 215 if (result) { 219 return result; 236 status_t result local 276 status_t result = DRM_ERROR_UNKNOWN; local 287 status_t result = DRM_ERROR_UNKNOWN; local 310 status_t result = DRM_ERROR_UNKNOWN; local 320 status_t result = DRM_ERROR_UNKNOWN; local 408 status_t result = DRM_ERROR_CANNOT_HANDLE; local 436 status_t result = DRM_ERROR_CANNOT_HANDLE; local 465 status_t result = DRM_ERROR_CANNOT_HANDLE; local 494 status_t result = DRM_ERROR_UNKNOWN; local 507 status_t result = DRM_ERROR_UNKNOWN; local 518 status_t result = DRM_ERROR_UNKNOWN; local 531 status_t result = DRM_ERROR_UNKNOWN; local 542 ssize_t result = DECRYPT_FILE_ERROR; local [all...] |
H A D | DrmManagerService.cpp | 287 String8 result; local 293 result.append(buffer); 307 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; 383 status_t result = DRM_ERROR_UNKNOWN; local 390 result = DRM_NO_ERROR; 396 return result; 479 status_t result = DRM_ERROR_CANNOT_HANDLE; local 490 return result; 529 status_t result = DRM_ERROR_CANNOT_HANDLE; local 557 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 182 result = FALSE; 184 result = FwdLockGlue_DecryptKey(pSession->pEncryptedSessionKey, 186 if (result) { 188 result = FALSE; 195 result = FALSE; 205 if (!result) { 211 return result; 370 int result; local 373 result 411 int result; local [all...] |
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 696 String8 result("{ "); 698 result.appendFormat("0x%02x ", array[i]); 700 result += "}"; 701 return result; 706 String8 result("{ "); 708 result.appendFormat("%s{name=%s, value=%s}", i > 0 ? ", " : "", 711 return result + " }"; 747 String8 result("{ "); 749 result.appendFormat("0x%02x ", array[i]); 751 result 758 String8 result; local [all...] |
/frameworks/av/include/media/ |
H A D | JetPlayer.h | 110 int result; local 111 result = mPlayer->render();
|
/frameworks/av/media/libmedia/ |
H A D | AudioParameter.cpp | 143 status_t result = get(key, str8); local 145 if (result == NO_ERROR) { 150 result = INVALID_OPERATION; 153 return result; 159 status_t result = get(key, str8); local 161 if (result == NO_ERROR) { 166 result = INVALID_OPERATION; 169 return result;
|
H A D | AudioRecord.cpp | 993 status_t result; local 1000 result = openRecord_l(position); 1001 if (result == NO_ERROR) { 1005 result = mAudioRecord->start(AudioSystem::SYNC_EVENT_SAME, 0); 1008 if (result != NO_ERROR) { 1009 ALOGW("restoreRecord_l() failed status %d", result); 1013 return result;
|
H A D | AudioSystem.cpp | 201 String8 result = String8(""); local 202 if (af == 0) return result; 204 result = af->getParameters(ioHandle, keys); 205 return result; 418 uint32_t result = 0; local 419 if (af == 0) return result; 420 if (ioHandle == AUDIO_IO_HANDLE_NONE) return result; 422 result = af->getInputFramesLost(ioHandle); 423 return result;
|
H A D | AudioTrack.cpp | 1462 status_t result = UNKNOWN_ERROR; local 1476 result = mAudioTrack->allocateTimedBuffer(size, buffer); 1477 if (result == DEAD_OBJECT) { 1485 result = restoreTrack_l("allocateTimedBuffer"); 1487 if (result == NO_ERROR) { 1488 result = mAudioTrack->allocateTimedBuffer(size, buffer); 1492 return result; 1847 status_t result; local 1865 result = createTrack_l(); 1871 if (result 2069 String8 result; local [all...] |
H A D | ICrypto.cpp | 140 ssize_t result = reply.readInt32(); local 142 if (result >= ERROR_DRM_VENDOR_MIN && result <= ERROR_DRM_VENDOR_MAX) { 146 if (!secure && result >= 0) { 147 reply.read(dstPtr, result); 150 return result; 268 ssize_t result = decrypt( local 278 reply->writeInt32(result); 280 if (result >= ERROR_DRM_VENDOR_MIN 281 && result < [all...] |
H A D | IDrm.cpp | 529 status_t result = openSession(sessionId); local 531 reply->writeInt32(result); 566 status_t result = getKeyRequest(sessionId, initData, local 572 reply->writeInt32(result); 582 uint32_t result = provideKeyResponse(sessionId, response, keySetId); local 584 reply->writeInt32(result); 613 status_t result = queryKeyStatus(sessionId, infoMap); local 620 reply->writeInt32(result); 632 status_t result = getProvisionRequest(certType, certAuthority, local 636 reply->writeInt32(result); 647 status_t result = provideProvisionResponse(response, certificate, wrappedKey); local 657 status_t result = unprovisionDevice(); local 666 status_t result = getSecureStops(secureStops); local 685 status_t result = getSecureStop(ssid, secureStop); local 712 status_t result = getPropertyString(name, value); local 723 status_t result = getPropertyByteArray(name, value); local 776 uint32_t result = encrypt(sessionId, keyId, input, iv, output); local 790 uint32_t result = decrypt(sessionId, keyId, input, iv, output); local 803 uint32_t result = sign(sessionId, keyId, message, signature); local 818 uint32_t result = verify(sessionId, keyId, message, signature, match); local 832 uint32_t result = signRSA(sessionId, algorithm, message, wrappedKey, signature); local [all...] |
H A D | IMediaPlayer.cpp | 479 status_t result = invoke(data, reply); local 480 return result;
|
H A D | JetPlayer.cpp | 62 EAS_RESULT result; local 73 result = EAS_Init(&mEasData); 74 if (result != EAS_SUCCESS) { 77 return result; 80 result = JET_Init(mEasData, NULL, sizeof(S_JET_CONFIG)); 81 if (result != EAS_SUCCESS) { 84 return result; 157 EAS_RESULT result = EAS_FAILURE; local 203 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count); 204 if (result ! 339 EAS_RESULT result = JET_OpenFile(mEasData, mEasJetFileLoc); local 361 EAS_RESULT result = JET_OpenFile(mEasData, mEasJetFileLoc); local 384 EAS_RESULT result = JET_Play(mEasData); local 406 EAS_RESULT result = JET_Pause(mEasData); local [all...] |