/frameworks/base/telephony/java/android/telephony/ |
H A D | ServiceState.java | 25 * Contains phone state and service related information. 30 * <li>Service state: IN_SERVICE, OUT_OF_SERVICE, EMERGENCY_ONLY, POWER_OFF 162 * @param s Source service state 241 * Get current service state of phone 476 private void setNullState(int state) { argument 477 mState = state; 502 public void setState(int state) { argument 503 mState = state; 584 mState = m.getInt("state"); 600 * Set intent notifier Bundle based on service state 623 setRadioTechnology(int state) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CdmaCallTracker.java | 82 Phone.State state = Phone.State.IDLE; field in class:CdmaCallTracker 138 if (state != Phone.State.IDLE) { 184 // note that this triggers call state changed notif 188 throw new CallStateException("cannot dial in current state"); 202 // didn't know the state (i.e. Generic was true) we now know 282 // ringing Call state change to idle is in CdmaCall.detach 308 throw new CallStateException("cannot be in the incoming state"); 322 // Should we be checking state? 444 Phone.State oldState = state; 447 state [all...] |
H A D | CdmaConnection.java | 138 parent = parentFromDCState (dc.state); 170 //for the three way call case, not change parent state 171 if (parent.state == CdmaCall.State.ACTIVE) { 482 // Returns true if state has changed, false if nothing changed 490 newParent = parentFromDCState(dc.state); 528 /** Some state-transition events */ 732 PostDialState state = postDialState; 735 ar.userObj = state; 751 || parent.state == CdmaCall.State.DIALING 752 || parent.state 756 parentFromDCState(DriverCall.State state) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmConnection.java | 133 parent = parentFromDCState (dc.state); 424 // Returns true if state has changed, false if nothing changed 432 newParent = parentFromDCState(dc.state); 453 /** Some state-transition events */ 638 PostDialState state = postDialState; 641 ar.userObj = state; 658 || parent.state == GsmCall.State.DIALING 659 || parent.state == GsmCall.State.ALERTING; 663 parentFromDCState (DriverCall.State state) { argument 664 switch (state) { [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeXmlBlockParser.java | 98 public void setFeature(String name, boolean state) argument 100 if (FEATURE_PROCESS_NAMESPACES.equals(name) && state) { 103 if (FEATURE_REPORT_NAMESPACE_ATTRIBUTES.equals(name) && state) {
|
/frameworks/base/tools/localize/ |
H A D | XMLHandler.cpp | 571 xml_handler_data state; local 572 state.stack.push_back(handler); 573 state.parser = parser; 574 state.filename = filename; 576 XML_SetUserData(parser, &state); 610 xml_handler_data state; 611 state.stack.push_back(handler); 612 state.parser = parser; 613 state.filename = filename; 615 XML_SetUserData(parser, &state); [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiMonitor.java | 91 * <code>x</code> is the numerical value of the new state. 117 * CTRL-EVENT-DRIVER-STATE state 119 * <code>state</code> can be HANGED 201 /* Supplicant events reported to a state machine */ 214 /* Supplicate state changed */ 415 private void handleDriverEvent(String state) { argument 416 if (state == null) { 419 if (state.equals("HANGED")) { 504 * @param dataString New supplicant state string in the format: 505 * id=network-id state [all...] |
/frameworks/media/libvideoeditor/vss/3gpwriter/inc/ |
H A D | M4MP4W_Types.h | 283 M4MP4W_State state; member in struct:__anon1378
|
/frameworks/base/cmds/keystore/ |
H A D | keystore.cpp | 451 void setState(State state) { argument 452 mState = state; 688 State state; member in struct:action 735 if (action->state != STATE_ANY && action->state != keyStore->getState()) { 799 LOGI("uid: %d action: %c -> %d state: %d -> %d retry: %d",
|
/frameworks/base/core/java/android/app/ |
H A D | ApplicationThreadNative.java | 137 Bundle state = data.readBundle(); 146 scheduleLaunchActivity(intent, b, ident, info, curConfig, compatInfo, state, ri, pi, 635 Bundle state, List<ResultInfo> pendingResults, 647 data.writeBundle(state); 633 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler) argument
|
H A D | FragmentManager.java | 129 * to an activity saving its state. If you try to commit a transaction 134 * in the state, and if changes are made after the state is saved then they 190 * Pop the top state off the back stack. This function is asynchronous -- it 211 * @param name If non-null, this is the name of a previous back state 212 * to look for; if found, all states up to that state will be popped. The 214 * the named state itself is popped. If null, only the top state is popped. 238 * the named state itself is popped. 275 * persisted as saved state, an 1413 addBackStackState(BackStackRecord state) argument 1645 restoreAllState(Parcelable state, ArrayList<Fragment> nonConfig) argument [all...] |
H A D | IApplicationThread.java | 57 Bundle state, List<ResultInfo> pendingResults, 55 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler) argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | XmlBlock.java | 84 public void setFeature(String name, boolean state) throws XmlPullParserException { argument 85 if (FEATURE_PROCESS_NAMESPACES.equals(name) && state) { 88 if (FEATURE_REPORT_NAMESPACE_ATTRIBUTES.equals(name) && state) { 497 /*package*/ static final native int nativeNext(int state); argument 498 private static final native int nativeGetNamespace(int state); argument 499 /*package*/ static final native int nativeGetName(int state); argument 500 private static final native int nativeGetText(int state); argument 501 private static final native int nativeGetLineNumber(int state); argument 502 private static final native int nativeGetAttributeCount(int state); argument 503 private static final native int nativeGetAttributeNamespace(int state, in argument 504 nativeGetAttributeName(int state, int idx) argument 505 nativeGetAttributeResource(int state, int idx) argument 506 nativeGetAttributeDataType(int state, int idx) argument 507 nativeGetAttributeData(int state, int idx) argument 508 nativeGetAttributeStringValue(int state, int idx) argument 509 nativeGetIdAttribute(int state) argument 510 nativeGetClassAttribute(int state) argument 511 nativeGetStyleAttribute(int state) argument 512 nativeGetAttributeIndex(int state, String namespace, String name) argument 513 nativeDestroyParseState(int state) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceActivity.java | 120 // Constants for state save/restore 199 // --- Common state 515 // We are restarting from a previous saved state; used that to 915 protected void onRestoreInstanceState(Bundle state) { argument 917 Bundle container = state.getBundle(PREFERENCES_TAG); 922 mSavedInstanceState = state; 928 // Only call this if we didn't save the instance state for later. 930 super.onRestoreInstanceState(state); 1145 // to pop the stack up to its root state.
|
/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/core/java/android/widget/ |
H A D | AdapterViewAnimator.java | 149 * Current touch state. 809 public void onRestoreInstanceState(Parcelable state) { argument 810 SavedState ss = (SavedState) state;
|
H A D | ExpandableListView.java | 44 * the item's current state (the states are usually one of expanded group, 48 * for each method to see additional state that each Drawable can have). The 319 // Get the indicator (with its state set to the item's state) 338 * is stateful, the state will be given to the indicator. 342 * @return The indicator in the proper state. 366 // No need for a state sets array for the child since it only has two states 1018 * child is the last child for a group, the state 1045 * group is empty, the state {@link android.R.attr#state_empty} will be 1046 * set. If the group is expanded, the state 1156 onRestoreInstanceState(Parcelable state) argument [all...] |
H A D | FastScroller.java | 173 int[] state = mState == STATE_DRAGGING ? PRESSED_STATES : DEFAULT_STATES; 176 mThumbDrawable.setState(state); 179 mTrackDrawable.setState(state); 201 public void setState(int state) { argument 202 switch (state) { 220 mState = state;
|
H A D | ImageView.java | 380 public void setImageState(int[] state, boolean merge) { argument 381 mState = state;
|
H A D | ProgressBar.java | 309 * traverse layer and state list drawables. 1029 int[] state = getDrawableState(); 1032 mProgressDrawable.setState(state); 1036 mIndeterminateDrawable.setState(state); 1081 // Force our ancestor class to save its state 1092 public void onRestoreInstanceState(Parcelable state) { argument 1093 SavedState ss = (SavedState) state;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | StateMachine.java | 32 * <p>The state machine defined here is a hierarchical state machine which processes messages 35 * <p>A state is a <code>State</code> object and must implement 39 * cleanup of the state respectively. The <code>getName</code> method returns the 40 * name of the state the default implementation returns the class name it may be 41 * desirable to have this return the name of the state instance name instead. 42 * In particular if a particular state class has multiple instances.</p> 44 * <p>When a state machine is created <code>addState</code> is used to build the 46 * is the initial state. After construction the programmer calls <code>start</code> 47 * which initializes the state machin 444 private State state; field in class:StateMachine.ProcessedMessageInfo 454 ProcessedMessageInfo(Message message, State state, State orgState) argument 464 update(Message message, State state, State orgState) argument 603 add(Message message, State state, State orgState) argument 663 State state; field in class:StateMachine.SmHandler.StateInfo 1059 addState(State state, State parent) argument 1211 addState(State state, State parent) argument 1233 addState(State state) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | MenuBuilder.java | 93 * Whether or not the items (or any one item's shown state) has changed since it was last 108 * Whether or not the items (or any one item's action state) has changed since it was 133 * Contains the state of the View hierarchy for all menu views when the menu 278 final Parcelable state = presenter.onSaveInstanceState(); 279 if (state != null) { 280 presenterStates.put(id, state); 289 private void dispatchRestoreInstanceState(Bundle state) { argument 290 SparseArray<Parcelable> presenterStates = state.getSparseParcelableArray(PRESENTER_KEY); 314 public void restorePresenterStates(Bundle state) { argument 315 dispatchRestoreInstanceState(state); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 1127 SavedState state = new SavedState(superState); 1130 state.expandedMenuItemId = mExpandedMenuPresenter.mCurrentExpandedItem.getItemId(); 1133 state.isOverflowOpen = isOverflowMenuShowing(); 1135 return state; 1140 SavedState state = (SavedState) p; 1142 super.onRestoreInstanceState(state.getSuperState()); 1144 if (state.expandedMenuItemId != 0 && 1146 final MenuItem item = mOptionsMenu.findItem(state.expandedMenuItemId); 1152 if (state.isOverflowOpen) { 1445 public void onRestoreInstanceState(Parcelable state) { argument [all...] |
H A D | LockPatternView.java | 413 * Reset all pattern state. 435 * timeout so user doesn't get view into messy state). 1094 protected void onRestoreInstanceState(Parcelable state) { argument 1095 final SavedState ss = (SavedState) state;
|
H A D | SlidingTab.java | 137 * Called when the "grabbed state" changes (i.e. when the user either grabs or releases 141 * @param grabbedState the new state: {@link #NO_HANDLE}, {@link #LEFT_HANDLE}, 151 * {@link #tab} is the tab shown on the screen in the default state. 264 void setState(int state) { argument 265 text.setPressed(state == STATE_PRESSED); 266 tab.setPressed(state == STATE_PRESSED); 267 if (state == STATE_ACTIVE) { 279 currentState = state; 420 * keeps internal state of the invalidation region which is just the view being animated. 553 * Reset the tabs to their original state an [all...] |