Searched defs:state (Results 26 - 50 of 340) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/foundation/
H A DAHierarchicalStateMachine.cpp66 ALOGW("Warning message %s unhandled in root state.",
70 void AHierarchicalStateMachine::changeState(const sp<AState> &state) { argument
71 if (state == mState) {
87 cur = state;
102 mState = state;
/frameworks/base/cmds/ip-up-vpn/
H A Dip-up-vpn.c68 FILE *state = fopen(DIR ".tmp", "wb"); local
69 if (!state) {
70 ALOGE("Cannot create state: %s", strerror(errno));
76 fprintf(state, "%s\n", argv[1]);
77 fprintf(state, "%s/32\n", argv[4]);
78 fprintf(state, "0.0.0.0/0\n");
79 fprintf(state, "%s %s\n", env("DNS1"), env("DNS2"));
80 fprintf(state, "\n");
137 fprintf(state, "%s\n", interface);
138 fprintf(state, "
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DTestedScreen.java63 protected void onRestoreInstanceState(Bundle state) { argument
64 super.onRestoreInstanceState(state);
H A DSubActivityScreen.java69 protected void onRestoreInstanceState(Bundle state) { argument
70 super.onRestoreInstanceState(state);
/frameworks/rs/
H A DrsProgramRaster.h44 State state; member in struct:android::renderscript::ProgramRaster::Hal
/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...]
H A Dbgnscd.cpp91 state = points to memory of type Bgn_scdState.
94 The memory of type Bgn_scdState pointed to by state is set to all
110 Resets state memory.
125 Word16 Bgn_scd_reset (Bgn_scdState *state)
127 if (state == (Bgn_scdState *) NULL){
133 Set_zero (state->frameEnergyHist, L_ENERGYHIST);
136 state->bgHangover = 0;
164 Word16 Bgn_scd_reset(Bgn_scdState *state) argument
166 if (state == (Bgn_scdState *) NULL)
173 memset(state
[all...]
H A Dc_g_aver.cpp121 state = pointer to a structure of type Cb_gain_averageState
124 Structure pointed to by state is initialized to zeros
139 Resets state memory
154 Word16 Cb_gain_average_reset (Cb_gain_averageState *state)
156 if (state == (Cb_gain_averageState *) NULL){
162 Set_zero (state->cbGainHistory, L_CBGAINHIST);
165 state->hangVar = 0;
166 state->hangCount= 0;
194 Word16 Cb_gain_average_reset(Cb_gain_averageState *state) argument
196 if (state
[all...]
H A Dpstfilt.cpp166 state = pointer to structure of type Post_FilterState
169 fields of the structure pointed to by state is initialized to zero
183 This function initializes the state memory used by the Post_Filter function
199 int Post_Filter_reset (Post_FilterState *state)
201 if (state == (Post_FilterState *) NULL){
206 Set_zero (state->mem_syn_pst, M);
207 Set_zero (state->res2, L_SUBFR);
208 Set_zero (state->synth_buf, L_FRAME + M);
209 agc_reset(state->agc_state);
210 preemphasis_reset(state
238 Post_Filter_reset(Post_FilterState *state) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.h44 } state; typedef in class:android::AudioResamplerCubic
50 static inline int32_t interp(state* p, int32_t x) {
53 static inline void advance(state* p, int16_t in) {
62 state left, right;
/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/app/
H A DListActivity.java152 * // requerying or closing it as the activity changes state.
217 protected void onRestoreInstanceState(Bundle state) { argument
219 super.onRestoreInstanceState(state);
232 * Updates the screen state (current list and other views) when the
H A DTabActivity.java83 protected void onRestoreInstanceState(Bundle state) { argument
84 super.onRestoreInstanceState(state);
86 String cur = state.getString("currentTab");
120 * Updates the screen state (current list and other views) when the
/frameworks/base/core/java/android/net/
H A DNetworkIdentity.java139 public static NetworkIdentity buildNetworkIdentity(Context context, NetworkState state) { argument
140 final int type = state.networkInfo.getType();
141 final int subType = state.networkInfo.getSubtype();
154 if (state.subscriberId != null) {
155 subscriberId = state.subscriberId;
161 if (state.networkId != null) {
162 networkId = state.networkId;
/frameworks/base/core/java/android/os/
H A DSystemService.java44 State(String state) { argument
45 sStates.put(state, this);
78 * Return current state of given service.
82 final State state = sStates.get(rawState);
83 if (state != null) {
84 return state;
105 * Wait until given service has entered specific state.
107 public static void waitForState(String service, State state, long timeoutMillis) argument
113 if (state.equals(currentState)) {
119 + "; waited " + timeoutMillis + "ms for " + state);
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DLegacyVpnInfo.java42 public int state = -1; field in class:LegacyVpnInfo
53 out.writeInt(state);
63 info.state = in.readInt();
75 * Return best matching {@link LegacyVpnInfo} state based on given
89 Log.w(TAG, "Unhandled state " + info.getDetailedState()
/frameworks/base/graphics/java/android/graphics/drawable/
H A DMipmapDrawable.java306 private MipmapDrawable(MipmapContainerState state, Resources res) { argument
307 MipmapContainerState as = new MipmapContainerState(state, this, res);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardUpdateMonitorCallback.java51 * @param state the current ringer state, as defined in
54 void onRingerModeChanged(int state) { } argument
57 * Called when the phone state changes. String will be one of:
93 * Called when the SIM state changes.
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DKeyguardUpdateMonitorCallback.java51 * @param state the current ringer state, as defined in
54 void onRingerModeChanged(int state) { } argument
57 * Called when the phone state changes. String will be one of:
87 * Called when the SIM state changes.
/frameworks/base/services/java/com/android/server/
H A DUpdateLockService.java74 void sendLockChangedBroadcast(boolean state) { argument
79 .putExtra(UpdateLock.NOW_IS_CONVENIENT, state)
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/
H A DMapView.java112 public void onSaveInstanceState(Bundle state) { argument
115 public void onRestoreInstanceState(Bundle state) { argument
/frameworks/base/wifi/java/android/net/wifi/
H A DSupplicantState.java26 * state. This is more fine-grained than most users will be interested in.
31 * state constants in <code>defs.h</code> in <code>wpa_supplicant</code>.
35 * This state indicates that client is not associated, but is likely to
36 * start looking for an access point. This state is entered when a
44 * This state is entered if the network interface is disabled.
51 * Inactive state (wpa_supplicant disabled).
53 * This state is entered if there are no enabled networks in the
63 * This state is entered when wpa_supplicant starts scanning for a
71 * This state is entered when wpa_supplicant has found a suitable BSS
80 * This state i
169 isValidState(SupplicantState state) argument
175 isHandshakeState(SupplicantState state) argument
197 isConnecting(SupplicantState state) argument
219 isDriverActive(SupplicantState state) argument
[all...]
/frameworks/opt/telephony/mockril/src/com/android/internal/telephony/mockril/
H A DMockRilController.java87 * @return the radio state if it is valid, otherwise return -1
101 int state = resp.getState();
102 if ((state >= RilCmds.RADIOSTATE_OFF) && (state <= RilCmds.RADIOSTATE_NV_READY))
103 return state;
109 * Set the radio state of mock ril to the given state
110 * @param state for given radio state
111 * @return true if the state i
113 setRadioState(int state) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DOperatorInfo.java37 private State state = State.UNKNOWN; field in class:OperatorInfo
57 return state;
63 State state) {
69 this.state = state;
82 * See state strings defined in ril.h RIL_REQUEST_QUERY_AVAILABLE_NETWORKS
95 "RIL impl error: Invalid network state '" + s + "'");
104 + "/" + state;
127 dest.writeSerializable(state);
141 (State) in.readSerializable()); /*state*/
60 OperatorInfo(String operatorAlphaLong, String operatorAlphaShort, String operatorNumeric, State state) argument
[all...]
H A DPhoneNotifier.java42 PhoneConstants.DataState state);
41 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument

Completed in 652 milliseconds

1234567891011>>