/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());
|
/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 | 328 int result = muxing(argv[0], useAudio, useVideo, outputFileName, local 333 return result;
|
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 777 int result; local 788 result = reply.readInt32(); 789 if (0 < result) { 790 reply.read(buffer, result); 792 return result; 926 bool result = canHandle(uniqueId, path, mimeType); local 928 reply->writeInt32(result); 1118 const int result = checkRightsStatus(uniqueId, path, action); local 1120 reply->writeInt32(result); 1174 bool result local 1527 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 | 344 String8 result; local 350 result.append(buffer); 360 result.append("\nDumping memory:\n"); 362 result.append(s.c_str(), s.size()); 368 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 | 228 bool result = false; local 269 int result = RightsStatus::RIGHTS_INVALID; local 283 result = RightsStatus::RIGHTS_VALID; 288 result = RightsStatus::RIGHTS_INVALID; 293 return result; 388 status_t result = DRM_ERROR_UNKNOWN; local 395 result = DRM_NO_ERROR; 401 return result; 484 status_t result = DRM_ERROR_CANNOT_HANDLE; local 495 return result; 534 status_t result = DRM_ERROR_CANNOT_HANDLE; local 562 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/libmediadrm/ |
H A D | Crypto.cpp | 275 status_t result = NO_INIT; local 277 result = mPlugin->setMediaDrmSession(sessionId); 279 return result;
|
H A D | Drm.cpp | 321 status_t result = mFactory->createDrmPlugin(uuid, &mPlugin); local 323 return result;
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | CryptoFactory.cpp | 50 android::status_t result = clearKeyPlugin->getInitStatus(); local 51 if (result == android::OK) { 57 return result;
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
H A D | MockDrmCryptoPlugin.cpp | 761 String8 result("{ "); 763 result.appendFormat("0x%02x ", array[i]); 765 result += "}"; 766 return result; 771 String8 result("{ "); 773 result.appendFormat("%s{name=%s, value=%s}", i > 0 ? ", " : "", 776 return result + " }"; 814 String8 result("{ "); 816 result.appendFormat("0x%02x ", array[i]); 818 result 825 String8 result; local [all...] |
/frameworks/av/include/media/ |
H A D | JetPlayer.h | 109 int result; local 110 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 | 1169 status_t result = openRecord_l(position, mOpPackageName); local 1170 if (result == NO_ERROR) { 1174 result = mAudioRecord->start(AudioSystem::SYNC_EVENT_SAME, AUDIO_SESSION_NONE); 1178 if (result != NO_ERROR) { 1179 ALOGW("restoreRecord_l() failed status %d", result); 1183 return result;
|
H A D | AudioSystem.cpp | 212 String8 result = String8(""); local 213 if (af == 0) return result; 215 result = af->getParameters(ioHandle, keys); 216 return result; 389 uint32_t result = 0; local 390 if (af == 0) return result; 391 if (ioHandle == AUDIO_IO_HANDLE_NONE) return result; 393 result = af->getInputFramesLost(ioHandle); 394 return result;
|
H A D | AudioTrack.cpp | 2202 status_t result = createTrack_l(); local 2204 if (result == NO_ERROR) { 2224 result = mAudioTrack->start(); 2228 if (result != NO_ERROR) { 2229 ALOGW("restoreTrack_l() failed status %d", result); 2234 return result; 2579 String8 result; local 2581 result.append(" AudioTrack::dump\n"); 2584 result.append(buffer); 2587 result [all...] |
H A D | AudioTrackShared.cpp | 939 bool result; local 943 result = updateStateWithLoop(&trystate, state) == OK && 946 result = updateStateWithPosition(&trystate, state) == OK && 949 if (!result) {
|
H A D | ICrypto.cpp | 149 ssize_t result = reply.readInt32(); local 151 if (isCryptoError(result)) { 155 if (dstType == kDestinationTypeVmPointer && result >= 0) { 156 reply.read(dstPtr, result); 159 return result; 327 ssize_t result; local 346 result = -EINVAL; 348 result = -EINVAL; 350 result = -EINVAL; 352 result [all...] |
H A D | IDrm.cpp | 612 status_t result = openSession(sessionId); local 614 reply->writeInt32(result); 650 status_t result = getKeyRequest(sessionId, initData, mimeType, local 657 reply->writeInt32(result); 667 uint32_t result = provideKeyResponse(sessionId, response, keySetId); local 669 reply->writeInt32(result); 698 status_t result = queryKeyStatus(sessionId, infoMap); local 705 reply->writeInt32(result); 717 status_t result = getProvisionRequest(certType, certAuthority, local 721 reply->writeInt32(result); 732 status_t result = provideProvisionResponse(response, certificate, wrappedKey); local 743 status_t result = getSecureStops(secureStops); local 762 status_t result = getSecureStop(ssid, secureStop); local 789 status_t result = getPropertyString(name, value); local 800 status_t result = getPropertyByteArray(name, value); local 853 uint32_t result = encrypt(sessionId, keyId, input, iv, output); local 867 uint32_t result = decrypt(sessionId, keyId, input, iv, output); local 880 uint32_t result = sign(sessionId, keyId, message, signature); local 895 uint32_t result = verify(sessionId, keyId, message, signature, match); local 909 uint32_t result = signRSA(sessionId, algorithm, message, wrappedKey, signature); local [all...] |
H A D | IMediaPlayer.cpp | 619 status_t result = invoke(data, reply); local 620 return result;
|
H A D | JetPlayer.cpp | 61 EAS_RESULT result; local 72 result = EAS_Init(&mEasData); 73 if (result != EAS_SUCCESS) { 76 return result; 79 result = JET_Init(mEasData, NULL, sizeof(S_JET_CONFIG)); 80 if (result != EAS_SUCCESS) { 83 return result; 159 EAS_RESULT result = EAS_FAILURE; local 205 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count); 206 if (result ! 334 EAS_RESULT result = JET_OpenFile(mEasData, mIoWrapper->getLocator()); local 352 EAS_RESULT result = JET_OpenFile(mEasData, mIoWrapper->getLocator()); local 375 EAS_RESULT result = JET_Play(mEasData); local 397 EAS_RESULT result = JET_Pause(mEasData); local [all...] |
H A D | MediaProfiles.cpp | 1039 Vector<int> result; local 1042 result = levels->mLevels; // copy out 1044 return result;
|