Searched refs:state (Results 276 - 300 of 527) sorted by relevance

<<11121314151617181920>>

/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp524 // initialize our drawing state
1098 // (ie: in drawing state but not in current state)
1104 // in drawing state but not in current state
1119 const DisplayDeviceState& state(curr[j]);
1121 if (state.surface->asBinder() != draw[i].surface->asBinder()) {
1124 // from the drawing state, so that it get re-added
1135 if (state.layerStack != draw[i].layerStack) {
1136 disp->setLayerStack(state
1718 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
[all...]
/frameworks/av/include/media/
H A DSoundPool.h61 int state() { return mState; } function in class:android::Sample
118 enum state { IDLE, RESUMING, STOPPING, PAUSED, PLAYING }; enum in class:android::SoundChannel
134 int state() { return mState; } function in class:android::SoundChannel
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorBuffer.c161 * @brief Returns a buffer in a given state
164 * @param desiredState : IN The buffer state
177 ALOGV("VIDEOEDITOR_BUFFER_getBuffer from %s in state=%d",
184 bFound = (ppool->pNXPBuffer[i].state == desiredState);
194 ALOGV("VIDEOEDITOR_BUFFER_getBuffer No buffer available in state %d",
236 pool->pNXPBuffer[index].state = VIDEOEDITOR_BUFFER_kEmpty;
255 if(pool->pNXPBuffer[index].state == desiredState)
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp88 void AudioBiquadFilter::setState(state_t state) { argument
89 switch (state) {
117 mState = state;
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dagc.cpp508 state = pointer to a structure of type agcState
511 Structure pointed to by state is initialized to zeros
526 Reset of agc (i.e. set state memory to 1.0).
541 int agc_reset (agcState *state)
543 if (state == (agcState *) NULL)
549 state->past_gain = 4096; // initial value of past_gain = 1.0
577 Word16 agc_reset(agcState *state) argument
579 if (state == (agcState *) NULL)
585 state->past_gain = 4096; /* initial value of past_gain = 1.0 */
599 st = pointer to agc state
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSoftOMXComponent.cpp249 OMX_STATETYPE *state) {
254 return me->getState(state);
322 OMX_ERRORTYPE SoftOMXComponent::getState(OMX_STATETYPE *state) { argument
247 GetStateWrapper( OMX_HANDLETYPE component, OMX_STATETYPE *state) argument
/frameworks/av/services/camera/libcameraservice/camera2/
H A DCallbackProcessor.cpp196 if ( l.mParameters.state != Parameters::PREVIEW
197 && l.mParameters.state != Parameters::RECORD
198 && l.mParameters.state != Parameters::VIDEO_SNAPSHOT) {
/frameworks/base/cmds/ime/src/com/android/commands/ime/
H A DIme.java138 private void runSetEnabled(boolean state) { argument
147 boolean res = mImm.setInputMethodEnabled(id, state);
148 if (state) {
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java51 * Intent used to broadcast the change in connection state of the A2DP
56 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li>
57 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile.</li>
73 * Intent used to broadcast the change in the Playing state of the A2DP
78 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li>
79 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile. </li>
94 * A2DP sink device is streaming music. This state can be one of
101 * A2DP sink device is NOT streaming music. This state can be one of
201 * connection state intent for the profile will be broadcasted with
202 * the state
430 stateToString(int state) argument
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java371 * Reset the acoustic state vectorto it's default value.
380 * Set the acoustic state vector.
381 * @param state String containing the acoustic state vector.
385 public void setAcousticState(String state) { argument
386 SR_AcousticStateSet(mRecognizer, state);
390 * Get the acoustic state vector.
391 * @return String containing the acoustic state vector.
655 private static native void SR_AcousticStateSet(int recognizer, String state); argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimationDrawable.java356 private AnimationDrawable(AnimationState state, Resources res) { argument
357 AnimationState as = new AnimationState(state, this, res);
360 if (state != null) {
/frameworks/base/include/androidfw/
H A DVelocityTracker.h70 // Resets the velocity tracker state.
73 // Resets the velocity tracker state for specific pointers.
210 // Current state estimate for a particular pointer.
223 void initState(State& state, nsecs_t eventTime, float xpos, float ypos) const;
224 void updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const;
225 void populateEstimator(const State& state, VelocityTracker::Estimator* outEstimator) const;
/frameworks/base/media/java/android/media/
H A DAudioManager.java126 * @hide Broadcast intent when the master mute state changes.
191 * @hide The new master volume mute state for the master mute changed intent.
874 * @param state The required solo state: true for solo ON, false for solo OFF
876 public void setStreamSolo(int streamType, boolean state) { argument
879 service.setStreamSolo(streamType, state, mICallBack);
903 * @param state The required mute state: true for mute ON, false for mute OFF
905 public void setStreamMute(int streamType, boolean state) { argument
908 service.setStreamMute(streamType, state, mICallBac
934 setMasterMute(boolean state) argument
943 setMasterMute(boolean state, int flags) argument
2426 setWiredDeviceConnectionState(int device, int state, String name) argument
2443 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state) argument
[all...]
H A DAudioService.java93 * will update our internal state, but in a separate thread will set the system
95 * will update the state and broadcast a change and in a separate thread later
365 // SCO audio state is not active
369 // SCO audio state is active or starting due to a local request to start a virtual call
374 // SCO audio state is active due to an action in BT handsfree (either voice recognition or
381 // Current connection state indicated by bluetooth headset
501 // state on streams affected by ringer mode.
537 // Register for phone state monitoring
1118 * Sets the stream state's index, and posts a message to set system volume.
1165 public void setStreamSolo(int streamType, boolean state, IBinde argument
1174 setStreamMute(int streamType, boolean state, IBinder cb) argument
1186 setMasterMute(boolean state, int flags, IBinder cb) argument
2005 requestScoState(int state) argument
2154 broadcastScoConnectionState(int state) argument
2604 setWiredDeviceConnectionState(int device, int state, String name) argument
2616 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state) argument
2930 mute(IBinder cb, boolean state) argument
2962 mute(boolean state) argument
3057 getDeathHandler(IBinder cb, boolean state) argument
3254 onPersistSafeVolumeState(int state) argument
3573 onSetA2dpConnectionState(BluetoothDevice btDevice, int state) argument
3663 checkSendBecomingNoisyIntent(int device, int state) argument
3691 sendDeviceConnectionIntent(int device, int state, String name) argument
3744 onSetWiredDeviceConnectionState(int device, int state, String name) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPanelBar.java48 public void go(int state) { argument
49 if (DEBUG) LOG("go state: %d -> %d", mState, state);
50 mState = state;
111 if (DEBUG) LOG("PanelBar.onTouch: state=%d ACTION_DOWN: panel %s %s", mState, panel,
141 if (DEBUG) LOG("panelExpansionChanged: start state=%d panel=%s", mState, panel.getName());
174 if (DEBUG) LOG("panelExpansionChanged: end state=%d [%s%s ]", mState,
/frameworks/base/services/java/com/android/server/power/
H A DDisplayPowerController.java47 * Controls the power state of the display.
53 * In particular, it does not share any state and it only communicates
78 // screen state returns. Playing the animation can also be somewhat slow.
236 // The important parts are mainly the screen state. Brightness changes may occur
241 // Set to true if a power state update is required.
245 /* The following state must only be accessed by the handler thread. */
247 // The currently requested power state.
248 // The power controller will progressively update its internal state to match
249 // the requested power state. Initially null until the first update.
252 // The current power state
1234 proximityToString(int state) argument
1247 wantScreenOn(int state) argument
[all...]
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPerformanceTest.java258 String state = Environment.getExternalStorageState();
260 if (!Environment.MEDIA_MOUNTED.equals(state)
261 && !Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)) {
/frameworks/wilhelm/src/itf/
H A DIEffectSend.c70 SLuint32 state = outputMix->mObject.mInterfaceStates[index]; local
73 switch (state) {
86 SL_LOGE("EffectSend invalid interface state %u", state);
H A DIAndroidBufferQueue.c26 * Determine the state of the audio player or media player associated with a buffer queue.
32 SLuint32 state; local
35 state = ((CMediaPlayer *) thiz->mThis)->mPlay.mState;
38 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
43 state = SL_PLAYSTATE_STOPPED;
46 return state;
244 // verify pre-condition that media object is in the SL_PLAYSTATE_STOPPED state
272 // reset the queue state
383 // set enqueue attribute if state is PLAYING and the first buffer is enqueued
/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c194 // set the player's state to playing
200 SLBufferQueueState state; local
201 result = (*playerBufferQueue)->GetState(playerBufferQueue, &state);
203 if (state.count == 0)
/frameworks/av/media/common_time/
H A DICommonClock.cpp180 virtual status_t getState(State* state) { argument
187 *state = static_cast<State>(reply.readInt32());
347 State state; local
348 status_t status = getState(&state);
351 reply->writeInt32(static_cast<int32_t>(state));
/frameworks/wilhelm/tests/automated/
H A DBufferQueue_test.cpp238 void SetPlayerState(SLuint32 state) { argument
239 res = (*playerPlay)->SetPlayState(playerPlay, state);
241 //verify the state can set correctly
242 GetPlayerState(state);
245 void GetPlayerState(SLuint32 state) { argument
248 ASSERT_EQ(state, playerState);
263 // changing the play state should not affect the buffer count
275 // set play state to playing
278 // state should be playing immediately after enqueue
291 // state shoul
[all...]
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c231 module->context.state = DOWNMIX_STATE_UNINITIALIZED;
256 pDwmModule->context.state = DOWNMIX_STATE_UNINITIALIZED;
307 if (pDownmixer->state == DOWNMIX_STATE_UNINITIALIZED) {
310 } else if (pDownmixer->state == DOWNMIX_STATE_INITIALIZED) {
396 if (pDwmModule == NULL || pDwmModule->context.state == DOWNMIX_STATE_UNINITIALIZED) {
468 if (pDownmixer->state != DOWNMIX_STATE_INITIALIZED) {
471 pDownmixer->state = DOWNMIX_STATE_ACTIVE;
480 if (pDownmixer->state != DOWNMIX_STATE_ACTIVE) {
483 pDownmixer->state = DOWNMIX_STATE_INITIALIZED;
535 pDwnmxModule->context.state
[all...]
/frameworks/base/services/java/com/android/server/
H A DUiModeManagerService.java102 // the dock state changes. The original ordered broadcast is sent with an initial result
127 int state = intent.getIntExtra(Intent.EXTRA_DOCK_STATE,
129 updateDockState(state);
290 private static boolean isDeskDockState(int state) { argument
291 switch (state) {
576 TwilightState state = mTwilightService.getCurrentState();
577 if (state != null) {
578 mComputedNightMode = state.isNight();
594 pw.println("Current UI Mode Service state:");
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java253 PackageUserState state = new PackageUserState();
255 grantedPermissions, state, UserHandle.getCallingUserId());
267 HashSet<String> grantedPermissions, PackageUserState state) {
270 grantedPermissions, state, UserHandle.getCallingUserId());
273 private static boolean checkUseInstalled(int flags, PackageUserState state) { argument
274 return state.installed || ((flags & PackageManager.GET_UNINSTALLED_PACKAGES) != 0);
279 HashSet<String> grantedPermissions, PackageUserState state, int userId) {
281 if (!checkUseInstalled(flags, state)) {
290 pi.applicationInfo = generateApplicationInfo(p, flags, state, userId);
326 state, userI
265 generatePackageInfo(PackageParser.Package p, int gids[], int flags, long firstInstallTime, long lastUpdateTime, HashSet<String> grantedPermissions, PackageUserState state) argument
277 generatePackageInfo(PackageParser.Package p, int gids[], int flags, long firstInstallTime, long lastUpdateTime, HashSet<String> grantedPermissions, PackageUserState state, int userId) argument
3495 copyNeeded(int flags, Package p, PackageUserState state, Bundle metaData, int userId) argument
3525 generateApplicationInfo(Package p, int flags, PackageUserState state) argument
3530 generateApplicationInfo(Package p, int flags, PackageUserState state, int userId) argument
3634 generateActivityInfo(Activity a, int flags, PackageUserState state, int userId) argument
3671 generateServiceInfo(Service s, int flags, PackageUserState state, int userId) argument
3716 generateProviderInfo(Provider p, int flags, PackageUserState state, int userId) argument
[all...]

Completed in 1008 milliseconds

<<11121314151617181920>>