/frameworks/av/camera/ |
H A D | Camera.cpp | 88 status_t status = NO_ERROR; local 103 status = -ENODEV; 106 status = -EBUSY; 109 status = -EINVAL; 112 status = -EUSERS; 115 status = BAD_VALUE; 118 status = -EOPNOTSUPP; 121 status = -EACCES; 124 status = PERMISSION_DENIED; 127 status [all...] |
/frameworks/av/camera/aidl/android/hardware/ |
H A D | ICameraServiceListener.aidl | 24 * Initial status will be transmitted with onStatusChange immediately 54 oneway void onStatusChanged(int status, int cameraId); 57 * The torch mode status of a camera. 59 * Initial status will be transmitted with onTorchStatusChanged immediately 78 oneway void onTorchStatusChanged(int status, String cameraId);
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraManager.cpp | 168 int32_t status = pair.second; local 171 ACameraManager_AvailabilityCallback cb = isStatusAvailable(status) ? 188 bool CameraManagerGlobal::validStatus(int32_t status) { argument 189 switch (status) { 200 bool CameraManagerGlobal::isStatusAvailable(int32_t status) { argument 201 switch (status) { 250 int32_t status, int32_t cameraId) { 253 cm->onStatusChanged(status, cameraId); 255 ALOGE("Cannot deliver status change. Global camera manager died"); 261 int32_t status, int32_ 249 onStatusChanged( int32_t status, int32_t cameraId) argument 260 onStatusChanged( int32_t status, int32_t cameraId) argument 266 onStatusChangedLocked( int32_t status, int32_t cameraId) argument [all...] |
H A D | ACameraManager.h | 75 virtual binder::Status onStatusChanged(int32_t status, int32_t cameraId); 136 void onStatusChanged(int32_t status, int32_t cameraId); 137 void onStatusChangedLocked(int32_t status, int32_t cameraId); 138 // Utils for status 139 static bool validStatus(int32_t status); 140 static bool isStatusAvailable(int32_t status); 142 // Map camera_id -> status
|
/frameworks/av/camera/tests/ |
H A D | CameraBinderTests.cpp | 75 virtual binder::Status onStatusChanged(int32_t status, int32_t cameraId) { argument 77 mCameraStatuses[cameraId] = status; 82 virtual binder::Status onTorchStatusChanged(int32_t status, const String16& cameraId) { argument 84 mCameraTorchStatuses[cameraId] = status; 104 bool waitForTorchState(int32_t status, int32_t cameraId) const { argument 108 if (iter != mCameraTorchStatuses.end() && iter->second == status) { 119 foundStatus = (iter != mCameraTorchStatuses.end() && iter->second == status); 235 bool waitForStatus(Status status) const { 237 if (mLastStatus == status) { 241 while (std::find(mStatusesHit.begin(), mStatusesHit.end(), status) [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 766 int status; local 767 pid_t actualPid = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); 770 } else if (status != 0) { 771 ALOGW("'am broadcast' exited with status=%d", status);
|
/frameworks/av/drm/common/ |
H A D | IDrmManagerService.cpp | 46 data->writeInt32(handle->status); 78 handle->status = data.readInt32(); 744 const status_t status = reply.readInt32(); local 745 ALOGV("Return value of decrypt() is %d", status); 747 if (status == NO_ERROR) { 753 return status; 845 status_t status = setDrmServiceListener(uniqueId, drmServiceListener); local 847 reply->writeInt32(status); 1070 const status_t status = saveRights(uniqueId, drmRights, local 1074 reply->writeInt32(status); 1136 const status_t status local 1156 const status_t status local 1188 const status_t status = removeRights(uniqueId, path); local 1199 const status_t status = removeAllRights(data.readInt32()); local 1295 status_t status = getAllSupportInfo(uniqueId, &length, &drmSupportInfoArray); local 1399 const status_t status = closeDecryptSession(uniqueId, handle); local 1426 const status_t status local 1472 const status_t status local 1501 const status_t status = finalizeDecryptUnit(uniqueId, &handle, data.readInt32()); local [all...] |
H A D | IDrmServiceListener.cpp | 52 status_t status = notify(DrmInfoEvent(uniqueId, type, message)); local 53 reply->writeInt32(status);
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClientImpl.cpp | 183 status_t status = DRM_ERROR_UNKNOWN; local 185 status = getDrmManagerService()->consumeRights( 188 return status; 194 status_t status = DRM_ERROR_UNKNOWN; local 196 status = getDrmManagerService()->setPlaybackStatus( 199 return status; 214 status_t status = DRM_ERROR_UNKNOWN; local 216 status = getDrmManagerService()->removeRights(uniqueId, path); 218 return status; 251 status_t status local 284 status_t status = DRM_ERROR_UNKNOWN; local 295 status_t status = DRM_ERROR_UNKNOWN; local 307 status_t status = DRM_ERROR_UNKNOWN; local 319 status_t status = DRM_ERROR_UNKNOWN; local [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 181 * @return the status of the rights for the protected content, 280 * The resultant converted data and the status is returned in the DrmConvertedInfo 287 * @return Return object contains the status of the data conversion, 303 * @return Return object contains the status of the data conversion, 563 static int getConvertedStatus(FwdLockConv_Status_t status);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 83 int FwdLockEngine::getConvertedStatus(FwdLockConv_Status_t status) { argument 86 switch(status) { 95 "Returning STATUS_INPUTDATA_ERROR", status); 100 "Returning STATUS_ERROR", status); 512 decryptHandle->status = RightsStatus::RIGHTS_VALID;
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
H A D | FwdLockConv.c | 241 * @return A status code. 244 FwdLockConv_Status_t status; local 253 status = FwdLockConv_Status_OutOfMemory; 257 status = FwdLockConv_Status_ProgramError; 264 status = FwdLockConv_Status_ProgramError; 271 status = FwdLockConv_Status_OK; 277 return status; 312 * @return A status code. 331 * @return A status code. 335 FwdLockConv_Status_t status local 472 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 529 FwdLockConv_Status_t status; local 551 FwdLockConv_Status_t status; local 598 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 870 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 938 FwdLockConv_Status_t status = FwdLockConv_Status_OK; local 1079 FwdLockConv_Status_t status; local 1112 FwdLockConv_Status_t status; local 1172 FwdLockConv_Status_t status; local 1202 FwdLockConv_Status_t status; local 1256 FwdLockConv_Status_t status; local [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/src/ |
H A D | DrmPassthruPlugIn.cpp | 244 decryptHandle->status = DRM_NO_ERROR;
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | JsonWebKey.cpp | 200 int status = jsmn_parse(&parser, jsonObject.string(), local 202 if (status < 0) { 203 ALOGE("Parser returns error code=%d", status); 250 int status = jsmn_parse(&parser, jsonWebKeySet.string(), local 252 if (status < 0) { 253 ALOGE("Parser returns error code=%d", status);
|
/frameworks/av/include/drm/ |
H A D | drm_framework_common.h | 192 * Defines constants related to status of the rights 290 * Defines the status of the rights like 293 int status; member in class:android::DecryptHandle 316 status(INVALID_VALUE),
|
/frameworks/av/include/media/ |
H A D | IAudioFlinger.h | 59 // (return value != 0) == (*status == NO_ERROR) 80 status_t *status) = 0; 100 status_t *status) = 0; 210 status_t *status,
|
H A D | mediarecorder.h | 41 typedef void (*media_completion_f)(status_t status, void *cookie);
|
/frameworks/av/media/common_time/ |
H A D | ICommonClock.cpp | 57 status_t status = remote()->transact(IS_COMMON_TIME_VALID, local 60 if (status == OK) { 61 status = reply.readInt32(); 62 if (status == OK) { 67 return status; 75 status_t status = remote()->transact(COMMON_TIME_TO_LOCAL_TIME, local 77 if (status == OK) { 78 status = reply.readInt32(); 79 if (status == OK) { 83 return status; 91 status_t status = remote()->transact(LOCAL_TIME_TO_COMMON_TIME, local 105 status_t status = remote()->transact(GET_COMMON_TIME, data, &reply); local 118 status_t status = remote()->transact(GET_COMMON_FREQ, data, &reply); local 131 status_t status = remote()->transact(GET_LOCAL_TIME, data, &reply); local 144 status_t status = remote()->transact(GET_LOCAL_FREQ, data, &reply); local 157 status_t status = remote()->transact(GET_ESTIMATED_ERROR, data, &reply); local 170 status_t status = remote()->transact(GET_TIMELINE_ID, data, &reply); local 183 status_t status = remote()->transact(GET_STATE, data, &reply); local 196 status_t status = remote()->transact(GET_MASTER_ADDRESS, data, &reply); local 211 status_t status = remote()->transact(REGISTER_LISTENER, data, &reply); local 225 status_t status = remote()->transact(UNREGISTER_LISTENER, data, &reply); local 246 status_t status = isCommonTimeValid(&valid, &timelineID); local 259 status_t status = commonTimeToLocalTime(commonTime, &localTime); local 271 status_t status = localTimeToCommonTime(localTime, &commonTime); local 282 status_t status = getCommonTime(&commonTime); local 293 status_t status = getCommonFreq(&freq); local 304 status_t status = getLocalTime(&localTime); local 315 status_t status = getLocalFreq(&freq); local 326 status_t status = getEstimatedError(&error); local 337 status_t status = getTimelineID(&id); local 348 status_t status = getState(&state); local 359 status_t status = getMasterAddr(&addr); local 378 status_t status = registerListener(listener); local 387 status_t status = unregisterListener(listener); local [all...] |
H A D | ICommonTimeConfig.cpp | 59 status_t status = remote()->transact(GET_MASTER_ELECTION_PRIORITY, local 62 if (status == OK) { 63 status = reply.readInt32(); 64 if (status == OK) { 69 return status; 76 status_t status = remote()->transact(SET_MASTER_ELECTION_PRIORITY, local 79 if (status == OK) { 80 status = reply.readInt32(); 83 return status; 89 status_t status local 114 status_t status = remote()->transact(SET_MASTER_ELECTION_ENDPOINT, local 127 status_t status = remote()->transact(GET_MASTER_ELECTION_GROUP_ID, local 145 status_t status = remote()->transact(SET_MASTER_ELECTION_GROUP_ID, local 159 status_t status = remote()->transact(GET_INTERFACE_BINDING, local 176 status_t status = remote()->transact(SET_INTERFACE_BINDING, local 189 status_t status = remote()->transact(GET_MASTER_ANNOUNCE_INTERVAL, local 206 status_t status = remote()->transact(SET_MASTER_ANNOUNCE_INTERVAL, local 219 status_t status = remote()->transact(GET_CLIENT_SYNC_INTERVAL, local 236 status_t status = remote()->transact(SET_CLIENT_SYNC_INTERVAL, local 249 status_t status = remote()->transact(GET_PANIC_THRESHOLD, local 266 status_t status = remote()->transact(SET_PANIC_THRESHOLD, local 279 status_t status = remote()->transact(GET_AUTO_DISABLE, local 296 status_t status = remote()->transact(SET_AUTO_DISABLE, local 310 status_t status = remote()->transact(FORCE_NETWORKLESS_MASTER_MODE, local 332 status_t status = getMasterElectionPriority(&priority); local 343 status_t status = setMasterElectionPriority(priority); local 351 status_t status = getMasterElectionEndpoint(&addr); local 371 status_t status; local 386 status_t status = getMasterElectionGroupId(&id); local 397 status_t status = setMasterElectionGroupId(id); local 405 status_t status = getInterfaceBinding(ret); local 417 status_t status = setInterfaceBinding(ifaceName); local 425 status_t status = getMasterAnnounceInterval(&interval); local 436 status_t status = setMasterAnnounceInterval(interval); local 444 status_t status = getClientSyncInterval(&interval); local 455 status_t status = setClientSyncInterval(interval); local 463 status_t status = getPanicThreshold(&threshold); local 474 status_t status = setPanicThreshold(threshold); local 482 status_t status = getAutoDisable(&autoDisable); local 493 status_t status = setAutoDisable(autoDisable); local 500 status_t status = forceNetworklessMasterMode(); local [all...] |
H A D | cc_helper.cpp | 102 status_t status = common_clock_->call; \ 103 if (DEAD_OBJECT == status) { \ 106 status = common_clock_->call; \ 109 return status; \
|
/frameworks/av/media/libeffects/downmix/ |
H A D | EffectDownmix.c | 435 rep->status = Downmix_getParameter(pDownmixer, *(int32_t *)rep->data, &rep->vsize,
|
/frameworks/av/media/libeffects/loudness/ |
H A D | EffectLoudnessEnhancer.cpp | 377 p->status = 0; 380 p->status = -EINVAL; 391 p->status = -EINVAL;
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 504 int status; local 537 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */ 720 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */ 787 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */ 825 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */ 942 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */ 994 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */ 1042 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */ 1200 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */ 1241 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */ 1397 int status = 0; local 2007 int status = 0; local 2077 int status = 0; local 2125 int status = 0; local 2227 int status = 0; local 2284 int status = 0; local 2458 int status = 0; local 2542 int status = 0; local 2633 int status = 0; local 2877 int status = 0; local 3393 int status = 0; local [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 419 LVREV_ReturnStatus_en LvmStatus = LVREV_SUCCESS; /* Function call status */ 561 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 711 int status; local 749 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 965 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1000 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1038 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1083 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1129 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1168 LVREV_ReturnStatus_en LvmStatus=LVREV_SUCCESS; /* Function call status */ 1542 int status = 0; local 1756 int status = 0; local 1863 int status = 0; local [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 298 int status = 0; local 326 status = -EINVAL; 351 status = -EINVAL; 354 return status; 359 int status = 0; local 367 status = agc->set_target_level_dbfs(-(*(int16_t *)pValue / 100)); 371 status = agc->set_compression_gain_db(*(int16_t *)pValue / 100); 375 status = agc->enable_limiter(*(bool *)pValue); 382 status = agc->set_target_level_dbfs(-(pProperties->targetLevel / 100)); 383 if (status ! 461 int status = 0; local 483 int status = 0; local 599 int status = 0; local 605 int status = 0; local 692 int status = 0; local 807 int status = 0; local 825 int status = -ENOMEM; local 948 int status; local 1086 int status = session->apm->Initialize(processing_config); local 1178 int status = 0; local 1213 int status = 0; local 1406 int status; local 1780 int status = 0; local 1898 int status; local 1929 int status; local [all...] |