/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 | CameraParameters2.cpp | 368 String8 result; 370 result.append(buffer); 376 result.append(buffer); 378 write(fd, result.string(), result.size());
|
H A D | ICameraService.cpp | 124 status_t result = reply.readInt32(); 129 return result; 141 status_t result = reply.readInt32(); 152 return result; 162 status_t result = reply.readInt32(); 170 return result; 354 status_t result = getCameraInfo(data.readInt32(), &cameraInfo); local 356 reply->writeInt32(result); 367 status_t result = getCameraCharacteristics(data.readInt32(), &info); local 369 reply->writeInt32(result); 379 status_t result = getCameraVendorTagDescriptor(d); local [all...] |
/frameworks/av/camera/camera2/ |
H A D | ICameraDeviceCallbacks.cpp | 72 void onCaptureStarted(const CaptureResultExtras& result, int64_t timestamp) argument 78 result.writeToParcel(&data); 144 CaptureResultExtras result; local 146 result.readFromParcel(const_cast<Parcel*>(&data)); 148 ALOGE("No CaptureResultExtras object is present in result!"); 151 onCaptureStarted(result, timestamp); 162 ALOGW("No metadata object is present in result"); 168 ALOGW("No capture result extras object is present in result"); 177 CaptureResultExtras result; local [all...] |
H A D | ICameraDeviceUser.cpp | 261 status_t result = reply.readInt32() ; local 262 if (result != OK) { 263 return result; 289 status_t result = reply.readInt32(); local 299 return result; 310 status_t result = reply.readInt32(); local 321 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/filters/ |
H A D | nightvision.rs | 33 float3 result = dot(rgb, gMonoMult) * gNightVisionMult; 35 v_out->y = (uchar)clamp((result.r * 255.f + 0.5f), 0.f, 255.f); 36 v_out->z = (uchar)clamp((result.g * 255.f + 0.5f), 0.f, 255.f); 37 v_out->w = (uchar)clamp((result.b * 255.f + 0.5f), 0.f, 255.f);
|
H A D | saturation.rs | 34 float3 result = dot(rgb, gMonoMult); 35 result = mix(result, rgb, gSaturation); 37 v_out->y = (uchar)clamp((result.r * 255.f + 0.5f), 0.f, 255.f); 38 v_out->z = (uchar)clamp((result.g * 255.f + 0.5f), 0.f, 255.f); 39 v_out->w = (uchar)clamp((result.b * 255.f + 0.5f), 0.f, 255.f);
|
/frameworks/av/cmds/stagefright/ |
H A D | muxer.cpp | 320 int result = muxing(argv[0], useAudio, useVideo, outputFileName, local 325 return result;
|
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 773 int result; local 784 result = reply.readInt32(); 785 if (0 < result) { 786 reply.read(buffer, result); 788 return result; 922 bool result = canHandle(uniqueId, path, mimeType); local 924 reply->writeInt32(result); 1114 const int result = checkRightsStatus(uniqueId, path, action); local 1116 reply->writeInt32(result); 1170 bool result local 1521 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 | 345 String8 result; local 351 result.append(buffer); 365 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/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 | 767 String8 result("{ "); 769 result.appendFormat("0x%02x ", array[i]); 771 result += "}"; 772 return result; 777 String8 result("{ "); 779 result.appendFormat("%s{name=%s, value=%s}", i > 0 ? ", " : "", 782 return result + " }"; 818 String8 result("{ "); 820 result.appendFormat("0x%02x ", array[i]); 822 result 829 String8 result; local [all...] |
/frameworks/av/include/media/ |
H A D | JetPlayer.h | 109 int result; local 110 result = mPlayer->render();
|
/frameworks/av/include/media/stagefright/ |
H A D | SurfaceMediaSource.h | 108 void dump(String8& result) const; 109 void dump(String8& result, const char* prefix, char* buffer,
|
/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 | 1087 status_t result = openRecord_l(position, mOpPackageName); local 1088 if (result == NO_ERROR) { 1092 result = mAudioRecord->start(AudioSystem::SYNC_EVENT_SAME, 0); 1095 if (result != NO_ERROR) { 1096 ALOGW("restoreRecord_l() failed status %d", result); 1100 return result;
|
H A D | AudioSystem.cpp | 209 String8 result = String8(""); local 210 if (af == 0) return result; 212 result = af->getParameters(ioHandle, keys); 213 return result; 388 uint32_t result = 0; local 389 if (af == 0) return result; 390 if (ioHandle == AUDIO_IO_HANDLE_NONE) return result; 392 result = af->getInputFramesLost(ioHandle); 393 return result;
|
H A D | AudioTrack.cpp | 1638 status_t result = UNKNOWN_ERROR; local 1652 result = mAudioTrack->allocateTimedBuffer(size, buffer); 1653 if (result == DEAD_OBJECT) { 1661 result = restoreTrack_l("allocateTimedBuffer"); 1663 if (result == NO_ERROR) { 1664 result = mAudioTrack->allocateTimedBuffer(size, buffer); 1668 return result; 2112 status_t result = createTrack_l(); local 2114 if (result == NO_ERROR) { 2134 result 2392 String8 result; local [all...] |
H A D | AudioTrackShared.cpp | 895 bool result; local 899 result = updateStateWithLoop(&trystate, state) == OK && 902 result = updateStateWithPosition(&trystate, state) == OK && 905 if (!result) {
|