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

1234567891011>>

/frameworks/av/media/libmedia/
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) {
163 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); local
164 reply->writeInt32(status);
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp58 status_t status = mProvider->getNextBuffer(&mBuffer, readPTS); local
59 if (status != OK) {
60 return status == NOT_ENOUGH_DATA ? (ssize_t) WOULD_BLOCK : (ssize_t) status;
105 status_t status = mProvider->getNextBuffer(&mBuffer, readPTS); local
106 if (CC_LIKELY(status == OK)) {
113 if (CC_LIKELY(status == NOT_ENOUGH_DATA)) {
114 status = WOULD_BLOCK;
116 return accumulator > 0 ? accumulator : (ssize_t) status;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dbitstream.h53 PV_STATUS status = PV_SUCCESS; local
59 status = BitstreamFillCache(stream);
63 return status;
71 PV_STATUS status = PV_SUCCESS; local
76 status = BitstreamFillCache(stream);
79 return status;
85 PV_STATUS status = PV_SUCCESS; local
90 status = BitstreamFillCache(stream);
93 return status;
H A Ddatapart_decode.cpp41 PV_STATUS status; local
86 status = DecodeDataPart_I_VideoPacket(video, slice_counter);
90 status = DecodeDataPart_P_VideoPacket(video, slice_counter);
98 while ((status = PV_ReadVideoPacketHeader(video, &mbnum)) == PV_FAIL)
100 if ((status = quickSearchVideoPacketHeader(stream, resync_marker_length)) != PV_SUCCESS)
106 if (status == PV_END_OF_VOP)
140 PV_STATUS status; local
175 status = GetMBheaderDataPart_DQUANT_DC(video, &QP);
198 status = BitstreamShowBits32(stream, DC_MARKER_LENGTH, &tmpvar);
209 status
305 PV_STATUS status; local
518 PV_STATUS status = PV_SUCCESS; local
[all...]
/frameworks/base/media/java/android/media/audiofx/
H A DAudioEffect.java168 * Internal operation status. Not returned by any method.
695 int status = getParameter(p, v);
697 if (status == 4 || status == 8) {
699 if (status == 8) {
702 status /= 4;
704 status = ERROR;
706 return status;
726 int status = getParameter(p, v);
728 if (status
990 onParameterChange(AudioEffect effect, int status, byte[] param, byte[] value) argument
1255 checkStatus(int status) argument
1273 isError(int status) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dbitstream_io.cpp144 AVCEnc_Status status = AVCENC_SUCCESS; local
162 status = AVCBitstreamSaveWord(stream);
163 return status;
174 status = AVCBitstreamSaveWord(stream); /* save current word */
181 return status;
196 AVCEnc_Status status; local
207 status = AVCBitstreamSaveWord(stream);
208 return status;
228 AVCEnc_Status status; local
235 status
[all...]
H A Davcenc_api.cpp59 AVCEnc_Status status; local
144 status = SetEncodeParam(avcHandle, encParam, extSPS, extPPS); /* initialized variables to be used in SPS*/
145 if (status != AVCENC_SUCCESS)
147 return status;
282 AVCEnc_Status status; local
322 status = InitFrame(encvid);
324 if (status == AVCENC_SUCCESS)
328 else if (status == AVCENC_NEW_IDR)
351 else if (status == AVCENC_PICTURE_READY) // no buffers returned back to the encoder
357 return status; // retur
373 AVCEnc_Status status; local
[all...]
H A Dslice.cpp23 AVCEnc_Status status = AVCENC_SUCCESS; local
89 status = EncodeMB(encvid);
90 if (status != AVCENC_SUCCESS)
111 status = AVCENC_PICTURE_READY;
125 status = AVCENC_SLICE_EMPTY; /* error, one slice group has no MBs in it */
129 status = AVCENC_SUCCESS;
145 status = AVCENC_FAIL;
149 return status;
155 AVCEnc_Status status = AVCENC_SUCCESS; local
210 status
552 AVCEnc_Status status = AVCENC_SUCCESS; local
688 AVCEnc_Status status = AVCENC_SUCCESS; local
774 AVCEnc_Status status = AVCENC_SUCCESS; local
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
H A DWifiP2pServiceResponse.java70 * The status code of service discovery response.
71 * Currently 4 status codes are defined and the status codes from 4 to 255
90 public static String toString(int status) { argument
91 switch(status) {
113 * @param status status code.
118 protected WifiP2pServiceResponse(int serviceType, int status, int transId, argument
121 mStatus = status;
138 * Return the status cod
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccPhoneBookInterfaceManager.java104 AtomicBoolean status = (AtomicBoolean) ar.userObj;
105 status.set(true);
182 AtomicBoolean status = new AtomicBoolean(false);
183 Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status);
188 waitForResult(status);
231 AtomicBoolean status = new AtomicBoolean(false);
232 Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status);
236 waitForResult(status);
280 AtomicBoolean status = new AtomicBoolean(false);
281 Message response = mBaseHandler.obtainMessage(EVENT_LOAD_DONE, status);
303 waitForResult(AtomicBoolean status) argument
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_Effect.cpp191 android::status_t status; local
201 status = pFx->getParameter(p);
202 if (android::NO_ERROR == status) {
203 status = p->status;
204 if (android::NO_ERROR == status) {
209 return status;
217 android::status_t status; local
228 status = pFx->setParameter(p);
229 if (android::NO_ERROR == status) {
377 android::status_t status = android_fx_setParam(pFx, REVERB_PARAM_PRESET, local
492 android::status_t status = ap->mAudioTrack->attachAuxEffect(pFx->id()); local
565 android::status_t status; local
585 android::status_t status; local
605 android_fx_statusToResult(android::status_t status) argument
627 android::status_t status = effect->initCheck(); local
685 android::status_t status = local
718 android::status_t status = local
768 android::status_t status = pFx->initCheck(); local
807 android::status_t status = pFx->setEnabled(SL_BOOLEAN_TRUE == enabled); local
839 android::status_t status = pFx->command( local
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServerCallback.java32 * @param status Status of the connect or disconnect operation.
37 public void onConnectionStateChange(BluetoothDevice device, int status, argument
44 * @param status Returns {@link BluetoothGatt#GATT_SUCCESS} if the service
48 public void onServiceAdded(int status, BluetoothGattService service) { argument
H A DIBluetoothHealthCallback.aidl28 void onHealthAppConfigurationStatusChange(in BluetoothHealthAppConfiguration config, int status);
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DNotifyRespInd.java31 * @param status the status value
38 int status) throws InvalidHeaderValueException {
43 setStatus(status);
36 NotifyRespInd(int mmsVersion, byte[] transactionId, int status) argument
/frameworks/wilhelm/src/itf/
H A DIBassBoost.c51 android::status_t status = thiz->mBassBoostEffect->setEnabled((bool) thiz->mEnabled); local
52 result = android_fx_statusToResult(status);
105 android::status_t status = local
107 result = android_fx_statusToResult(status);
133 android::status_t status = local
135 result = android_fx_statusToResult(status);
163 android::status_t status =
166 result = android_fx_statusToResult(status);
H A DIVirtualizer.c51 android::status_t status = local
53 result = android_fx_statusToResult(status);
107 android::status_t status = android_virt_setParam(thiz->mVirtualizerEffect, local
109 result = android_fx_statusToResult(status);
135 android::status_t status = android_virt_getParam(thiz->mVirtualizerEffect, local
137 result = android_fx_statusToResult(status);
165 android::status_t status =
168 result = android_fx_statusToResult(status);
H A DIPresetReverb.c51 android::status_t status = android_prev_setPreset(thiz->mPresetReverbEffect, preset); local
52 result = android_fx_statusToResult(status);
83 android::status_t status = android_prev_getPreset(thiz->mPresetReverbEffect, &preset); local
84 result = android_fx_statusToResult(status);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddatapart_encode.cpp38 PV_STATUS status = PV_SUCCESS; local
119 status = EncodeVideoPacketHeader(video, mbnum, video->QP_prev, 0);
130 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
159 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */
160 /* continue even if status == PV_END_OF_BUF, to get the stats */
189 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */
190 /* continue even if status == PV_END_OF_BUF, to get the stats */
196 return status; /* if status == PV_END_OF_BUF, this frame will be pre-skipped */
213 PV_STATUS status local
[all...]
/frameworks/av/media/common_time/
H A Dcc_helper.cpp102 status_t status = common_clock_->call; \
103 if (DEAD_OBJECT == status) { \
106 status = common_clock_->call; \
109 return status; \
/frameworks/base/core/jni/
H A Dandroid_database_CursorWindow.cpp68 status_t status = CursorWindow::create(name, cursorWindowSize, &window); local
69 if (status || !window) {
71 name.string(), cursorWindowSize, status);
83 status_t status = CursorWindow::createFromParcel(parcel, &window); local
84 if (status || !window) {
85 ALOGE("Could not create CursorWindow from Parcel due to error %d.", status);
112 status_t status = window->writeToParcel(parcel); local
113 if (status) {
115 msg.appendFormat("Could not write CursorWindow to Parcel due to error %d.", status);
123 status_t status local
137 status_t status = window->setNumColumns(columnNum); local
143 status_t status = window->allocRow(); local
401 status_t status = window->putBlob(row, column, value, len); local
423 status_t status = window->putString(row, column, valueStr, sizeIncludingNull); local
438 status_t status = window->putLong(row, column, value); local
452 status_t status = window->putDouble(row, column, value); local
466 status_t status = window->putNull(row, column); local
[all...]
/frameworks/base/services/input/
H A DSpriteController.cpp163 status_t status = update.state.surfaceControl->setSize(desiredWidth, desiredHeight); local
164 if (status) {
166 status, update.state.surfaceWidth, update.state.surfaceHeight,
175 status = update.state.surfaceControl->hide();
176 if (status) {
177 ALOGE("Error %d hiding sprite surface after resize.", status);
203 status_t status = surface->lock(&outBuffer, NULL); local
204 if (status) {
205 ALOGE("Error %d locking sprite surface before drawing.", status);
230 status
254 status_t status; local
[all...]
/frameworks/av/services/audioflinger/
H A DISchedulingPolicyService.cpp48 status_t status = remote()->transact(REQUEST_PRIORITY_TRANSACTION, data, &reply, flags); local
49 if (status != NO_ERROR) {
50 return status;
/frameworks/base/core/java/android/speech/srec/
H A DMicrophoneInputStream.java49 int status = AudioRecordStart(mAudioRecord);
50 if (status != 0) {
52 throw new IOException("AudioRecord start failed: " + status);
/frameworks/base/media/java/android/media/
H A DMediaActionSound.java174 int sampleId, int status) {
175 if (status == 0) {
181 Log.e(TAG, "Unable to load sound for playback (status: " +
182 status + ")");
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardMessageArea.java159 public void onRefreshBatteryInfo(KeyguardUpdateMonitor.BatteryStatus status) {
160 mShowingBatteryInfo = status.isPluggedIn() || status.isBatteryLow();
161 mCharging = status.status == BatteryManager.BATTERY_STATUS_CHARGING
162 || status.status == BatteryManager.BATTERY_STATUS_FULL;
163 mBatteryLevel = status.level;
164 mBatteryCharged = status.isCharged();
165 mBatteryIsLow = status
[all...]

Completed in 566 milliseconds

1234567891011>>