Searched refs:status (Results 201 - 225 of 878) sorted by relevance

1234567891011>>

/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp142 status_t status = NO_ERROR; local
226 status = BAD_VALUE;
235 status = INVALID_OPERATION;
241 status = BAD_VALUE;
260 status = INVALID_OPERATION;
269 status = INVALID_OPERATION;
288 status = NO_MEMORY;
325 status = NO_MEMORY;
328 status = createPatchConnections(newPatch, patch);
329 if (status !
432 status_t status = createAudioPatch(&subPatch, &patch->mRecordPatchHandle); local
578 status_t status = NO_ERROR; local
[all...]
/frameworks/av/media/libstagefright/codecs/avcenc/
H A DSoftAVCEnc.cpp204 IV_STATUS_T status; local
217 status = ive_api_function(mCodecCtx, &s_dimensions_ip, &s_dimensions_op);
218 if (status != IV_SUCCESS) {
227 IV_STATUS_T status; local
239 status = ive_api_function(
241 if (status != IV_SUCCESS) {
252 IV_STATUS_T status; local
266 status = ive_api_function(mCodecCtx, &s_frame_rate_ip, &s_frame_rate_op);
267 if (status != IV_SUCCESS) {
278 IV_STATUS_T status; local
305 IV_STATUS_T status; local
329 IV_STATUS_T status; local
353 IV_STATUS_T status; local
385 IV_STATUS_T status; local
412 IV_STATUS_T status; local
437 IV_STATUS_T status; local
460 IV_STATUS_T status; local
491 IV_STATUS_T status; local
517 IV_STATUS_T status; local
542 IV_STATUS_T status; local
570 IV_STATUS_T status; local
590 IV_STATUS_T status; local
861 IV_STATUS_T status = IV_SUCCESS; local
1276 IV_STATUS_T status; local
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraProviderManager.cpp206 [&support](auto status, bool supported) {
207 if (status == Status::OK) {
235 Status status; local
239 status = s;
249 if (status != Status::OK) {
250 return mapToStatusT(status);
285 Status status; local
287 ret = deviceInfo3->mInterface->open(callback, [&status, &session]
289 status = s;
290 if (status
315 hardware::Return<Status> status = deviceInfo1->mInterface->open(callback); local
481 hardware::Return<Status> status = mInterface->setCallback(this); local
734 Status status; local
768 Status status; local
793 Status status; local
833 hardware::Return<Status> status = mInterface->open(nullptr); local
920 Status status; local
[all...]
/frameworks/av/media/libstagefright/codecs/avcdec/
H A DSoftAVCDec.cpp123 IV_API_CALL_STATUS_T status; local
132 status =
135 if (status != IV_SUCCESS) {
148 IV_API_CALL_STATUS_T status; local
160 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op);
162 if (status != IV_SUCCESS) {
187 IV_API_CALL_STATUS_T status; local
194 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip, (void *)&s_ctl_op);
195 if (IV_SUCCESS != status) {
211 IV_API_CALL_STATUS_T status; local
228 IV_API_CALL_STATUS_T status; local
252 IV_API_CALL_STATUS_T status; local
308 IV_API_CALL_STATUS_T status; local
342 IV_API_CALL_STATUS_T status; local
452 IV_API_CALL_STATUS_T status; local
580 IV_API_CALL_STATUS_T status; local
[all...]
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.cpp115 IV_API_CALL_STATUS_T status; local
124 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip,
127 if (status != IV_SUCCESS) {
140 IV_API_CALL_STATUS_T status; local
152 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip,
155 if (status != IV_SUCCESS) {
178 IV_API_CALL_STATUS_T status; local
191 status = ivdec_api_function(
195 if (status != IV_SUCCESS) {
222 IV_API_CALL_STATUS_T status; local
247 IV_API_CALL_STATUS_T status; local
265 IV_API_CALL_STATUS_T status; local
290 IV_API_CALL_STATUS_T status; local
346 IV_API_CALL_STATUS_T status; local
448 IV_API_CALL_STATUS_T status; local
567 IV_API_CALL_STATUS_T status; local
[all...]
/frameworks/ml/nn/runtime/
H A DCallbacks.h182 * The PreparedModelCallback class is used to receive the error status of
202 * status of the asynchronous model preparation along with the prepared
211 * @param status Error status returned from asynchronously preparing the
220 Return<void> notify(ErrorStatus status, const sp<IPreparedModel>& preparedModel) override;
223 * Retrieves the error status returned from the asynchronous task launched
228 * @return status Error status returned from asynchronously preparing the
256 * The ExecutionCallback class is used to receive the error status of the
276 * status o
322 std::cv_status status = mCondition.wait_for(lock, timeout_duration, [this]{return mNotified;}); local
[all...]
/frameworks/native/services/vr/bufferhubd/
H A Dconsumer_queue_channel.cpp126 auto status = producer_channel->CreateConsumer(message); local
132 if (!status) {
136 status.GetErrorMessage().c_str());
139 return status.error_status();
145 buffer_handles.emplace_back(status.take(), producer_slot);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareNativeApi.java182 WifiStatus status = iface.getCapabilitiesRequest(transactionId);
183 if (status.code == WifiStatusCode.SUCCESS) {
186 Log.e(TAG, "getCapabilities: error: " + statusString(status));
224 WifiStatus status;
300 status = iface.enableRequest(transactionId, req);
351 status = iface.configRequest(transactionId, req);
353 if (status.code == WifiStatusCode.SUCCESS) {
356 Log.e(TAG, "enableAndConfigure: error: " + statusString(status));
381 WifiStatus status = iface.disableRequest(transactionId);
382 if (status
973 statusString(WifiStatus status) argument
[all...]
H A DWifiAwareNativeManager.java114 WifiStatus status = iface.registerEventCallback(mWifiAwareNativeCallback);
115 if (status.code != WifiStatusCode.SUCCESS) {
117 status));
160 private static String statusString(WifiStatus status) { argument
161 if (status == null) {
162 return "status=null";
165 sb.append(status.code).append(" (").append(status.description).append(")");
/frameworks/av/media/libaudioclient/
H A DIEffect.cpp90 status_t status = remote()->transact(COMMAND, data, &reply); local
91 if (status == NO_ERROR) {
92 status = reply.readInt32();
94 if (status != NO_ERROR) {
97 return status;
105 return status;
122 status_t status = remote()->transact(GET_CBLK, data, &reply); local
123 if (status == NO_ERROR) {
189 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); local
190 reply->writeInt32(status);
[all...]
H A DAudioTrack.cpp142 status_t status; local
143 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType);
144 if (status != NO_ERROR) {
145 ALOGE("Unable to query output sample rate for stream type %d; status %d",
146 streamType, status);
147 return status;
150 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType);
151 if (status != NO_ERROR) {
152 ALOGE("Unable to query output frame count for stream type %d; status %d",
153 streamType, status);
527 status_t status = createTrack_l(); local
638 status_t status = NO_ERROR; local
878 status_t status = AudioSystem::getSamplingRate(mOutput, &sampleRate); local
1257 status_t status = mAudioTrack->attachAuxEffect(effectId); local
1284 status_t status = AudioSystem::getLatency(mOutput, &mAfLatency); local
1323 status_t status; local
1721 status_t status = NO_ERROR; local
2026 status_t status = proxy->waitStreamEndDone(&timeout); local
2433 VolumeShaper::Status status = mAudioTrack->applyVolumeShaper(configuration, operation); local
2478 const status_t status = restoreTrack_l("getTimestampExtended"); local
2489 status_t status = mProxy->getTimestamp(timestamp); local
2538 const status_t status = restoreTrack_l("getTimestamp"); local
2549 status_t status; local
2875 status_t status = NO_ERROR; local
3012 status_t status = getTimestamp_l(ts); local
3025 status_t status = getTimestamp_l(&ets); 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;
263 status_t status = openRecord_l(0 /*epoch*/, mOpPackageName); local
265 if (status != NO_ERROR) {
271 return status;
324 status_t status = NO_ERROR; local
326 status
465 status_t status = mProxy->getTimestamp(timestamp); local
552 status_t status; local
837 status_t status = NO_ERROR; local
1254 status_t status = NO_ERROR; local
[all...]
/frameworks/native/libs/vr/libpdx_default_transport/
H A Dpdx_tool.cpp56 auto status = trans.Send<void>(android::pdx::opcodes::REPORT_SYSPROP_CHANGE, local
58 if (!status) {
60 status.GetErrorMessage().c_str());
67 auto status = trans.Send<int>(android::pdx::opcodes::DUMP_STATE, nullptr, 0, local
70 printf_verbose("ControlClient::Dump: ret=%d\n", ReturnStatusOrError(status));
72 if (!status) {
74 status.GetErrorMessage().c_str());
76 } else if (status.get() > static_cast<ssize_t>(buffer.capacity())) {
78 status.get());
83 HexDump(buffer.data(), status
[all...]
/frameworks/base/media/java/android/media/
H A DRemoteDisplayState.java106 public int status; field in class:RemoteDisplayState.RemoteDisplayInfo
114 status = STATUS_NOT_AVAILABLE;
123 status = other.status;
134 status = in.readInt();
155 dest.writeInt(status);
167 + ", status=" + status
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dstatus.h60 // Change the value/error code of the status object directly.
82 // Returns true if the status object contains valid value for type T.
110 // Status<void> status = bar();
111 // if(!status)
112 // return status.error_status();
118 // The message is the same as the string returned by strerror(status.error()).
133 // Specialization for status containing no other value but the error code.
169 inline int ReturnStatusOrError(const Status<void>& status) { argument
170 return status ? 0 : -status
173 ReturnStatusOrError(const Status<int>& status) argument
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Ddisplay_manager_service.cpp26 auto status = service_->ModifyChannelEvents(channel_id_, pending ? 0 : POLLIN, local
28 ALOGE_IF(!status,
31 status.GetErrorMessage().c_str());
118 auto status = queue->CreateConsumerQueueHandle();
120 !status,
123 queue->id(), status.GetErrorMessage().c_str());
125 return status;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiVendorHal.java119 * Checks for a successful status result.
123 * @param status is the WifiStatus generated by a hal call
126 private boolean ok(WifiStatus status) { argument
127 if (status.code == WifiStatusCode.SUCCESS) return true;
134 .c(status.toString())
243 * Initialize the Hal device manager and register for status callbacks.
358 WifiStatus status =
360 return ok(status);
376 WifiStatus status = mIWifiChip.registerEventCallback(mIWifiChipEventCallback);
377 return ok(status);
2545 onChipReconfigureFailure(WifiStatus status) argument
2559 onDebugRingBufferDataAvailable( WifiDebugRingBufferStatus status, java.util.ArrayList<Byte> data) argument
[all...]
/frameworks/av/media/libaaudio/src/utility/
H A DAAudioUtilities.cpp208 status_t status; local
212 status = DEAD_OBJECT;
215 status = BAD_TYPE;
218 status = INVALID_OPERATION;
224 status = BAD_VALUE;
227 status = WOULD_BLOCK;
230 status = UNEXPECTED_NULL;
233 status = NOT_ENOUGH_DATA;
243 status = UNKNOWN_ERROR;
246 return status;
249 AAudioConvert_androidToAAudioResult(status_t status) argument
[all...]
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
H A DGenericSoundModelTest.java188 int status;
191 public ModelInfo(GenericSoundModel model, int status) {
192 this.status = status;
227 if (operation == 0 && modelInfo.status == STATUS_UNLOADED) {
231 modelInfo.status = STATUS_LOADED;
232 } else if (operation == 1 && modelInfo.status == STATUS_LOADED) {
238 modelInfo.status = STATUS_STARTED;
239 } else if (operation == 2 && modelInfo.status == STATUS_STARTED) {
250 } else if (operation == 3 && modelInfo.status
281 onError(int status) argument
[all...]
/frameworks/native/cmds/dumpstate/
H A DDumpstateUtil.cpp45 static bool waitpid_with_timeout(pid_t pid, int timeout_seconds, int* status) { argument
77 pid_t child_pid = waitpid(pid, status, WNOHANG);
309 int status; local
310 bool ret = waitpid_with_timeout(pid, options.Timeout(), &status);
341 if (WIFSIGNALED(status)) {
343 dprintf(fd, "*** command '%s' failed: killed by signal %d\n", command, WTERMSIG(status));
344 MYLOGE("*** command '%s' failed: killed by signal %d\n", command, WTERMSIG(status));
345 } else if (WIFEXITED(status) && WEXITSTATUS(status) > 0) {
346 status
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp579 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
803 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
893 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
960 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
998 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
1123 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
1175 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
1223 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
1392 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
1433 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
1590 int status = 0; local
2209 int status = 0; local
2275 int status = 0; local
2335 int status = 0; local
2444 int status = 0; local
2518 int status = 0; local
2760 int status = 0; local
2883 int status = 0; local
2988 int status = 0; local
3259 int status = 0; local
[all...]
/frameworks/av/camera/ndk/impl/
H A DACameraManager.cpp126 onStatusChangedLocked(c.status, c.cameraId);
204 int32_t status = pair.second; local
207 ACameraManager_AvailabilityCallback cb = isStatusAvailable(status) ?
244 bool CameraManagerGlobal::validStatus(int32_t status) { argument
245 switch (status) {
256 bool CameraManagerGlobal::isStatusAvailable(int32_t status) { argument
257 switch (status) {
298 int32_t status, const String16& cameraId) {
301 cm->onStatusChanged(status, String8(cameraId));
303 ALOGE("Cannot deliver status chang
297 onStatusChanged( int32_t status, const String16& cameraId) argument
308 onStatusChanged( int32_t status, const String8& cameraId) argument
314 onStatusChangedLocked( int32_t status, const String8& cameraId) argument
[all...]
/frameworks/av/media/libaudiohal/
H A DDeviceHalHidl.cpp62 int status = sscanf(halAddress, local
66 return status == 6 ? OK : BAD_VALUE;
69 int status = sscanf(halAddress, local
73 return status == 4 ? OK : BAD_VALUE;
76 int status = sscanf(halAddress, local
79 return status == 2 ? OK : BAD_VALUE;
193 status_t status = parametersFromHal(kvPairs, &hidlParams); local
194 if (status != OK) return status;
202 status_t status local
242 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local
272 status_t status = deviceAddressFromHal(devices, address, &hidlDevice); local
[all...]
/frameworks/native/libs/input/
H A DKeyboard.cpp48 status_t status = loadKeyLayout(deviceIdenfifier, keyLayoutName); local
49 if (status == NAME_NOT_FOUND) {
59 status_t status = loadKeyCharacterMap(deviceIdenfifier, keyCharacterMapName); local
60 if (status == NAME_NOT_FOUND) {
114 status_t status = KeyLayoutMap::load(path, &keyLayoutMap); local
115 if (status) {
116 return status;
131 status_t status = KeyCharacterMap::load(path, local
133 if (status) {
134 return status;
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dbitstream_io.cpp122 PV_STATUS status; local
138 status = BitstreamSaveWord(stream);
139 if (status != PV_SUCCESS)
141 return status;
170 PV_STATUS status; local
179 status = BitstreamPutBits(stream, topLength, topValue);
181 if (status != PV_SUCCESS)
183 return status;
186 status = BitstreamPutBits(stream, 16, (UInt)(Value & 0xFFFF));
188 return status;
418 PV_STATUS status; local
534 PV_STATUS status = PV_SUCCESS; local
[all...]

Completed in 1097 milliseconds

1234567891011>>