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

1234567891011>>

/frameworks/av/media/ndk/
H A DNdkMediaDrm.cpp115 static media_status_t translateStatus(status_t status) { argument
117 switch (status) {
243 status_t status = mObj->mDrm->openSession(DrmPlugin::kSecurityLevelMax, session); local
244 if (status == OK) {
312 status_t status = mObj->mDrm->getKeyRequest(*iter, mdInit, String8(mimeType), local
315 if (status != OK) {
316 return translateStatus(status);
343 status_t status = mObj->mDrm->provideKeyResponse(*iter, mdResponse, mdKeySetId); local
344 if (status == OK) {
384 status_t status; local
411 status_t status = mObj->mDrm->queryKeyStatus(*iter, mObj->mQueryResults); local
440 status_t status = mObj->mDrm->getProvisionRequest(String8(""), String8(""), local
479 status_t status = mObj->mDrm->getSecureStops(mObj->mSecureStops); local
527 status_t status = mObj->mDrm->getPropertyString(String8(propertyName), local
548 status_t status = mObj->mDrm->getPropertyByteArray(String8(propertyName), local
597 status_t status = mObj->mDrm->setCipherAlgorithm(*iter, String8(cipherAlgorithm)); local
663 status_t status = mObj->mDrm->setMacAlgorithm(*iter, String8(macAlgorithm)); local
702 status_t status = mObj->mDrm->setMacAlgorithm(*iter, String8(macAlgorithm)); local
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGatt.java150 public void onClientRegistered(int status, int clientIf) {
152 Log.d(TAG, "onClientRegistered() - status=" + status
163 if (status != GATT_SUCCESS) {
195 public void onPhyUpdate(String address, int txPhy, int rxPhy, int status) {
197 Log.d(TAG, "onPhyUpdate() - status=" + status
209 callback.onPhyUpdate(BluetoothGatt.this, txPhy, rxPhy, status);
220 public void onPhyRead(String address, int txPhy, int rxPhy, int status) {
222 Log.d(TAG, "onPhyRead() - status
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareNativeApi.java305 WifiStatus status = iface.getCapabilitiesRequest(transactionId);
306 if (status.code == WifiStatusCode.SUCCESS) {
309 Log.e(TAG, "getCapabilities: error: " + statusString(status));
357 WifiStatus status;
435 status = iface12.enableRequest_1_2(transactionId, req, configSupplemental12);
437 status = iface.enableRequest(transactionId, req);
490 status = iface12.configRequest_1_2(transactionId, req, configSupplemental12);
492 status = iface.configRequest(transactionId, req);
495 if (status.code == WifiStatusCode.SUCCESS) {
498 Log.e(TAG, "enableAndConfigure: error: " + statusString(status));
1143 statusString(WifiStatus status) argument
[all...]
/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
575 status_t status = NO_ERROR; local
[all...]
/frameworks/av/media/libstagefright/codecs/avcenc/
H A DSoftAVCEnc.cpp203 IV_STATUS_T status; local
216 status = ive_api_function(mCodecCtx, &s_dimensions_ip, &s_dimensions_op);
217 if (status != IV_SUCCESS) {
226 IV_STATUS_T status; local
238 status = ive_api_function(
240 if (status != IV_SUCCESS) {
251 IV_STATUS_T status; local
265 status = ive_api_function(mCodecCtx, &s_frame_rate_ip, &s_frame_rate_op);
266 if (status != IV_SUCCESS) {
277 IV_STATUS_T status; local
304 IV_STATUS_T status; local
328 IV_STATUS_T status; local
352 IV_STATUS_T status; local
384 IV_STATUS_T status; local
411 IV_STATUS_T status; local
436 IV_STATUS_T status; local
459 IV_STATUS_T status; local
490 IV_STATUS_T status; local
516 IV_STATUS_T status; local
541 IV_STATUS_T status; local
569 IV_STATUS_T status; local
589 IV_STATUS_T status; local
860 IV_STATUS_T status = IV_SUCCESS; local
1275 IV_STATUS_T 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
307 IV_API_CALL_STATUS_T status; local
342 IV_API_CALL_STATUS_T status; local
452 IV_API_CALL_STATUS_T status; local
579 IV_API_CALL_STATUS_T status; local
[all...]
/frameworks/av/media/libstagefright/codecs/hevcdec/
H A DSoftHEVC.cpp116 IV_API_CALL_STATUS_T status; local
125 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip,
128 if (status != IV_SUCCESS) {
141 IV_API_CALL_STATUS_T status; local
153 status = ivdec_api_function(mCodecCtx, (void *)&s_ctl_ip,
156 if (status != IV_SUCCESS) {
179 IV_API_CALL_STATUS_T status; local
192 status = ivdec_api_function(
196 if (status != IV_SUCCESS) {
223 IV_API_CALL_STATUS_T status; local
248 IV_API_CALL_STATUS_T status; local
266 IV_API_CALL_STATUS_T status; local
291 IV_API_CALL_STATUS_T status; local
347 IV_API_CALL_STATUS_T status; local
449 IV_API_CALL_STATUS_T status; local
568 IV_API_CALL_STATUS_T status; local
[all...]
/frameworks/av/drm/libmediadrm/
H A DDrmMetrics.cpp74 [&](const android::status_t status, const int64_t value) {
75 if (status == android::OK) {
84 status_values.push_back(status);
119 event.ExportValues([&](const android::status_t &status,
121 if (status == android::OK) {
132 status_values.push_back(status);
208 : mOpenSessionCounter("drm.mediadrm.open_session", "status"),
209 mCloseSessionCounter("drm.mediadrm.close_session", "status"),
210 mGetKeyRequestTimeUs("drm.mediadrm.get_key_request", "status"),
211 mProvideKeyResponseTimeUs("drm.mediadrm.provide_key_response", "status"),
[all...]
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraManager.java114 * with the availability status of all currently known camera devices.</p>
174 * Register a callback to be notified about torch mode status.
180 * with the torch mode status of all currently known camera devices with a flash unit.</p>
188 * @param callback The new callback to send torch mode status to
201 * Register a callback to be notified about torch mode status.
209 * @param callback The new callback to send torch mode status to
222 * Remove a previously-added callback; the callback will no longer receive torch mode status
651 * {@link CameraManager#registerTorchCallback} to be notified of such status changes.
812 // Camera ID -> Torch status map
892 onStatusChangedLocked(c.status,
998 isAvailable(int status) argument
1007 validStatus(int status) argument
1019 validTorchStatus(int status) argument
1030 postSingleUpdate(final AvailabilityCallback callback, final Executor executor, final String id, final int status) argument
1061 postSingleTorchUpdate(final TorchCallback callback, final Executor executor, final String id, final int status) argument
1103 onStatusChangedLocked(int status, String id) argument
1173 onTorchStatusChangedLocked(int status, String id) argument
1266 onStatusChanged(int status, String cameraId) argument
1273 onTorchStatusChanged(int status, String cameraId) argument
[all...]
/frameworks/ml/nn/runtime/
H A DCallbacks.h178 * The PreparedModelCallback class is used to receive the error status of
198 * status of the asynchronous model preparation along with the prepared
207 * @param status Error status returned from asynchronously preparing the
216 Return<void> notify(ErrorStatus status, const sp<IPreparedModel>& preparedModel) override;
219 * Retrieves the error status returned from the asynchronous task launched
224 * @return status Error status returned from asynchronously preparing the
252 * The ExecutionCallback class is used to receive the error status of the
272 * status o
318 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/
H A DWifiVendorHal.java129 * Checks for a successful status result.
133 * @param status is the WifiStatus generated by a hal call
136 private boolean ok(WifiStatus status) { argument
137 if (status.code == WifiStatusCode.SUCCESS) return true;
144 .c(status.toString())
292 * Initialize the Hal device manager and register for status callbacks.
571 WifiStatus status =
573 return ok(status);
588 WifiStatus status;
591 status
2828 onChipReconfigureFailure(WifiStatus status) argument
2842 onDebugRingBufferDataAvailable( WifiDebugRingBufferStatus status, java.util.ArrayList<Byte> data) argument
2918 onChipReconfigureFailure(WifiStatus status) argument
2932 onDebugRingBufferDataAvailable( WifiDebugRingBufferStatus status, java.util.ArrayList<Byte> data) argument
[all...]
/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.cpp119 status_t status; local
120 status = AudioSystem::getOutputSamplingRate(&afSampleRate, streamType);
121 if (status != NO_ERROR) {
122 ALOGE("Unable to query output sample rate for stream type %d; status %d",
123 streamType, status);
124 return status;
127 status = AudioSystem::getOutputFrameCount(&afFrameCount, streamType);
128 if (status != NO_ERROR) {
129 ALOGE("Unable to query output frame count for stream type %d; status %d",
130 streamType, status);
373 status_t status; local
713 status_t status = NO_ERROR; local
954 status_t status = AudioSystem::getSamplingRate(mOutput, &sampleRate); local
1334 status_t status = mAudioTrack->attachAuxEffect(effectId); local
1361 status_t status = AudioSystem::getLatency(mOutput, &mAfLatency); local
1386 status_t status; local
1656 status_t status = NO_ERROR; local
1961 status_t status = proxy->waitStreamEndDone(&timeout); local
2395 VolumeShaper::Status status = mAudioTrack->applyVolumeShaper(configuration, operation); local
2440 const status_t status = restoreTrack_l("getTimestampExtended"); local
2451 status_t status = mProxy->getTimestamp(timestamp); local
2500 const status_t status = restoreTrack_l("getTimestamp"); local
2511 status_t status; local
2842 status_t status = NO_ERROR; local
2979 status_t status = getTimestamp_l(ts); local
2992 status_t status = getTimestamp_l(&ets); 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/opt/telephony/tests/telephonytests/src/android/telephony/ims/
H A DImsFeatureTest.java165 ImsFeature.Capabilities status =
167 status.addCapabilities(TestImsFeature.CAPABILITY_TEST_1);
168 status.addCapabilities(TestImsFeature.CAPABILITY_TEST_2);
170 mTestImsFeature.capabilitiesStatusChanged(status);
172 assertEquals(status.getMask(), mTestImsFeature.queryCapabilityStatus().getMask());
178 ImsFeature.Capabilities status =
180 status.addCapabilities(TestImsFeature.CAPABILITY_TEST_1);
181 status.addCapabilities(TestImsFeature.CAPABILITY_TEST_2);
183 mTestImsFeature.capabilitiesStatusChanged(status);
185 assertEquals(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());
126 auto status = queue->CreateConsumerQueueHandle();
128 !status,
131 queue->id(), status.GetErrorMessage().c_str());
133 return status;
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp491 status_t status = configuration.get() == nullptr local
495 if (status != NO_ERROR) {
496 return VolumeShaper::Status(status);
499 status = operation.get() == nullptr
500 ? status = data.writeInt32(0)
503 if (status != NO_ERROR) {
504 return VolumeShaper::Status(status);
508 status = remote()->transact(APPLY_VOLUME_SHAPER, data, &reply);
509 if (status == NO_ERROR) {
510 status
523 status_t status = remote()->transact(GET_VOLUME_SHAPER_STATE, data, &reply); local
544 status_t status = remote()->transact(PREPARE_DRM, data, &reply); local
558 status_t status = remote()->transact(RELEASE_DRM, data, &reply); local
574 status_t status = remote()->transact(SET_OUTPUT_DEVICE, data, &reply); local
588 status_t status = remote()->transact(GET_ROUTED_DEVICE_ID, data, &reply); local
611 status_t status = remote()->transact(ENABLE_AUDIO_DEVICE_CALLBACK, data, &reply); local
925 status_t status = data.readInt32(&present); local
946 status_t status = data.readInt32(&id); local
981 status_t status = data.readInt32(&deviceId); local
1002 status_t status = data.readBool(&enabled); local
[all...]
/frameworks/av/services/oboeservice/
H A DAAudioServiceEndpointMMAP.cpp154 status_t status = MmapStreamInterface::openMmapStream(streamDirection, local
165 if (status != OK) {
166 ALOGE("%s() openMmapStream() returned status %d", __func__, status);
191 status = mMmapStream->createMmapBuffer(minSizeFrames, &mMmapBufferinfo);
192 if (status != OK) {
193 ALOGE("%s() - createMmapBuffer() failed with status %d %s",
194 __func__, status, strerror(-status));
200 __func__, status,
315 status_t status = mMmapStream->start(client, clientHandle); local
336 status_t status = mMmapStream->getMmapPosition(&position); local
[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.cpp46 static bool waitpid_with_timeout(pid_t pid, int timeout_ms, int* status) { argument
79 pid_t child_pid = waitpid(pid, status, WNOHANG);
325 int status; local
326 bool ret = waitpid_with_timeout(pid, options.TimeoutInMs(), &status);
357 if (WIFSIGNALED(status)) {
359 dprintf(fd, "*** command '%s' failed: killed by signal %d\n", command, WTERMSIG(status));
360 MYLOGE("*** command '%s' failed: killed by signal %d\n", command, WTERMSIG(status));
361 } else if (WIFEXITED(status) && WEXITSTATUS(status) > 0) {
362 status
[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/libeffects/lvm/wrapper/Bundle/
H A DEffectBundle.cpp571 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
752 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
855 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
925 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
963 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
1088 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
1140 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
1188 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
1356 LVM_ReturnStatus_en LvmStatus = LVM_SUCCESS; /* Function call status */
1397 LVM_ReturnStatus_en LvmStatus=LVM_SUCCESS; /* Function call status */
1554 int status = 0; local
2173 int status = 0; local
2239 int status = 0; local
2299 int status = 0; local
2408 int status = 0; local
2482 int status = 0; local
2724 int status = 0; local
2847 int status = 0; local
2952 int status = 0; local
3223 int status = 0; local
[all...]

Completed in 1023 milliseconds

1234567891011>>