/frameworks/av/media/libstagefright/ |
H A D | AudioSource.cpp | 63 status_t status = AudioRecord::getMinFrameCount(&minFrameCount, local 67 if (status == OK) { 87 mInitCheck = status;
|
H A D | TimedEventQueue.cpp | 338 status_t status = mPowerManager->acquireWakeLock(POWERMANAGER_PARTIAL_WAKE_LOCK, local 343 if (status == NO_ERROR) {
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
H A D | dpb.cpp | 235 int ii, status; local 250 status = avcHandle->CBAVC_FrameBind(avcHandle->userData, ii, &(video->currFS->base_dpb)); 251 if (status == AVC_FAIL) 343 AVCStatus status; local 407 status = sliding_window_process(avcHandle, video, dpb); /* we may have to do this after adaptive_memory_marking */ 411 status = adaptive_memory_marking(avcHandle, video, dpb, sliceHdr); 413 if (status != AVC_SUCCESS) 415 return status;
|
H A D | reflist.cpp | 142 AVCStatus status = AVC_SUCCESS; local 149 status = ReorderRefPicList(video, 0); 150 if (status != AVC_SUCCESS) 151 return status; 158 return status; 164 AVCStatus status; local 232 status = ReorderShortTerm(video, picNumLX, &refIdxLX, isL1); 233 if (status != AVC_SUCCESS) 235 return status; 240 status [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_api.cpp | 59 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 D | residual.cpp | 22 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/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | bitstream.cpp | 177 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...] |
H A D | combined_decode.cpp | 44 PV_STATUS status; local 155 status = GetMBheader(video, &QP); 157 if (status != PV_SUCCESS) 171 status = GetMBData(video); 172 if (status != PV_SUCCESS) 205 status = BitstreamShowBits32(stream, GOB_RESYNC_MARKER_LENGTH, &tmpvar); 213 status = PV_BitstreamShowBitsByteAlign(stream, GOB_RESYNC_MARKER_LENGTH, &tmpvar); 261 status = PV_BitstreamShowBitsByteAlign(stream, 23, &tmpvar); /* this call is valid for f_code < 8 */ 281 while ((status = PV_GobHeader(video)) == PV_FAIL) 283 if ((status 545 PV_STATUS status; local [all...] |
H A D | datapart_decode.cpp | 41 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/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 122 PV_STATUS status; local 138 status = BitstreamSaveWord(stream); 139 if (status != PV_SUCCESS) 141 return status; 170 PV_STATUS status; local 179 status = BitstreamPutBits(stream, topLength, topValue); 181 if (status != PV_SUCCESS) 183 return status; 186 status = BitstreamPutBits(stream, 16, (UInt)(Value & 0xFFFF)); 188 return status; 418 PV_STATUS status; local 534 PV_STATUS status = PV_SUCCESS; local [all...] |
H A D | combined_encode.cpp | 39 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/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | h264bsd_sei.c | 187 u32 tmp, payloadType, payloadSize, status; local 223 status = DecodeBufferingPeriod( 235 status = DecodePictureTiming( 251 status = DecodePanScanRectangle( 257 status = DecodeFillerPayload(pStrmData, payloadSize); 261 status = DecodeUserDataRegisteredITuTT35( 268 status = DecodeUserDataUnregistered( 275 status = DecodeRecoveryPoint( 281 status = DecodeDecRefPicMarkingRepetition( 289 status [all...] |
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
H A D | SoftOpus.cpp | 352 int status = OPUS_INVALID_STATE; local 358 &status); 359 if (!mDecoder || status != OPUS_OK) { 360 ALOGV("opus_multistream_decoder_create failed status=%s", 361 opus_strerror(status)); 365 status = 368 if (status != OPUS_OK) { 369 ALOGV("Failed to set OPUS header gain; status=%s", 370 opus_strerror(status));
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4ElementaryAssembler.cpp | 410 AssemblyStatus status = addPacket(source); local 411 if (status == MALFORMED_PACKET) { 415 return status;
|
/frameworks/av/services/audioflinger/ |
H A D | PatchPanel.cpp | 144 status_t status = NO_ERROR; local 185 status = BAD_VALUE; 194 status = INVALID_OPERATION; 200 status = BAD_VALUE; 209 status = BAD_VALUE; 218 status = INVALID_OPERATION; 228 status = INVALID_OPERATION; 237 status = INVALID_OPERATION; 255 status = NO_MEMORY; 278 status 420 status_t status = createAudioPatch(&subPatch, &patch->mRecordPatchHandle); local 550 status_t status = NO_ERROR; local 666 status_t status = NO_ERROR; local [all...] |
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyClientImplLegacy.cpp | 92 status_t status = af->openOutput(module, &output, &config, pDevices, local 94 if (status == NO_ERROR) { 203 status_t status = af->openInput(module, &input, &config, pDevices, local 205 if (status == NO_ERROR) {
|
H A D | AudioPolicyEffects.cpp | 84 status_t status = NO_ERROR; local 94 return status; 114 status_t status = fx->initCheck(); local 115 if (status != NO_ERROR && status != ALREADY_EXISTS) { 130 return status; 136 status_t status = NO_ERROR; local 141 return status; 152 return status; 159 status_t status local 192 status_t status = NO_ERROR; local 225 status_t status = NO_ERROR; local 259 status_t status = fx->initCheck(); local 280 status_t status = NO_ERROR; local [all...] |
/frameworks/av/soundtrigger/ |
H A D | SoundTrigger.cpp | 104 status_t status = service->attach(module, soundTrigger, soundTrigger->mISoundTrigger); local 106 if (status == NO_ERROR && soundTrigger->mISoundTrigger != 0) { 109 ALOGW("Error %d connecting to sound trigger service", status);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothGattCallbackWrapper.java | 34 public void onClientRegistered(int status, int clientIf) throws RemoteException { argument 38 public void onClientConnectionState(int status, int clientIf, boolean connected, String address) argument 74 public void onSearchComplete(String address, int status) throws RemoteException { argument 78 public void onCharacteristicRead(String address, int status, int srvcType, int srvcInstId, argument 84 public void onCharacteristicWrite(String address, int status, int srvcType, int srvcInstId, argument 89 public void onExecuteWrite(String address, int status) throws RemoteException { argument 93 public void onDescriptorRead(String address, int status, int srvcType, int srvcInstId, argument 99 public void onDescriptorWrite(String address, int status, int srvcType, int srvcInstId, argument 110 public void onReadRemoteRssi(String address, int rssi, int status) throws RemoteException { argument 114 public void onMultiAdvertiseCallback(int status, boolea argument 119 onConfigureMTU(String address, int mtu, int status) argument [all...] |
H A D | BluetoothGattServer.java | 68 public void onServerRegistered(int status, int serverIf) { 69 if (DBG) Log.d(TAG, "onServerRegistered() - status=" + status 95 public void onServerConnectionState(int status, int serverIf, 97 if (DBG) Log.d(TAG, "onServerConnectionState() - status=" + status 100 mCallback.onConnectionStateChange(mAdapter.getRemoteDevice(address), status, 112 public void onServiceAdded(int status, int srvcType, 116 + "status=" + status); 492 sendResponse(BluetoothDevice device, int requestId, int status, int offset, byte[] value) argument [all...] |
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | BluetoothLeAdvertiser.java | 80 * Returns immediately, the operation status is delivered through {@code callback}. 86 * @param callback Callback for advertising status. 96 * active scan request. This method returns immediately, the operation status is delivered 104 * @param callback Callback for advertising status. 308 public void onClientRegistered(int status, int clientIf) { argument 309 Log.d(TAG, "onClientRegistered() - status=" + status + " clientIf=" + clientIf); 311 if (status == BluetoothGatt.GATT_SUCCESS) { 328 public void onMultiAdvertiseCallback(int status, boolean isStart, argument 332 if (status [all...] |
H A D | BluetoothLeScanner.java | 289 public void onClientRegistered(int status, int clientIf) { argument 290 Log.d(TAG, "onClientRegistered() - status=" + status + 297 if (status == BluetoothGatt.GATT_SUCCESS) {
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CameraManager.java | 103 * with the availability status of all currently known camera devices.</p> 683 private boolean isAvailable(int status) { argument 684 switch (status) { 692 private boolean validStatus(int status) { argument 693 switch (status) { 705 final String id, final int status) { 706 if (isAvailable(status)) { 732 Integer status = mDeviceStatus.valueAt(i); 733 postSingleUpdate(callback, handler, id, status); 737 private void onStatusChangedLocked(int status, Strin argument 704 postSingleUpdate(final AvailabilityCallback callback, final Handler handler, final String id, final int status) argument 827 onStatusChanged(int status, int cameraId) argument [all...] |
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardware.java | 195 * Returns current status of a hardware geofence monitoring system. 207 * @return Current status of the monitoring type. 515 public void onGeofenceAdd(int geofenceId, int status) { argument 517 if (c != null) c.onGeofenceAdd(geofenceId, status); 520 public void onGeofenceRemove(int geofenceId, int status) { argument 523 c.onGeofenceRemove(geofenceId, status); 528 public void onGeofencePause(int geofenceId, int status) { argument 531 c.onGeofencePause(geofenceId, status); 535 public void onGeofenceResume(int geofenceId, int status) { argument 537 if (c != null) c.onGeofenceResume(geofenceId, status); [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkAgent.java | 111 * networks status - whether we could use the network or could not, due to 290 * This may be called multiple times as the network status changes and may 293 protected void networkStatus(int status) { argument
|