Searched refs:status (Results 401 - 425 of 995) sorted by relevance

<<11121314151617181920>>

/frameworks/native/libs/vr/libpdx_uds/
H A Dclient_channel_tests.cpp74 auto status = InvokeRemoteMethod<TestProtocol::Sum>(data); local
75 return status ? status.get() : -1;
114 auto status = factory->Connect(android::pdx::Client::kInfiniteTimeout); variable
115 ASSERT_TRUE(status); variable
116 client_ = TestClient::Create(status.take());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
H A DApduSender.java36 * APDU command will be returned. If any APDU command returns an error status (other than
108 int status = openChannelResponse.getStatus();
110 || status != IccOpenLogicalChannelResponse.STATUS_NO_ERROR) {
116 + mAid + ", with status: " + status));
163 int status = (fullResponse.sw1 << 8) | fullResponse.sw2;
164 if (status != STATUS_NO_ERROR) {
166 new ApduException(status), resultCallback, handler);
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestLoopUri.cpp71 SLuint32 status; local
72 result = (*caller)->GetPrefetchStatus(caller, &status);
78 fprintf(stdout, "\t\tPrefetchEventCallback: Prefetch Status is = %u\n", status);
82 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) {
86 status == SL_PREFETCHSTATUS_SUFFICIENTDATA) {
87 new_prefetch_status = status;
237 // wait for prefetch status callback to indicate either sufficient data or error
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp92 status_t status = setDeviceConnectionStateInt(device, state, device_address, device_name); local
94 return status;
172 "checkOutputsForDevice() returned no outputs but status OK");
370 status_t status; local
412 status = setDeviceConnectionState(device,
415 if (status != NO_ERROR) {
417 status);
418 return status;
421 status = setDeviceConnectionState(device,
424 if (status !
527 status_t status = mpClientInterface->createAudioPatch(&patch, &afPatchHandle, delayMs); local
891 status_t status; local
1139 status_t status = outputDesc->start(); local
1367 status_t status = stopSource(outputDesc, stream, forceDeviceUpdate); local
1486 status_t status = NO_ERROR; local
1783 status_t status = inputDesc->open(&lConfig, device, address, local
1857 status_t status = SoundTrigger::listModules(nModules, &numModules); local
2036 status_t status = inputDesc->start(); local
2272 status_t status = NO_ERROR; local
3081 status_t status = mpClientInterface->createAudioPatch(&newPatch, local
3154 status_t status = mpClientInterface->releaseAudioPatch(patchDesc->mAfPatchHandle, 0); local
3231 status_t status = audioPortConfig->applyAudioPortConfig(config, &backupConfig); local
3385 status_t status = connectAudioSource(sourceDesc); local
3431 status_t status = outputDesc->start(); local
3483 status_t status = disconnectAudioSource(sourceDesc); local
3604 status_t status; local
3645 status_t status = desc->open(nullptr, device, address, local
3745 status_t status = setDeviceConnectionStateInt(AUDIO_DEVICE_OUT_HDMI, local
3764 status_t status = setDeviceConnectionStateInt(AUDIO_DEVICE_IN_HDMI, local
3834 status_t status = stopSource(swOutputDesc, stream, false); local
3972 status_t status = mEngine->initCheck(); local
4028 status_t status = outputDesc->open(nullptr, profileType, address, local
4086 status_t status = inputDesc->open(nullptr, local
4303 status_t status = desc->open(nullptr, device, address, local
4328 status_t status = desc->open(&config, device, address, AUDIO_STREAM_DEFAULT, local
4357 status_t status = dupOutputDesc->openDuplicating(mPrimaryOutput, desc, local
4508 status_t status = desc->open(nullptr, local
5270 status_t status = mpClientInterface->createAudioPatch(&patch, local
5328 status_t status = mpClientInterface->releaseAudioPatch(patchDesc->mAfPatchHandle, delayMs); local
5342 status_t status = NO_ERROR; local
5375 status_t status = mpClientInterface->createAudioPatch(&patch, local
5414 status_t status = mpClientInterface->releaseAudioPatch(patchDesc->mAfPatchHandle, 0); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp281 static int check_AudioSystem_Command(status_t status) argument
283 switch (status) {
356 int status = check_AudioSystem_Command(AudioSystem::setParameters(c_keyValuePairs8)); local
357 return (jint) status;
458 int status = check_AudioSystem_Command(AudioSystem::setDeviceConnectionState(static_cast <audio_devices_t>(device), local
463 return (jint) status;
481 int status = check_AudioSystem_Command(AudioSystem::handleDeviceConfigChange(static_cast <audio_devices_t>(device), local
485 return (jint) status;
1191 status_t status; local
1203 status
1262 status_t status; local
1393 status_t status = AudioSystem::releaseAudioPatch(handle); local
1417 status_t status; local
1589 status_t status = AudioSystem::setAudioPortConfig(&nAudioPortConfig); local
1733 status_t status; local
1818 status_t status = AudioSystem::getMicrophones(&microphones); local
1860 status_t status = AudioSystem::getSurroundFormats( local
1899 status_t status = AudioSystem::setSurroundFormatEnabled(audioFormatToNative(audioFormat), local
[all...]
/frameworks/base/core/java/android/app/
H A DDownloadManager.java126 * Current status of the download, as one of the STATUS_* constants.
131 * Provides more detail on the status of the download. Its meaning depends on the value of
135 * occurred. If an HTTP error occurred, this will hold the HTTP status code as defined in RFC
145 * status codes</a>
846 * Include only downloads with status matching any the given status flags.
1098 int status = cursor.getInt(cursor.getColumnIndexOrThrow(COLUMN_STATUS));
1099 if (DownloadManager.STATUS_SUCCESSFUL == status) {
1108 // downloaded file not found or its status is not 'successfully completed'
1136 // downloaded file not found or its status i
1543 getReason(int status) argument
1556 getPausedReason(int status) argument
1572 getErrorCode(int status) argument
1610 translateStatus(int status) argument
[all...]
/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.cpp108 status_t status = loadSurfaceComposerClient(); local
110 if (status != NO_ERROR) {
111 ALOGE("Couldn't create SurfaceComposerClient (%d)", status);
112 return status;
144 status = dispatchEvent(mIncrementIndex + mNumThreads);
146 if (status != NO_ERROR) {
148 return status;
158 return status;
163 status_t status = dispatchEvent(i); local
165 if (status !
[all...]
/frameworks/native/include/binder/
H A DParcel.h709 status_t status = this->readInt32(&size); local
711 if (status != OK) {
712 return status;
730 status = (this->*read_func)(&v);
732 if (status != OK) {
733 return status;
751 status_t status = readInt32(&size); local
754 if (status != OK || size < 0) {
755 return status;
761 status
777 status_t status = this->writeInt32(static_cast<int32_t>(val.size())); local
835 status_t status = readInt32(&size); local
858 status_t status = readInt32(&present); local
[all...]
/frameworks/native/libs/binder/include/binder/
H A DParcel.h709 status_t status = this->readInt32(&size); local
711 if (status != OK) {
712 return status;
730 status = (this->*read_func)(&v);
732 if (status != OK) {
733 return status;
751 status_t status = readInt32(&size); local
754 if (status != OK || size < 0) {
755 return status;
761 status
777 status_t status = this->writeInt32(static_cast<int32_t>(val.size())); local
835 status_t status = readInt32(&size); local
858 status_t status = readInt32(&present); local
[all...]
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp114 status_t status = Tokenizer::open(filename, &tokenizer); local
115 if (status) {
116 ALOGE("Error %d opening key character map file %s.", status, filename.string());
118 status = load(tokenizer, format, outMap);
121 return status;
129 status_t status = Tokenizer::fromContents(filename, contents, &tokenizer); local
130 if (status) {
131 ALOGE("Error %d opening key character map.", status);
133 status = load(tokenizer, format, outMap);
136 return status;
141 status_t status = OK; local
742 status_t status = parseType(); local
746 status_t status = parseMap(); local
750 status_t status = parseKey(); local
761 status_t status = parseKeyProperty(); local
947 status_t status = parseModifier(token, &metaState); local
985 status_t status = parseCharacterLiteral(&character); local
[all...]
/frameworks/base/core/java/android/net/
H A DIpSecManager.java214 int status = result.status;
215 switch (status) {
225 "Unknown status returned by IpSecService: " + status);
231 throw new RuntimeException("Invalid SPI returned by IpSecService: " + status);
236 "Invalid Resource ID returned by IpSecService: " + status);
562 switch (result.status) {
570 "Unknown status returned by IpSecService: " + result.status);
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaDescrambler.cpp61 Status *status,
210 Status *status,
237 [&status, &bytesWritten, &detailedError] (
240 *status = _status;
249 if (*status == Status::OK) {
253 // status seems OK but bytesWritten is invalid, we really
255 *status = Status::ERROR_CAS_UNKNOWN;
424 Status status; local
431 &status, &bytesWritten, &detailedError);
445 } else if (status !
202 descramble( uint32_t key, ssize_t totalLength, const hidl_vec<SubSample>& subSamples, const void *srcPtr, jint srcOffset, void *dstPtr, jint dstOffset, Status *status, uint32_t *bytesWritten, hidl_string *detailedError) argument
[all...]
/frameworks/native/cmds/dumpsys/
H A Ddumpsys.cpp250 status_t status = local
254 if (status == TIMED_OUT) {
264 bool dumpComplete = (status == OK);
375 status_t status = OK; local
399 status = -errno;
402 status = TIMED_OUT;
411 status = -errno;
421 status = -errno;
427 if ((status == TIMED_OUT) && (!asProto)) {
435 return status;
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DANQPParserTest.java171 * @param status Link status
181 private static byte[] getHSWanMetricsPayload(int status, boolean symmetric, boolean capped, argument
185 int wanInfo = status & HSWanMetricsElement.LINK_STATUS_MASK;
206 * @param status Status of the port
209 private static byte[] getHSConnectionCapabilityPayload(int protocol, int port, int status) { argument
215 stream.write((byte) status);
444 int status = HSWanMetricsElement.LINK_STATUS_UP;
453 HSWanMetricsElement expected = new HSWanMetricsElement(status, symmetric, capped,
456 byte[] data = getHSWanMetricsPayload(status, symmetri
[all...]
/frameworks/av/media/libstagefright/bqhelper/
H A DConversion.cpp250 status_t status = l->unflatten(constBuffer, size, constFds, numFds); local
255 return status == NO_ERROR;
770 status_t status = unflatten( local
773 if (status != NO_ERROR) {
780 return status;
833 status_t status = flatten( local
835 if (status != NO_ERROR) {
836 return status;
911 status_t status = unflatten( local
914 if (status !
947 status_t status = flatten(t.deltas[deltaIndex], buffer, size, fds, numFds); local
1089 status_t status = rect.unflatten(buffer, size); local
1123 status_t status = rect.flatten(buffer, size); local
1275 status_t status = flattenFence(hidl_handle(*nh), buffer, size, fds, numFds); local
1331 status_t status = unflattenFence(&(t->fence), nh, local
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp92 status_t status = NO_ERROR; local
102 return status;
123 status_t status = fx->initCheck(); local
124 if (status != NO_ERROR && status != ALREADY_EXISTS) {
140 return status;
147 status_t status = NO_ERROR; local
152 return status;
163 return status;
170 status_t status local
203 status_t status = NO_ERROR; local
236 status_t status = NO_ERROR; local
272 status_t status = fx->initCheck(); local
294 status_t status = NO_ERROR; local
[all...]
/frameworks/av/media/libaaudio/src/utility/
H A DAAudioUtilities.cpp430 status_t status; local
434 status = DEAD_OBJECT;
437 status = BAD_TYPE;
440 status = INVALID_OPERATION;
446 status = BAD_VALUE;
449 status = WOULD_BLOCK;
452 status = UNEXPECTED_NULL;
455 status = NOT_ENOUGH_DATA;
465 status = UNKNOWN_ERROR;
468 return status;
471 AAudioConvert_androidToAAudioResult(status_t status) argument
[all...]
/frameworks/base/services/core/java/com/android/server/power/
H A DShutdownThread.java466 int status = (int)((MAX_BROADCAST_TIME - delay) * 1.0 *
468 sInstance.setRebootProgress(status, null);
607 int status = (int)((timeout - delay) * 1.0 *
609 status += PACKAGE_MANAGER_STOP_PERCENT;
610 sInstance.setRebootProgress(status, null);
718 public void onProgress(int status) {
719 if (status >= 0 && status < 100) {
721 status = (int)(status * (100.
[all...]
/frameworks/native/libs/gui/
H A DBufferHubProducer.cpp622 auto status = queue_->TakeAsParcelable(); local
623 if (!status) {
626 status.GetErrorMessage().c_str());
630 *out_parcelable = status.take();
636 auto status = queue_->AllocateBuffer(width, height, layer_count, uint32_t(format), usage); local
637 if (!status) {
639 status.GetErrorMessage().c_str());
643 size_t slot = status.get();
655 auto status = queue_->RemoveBuffer(slot); local
656 if (!status) {
679 auto status = queue_->FreeAllBuffers(); local
[all...]
/frameworks/av/media/libaaudio/src/binding/
H A DIAAudioService.cpp247 status_t status = NO_ERROR; local
292 status = data.readInt32(&streamHandle);
293 if (status != NO_ERROR) {
294 return status;
301 status = reply->writeInt32(result);
302 if (status != NO_ERROR) {
303 return status;
/frameworks/native/libs/sensor/
H A DISensorServer.cpp242 status_t status; local
243 if ((status = data.readNullableStrongBinder(&unusedCallback)) != NO_ERROR) {
244 return status;
246 if ((status = data.readNullableStrongBinder(&resultReceiver)) != NO_ERROR) {
247 return status;
249 status = shellCommand(in, out, err, args);
251 resultReceiver->send(status);
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp586 ALOGE("AMediaCodec_queueInputBuffer returned status %d, short decode",
595 int status = AMediaCodec_dequeueOutputBuffer(codec, &info, 1); local
596 ALOGV("dequeueoutput returned: %d", status);
597 if (status >= 0) {
604 uint8_t *buf = AMediaCodec_getOutputBuffer(codec, status, NULL /* out_size */);
618 codec, status, false /* render */);
621 ALOGE("AMediaCodec_releaseOutputBuffer returned status %d, short decode",
629 } else if (status == AMEDIACODEC_INFO_OUTPUT_BUFFERS_CHANGED) {
631 } else if (status == AMEDIACODEC_INFO_OUTPUT_FORMAT_CHANGED) {
635 } else if (status
668 status_t status; local
721 status_t status = NO_ERROR; local
[all...]
/frameworks/base/tests/net/java/com/android/server/
H A DIpSecServiceTest.java163 assertEquals(IpSecManager.Status.OK, udpEncapResp.status);
210 assertEquals(IpSecManager.Status.OK, udpEncapResp.status);
232 assertEquals(IpSecManager.Status.OK, udpEncapResp.status);
252 assertEquals(IpSecManager.Status.OK, udpEncapResp.status);
280 assertEquals(IpSecManager.Status.OK, udpEncapResp.status);
286 assertEquals(IpSecManager.Status.RESOURCE_UNAVAILABLE, testUdpEncapResp.status);
464 if (IpSecManager.Status.OK != newUdpEncapSocket.status) {
479 assertEquals(IpSecManager.Status.RESOURCE_UNAVAILABLE, extraUdpEncapSocket.status);
489 assertEquals(IpSecManager.Status.OK, extraUdpEncapSocket.status);
523 if (IpSecManager.Status.OK != newSpi.status) {
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNetworkHistory.java145 NetworkSelectionStatus status = config.getNetworkSelectionStatus();
159 + config.defaultGwMacAddress + " Network Selection-status: "
160 + status.getNetworkStatusString()
162 + " choice:" + status.getConnectChoice()
164 + " status:" + config.status
166 + " hasEverConnected: " + status.getHasEverConnected());
252 + status.getNetworkSelectionStatus() + NL);
254 + status.getNetworkSelectionDisableReason() + NL);
256 if (status
[all...]
/frameworks/av/media/libaudiohal/2.0/
H A DEffectHalHidl.cpp173 ALOGE_IF(!tempStatusMQ, "Failed to obtain status message queue for effects");
192 status_t status;
193 if (!mStatusMQ && (status = prepareForProcessing()) != OK) {
194 return status;
196 if (needToResetBuffers() && (status = setProcessBuffers()) != OK) {
197 return status;
249 status_t status; local
254 status = s;
255 if (status == 0) {
262 return ret.isOk() ? status
[all...]

Completed in 310 milliseconds

<<11121314151617181920>>