/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmCallTracker.java | 88 PhoneConstants.State state = PhoneConstants.State.IDLE; field in class:GsmCallTracker 175 // note that this triggers call state changed notif 179 throw new CallStateException("cannot dial in current state"); 192 // Fake local state so that 201 throw new CallStateException("cannot dial in current state"); 279 throw new CallStateException("cannot be in the incoming state"); 388 PhoneConstants.State oldState = state; 391 state = PhoneConstants.State.RINGING; 394 state = PhoneConstants.State.OFFHOOK; 396 state [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioBiquadFilter.h | 34 // from its current state to the desired state. 52 // Resets the internal state of the filter. 53 // Coefficients are reset to identity, state becomes disabled. This change 82 // immediate If true, transitions to new state smoothly, without 88 // immediate If true, transitions to new state smoothly, without 107 // Filter state. 111 // In the process of smooth transition to bypass state. 113 // In the process of smooth transition to normal (enabled) state. 115 // In normal (enabled) state [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | vad2.h | 119 #define STATE_1_TO_0_SHIFT_R (FRACTIONAL_BITS_1-FRACTIONAL_BITS_0) /* state correction factor */ 120 #define STATE_0_TO_1_SHIFT_R (FRACTIONAL_BITS_0-FRACTIONAL_BITS_1) /* state correction factor */ 188 void vad2_exit(vadState2 **state);
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
H A D | gc_pred.cpp | 98 state = pointer to a structure of type gc_predState 101 past_qua_en field in the structure pointed to by state is initialized 103 past_qua_en_MR122 field in the structure pointed to by state is 118 This function initializes the state memory used by gc_pred to zero. 133 int gc_pred_reset (gc_predState *state) 137 if (state == (gc_predState *) NULL){ 144 state->past_qua_en[i] = MIN_ENERGY; 145 state->past_qua_en_MR122[i] = MIN_ENERGY_MR122; 173 Word16 gc_pred_reset(gc_predState *state) argument 177 if (state [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_amr.h | 134 Word16 state; member in struct:Decoder_amrState 166 * Purpose : Allocates initializes state memory 175 * Purpose : Resets state memory
|
/frameworks/base/core/java/android/preference/ |
H A D | SeekBarPreference.java | 171 * must save the instance state so it is able to, for example, survive 177 // No need to save instance state since it's persistent 181 // Save the instance state 189 protected void onRestoreInstanceState(Parcelable state) { argument 190 if (!state.getClass().equals(SavedState.class)) { 191 // Didn't save state for us in onSaveInstanceState 192 super.onRestoreInstanceState(state); 196 // Restore the instance state 197 SavedState myState = (SavedState) state; 205 * SavedState, a subclass of {@link BaseSavedState}, will store the state [all...] |
H A D | VolumePreference.java | 153 // No need to save instance state since it's persistent 165 protected void onRestoreInstanceState(Parcelable state) { argument 166 if (state == null || !state.getClass().equals(SavedState.class)) { 167 // Didn't save state for us in onSaveInstanceState 168 super.onRestoreInstanceState(state); 172 SavedState myState = (SavedState) state;
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
H A D | TargetDrawable.java | 102 public void setState(int [] state) { argument 105 d.setState(state); 109 public boolean hasState(int [] state) { argument 113 return d.getStateDrawableIndex(state) != -1; 119 * Returns true if the drawable is a StateListDrawable and is in the focused state. 138 * drawable in a valid state. Currently all targets with valid drawables are valid.
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ClipDrawable.java | 176 protected boolean onStateChange(int[] state) { argument 177 return mClipState.mDrawable.setState(state); 297 private ClipDrawable(ClipState state, Resources res) { argument 298 mClipState = new ClipState(state, this, res);
|
H A D | InsetDrawable.java | 212 protected boolean onStateChange(int[] state) { argument 213 boolean changed = mInsetState.mDrawable.setState(state); 312 private InsetDrawable(InsetState state, Resources res) { argument 313 mInsetState = new InsetState(state, this, res);
|
H A D | ScaleDrawable.java | 195 protected boolean onStateChange(int[] state) { argument 196 boolean changed = mScaleState.mDrawable.setState(state); 312 private ScaleDrawable(ScaleState state, Resources res) { argument 313 mScaleState = new ScaleState(state, this, res);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCallBase.java | 44 return state.toString() + ":" + super.toString();
|
/frameworks/rs/ |
H A D | rsProgram.h | 57 State state; member in struct:android::renderscript::Program::Hal
|
H A D | rsProgramRaster.h | 44 State state; member in struct:android::renderscript::ProgramRaster::Hal
|
H A D | rsProgramStore.h | 56 State state; member in struct:android::renderscript::ProgramStore::Hal
|
H A D | rsProgramVertex.h | 35 virtual void setup(Context *rsc, ProgramVertexState *state);
|
H A D | rsSampler.h | 50 State state; member in struct:android::renderscript::Sampler::Hal
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsSampler.h | 50 State state; member in struct:android::renderscript::Sampler::Hal
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestSawtoothBufferQueue.cpp | 124 SLBufferQueueState state; local 254 res = (*bufferQueueItf)->GetState(bufferQueueItf, &state); 257 // while (state.playIndex < 100) { 258 while (state.count) { 260 (*bufferQueueItf)->GetState(bufferQueueItf, &state);
|
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 166 changeListener.onObbStateChange(ev.path, ev.state); 181 void sendObbStateChanged(String path, int state) { argument 182 ObbStateChangedStorageEvent e = new ObbStateChangedStorageEvent(path, state); 193 public final int state; field in class:StorageManager.ObbStateChangedStorageEvent 195 public ObbStateChangedStorageEvent(String path, int state) { argument 198 this.state = state; 237 * Message sent on volume state change. 415 Log.e(TAG, "Failed to get UMS connection state", ex); 430 Log.e(TAG, "Failed to get UMS enable state", re [all...] |
/frameworks/base/keystore/tests/src/android/security/ |
H A D | KeyStoreTest.java | 117 if (mKeyStore.state() != KeyStore.State.UNINITIALIZED) { 120 assertEquals("KeyStore should be in an uninitialized state", 121 KeyStore.State.UNINITIALIZED, mKeyStore.state()); 132 assertEquals(KeyStore.State.UNINITIALIZED, mKeyStore.state()); 137 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state()); 205 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state()); 208 assertEquals(KeyStore.State.LOCKED, mKeyStore.state()); 213 assertEquals(KeyStore.State.UNLOCKED, mKeyStore.state());
|
/frameworks/base/services/java/com/android/server/ |
H A D | TwilightService.java | 97 * Gets the current twilight state. 99 * @return The current twilight state, or null if no information is available. 123 private void setTwilightState(TwilightState state) { argument 125 if (!Objects.equal(mTwilightState, state)) { 127 Slog.d(TAG, "Twilight state changed: " + state); 130 mTwilightState = state; 258 * Listener for changes in twilight state. 490 // set twilight state 491 TwilightState state [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
H A D | CdmaConnection.java | 140 parent = parentFromDCState (dc.state); 172 //for the three way call case, not change parent state 173 if (parent.state == CdmaCall.State.ACTIVE) { 481 // Returns true if state has changed, false if nothing changed 489 newParent = parentFromDCState(dc.state); 527 /** Some state-transition events */ 731 PostDialState state = postDialState; 734 ar.userObj = state; 750 || parent.state == CdmaCall.State.DIALING 751 || parent.state 755 parentFromDCState(DriverCall.State state) argument [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
H A D | PreProcessing.cpp | 50 // Session state 56 // Effect/Preprocessor state 88 uint32_t state; // current state (enum preproc_effect_state) member in struct:preproc_effect_s 101 uint32_t state; // current state (enum preproc_session_state) member in struct:preproc_session_s 636 LOG_ALWAYS_FATAL("Bad state transition from %d to %d", from, to); 638 int Effect_SetState(preproc_effect_t *effect, uint32_t state) argument 641 ALOGV("Effect_SetState proc %d, new %d old %d", effect->procId, state, effect->state); [all...] |
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 78 status_t AudioSystem::muteMicrophone(bool state) { argument 81 return af->setMicMute(state); 84 status_t AudioSystem::isMicrophoneMuted(bool* state) { argument 87 *state = af->getMicMute(); 540 audio_policy_dev_state_t state, 552 return aps->setDeviceConnectionState(device, state, address); 564 status_t AudioSystem::setPhoneState(audio_mode_t state) argument 566 if (uint32_t(state) >= AUDIO_MODE_CNT) return BAD_VALUE; 570 return aps->setPhoneState(state); 729 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_ argument 539 setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument 738 isSourceActive(audio_source_t stream, bool* state) argument [all...] |