/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallManager.java | 103 // state registrants 232 * Get current coarse-grained voice call state. 234 * then the phone state is RINGING not OFFHOOK 251 * @return the service state of CallManager, which represents the 252 * highest priority state of all the service states of phones 384 // ALERTING, ACTIVE and DISCONNECTING state 633 * state--that is, one call holding and one call active. 704 throw new CallStateException("cannot dial in current state"); 787 * phone state--that is, one call holding and one call active. 864 * from a holding state 1660 getFirstCallOfState(ArrayList<Call> calls, Call.State state) argument [all...] |
H A D | PhoneBase.java | 164 * state change notification. DefaultPhoneNotifier is 191 * of state change events 248 Log.d(LOG_TAG, "Event EVENT_CALL_RING Received state=" + getState()); 251 Phone.State state = getState(); 253 && ((state == Phone.State.RINGING) || (state == Phone.State.IDLE))) { 643 * Get state 964 * @param state Phone.DataState enum. 966 public void simulateDataConnection(Phone.DataState state) { argument 969 switch (state) { [all...] |
H A D | RIL.java | 238 // Is this the first radio state change? 1984 // In case screen state was lost (due to process crash), 1985 // this ensures that the RIL knows the correct screen state. 1988 // screen state. Just send true for now. 1992 private void setRadioStateFromRILInt(int state) { argument 1996 switch(state) { 2010 "Unrecognized RIL_RadioState: " +state); 2016 * is powered off. This gets the radio into a known state, 2422 /* has bonus radio state int */ 2897 dc.state [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 138 * maintains all state and member information and remains attached to 142 * it is <em>stopped</em>. It still retains all state and member information, 149 * completely restarted and restored to its previous state.</li> 152 * <p>The following diagram shows the important state paths of an Activity. 167 * of "global" state in onCreate(), and release all remaining resources in 196 * to do appropriate work when the activity changes state. All 241 * frozen state, if there was one. 323 * in such a background state, allowing you to save away any dynamic instance 324 * state in your activity into the given Bundle, to be later received in 336 * state, fo 881 createDialog(Integer dialogId, Bundle state, Bundle args) argument [all...] |
H A D | ActivityThread.java | 200 Bundle state; field in class:ActivityThread.ActivityClientRecord 413 ActivityInfo info, Bundle state, List<ResultInfo> pendingResults, 421 r.state = state; 1464 Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, 1470 r.state = state; 1564 if (r.state != null) { 1565 r.state.setClassLoader(cl); 1611 mInstrumentation.callActivityOnCreate(activity, r.state); 412 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward) argument 1463 startActivityNow(Activity parent, String id, Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, Object lastNonConfigurationInstance) argument [all...] |
H A D | IActivityManager.java | 122 public void activityPaused(IBinder token, Bundle state) throws RemoteException; argument
|
/frameworks/base/core/java/android/server/ |
H A D | BluetoothService.java | 409 * @param saveSetting If true, persist the new state of BT in settings 443 private synchronized void setBluetoothState(int state) { argument 444 if (state == mBluetoothState) { 448 if (DBG) log("Bluetooth state " + mBluetoothState + " -> " + state); 452 intent.putExtra(BluetoothAdapter.EXTRA_STATE, state); 455 mBluetoothState = state; 670 /** local cache of bonding state. 671 /* we keep our own state to track the intermediate state BONDIN 722 setBondState(String address, int state) argument 727 setBondState(String address, int state, int reason) argument 803 listInState(int state) argument 1330 listInState(int state) argument 1342 setBondState(String address, int state) argument 1346 setBondState(String address, int state, int reason) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 295 * @param st The panel state to prepare. 317 // Init the panel state's menu--return false if init failed 342 // Set other state 357 // Freeze state 358 final Bundle state = new Bundle(); 359 menuBuilder.saveHierarchyState(state); 368 // Restore state 369 menuBuilder.restoreHierarchyState(state); 409 // Callback doesn't want the menu to open, reset any state 573 // We have had a long press while in a state wher 2680 onRestoreInstanceState(Parcelable state) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | PowerManagerService.java | 97 // time since last state: time since last event: 152 // These magic numbers are the initial state of the LEDs at boot. Ideally 397 int state = intent.getIntExtra(Intent.EXTRA_DOCK_STATE, 399 dockStateChanged(state); 620 // pretend that the settings changed so we will get their initial state 845 // by the current state so we never turn it more on than 1076 private static String dumpPowerState(int state) { argument 1077 return (((state & KEYBOARD_BRIGHT_BIT) != 0) 1079 + (((state & SCREEN_BRIGHT_BIT) != 0) 1081 + (((state 1628 setPowerState(int state) argument 2092 applyButtonState(int state) argument 2112 applyKeyboardState(int state) argument 2337 dockStateChanged(int state) argument [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 479 public void updateNetworkState(int state, NetworkInfo info) { argument 480 sendMessage(UPDATE_NETWORK_STATE, state, info); 483 private void handleUpdateNetworkState(int state, NetworkInfo info) { argument 484 mNetworkAvailable = (state == LocationProvider.AVAILABLE);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiStateTracker.java | 71 * Track the state of Wifi connectivity. All event handling is done here, 72 * and all changes in connectivity state are initiated here. 103 * The driver is started or stopped. The object will be the state: true for 111 * The driver state indication. 176 * The current WPA supplicant loop state (used to detect looping behavior): 186 * The current number of supplicant state changes. This is used to determine 195 * If the next incoming supplicant state change event is DISCONNECT, 284 * supplicant in a scanning state. This allows supplicant to associate with 289 * The number of scans since the last network state change. When this 291 * supplicant to actually be scanning. When the network state change 366 SupplicantStateChangeResult(int networkId, String BSSID, SupplicantState state) argument 373 SupplicantState state; field in class:WifiStateTracker.SupplicantStateChangeResult 382 NetworkStateChangeResult(DetailedState state, String BSSID, int networkId) argument 387 DetailedState state; field in class:WifiStateTracker.NetworkStateChangeResult 449 setSupplicantState(SupplicantState state) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 320 * of the currently selected view. Used to save and restore state. 447 * The last scroll state reported to clients through {@link OnScrollListener}. 500 * Tracks the state of the top edge glow. 505 * Tracks the state of the bottom edge glow. 536 * being in the idle state since these transitions are not animated. 557 * @param view The view whose scroll state is being reported 559 * @param scrollState The current scroll state. One of {@link #SCROLL_STATE_IDLE}, 567 * @param view The view whose scroll state is being reported 702 * Returns the current state of the fast scroll feature. 743 * Returns the current state o 1017 onRestoreInstanceState(Parcelable state) argument [all...] |
H A D | TextView.java | 1437 int[] state; 1439 state = getDrawableState(); 1442 left.setState(state); 1452 right.setState(state); 1462 top.setState(state); 1472 bottom.setState(state); 2321 int[] state = getDrawableState(); 2323 dr.mDrawableTop.setState(state); 2326 dr.mDrawableBottom.setState(state); 2329 dr.mDrawableLeft.setState(state); 2462 onRestoreInstanceState(Parcelable state) argument [all...] |
/frameworks/base/libs/ui/tests/ |
H A D | InputReader_test.cpp | 428 void setKeyCodeState(int32_t deviceId, int32_t keyCode, int32_t state) { argument 430 device->keyCodeStates.replaceValueFor(keyCode, state); 433 void setScanCodeState(int32_t deviceId, int32_t scanCode, int32_t state) { argument 435 device->scanCodeStates.replaceValueFor(scanCode, state); 438 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) { argument 440 device->switchStates.replaceValueFor(switchCode, state); 614 void setGlobalMetaState(int32_t state) { argument 615 mGlobalMetaState = state; 704 void setKeyCodeState(int32_t keyCode, int32_t state) { argument 705 mKeyCodeStates.replaceValueFor(keyCode, state); 708 setScanCodeState(int32_t scanCode, int32_t state) argument 712 setSwitchState(int32_t switchCode, int32_t state) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 393 * Clear state of this counter. 509 * Clear state of this timer. Returns true if the timer is inactive 1665 private int fixPhoneServiceState(int state, int signalBin) { argument 1669 if (state == ServiceState.STATE_OUT_OF_SERVICE 1671 state = ServiceState.STATE_IN_SERVICE; 1675 return state; 1678 private void updateAllPhoneStateLocked(int state, int simState, int bin) { argument 1682 mPhoneServiceStateRaw = state; 1689 if (state == ServiceState.STATE_OUT_OF_SERVICE 1691 state 1765 notePhoneStateLocked(int state, int simState) argument [all...] |
/frameworks/base/services/audioflinger/ |
H A D | AudioFlinger.cpp | 239 // get state of hardware lock 490 status_t AudioFlinger::setMicMute(bool state) argument 499 status_t ret = mAudioHardware->setMicMute(state); 506 bool state = AudioSystem::MODE_INVALID; local 508 mAudioHardware->getMicMute(&state); 510 return state; 3061 int state = mState; local 3072 if (!isOutputTrack() && state != ACTIVE && state != RESUMING) { 3083 mState = state; 3097 int state = mState; local [all...] |
/frameworks/base/core/java/android/view/ |
H A D | View.java | 454 * If you are doing work on other threads and want to update the state of a view 510 * The touch mode state is maintained across {@link android.app.Activity}s. Call 964 * Base View state sets 970 * view depending on its state. 979 * view depending on its state. 988 * view depending on its state. 997 * view depending on its state. 1006 * view depending on its state. 1016 * view depending on its state. 1316 * Used by views that contain lists of items. This state indicate 6299 onRestoreInstanceState(Parcelable state) argument 9522 public int state = OFF; field in class:View.ScrollabilityCache [all...] |