Searched refs:status (Results 51 - 75 of 521) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/hdmi/
H A DHdmiPlaybackClient.java49 * Listener used by the client to get display device status.
53 * Called when display device status is reported.
55 * @param status display device status. It should be one of the following values.
64 public void onComplete(int status); argument
93 * Gets the status of display device connected through HDMI bus.
118 public void onComplete(int status) {
119 callback.onComplete(status);
/frameworks/base/libs/hwui/
H A DImage.cpp45 GLenum status = GL_NO_ERROR; local
46 while ((status = glGetError()) != GL_NO_ERROR) {
47 ALOGW("Error creating image (%#x)", status);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DPowerHAL.cpp42 status_t status = mPowerManager->powerHint(POWER_HINT_VSYNC, enabled ? 1 : 0); local
43 if(status == DEAD_OBJECT) {
46 return status;
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp214 status_t status = remote()->transact(GET_OUTPUT_FOR_ATTR, data, &reply); local
215 if (status != NO_ERROR) {
216 return status;
218 status = (status_t)reply.readInt32();
219 if (status != NO_ERROR) {
220 return status;
226 return status;
291 status_t status = remote()->transact(GET_INPUT_FOR_ATTR, data, &reply); local
292 if (status != NO_ERROR) {
293 return status;
479 status_t status = remote()->transact(QUERY_DEFAULT_PRE_PROCESSING, data, &reply); local
518 status_t status = remote()->transact(LIST_AUDIO_PORTS, data, &reply); local
543 status_t status = remote()->transact(GET_AUDIO_PORT, data, &reply); local
562 status_t status = remote()->transact(CREATE_AUDIO_PATCH, data, &reply); local
576 status_t status = remote()->transact(RELEASE_AUDIO_PATCH, data, &reply); local
595 status_t status = remote()->transact(LIST_AUDIO_PATCHES, data, &reply); local
620 status_t status = remote()->transact(SET_AUDIO_PORT_CONFIG, data, &reply); local
644 status_t status = remote()->transact(ACQUIRE_SOUNDTRIGGER_SESSION, data, &reply); local
662 status_t status = remote()->transact(RELEASE_SOUNDTRIGGER_SESSION, data, &reply); local
673 status_t status = remote()->transact(GET_PHONE_STATE, data, &reply); local
705 status_t status = remote()->transact(REGISTER_POLICY_MIXES, data, &reply); local
818 status_t status = getOutputForAttr(hasAttributes ? &attr : NULL, local
871 status_t status = getInputForAttr(&attr, &input, session, local
933 status_t status = getStreamVolumeIndex(stream, &index, device); local
1027 status_t status = queryDefaultPreProcessing(audioSession, descriptors, &retCount); local
1061 status_t status = listAudioPorts(role, type, &numPorts, ports, &generation); local
1080 status_t status = getAudioPort(&port); local
1094 status_t status = createAudioPatch(&patch, &handle); local
1106 status_t status = releaseAudioPatch(handle); local
1119 status_t status = listAudioPatches(&numPatches, patches, &generation); local
1137 status_t status = setAudioPortConfig(&config); local
1157 status_t status = acquireSoundTriggerSession(&session, &ioHandle, &device); local
1172 status_t status = releaseSoundTriggerSession(session); local
1197 status_t status = registerPolicyMixes(mixes, registration); local
[all...]
H A DIAudioFlinger.cpp106 status_t *status)
159 ALOGE("createTrack returned an IAudioTrack but with status %d", lStatus);
164 if (status != NULL) {
165 *status = lStatus;
182 status_t *status)
246 "or buffers but with status %d", lStatus);
255 if (status != NULL) {
256 *status = lStatus;
456 status_t status = remote()->transact(OPEN_OUTPUT, data, &reply); local
457 if (status !
94 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 tid, int *sessionId, int clientUid, status_t *status) argument
170 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t *pFrameCount, track_flags_t *flags, pid_t tid, int *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status) argument
532 status_t status = remote()->transact(OPEN_INPUT, data, &reply); local
582 status_t status = reply.readInt32(); local
601 status_t status = remote()->transact(GET_INPUT_FRAMES_LOST, data, &reply); local
612 status_t status = remote()->transact(NEW_AUDIO_SESSION_ID, data, &reply); local
642 status_t status = remote()->transact(QUERY_NUM_EFFECTS, data, &reply); local
664 status_t status = remote()->transact(QUERY_EFFECT, data, &reply); local
685 status_t status = remote()->transact(GET_EFFECT_DESCRIPTOR, data, &reply); local
697 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& client, int32_t priority, audio_io_handle_t output, int sessionId, status_t *status, int *id, int *enabled) argument
801 status_t status = remote()->transact(LIST_AUDIO_PORTS, data, &reply); local
818 status_t status = remote()->transact(GET_AUDIO_PORT, data, &reply); local
836 status_t status = remote()->transact(CREATE_AUDIO_PATCH, data, &reply); local
849 status_t status = remote()->transact(RELEASE_AUDIO_PATCH, data, &reply); local
864 status_t status = remote()->transact(LIST_AUDIO_PATCHES, data, &reply); local
881 status_t status = remote()->transact(SET_AUDIO_PORT_CONFIG, data, &reply); local
892 status_t status = remote()->transact(GET_AUDIO_HW_SYNC, data, &reply); local
925 status_t status; local
958 status_t status; local
1098 status_t status = openOutput(module, &output, &config, local
1143 status_t status = openInput(module, &input, &config, local
1175 status_t status = getRenderPosition(&halFrames, &dspFrames, output); local
1211 status_t status = queryNumberEffects(&numEffects); local
1221 status_t status = queryEffect(data.readInt32(), &desc); local
1233 status_t status = getEffectDescriptor(&uuid, &desc); local
1248 status_t status; local
1296 status_t status = listAudioPorts(&num_ports, ports); local
1309 status_t status = getAudioPort(&port); local
1322 status_t status = createAudioPatch(&patch, &handle); local
1333 status_t status = releaseAudioPatch(handle); local
1343 status_t status = listAudioPatches(&num_patches, patches); local
1356 status_t status = setAudioPortConfig(&config); local
[all...]
H A DIEffect.cpp87 status_t status = remote()->transact(COMMAND, data, &reply); local
88 if (status != NO_ERROR) {
91 return status;
94 status = reply.readInt32();
100 return status;
117 status_t status = remote()->transact(GET_CBLK, data, &reply); local
118 if (status == NO_ERROR) {
166 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); local
167 reply->writeInt32(status);
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dresidual.cpp22 AVCEnc_Status status = AVCENC_SUCCESS; local
58 status = BitstreamWriteBits(stream, 32, code);
67 status = BitstreamWriteBits(stream, 16, code);
74 if (status != AVCENC_SUCCESS) /* check only once per line */
75 return status;
91 status = BitstreamWriteBits(stream, 32, code);
100 status = BitstreamWriteBits(stream, 16, code);
108 if (status != AVCENC_SUCCESS) /* check only once per line */
109 return status;
124 status
147 AVCEnc_Status status = AVCENC_SUCCESS; local
[all...]
/frameworks/base/core/java/android/os/storage/
H A DIObbActionListener.java74 int status;
75 status = data.readInt();
76 this.onObbResult(filename, nonce, status);
104 * @param returnCode status of the operation
106 public void onObbResult(String filename, int nonce, int status) argument
114 _data.writeInt(status);
133 * @param status status code as defined in {@link OnObbStateChangeListener}
135 public void onObbResult(String filename, int nonce, int status) throws RemoteException; argument
/frameworks/base/core/jni/
H A Dandroid_text_StaticLayout.cpp35 UErrorCode status = U_ZERO_ERROR; local
36 mUText = utext_openUChars(NULL, mChars.get(), length, &status);
41 mBreakIterator->setText(mUText, status);
70 UErrorCode status = U_ZERO_ERROR; local
71 BreakIterator* it = BreakIterator::createLineInstance(icuLocale.locale(), status);
72 if (!U_SUCCESS(status) || it == NULL) {
H A Dandroid_view_InputEventSender.cpp115 status_t status = mInputPublisher.publishKeyEvent(publishedSeq, local
119 if (status) {
120 ALOGW("Failed to send key event on channel '%s'. status=%d",
121 getInputChannelName(), status);
122 return status;
136 status_t status = mInputPublisher.publishMotionEvent(publishedSeq, local
144 if (status) {
145 ALOGW("Failed to send motion event sample on channel '%s'. status=%d",
146 getInputChannelName(), status);
147 return status;
173 status_t status = receiveFinishedSignals(env); local
188 status_t status = mInputPublisher.receiveFinishedSignal(&publishedSeq, &handled); local
250 status_t status = sender->initialize(); local
275 status_t status = sender->sendKeyEvent(seq, &event); local
284 status_t status = sender->sendMotionEvent(seq, event); local
[all...]
H A Dandroid_text_AndroidBidi.cpp39 UErrorCode status = U_ZERO_ERROR; local
40 UBiDi* bidi = ubidi_openSized(n, 0, &status);
41 ubidi_setPara(bidi, chs, n, dir, NULL, &status);
42 if (U_SUCCESS(status)) {
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pUpnpServiceResponse.java75 * @param status status code
80 protected WifiP2pUpnpServiceResponse(int status, argument
83 status, transId, dev, data);
123 sbuf.append(" status:").append(Status.toString(mStatus));
139 * @param status status code.
146 static WifiP2pUpnpServiceResponse newInstance(int status, argument
148 if (status != WifiP2pServiceResponse.Status.SUCCESS) {
149 return new WifiP2pUpnpServiceResponse(status, transI
[all...]
/frameworks/native/libs/input/tests/
H A DInputPublisherAndConsumer_test.cpp71 status_t status; local
85 status = mPublisher->publishKeyEvent(seq, deviceId, source, action, flags,
87 ASSERT_EQ(OK, status)
92 status = mConsumer->consume(&mEventFactory, true /*consumeBatches*/, -1, &consumeSeq, &event);
93 ASSERT_EQ(OK, status)
114 status = mConsumer->sendFinishedSignal(seq, true);
115 ASSERT_EQ(OK, status)
120 status = mPublisher->receiveFinishedSignal(&finishedSeq, &handled);
121 ASSERT_EQ(OK, status)
130 status_t status; local
253 status_t status; local
265 status_t status; local
[all...]
/frameworks/base/libs/hwui/tests/
H A DTestContext.cpp31 status_t status = SurfaceComposerClient::getDisplayInfo(dtoken, &gDisplay); local
32 LOG_ALWAYS_FATAL_IF(status, "Failed to get display info\n");
/frameworks/base/location/java/android/location/
H A DILocationListener.aidl29 void onStatusChanged(String provider, int status, in Bundle extras);
H A DLocationListener.java47 * Called when the provider status changes. This method is called when
53 * @param status {@link LocationProvider#OUT_OF_SERVICE} if the
60 * status variables.
70 void onStatusChanged(String provider, int status, Bundle extras); argument
/frameworks/wilhelm/src/itf/
H A DIEnvironmentalReverb.c59 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
61 result = android_fx_statusToResult(status);
86 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
88 result = android_fx_statusToResult(status);
120 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
122 result = android_fx_statusToResult(status);
148 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
150 result = android_fx_statusToResult(status);
179 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
181 result = android_fx_statusToResult(status);
207 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
238 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
266 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
299 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
327 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
358 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
386 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
419 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
447 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
478 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
506 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
537 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
565 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
596 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
624 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
680 android::status_t status = android_erev_setParam(thiz->mEnvironmentalReverbEffect, local
708 android::status_t status = android_erev_getParam(thiz->mEnvironmentalReverbEffect, local
[all...]
/frameworks/av/camera/
H A DICameraServiceListener.cpp44 virtual void onStatusChanged(Status status, int32_t cameraId) argument
50 data.writeInt32(static_cast<int32_t>(status));
74 Status status = static_cast<Status>(data.readInt32()); local
77 onStatusChanged(status, cameraId);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_vlc.c216 BIG_CODE_NUM and returning HANTRO_NOK status.
235 u32 status, codeNum = 0; local
242 status = h264bsdDecodeExpGolombUnsigned(pStrmData, &codeNum);
246 /* BIG_CODE_NUM and HANTRO_OK status means codeNum 2^32-1 which would
249 if (status == HANTRO_OK)
251 /* BIG_CODE_NUM and HANTRO_NOK status means codeNum 2^32 which results
259 else if (status == HANTRO_OK)
306 u32 status, codeNum; local
313 status = h264bsdDecodeExpGolombUnsigned(pStrmData, &codeNum);
315 if (status !
[all...]
/frameworks/native/libs/input/
H A DVirtualKeyMap.cpp53 status_t status = Tokenizer::open(filename, &tokenizer); local
54 if (status) {
55 ALOGE("Error %d opening virtual key map file %s.", status, filename.string());
60 status = NO_MEMORY;
66 status = parser.parse();
73 if (status) {
81 return status;
/frameworks/av/media/libstagefright/
H A DStagefrightMediaScanner.cpp101 status_t status = client->addStringTag("duration", buffer); local
102 if (status != OK) {
148 status_t status; local
151 status = mRetriever->setDataSource(NULL /* httpService */, path);
153 status = mRetriever->setDataSource(fd, 0, 0x7ffffffffffffffL);
157 if (status) {
164 status = client.setMimeType(value);
165 if (status) {
196 status = client.addStringTag(kKeyMap[i].tag, value);
197 if (status !
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpacket_util.cpp30 PV_STATUS status; local
47 status = PV_BitstreamShowBitsByteAlign(stream, resync_marker_length, &tmpvar32);
48 /* if (status != PV_SUCCESS && status != PV_END_OF_BUFFER) return status; */
115 status = BitstreamCheckEndBuffer(stream); /* return end_of_VOP 03/30/01 */
116 if (status != PV_SUCCESS)
118 return status;
120 status = BitstreamShowBits32HC(stream, &tmpvar32); /* 07/07/01 */
196 PV_STATUS status; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dcombined_encode.cpp39 PV_STATUS status = PV_SUCCESS; local
119 status = EncodeGOBHeader(video, slice_counter, QP, 0); //ind_y /* Encode GOB Header */
148 status = EncodeVideoPacketHeader(video, mbnum, video->QP_prev, 0);
159 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
182 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */
183 /* continue even if status == PV_END_OF_BUF, to get the stats */
192 status = BitstreamAppendEnc(currVol->stream, bs1); /* Initialize to 0 */
193 /* continue even if status == PV_END_OF_BUF, to get the stats */
201 status = BitstreamAppendEnc(currVol->stream, bs1); /* Initialize to 0 */
202 /* continue even if status
264 PV_STATUS status = PV_SUCCESS; local
683 PV_STATUS status = PV_SUCCESS; local
[all...]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DSoundTriggerHelper.java94 int status = SoundTrigger.listModules(modules);
99 if (status != SoundTrigger.STATUS_OK || modules.size() == 0) {
100 Slog.w(TAG, "listModules status=" + status + ", # of modules=" + modules.size());
173 int status = mModule.unloadSoundModel(mCurrentSoundModelHandle);
174 if (status != SoundTrigger.STATUS_OK) {
175 Slog.w(TAG, "unloadSoundModel call failed with " + status);
198 int status = mModule.loadSoundModel(soundModel, handle);
199 if (status != SoundTrigger.STATUS_OK) {
200 Slog.w(TAG, "loadSoundModel call failed with " + status);
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DVirtualizer.java212 int status = getParameter(paramsConverter.array(), result);
215 + Integer.toHexString(deviceType) + ") returns " + status);
218 if (status >= 0) {
239 } else if (status == AudioEffect.ERROR_BAD_VALUE) {
245 checkStatus(status);
248 Log.e(TAG, "unexpected status code " + status
438 int status = setParameter(PARAM_FORCE_VIRTUALIZATION_MODE, internalDevice);
440 if (status >= 0) {
442 } else if (status
500 onParameterChange(Virtualizer effect, int status, int param, short value) argument
511 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument
[all...]

Completed in 555 milliseconds

1234567891011>>