/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
H A D | FwdLockEngine.cpp | 83 int FwdLockEngine::getConvertedStatus(FwdLockConv_Status_t status) { argument 86 switch(status) { 95 "Returning STATUS_INPUTDATA_ERROR", status); 100 "Returning STATUS_ERROR", status); 506 decryptHandle->status = RightsStatus::RIGHTS_VALID;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 280 snprintf(buffer, SIZE, "Hardware status: %d\n" 439 status_t *status) 536 if (status != NULL) { 537 *status = lStatus; 1030 status_t status; local 1213 status_t *status) 1268 if (status) { 1269 *status = lStatus; 1393 status_t status; local 1426 status 428 createTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, IAudioFlinger::track_flags_t *flags, const sp<IMemory>& sharedBuffer, audio_io_handle_t output, pid_t tid, int *sessionId, status_t *status) argument 1204 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, IAudioFlinger::track_flags_t flags, pid_t tid, int *sessionId, status_t *status) argument 1584 status_t status; local 1968 createEffect( effect_descriptor_t *pDesc, const sp<IEffectClient>& effectClient, int32_t priority, audio_io_handle_t io, int sessionId, status_t *status, int *id, int *enabled) argument [all...] |
H A D | Tracks.cpp | 600 status_t status = NO_ERROR; local 620 status = AudioSystem::startOutput(thread->id(), mStreamType, mSessionId); 625 if (status == NO_ERROR) { 630 if (status == NO_ERROR) { 638 status = BAD_VALUE; 640 return status; 746 status_t status = DEAD_OBJECT; local 788 status = playbackThread->attachAuxEffect(this, EffectId); 790 return status; 804 // first time (mPresentationCompleteFrames == 0) plus the buffer filling status a 1436 status_t status = Track::start(event, triggerSession); local [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | BatteryService.java | 50 * <p>BatteryService monitors the charging status, and charge level of the device 60 * <p>"status" - String, the current charging status.<br /> 171 // set initial status 493 ", scale:" + BATTERY_SCALE + ", status:" + mBatteryStatus + 615 pw.println(" status: " + mBatteryStatus); 634 } else if ("status".equals(key)) { 656 pw.println(" set ac|usb|wireless|status|level|invalid <value>"); 713 final int status = mBatteryStatus; 715 if (status [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | reverb.c | 188 // Prefetch status callback 197 SLuint32 status; local 198 result = (*caller)->GetPrefetchStatus(caller, &status); 202 && level == 0 && status == SL_PREFETCHSTATUS_UNDERFLOW) { 205 status == SL_PREFETCHSTATUS_SUFFICIENTDATA) { 206 new_prefetch_status = status; 593 // get the prefetch status interface 599 // enable prefetch status callbacks 611 // wait for prefetch status callback to indicate either sufficient data or error
|
/frameworks/base/services/input/ |
H A D | InputDispatcher.cpp | 1014 if (connection->status == Connection::STATUS_NORMAL) { 1781 // Skip this event if the connection status is not normal. 1783 if (connection->status != Connection::STATUS_NORMAL) { 1785 ALOGD("channel '%s' ~ Dropping event because the channel status is %s", 1936 while (connection->status == Connection::STATUS_NORMAL 1942 status_t status; local 1949 status = connection->inputPublisher.publishKeyEvent(dispatchEntry->seq, 1993 status = connection->inputPublisher.publishMotionEvent(dispatchEntry->seq, 2011 if (status) { 2012 if (status 2126 status_t status; local 3277 status_t status = unregisterInputChannelLocked(inputChannel, false /*notify*/); local [all...] |
/frameworks/base/services/java/com/android/server/content/ |
H A D | SyncManager.java | 1259 SyncStatusInfo status = mSyncStorageEngine.getOrCreateSyncStatus(settings); 1267 status.numSourceLocal, 1268 status.numSourcePoll, 1269 status.numSourcePeriodic, 1270 status.numSourceServer, 1271 status.numSourceUser, 1272 status.numSyncs, 1273 DateUtils.formatElapsedTime(status.totalElapsedTime / 1000)); 1280 final String next = formatTime(status.getPeriodicSyncTime(0) 1295 if (status [all...] |
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorVideoDecoder.cpp | 675 status_t status = OK; local 682 status = client.connect(); 683 CHECK(status == OK); 927 status_t status = OK; local 1030 status = pDecShellContext->mClient.connect(); 1031 VIDEOEDITOR_CHECK(OK == status, M4ERR_SF_DECODER_RSRC_FAIL); 1071 status = pDecShellContext->mVideoDecoder->start(); 1072 VIDEOEDITOR_CHECK(OK == status, M4ERR_SF_DECODER_RSRC_FAIL); 1095 status_t status = OK; local 1198 status [all...] |
/frameworks/base/services/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 135 status_t status = android_view_PointerIcon_loadSystemIcon(env, local 137 if (!status) { 435 status_t status = android_view_PointerIcon_load(env, pointerIconObj, local 437 if (!status && !pointerIcon.isNullIcon()) { 1093 status_t status = im->registerInputChannel( local 1095 if (status) { 1097 message.appendFormat("Failed to register input channel. status=%d", status); 1121 status_t status = im->unregisterInputChannel(env, inputChannel); local 1122 if (status 1143 status_t status = android_view_KeyEvent_toNative(env, inputEventObj, & keyEvent); local [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | TextLayoutCache.cpp | 389 UErrorCode status = U_ZERO_ERROR; local 398 ubidi_setPara(bidi, chars, contextCount, bidiReq, NULL, &status); 399 if (U_SUCCESS(status)) { 401 ssize_t rc = ubidi_countRuns(bidi, &status); 407 if (U_SUCCESS(status) && rc == 1) { 408 // Normal case: one run, status is ok 411 } else if (!U_SUCCESS(status) || rc < 1) { 413 " status = %d, rc = %d", 414 String8(chars + start, count).string(), status, int(rc));
|
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 1955 int status = AUDIOFOCUS_REQUEST_FAILED; 1959 return status; 1965 status = service.requestAudioFocus(streamType, durationHint, mICallBack, 1971 return status; 2016 int status = AUDIOFOCUS_REQUEST_FAILED; 2020 status = service.abandonAudioFocus(mAudioFocusDispatcher, 2025 return status;
|
H A D | RingtoneManager.java | 503 final String status = Environment.getExternalStorageState(); 505 return (status.equals(Environment.MEDIA_MOUNTED) || 506 status.equals(Environment.MEDIA_MOUNTED_READ_ONLY))
|
H A D | AudioService.java | 1564 int status = AudioSystem.AUDIO_STATUS_OK; 1592 status = AudioSystem.setPhoneState(mode); 1593 if (status == AudioSystem.AUDIO_STATUS_OK) { 1604 status = AudioSystem.AUDIO_STATUS_OK; 1606 } while (status != AudioSystem.AUDIO_STATUS_OK && !mSetModeDeathHandlers.isEmpty()); 1608 if (status == AudioSystem.AUDIO_STATUS_OK) { 1808 public int status() { method in class:AudioService.SoundPoolCallback 1821 public void onLoadComplete(SoundPool soundPool, int sampleId, int status) { argument 1827 if ((status != 0) || mSamples. isEmpty()) { 1828 mStatus = status; [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioEffectTest.java | 1115 int status = effect2.setParameter(Equalizer.PARAM_CURRENT_PRESET, (short)0); 1117 AudioEffect.SUCCESS, status); 1119 status = effect1.setParameter(Equalizer.PARAM_CURRENT_PRESET, (short)1); 1121 AudioEffect.ERROR_INVALID_OPERATION, status); 1124 status = effect2.getParameter(Equalizer.PARAM_CURRENT_PRESET, value); 1126 AudioEffect.isError(status)); 1148 //Test case 5.2: test control status listener 1197 //Test case 5.3: test enable status listener 1230 assertFalse(msg + ": enable status not updated", mIsEnabled); 1320 int status [all...] |
/frameworks/av/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 407 p->status = 0; 410 p->status = -EINVAL; 427 p->status = -EINVAL;
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
H A D | SoftAAC2.cpp | 114 status_t status = UNKNOWN_ERROR; local 119 status = OK; 154 return status;
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 101 status_t status = mThread->join(); local 102 if (status != WOULD_BLOCK) { 105 CHECK_EQ(status, (status_t)NO_ERROR);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | AMPEG4AudioAssembler.cpp | 478 AssemblyStatus status = addPacket(source); local 479 if (status == MALFORMED_PACKET) { 482 return status;
|
/frameworks/native/opengl/libs/EGL/ |
H A D | trace.cpp | 429 GLenum status = GL_NO_ERROR; \ 431 while ((status = _c->glGetError()) != GL_NO_ERROR) { \ 432 ALOGD("[" #_api "] 0x%x", status); \
|
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/ |
H A D | JankTestBase.java | 66 // File that hold test status, e.g successful test iterations 152 int status = p.waitFor(); 153 if (status != 0) { 154 Log.e(TAG, String.format("Run shell command: %s, status: %s", 155 command, status)); 358 // write test status into status file
|
/frameworks/wilhelm/src/android/ |
H A D | android_AudioSfDecoder.cpp | 162 // All error returns from this method are via notifyPrepared(status) followed by "return". 419 CacheStatus_t status = getCacheRemaining(&eos); local 421 if (eos || status == kStatusHigh 422 || ((mStateFlags & kFlagPreparing) && (status >= kStatusEnough))) { 596 // Prepared state, prefetch status notifications 601 // to replace by a new signalPrepareCompletion(status) if we re-visit this later. 607 // status code but we can provide a more specific one. 712 // cache status is evaluated against duration thresholds 729 // cache status is evaluated against cache amount thresholds
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestDecodeToBuffQueue.cpp | 133 SLuint32 status; local 135 result = (*caller)->GetPrefetchStatus(caller, &status); 138 && (level == 0) && (status == SL_PREFETCHSTATUS_UNDERFLOW)) { 391 /* Get the prefetch status interface which was explicitly requested */
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
H A D | WifiP2pService.java | 1449 P2pStatus status = (P2pStatus) message.obj; 1450 if (status == P2pStatus.NO_COMMON_CHANNEL) { 1464 status = (P2pStatus) message.obj; 1465 if (status == P2pStatus.NO_COMMON_CHANNEL) { 1471 status = (P2pStatus)message.obj; 1472 if (status == P2pStatus.SUCCESS) { 1477 loge("Invitation result " + status); 1478 if (status == P2pStatus.UNKNOWN_P2P_GROUP) { 1490 } else if (status == P2pStatus.INFORMATION_IS_CURRENTLY_UNAVAILABLE) { 1498 } else if (status 2472 updateThisDevice(int status) argument [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
H A D | FwdLockEngine.h | 181 * @return the status of the rights for the protected content, 280 * The resultant converted data and the status is returned in the DrmConvertedInfo 287 * @return Return object contains the status of the data conversion, 303 * @return Return object contains the status of the data conversion, 563 static int getConvertedStatus(FwdLockConv_Status_t status);
|
/frameworks/av/include/media/ |
H A D | mediarecorder.h | 37 typedef void (*media_completion_f)(status_t status, void *cookie);
|