Searched defs:status (Results 1 - 25 of 461) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCamera.cpp88 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/ndk/impl/
H A DACameraManager.cpp168 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...]
/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp75 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 Dscreenrecord.cpp766 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 DIDrmManagerService.cpp46 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 DIDrmServiceListener.cpp52 status_t status = notify(DrmInfoEvent(uniqueId, type, message)); local
53 reply->writeInt32(status);
/frameworks/av/drm/libdrmframework/
H A DDrmManagerClientImpl.cpp183 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/src/
H A DFwdLockEngine.cpp83 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 DFwdLockConv.c241 * @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/mediadrm/plugins/clearkey/
H A DJsonWebKey.cpp200 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 Ddrm_framework_common.h192 * 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/media/common_time/
H A DICommonClock.cpp57 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 DICommonTimeConfig.cpp59 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...]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp504 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 DEffectReverb.cpp419 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 DPreProcessing.cpp298 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...]
/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.cpp208 int status = 0; local
215 status = pContext->aeli[SUB_FX_HOST]->create_effect(
219 if (status != NO_ERROR || (pContext->eHandle[SUB_FX_HOST] == NULL)) {
221 return status;
226 status = pContext->aeli[SUB_FX_OFFLOAD]->create_effect(
230 if (status != NO_ERROR || (pContext->eHandle[SUB_FX_OFFLOAD] == NULL)) {
318 subStatus[i] = &status;
331 return status;
/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp294 int status; local
365 int status = 0; local
433 status = -EINVAL;
444 status = -EINVAL;
455 status = -EINVAL;
483 status = -EINVAL;
506 status = -EINVAL;
510 return status;
534 int status = 0; local
547 status
[all...]
/frameworks/av/media/libmedia/
H A DAudioEffect.cpp136 ALOGE("set(): AudioFlinger could not create effect, status: %d", mStatus);
160 ALOGV("set() %p OK effect: %s id: %d status %d enabled %d pid %d", this, mDescriptor.name, mId,
214 status_t status = NO_ERROR; local
220 status = mIEffect->enable();
223 status = mIEffect->disable();
225 if (status == NO_ERROR) {
229 return status;
239 ALOGV("command() bad status %d", mStatus);
253 status_t status = mIEffect->command(cmdCode, cmdSize, cmdData, replySize, replyData); local
256 if (status
357 status_t status = DEAD_OBJECT; local
[all...]
H A DAudioRecord.cpp47 status_t status = AudioSystem::getInputBufferSize(sampleRate, format, channelMask, &size); local
48 if (status != NO_ERROR) {
50 "channelMask %#x; status %d", sampleRate, format, channelMask, status);
51 return status;
260 status_t status = openRecord_l(0 /*epoch*/, mOpPackageName); local
262 if (status != NO_ERROR) {
268 return status;
321 status_t status = NO_ERROR; local
323 status
462 status_t status = mProxy->getTimestamp(timestamp); local
524 status_t status; local
783 status_t status = NO_ERROR; local
1197 status_t status = NO_ERROR; local
[all...]
H A DAudioSystem.cpp1115 status_t status = afc->addAudioDeviceCallback(callback, audioIo); local
1116 if (status == NO_ERROR) {
1122 return status;
H A DAudioTrack.cpp131 status_t status; local
132 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType);
133 if (status != NO_ERROR) {
134 ALOGE("Unable to query output sample rate for stream type %d; status %d",
135 streamType, status);
136 return status;
139 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType);
140 if (status != NO_ERROR) {
141 ALOGE("Unable to query output frame count for stream type %d; status %d",
142 streamType, status);
507 status_t status = createTrack_l(); local
604 status_t status = NO_ERROR; local
839 status_t status = AudioSystem::getSamplingRate(mOutput, &sampleRate); local
1201 status_t status = mAudioTrack->attachAuxEffect(effectId); local
1237 status_t status; local
1612 status_t status = NO_ERROR; local
1914 status_t status = proxy->waitStreamEndDone(&timeout); local
2292 const status_t status = restoreTrack_l("getTimestampExtended"); local
2303 status_t status = mProxy->getTimestamp(timestamp); local
2348 const status_t status = restoreTrack_l("getTimestamp"); local
2359 status_t status; local
2625 status_t status = NO_ERROR; local
[all...]
H A DAudioTrackShared.cpp120 status_t status; local
145 status = NO_INIT;
153 status = DEAD_OBJECT;
158 status = NOT_ENOUGH_DATA;
164 status = -EINTR;
194 status = NO_INIT;
231 status = NO_ERROR;
238 status = WOULD_BLOCK;
254 status = TIMED_OUT;
305 // FIXME these error/non-0 status ar
420 status_t status; local
[all...]
H A DCharacterEncodingDetector.cpp35 UErrorCode status = U_ZERO_ERROR; local
36 mUtf8Conv = ucnv_open("UTF-8", &status);
37 if (U_FAILURE(status)) {
85 UErrorCode status = U_ZERO_ERROR; local
86 UCharsetDetector *csd = ucsdet_open(&status);
116 ucsdet_setText(csd, buf, strlen(buf), &status);
118 const UCharsetMatch** ucma = ucsdet_detectAll(csd, &matches, &status);
147 ucsdet_setText(csd, buf, strlen(buf), &status);
148 ucma = ucsdet_detectAll(csd, &matches, &status);
161 combinedenc = ucsdet_getName(bestCombinedMatch, &status);
287 UErrorCode status = U_ZERO_ERROR; local
[all...]
H A DIAudioFlinger.cpp111 status_t *status)
165 ALOGE("createTrack returned an IAudioTrack but with status %d", lStatus);
170 if (status != NULL) {
171 *status = lStatus;
191 status_t *status)
258 "or buffers but with status %d", lStatus);
267 if (status != NULL) {
268 *status = lStatus;
470 status_t status = remote()->transact(OPEN_OUTPUT, data, &reply); local
471 if (status !
98 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t pid, pid_t tid, audio_session_t *sessionId, int clientUid, status_t *status) argument
176 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t *pFrameCount, track_flags_t *flags, pid_t pid, pid_t tid, int clientUid, audio_session_t *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status) argument
546 status_t status = remote()->transact(OPEN_INPUT, data, &reply); local
596 status_t status = reply.readInt32(); local
615 status_t status = remote()->transact(GET_INPUT_FRAMES_LOST, data, &reply); local
627 status_t status = remote()->transact(NEW_AUDIO_SESSION_ID, data, &reply); local
657 status_t status = remote()->transact(QUERY_NUM_EFFECTS, data, &reply); local
679 status_t status = remote()->transact(QUERY_EFFECT, data, &reply); local
700 status_t status = remote()->transact(GET_EFFECT_DESCRIPTOR, data, &reply); local
712 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, audio_session_t sessionId, const String16& opPackageName, status_t *status, int *id, int *enabled) argument
818 status_t status = remote()->transact(LIST_AUDIO_PORTS, data, &reply); local
835 status_t status = remote()->transact(GET_AUDIO_PORT, data, &reply); local
853 status_t status = remote()->transact(CREATE_AUDIO_PATCH, data, &reply); local
866 status_t status = remote()->transact(RELEASE_AUDIO_PATCH, data, &reply); local
881 status_t status = remote()->transact(LIST_AUDIO_PATCHES, data, &reply); local
898 status_t status = remote()->transact(SET_AUDIO_PORT_CONFIG, data, &reply); local
909 status_t status = remote()->transact(GET_AUDIO_HW_SYNC, data, &reply); local
926 status_t status = remote()->transact(FRAME_COUNT_HAL, data, &reply); local
961 status_t status = NO_ERROR; local
997 status_t status = NO_ERROR; local
1142 status_t status = openOutput(module, &output, &config, local
1189 status_t status = openInput(module, &input, &config, local
1221 status_t status = getRenderPosition(&halFrames, &dspFrames, output); local
1257 status_t status = queryNumberEffects(&numEffects); local
1267 status_t status = queryEffect(data.readInt32(), &desc); local
1279 status_t status = getEffectDescriptor(&uuid, &desc); local
1297 status_t status = NO_ERROR; local
1354 status_t status = listAudioPorts(&numPorts, ports); local
1372 status_t status = getAudioPort(&port); local
1387 status_t status = createAudioPatch(&patch, &handle); local
1398 status_t status = releaseAudioPatch(handle); local
1417 status_t status = listAudioPatches(&numPatches, patches); local
1433 status_t status = setAudioPortConfig(&config); local
[all...]

Completed in 509 milliseconds

1234567891011>>