/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
H A D | TvStatusBar.java | 60 public void disable(int state) { argument
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 524 // 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 1675 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument [all...] |
/frameworks/av/include/media/ |
H A D | SoundPool.h | 61 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 D | VideoEditorBuffer.c | 161 * @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 D | AudioBiquadFilter.cpp | 88 void AudioBiquadFilter::setState(state_t state) { argument 89 switch (state) { 117 mState = state;
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | agc.cpp | 508 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 D | SoftOMXComponent.cpp | 249 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 D | CallbackProcessor.cpp | 196 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 D | Ime.java | 138 private void runSetEnabled(boolean state) { argument 147 boolean res = mImm.setInputMethodEnabled(id, state); 148 if (state) {
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothA2dp.java | 51 * 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 D | Recognizer.java | 371 * 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 D | AnimationDrawable.java | 356 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 D | VelocityTracker.h | 70 // 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/services/java/com/android/server/power/ |
H A D | DisplayPowerController.java | 48 * Controls the power state of the display. 54 * In particular, it does not share any state and it only communicates 79 // screen state returns. Playing the animation can also be somewhat slow. 237 // The important parts are mainly the screen state. Brightness changes may occur 242 // Set to true if a power state update is required. 246 /* The following state must only be accessed by the handler thread. */ 248 // The currently requested power state. 249 // The power controller will progressively update its internal state to match 250 // the requested power state. Initially null until the first update. 253 // The current power state 1235 proximityToString(int state) argument 1248 wantScreenOn(int state) argument [all...] |
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
H A D | PerformanceTest.java | 258 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 D | IEffectSend.c | 70 SLuint32 state = outputMix->mObject.mInterfaceStates[index]; local 73 switch (state) { 86 SL_LOGE("EffectSend invalid interface state %u", state);
|
H A D | IAndroidBufferQueue.c | 26 * 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 D | configbq.c | 194 // set the player's state to playing 200 SLBufferQueueState state; local 201 result = (*playerBufferQueue)->GetState(playerBufferQueue, &state); 203 if (state.count == 0)
|
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 126 * @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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelBar.java | 48 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/av/media/common_time/ |
H A D | ICommonClock.cpp | 180 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 D | BufferQueue_test.cpp | 238 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 D | EffectDownmix.c | 231 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 D | UiModeManagerService.java | 102 // 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 D | PackageParser.java | 253 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...] |