Searched refs:status (Results 76 - 100 of 995) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_media_AudioErrors.h23 // status codes used by JAVA APIs. Translation from native error codes is done by
38 static inline jint nativeToJavaStatus(status_t status) { argument
39 switch (status) {
H A Dandroid_view_InputEventReceiver.cpp125 status_t status = mInputConsumer.sendFinishedSignal(seq, handled); local
126 if (status) {
127 if (status == WOULD_BLOCK) {
141 ALOGW("Failed to send finished signal on channel '%s'. status=%d",
142 getInputChannelName().c_str(), status);
144 return status;
173 status_t status = consumeEvents(env, false /*consumeBatches*/, -1, NULL); local
175 return status == OK || status == NO_MEMORY ? 1 : 0;
181 status_t status local
240 status_t status = mInputConsumer.consume(&mInputEventFactory, local
356 status_t status = receiver->initialize(); local
379 status_t status = receiver->finishInputEvent(seq, handled); local
392 status_t status = receiver->consumeEvents(env, true /*consumeBatches*/, frameTimeNanos, local
[all...]
/frameworks/base/telephony/java/android/telephony/mbms/
H A DIDownloadStatusListener.aidl23 * The optional interface used by download clients to track download status.
28 void onStatusUpdated(in DownloadRequest request, in FileInfo fileInfo, int status);
/frameworks/base/wifi/java/android/net/wifi/rtt/
H A DIRttCallback.aidl31 void onRangingFailure(int status);
/frameworks/av/media/utils/
H A DISchedulingPolicyService.cpp51 status_t status = remote()->transact(REQUEST_PRIORITY_TRANSACTION, data, &reply, flags); local
52 if (status != NO_ERROR) {
53 return status;
71 status_t status = remote()->transact(REQUEST_CPUSET_BOOST, data, &reply, 0); local
72 if (status != NO_ERROR) {
73 return status;
/frameworks/native/services/media/arcvideobridge/
H A DIArcVideoBridge.cpp42 status_t status = remote()->transact( local
44 if (status != 0) {
45 ALOGE("transact failed: %d", status);
55 status_t status = remote()->transact(HOST_VERSION, data, &reply, 0); local
56 if (status != 0) {
57 ALOGE("transact failed: %d", status);
/frameworks/av/drm/mediacas/plugins/clearkey/
H A Decm.cpp48 status_t status = ecm_generator::DecodeECMClearFields( local
50 if (status != OK) {
51 ALOGE("DecodeECMClearFields failed with status %d", status);
52 return status;
72 status_t status = ecm_generator::DecodeECM( local
74 if (status != OK) {
75 ALOGE("DecodeECM failed with status %d", status);
76 return status;
110 status_t status = mutable_ecm()->Parse(ecm_buffer); local
178 status_t status = mutable_descriptor(i)->Parse(descriptor_buffer); local
[all...]
H A DClearKeyFetcher.cpp59 status_t status = container.Parse(buffer); local
60 if (status != OK) {
61 return status;
98 status = license_fetcher_->FetchLicense(*asset_id, &asset_);
99 if (status != OK) {
101 return status;
108 status = container.mutable_descriptor(i)->mutable_ecm()->Decrypt(
110 if (status != OK) {
113 return status;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvop.cpp84 PV_STATUS status; local
103 status = BitstreamShowBits32HC(stream, &startCode);
144 status = BitstreamShowBits32HC(stream, &tmpvar);
148 status = DecodeUserData(stream);
149 if (status != PV_SUCCESS) return PV_FAIL;
158 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */
159 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */
210 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */
211 if (status != PV_SUCCESS) return PV_FAIL; /* breaks the loop */
220 status
810 PV_STATUS status = PV_SUCCESS; local
1020 PV_STATUS status = PV_SUCCESS; local
1538 PV_STATUS status; local
[all...]
H A Dbitstream.cpp177 PV_STATUS status = PV_SUCCESS; local
182 status = BitstreamFillCache(stream);
185 return status;
195 PV_STATUS status = PV_SUCCESS; local
200 status = BitstreamFillCache(stream);
203 return status;
217 PV_STATUS status = PV_SUCCESS; local
223 status = BitstreamFillCache(stream);
227 return status;
240 PV_STATUS status local
259 PV_STATUS status = PV_SUCCESS; local
273 PV_STATUS status; local
288 PV_STATUS status = PV_SUCCESS; local
357 PV_STATUS status = PV_SUCCESS; local
424 PV_STATUS status = PV_SUCCESS; local
443 PV_STATUS status = PV_SUCCESS; local
462 PV_STATUS status = PV_SUCCESS; local
605 PV_STATUS status = PV_SUCCESS; local
634 PV_STATUS status = PV_SUCCESS; local
684 PV_STATUS status = PV_SUCCESS; local
708 PV_STATUS status = PV_SUCCESS; local
787 PV_STATUS status; local
878 PV_STATUS status; local
952 PV_STATUS status; local
[all...]
/frameworks/minikin/libs/minikin/
H A DBidiUtils.cpp87 UErrorCode status = U_ZERO_ERROR;
89 ubidi_setClassCallback(mBidi.get(), emojiBidiOverride, nullptr, nullptr, nullptr, &status);
90 if (!U_SUCCESS(status)) {
91 ALOGE("error setting bidi callback function, status = %d", status);
97 bidiReq, nullptr, &status);
98 if (!U_SUCCESS(status)) {
99 ALOGE("error calling ubidi_setPara, status = %d", status);
104 const ssize_t rc = ubidi_countRuns(mBidi.get(), &status);
[all...]
/frameworks/base/cmds/incidentd/src/
H A Dincidentd_util.cpp127 static status_t statusCode(int status) { argument
128 if (WIFSIGNALED(status)) {
129 VLOG("return by signal: %s", strerror(WTERMSIG(status)));
130 return -WTERMSIG(status);
131 } else if (WIFEXITED(status) && WEXITSTATUS(status) > 0) {
132 VLOG("return by exit: %s", strerror(WEXITSTATUS(status)));
133 return -WEXITSTATUS(status);
139 int status; local
142 if (waitpid(pid, &status,
147 int status; local
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DAsyncRunner.java39 public int status = RESULT_UNKNOWN; field in class:AsyncRunner.RunnerResult
67 result.status = RESULT_RUNNING;
68 while (!isCancelled() && result.status == RESULT_RUNNING) {
70 result.status = runner[0].determinePostRunState();
71 if (result.status == GraphRunner.RESULT_SLEEPING) {
73 result.status = RESULT_RUNNING;
80 result.status = RESULT_STOPPED;
84 result.status = RESULT_ERROR;
92 result.status = RESULT_ERROR;
111 result.status
[all...]
/frameworks/av/drm/libmediadrm/
H A DIDrm.cpp75 status_t status = remote()->transact(INIT_CHECK, data, &reply); local
76 if (status != OK) {
77 return status;
88 status_t status = remote()->transact(IS_CRYPTO_SUPPORTED, data, &reply); local
89 if (status != OK) {
90 ALOGE("isCryptoSchemeSupported: binder call failed: %d", status);
103 status_t status = remote()->transact(CREATE_PLUGIN, data, &reply); local
104 if (status != OK) {
105 ALOGE("createPlugin: binder call failed: %d", status);
106 return status;
115 status_t status = remote()->transact(DESTROY_PLUGIN, data, &reply); local
129 status_t status = remote()->transact(OPEN_SESSION, data, &reply); local
143 status_t status = remote()->transact(CLOSE_SESSION, data, &reply); local
172 status_t status = remote()->transact(GET_KEY_REQUEST, data, &reply); local
192 status_t status = remote()->transact(PROVIDE_KEY_RESPONSE, data, &reply); local
207 status_t status = remote()->transact(REMOVE_KEYS, data, &reply); local
222 status_t status = remote()->transact(RESTORE_KEYS, data, &reply); local
236 status_t status = remote()->transact(QUERY_KEY_STATUS, data, &reply); local
260 status_t status = remote()->transact(GET_PROVISION_REQUEST, data, &reply); local
278 status_t status = remote()->transact(PROVIDE_PROVISION_RESPONSE, data, &reply); local
293 status_t status = remote()->transact(GET_SECURE_STOPS, data, &reply); local
312 status_t status = remote()->transact(GET_SECURE_STOP_IDS, data, &reply); local
332 status_t status = remote()->transact(GET_SECURE_STOP, data, &reply); local
346 status_t status = remote()->transact(RELEASE_SECURE_STOPS, data, &reply); local
359 status_t status = remote()->transact(REMOVE_SECURE_STOP, data, &reply); local
371 status_t status = remote()->transact(REMOVE_ALL_SECURE_STOPS, data, &reply); local
384 status_t status = remote()->transact(GET_PROPERTY_STRING, data, &reply); local
403 status_t status = remote()->transact(GET_HDCP_LEVELS, data, &reply); local
422 status_t status = remote()->transact(GET_NUMBER_OF_SESSIONS, data, &reply); local
443 status_t status = remote()->transact(GET_SECURITY_LEVEL, data, &reply); local
457 status_t status = remote()->transact(GET_PROPERTY_BYTE_ARRAY, data, &reply); local
472 status_t status = remote()->transact(SET_PROPERTY_STRING, data, &reply); local
487 status_t status = remote()->transact(SET_PROPERTY_BYTE_ARRAY, data, &reply); local
502 status_t status = remote()->transact(GET_METRICS, data, &reply); local
532 status_t status = remote()->transact(SET_CIPHER_ALGORITHM, data, &reply); local
546 status_t status = remote()->transact(SET_MAC_ALGORITHM, data, &reply); local
566 status_t status = remote()->transact(ENCRYPT, data, &reply); local
588 status_t status = remote()->transact(DECRYPT, data, &reply); local
608 status_t status = remote()->transact(SIGN, data, &reply); local
630 status_t status = remote()->transact(VERIFY, data, &reply); local
651 status_t status = remote()->transact(SIGN_RSA, data, &reply); local
664 status_t status = remote()->transact(SET_LISTENER, data, &reply); local
[all...]
/frameworks/av/media/libaudioclient/
H A DIAudioPolicyService.cpp230 status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply); local
231 if (status != NO_ERROR) {
232 return status;
234 status = (status_t)reply.readInt32();
235 if (status != NO_ERROR) {
236 return status;
245 return status;
325 status_t status = remote()->transact(GET_INPUT_FOR_ATTR, data, &reply); local
326 if (status != NO_ERROR) {
327 return status;
347 status_t status = static_cast <status_t> (reply.readInt32()); local
513 status_t status = remote()->transact(QUERY_DEFAULT_PRE_PROCESSING, data, &reply); local
552 status_t status = remote()->transact(LIST_AUDIO_PORTS, data, &reply); local
577 status_t status = remote()->transact(GET_AUDIO_PORT, data, &reply); local
596 status_t status = remote()->transact(CREATE_AUDIO_PATCH, data, &reply); local
610 status_t status = remote()->transact(RELEASE_AUDIO_PATCH, data, &reply); local
629 status_t status = remote()->transact(LIST_AUDIO_PATCHES, data, &reply); local
654 status_t status = remote()->transact(SET_AUDIO_PORT_CONFIG, data, &reply); local
686 status_t status = remote()->transact(ACQUIRE_SOUNDTRIGGER_SESSION, data, &reply); local
704 status_t status = remote()->transact(RELEASE_SOUNDTRIGGER_SESSION, data, &reply); local
715 status_t status = remote()->transact(GET_PHONE_STATE, data, &reply); local
747 status_t status = remote()->transact(REGISTER_POLICY_MIXES, data, &reply); local
765 status_t status = remote()->transact(START_AUDIO_SOURCE, data, &reply); local
782 status_t status = remote()->transact(STOP_AUDIO_SOURCE, data, &reply); local
795 status_t status = remote()->transact(SET_MASTER_MONO, data, &reply); local
810 status_t status = remote()->transact(GET_MASTER_MONO, data, &reply); local
828 status_t status = remote()->transact(GET_STREAM_VOLUME_DB, data, &reply); local
849 status_t status = remote()->transact(GET_SURROUND_FORMATS, data, &reply); local
876 status_t status = remote()->transact(SET_SURROUND_FORMAT_ENABLED, data, &reply); local
1064 status_t status = getOutputForAttr(hasAttributes ? &attr : NULL, local
1125 status_t status = getInputForAttr(&attr, &input, session, pid, uid, local
1141 status_t status = startInput(portId, &silenced); local
1189 status_t status = getStreamVolumeIndex(stream, &index, device); local
1289 status_t status = queryDefaultPreProcessing(audioSession, descriptors, &retCount); local
1331 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation); local
1352 status_t status = getAudioPort(&port); local
1368 status_t status = createAudioPatch(&patch, &handle); local
1380 status_t status = releaseAudioPatch(handle); local
1401 status_t status = listAudioPatches(&numPatches, patches, &generation); local
1420 status_t status = setAudioPortConfig(&config); local
1446 status_t status = acquireSoundTriggerSession(&session, &ioHandle, &device); local
1461 status_t status = releaseSoundTriggerSession(session); local
1486 status_t status = registerPolicyMixes(mixes, registration); local
1500 status_t status = startAudioSource(&source, &attributes, &handle); local
1509 status_t status = stopAudioSource(handle); local
1517 status_t status = setMasterMono(mono); local
1525 status_t status = getMasterMono(&mono); local
1562 status_t status = getSurroundFormats( local
1583 status_t status = setSurroundFormatEnabled(audioFormat, enabled); local
[all...]
H A DIAudioFlinger.cpp106 status_t *status)
112 if (status == nullptr) {
121 *status = DEAD_OBJECT;
124 *status = reply.readInt32();
125 if (*status != NO_ERROR) {
126 ALOGE("createTrack returned error %d", *status);
131 ALOGE("createTrack returned an NULL IAudioTrack with status OK");
132 *status = DEAD_OBJECT;
141 status_t *status)
147 if (status
104 createTrack(const CreateTrackInput& input, CreateTrackOutput& output, status_t *status) argument
139 createRecord(const CreateRecordInput& input, CreateRecordOutput& output, status_t *status) argument
381 status_t status = remote()->transact(OPEN_OUTPUT, data, &reply); local
457 status_t status = remote()->transact(OPEN_INPUT, data, &reply); local
507 status_t status = reply.readInt32(); local
526 status_t status = remote()->transact(GET_INPUT_FRAMES_LOST, data, &reply); local
538 status_t status = remote()->transact(NEW_AUDIO_UNIQUE_ID, data, &reply); local
568 status_t status = remote()->transact(QUERY_NUM_EFFECTS, data, &reply); local
590 status_t status = remote()->transact(QUERY_EFFECT, data, &reply); local
611 status_t status = remote()->transact(GET_EFFECT_DESCRIPTOR, data, &reply); local
623 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, audio_session_t sessionId, const String16& opPackageName, pid_t pid, status_t *status, int *id, int *enabled) argument
735 status_t status = remote()->transact(LIST_AUDIO_PORTS, data, &reply); local
752 status_t status = remote()->transact(GET_AUDIO_PORT, data, &reply); local
770 status_t status = remote()->transact(CREATE_AUDIO_PATCH, data, &reply); local
783 status_t status = remote()->transact(RELEASE_AUDIO_PATCH, data, &reply); local
798 status_t status = remote()->transact(LIST_AUDIO_PATCHES, data, &reply); local
815 status_t status = remote()->transact(SET_AUDIO_PORT_CONFIG, data, &reply); local
826 status_t status = remote()->transact(GET_AUDIO_HW_SYNC_FOR_SESSION, data, &reply); local
843 status_t status = remote()->transact(FRAME_COUNT_HAL, data, &reply); local
853 status_t status = remote()->transact(GET_MICROPHONES, data, &reply); local
966 status_t status; local
991 status_t status; local
1145 status_t status = openOutput(module, &output, &config, local
1192 status_t status = openInput(module, &input, &config, local
1224 status_t status = getRenderPosition(&halFrames, &dspFrames, output); local
1260 status_t status = queryNumberEffects(&numEffects); local
1270 status_t status = queryEffect(data.readInt32(), &desc); local
1282 status_t status = getEffectDescriptor(&uuid, &desc); local
1302 status_t status = NO_ERROR; local
1342 const status_t status = local
1364 status_t status = listAudioPorts(&numPorts, ports); local
1382 status_t status = getAudioPort(&port); local
1397 status_t status = createAudioPatch(&patch, &handle); local
1408 status_t status = releaseAudioPatch(handle); local
1427 status_t status = listAudioPatches(&numPatches, patches); local
1443 status_t status = setAudioPortConfig(&config); local
1465 status_t status = getMicrophones(&microphones); local
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dipc_helper_tests.cpp126 auto status = SendAll(&sender_, kSocket, IntToConstPtr(kPtr), 100); local
127 EXPECT_TRUE(status);
140 auto status = SendAll(&sender_, kSocket, IntToConstPtr(kPtr), 100); local
141 EXPECT_TRUE(status);
149 auto status = SendAll(&sender_, kSocket, IntToConstPtr(kPtr), 100); local
150 EXPECT_TRUE(status);
157 auto status = SendAll(&sender_, kSocket, IntToConstPtr(kPtr), 100); local
158 ASSERT_FALSE(status);
159 EXPECT_EQ(EIO, status.error());
169 auto status local
180 auto status = RecvAll(&receiver_, kSocket, IntToPtr(kPtr), 100); local
192 auto status = RecvAll(&receiver_, kSocket, IntToPtr(kPtr), 100); local
201 auto status = RecvAll(&receiver_, kSocket, IntToPtr(kPtr), 100); local
209 auto status = RecvAll(&receiver_, kSocket, IntToPtr(kPtr), 100); local
220 auto status = RecvAll(&receiver_, kSocket, IntToPtr(kPtr), 100); local
230 auto status = SendMsgAll(&sender_, kSocket, &msg_); local
245 auto status = SendMsgAll(&sender_, kSocket, &msg_); local
254 auto status = SendMsgAll(&sender_, kSocket, &msg_); local
270 auto status = SendMsgAll(&sender_, kSocket, &msg_); local
278 auto status = SendMsgAll(&sender_, kSocket, &msg_); local
288 auto status = SendMsgAll(&sender_, kSocket, &msg_); local
299 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local
315 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local
325 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local
341 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local
349 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local
360 auto status = RecvMsgAll(&receiver_, kSocket, &msg_); local
[all...]
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp56 status_t status = mProvider->getNextBuffer(&mBuffer); local
57 if (status != OK) {
58 return status == NOT_ENOUGH_DATA ? (ssize_t) WOULD_BLOCK : (ssize_t) status;
102 status_t status = mProvider->getNextBuffer(&mBuffer); local
103 if (CC_LIKELY(status == OK)) {
110 if (CC_LIKELY(status == NOT_ENOUGH_DATA)) {
111 status = WOULD_BLOCK;
113 return accumulator > 0 ? accumulator : (ssize_t) status;
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DSurfaceCompositionTest.java71 Bundle status = new Bundle();
83 // Send status only for TRANSLUCENT format.
85 status.putDouble(KEY_SURFACE_COMPOSITION_PERFORMANCE, score.mSurfaces);
87 status.putDouble(KEY_SURFACE_COMPOSITION_BANDWITH, score.mBandwidth /
91 getInstrumentation().sendStatus(Activity.RESULT_OK, status);
96 Bundle status = new Bundle();
107 // Send status only for TRANSLUCENT format.
109 status.putDouble(KEY_SURFACE_ALLOCATION_PERFORMANCE_MEDIAN, score.mMedian);
110 status.putDouble(KEY_SURFACE_ALLOCATION_PERFORMANCE_MIN, score.mMin);
111 status
[all...]
/frameworks/native/libs/vr/libbufferhub/
H A Ddetached_buffer.cpp24 auto status = client_.InvokeRemoteMethod<DetachedBufferRPC::Create>( local
26 if (!status) {
29 status.GetErrorMessage().c_str());
30 client_.Close(-status.error());
54 auto status = client_.InvokeRemoteMethod<DetachedBufferRPC::Import>(); local
55 if (!status) {
57 status.GetErrorMessage().c_str());
58 return -status.error();
61 BufferDescription<LocalHandle> buffer_desc = status.take();
/frameworks/base/core/java/android/net/
H A DIpSecSpiResponse.java22 * This class is used to return an SPI and corresponding status from the IpSecService to an
31 public final int status; field in class:IpSecSpiResponse
42 out.writeInt(status);
48 status = inStatus;
55 throw new IllegalArgumentException("Valid status implies other args must be provided");
57 status = inStatus;
63 status = in.readInt();
H A DIpSecTunnelInterfaceResponse.java22 * This class is used to return an IpSecTunnelInterface resource Id and and corresponding status
32 public final int status; field in class:IpSecTunnelInterfaceResponse
42 out.writeInt(status);
49 throw new IllegalArgumentException("Valid status implies other args must be provided");
51 status = inStatus;
57 status = inStatus;
63 status = in.readInt();
/frameworks/native/libs/vr/libpdx_default_transport/private/pdx/default_transport/
H A Dservice_utility.h9 #include <pdx/status.h>
70 auto status = utility->ReloadSystemProperties(); local
71 if (!status) {
75 fpath, status.GetErrorMessage().c_str());
76 return kIgnoreErrors ? 0 : -status.error();
/frameworks/rs/cpp/
H A DrsCppUtils.cpp86 int status = 0; local
87 pid_t w = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0));
94 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) {
98 ALOGE("Child process \"%s\" terminated with status %d", exe, status);
/frameworks/rs/
H A DrsCppUtils.cpp86 int status = 0; local
87 pid_t w = TEMP_FAILURE_RETRY(waitpid(pid, &status, 0));
94 if (WIFEXITED(status) && WEXITSTATUS(status) == 0) {
98 ALOGE("Child process \"%s\" terminated with status %d", exe, status);

Completed in 3106 milliseconds

1234567891011>>