/frameworks/base/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 959 status_t MediaPlayerService::Client::isPlaying(bool* state) argument 961 *state = false; 964 *state = p->isPlaying(); 965 LOGV("[%d] isPlaying: %d", mConnId, *state);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBar.java | 1045 public void disable(int state) { argument 1047 final int diff = state ^ old; 1048 mDisabled = state; 1052 old, state, diff)); 1057 flagdbg.append(((state & StatusBarManager.DISABLE_EXPAND) != 0) ? "EXPAND" : "expand"); 1059 flagdbg.append(((state & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) ? "ICONS" : "icons"); 1061 flagdbg.append(((state & StatusBarManager.DISABLE_NOTIFICATION_ALERTS) != 0) ? "ALERTS" : "alerts"); 1063 flagdbg.append(((state & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) ? "TICKER" : "ticker"); 1065 flagdbg.append(((state & StatusBarManager.DISABLE_SYSTEM_INFO) != 0) ? "SYSTEM_INFO" : "system_info"); 1067 flagdbg.append(((state [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | TabletStatusBar.java | 942 public void disable(int state) { argument 944 int diff = state ^ old; 945 mDisabled = state; 949 boolean show = (state & StatusBarManager.DISABLE_CLOCK) == 0; 954 boolean show = (state & StatusBarManager.DISABLE_SYSTEM_INFO) == 0; 959 if ((state & StatusBarManager.DISABLE_EXPAND) != 0) { 969 if ((state & StatusBarManager.DISABLE_NOTIFICATION_ICONS) != 0) { 979 if ((state & StatusBarManager.DISABLE_NOTIFICATION_TICKER) != 0) { 986 setNavigationVisibility(state); 988 if ((state [all...] |
/frameworks/base/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 155 audio_policy_dev_state_t state, 167 if (state != AUDIO_POLICY_DEVICE_STATE_AVAILABLE && 168 state != AUDIO_POLICY_DEVICE_STATE_UNAVAILABLE) { 175 state, device_address); 189 status_t AudioPolicyService::setPhoneState(int state) argument 197 if (state < 0 || state >= AUDIO_MODE_CNT) { 204 AudioSystem::setMode(state); 207 mpAudioPolicy->set_phone_state(mpAudioPolicy, state); 154 setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument
|
H A D | AudioFlinger.h | 110 virtual status_t setMicMute(bool state); 644 // FILLED state is used for suppressing volume ramp at begin of playing 1048 // state changes or resource modifications. Always respect the following order 1055 // to all client applications using this effect and notifies applications of effect state, 1056 // control or parameter changes. It manages the activation state machine to send appropriate 1092 uint32_t state() { function in class:android::AudioFlinger::EffectModule 1158 uint32_t mState; // current activation state (effect_state) 1168 // ownership and state and has a pointer to the EffectModule object it is controlling. 1199 // - enabled: state of the effect when control is passed 1231 bool mEnabled; // cached enable state [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | MountService.java | 111 * Internal vold volume state constants 181 // true if we should fake MEDIA_MOUNTED state for external storage 203 * Mounted OBB tracking information. Used to track the current state of all 498 String state = states[i]; 500 if (state.equals(Environment.MEDIA_UNMOUNTED)) { 506 } else if (state.equals(Environment.MEDIA_SHARED)) { 508 * Bootstrap UMS enabled state since vold indicates 574 private void updatePublicVolumeState(String path, String state) { argument 577 oldState = mVolumeStates.put(path, state); 579 if (state [all...] |
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 307 // TODO: traverse existing processes to know foreground state, or have 308 // activitymanager dispatch current state when new observer attached. 490 * current device state, such as when {@link #getActiveSubscriberId()} 774 for (NetworkState state : states) { 776 if (state.networkInfo.isConnected()) { 777 final String iface = state.linkProperties.getInterfaceName(); 778 final NetworkIdentity ident = NetworkIdentity.buildNetworkIdentity(mContext, state); 1176 public NetworkQuotaInfo getNetworkQuotaInfo(NetworkState state) { argument 1183 return getNetworkQuotaInfoUnchecked(state); 1189 private NetworkQuotaInfo getNetworkQuotaInfoUnchecked(NetworkState state) { argument [all...] |
/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 // There is no active Fg calls, the OFFHOOK state 634 * state--that is, one call holding and one call active. 705 throw new CallStateException("cannot dial in current state"); 798 * phone state--that is, one call holding and one call active. 875 * from a holding state 1671 getFirstCallOfState(ArrayList<Call> calls, Call.State state) argument [all...] |
H A D | PhoneBase.java | 174 * state change notification. DefaultPhoneNotifier is 201 * of state change events 280 Log.d(LOG_TAG, "Event EVENT_CALL_RING Received state=" + getState()); 283 Phone.State state = getState(); 285 && ((state == Phone.State.RINGING) || (state == Phone.State.IDLE))) { 674 * Get state 817 Phone.DataState state) { 818 mNotifier.notifyDataConnection(this, reason, apnType, state); 816 notifyDataConnection(String reason, String apnType, Phone.DataState state) argument
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 283 public void onRestoreInstanceState(Parcelable state) { argument 287 super.onRestoreInstanceState(state); 1732 * @return A RecipientChip in the selected state or null if the chip
|
/frameworks/media/libvideoeditor/vss/3gpwriter/src/ |
H A D | M4MP4W_Writer.c | 582 mMp4FileDataPtr->state = M4MP4W_opened; 637 ERR_CHECK(( mMp4FileDataPtr->state == M4MP4W_opened) 638 || (mMp4FileDataPtr->state == M4MP4W_ready), M4ERR_STATE); 639 mMp4FileDataPtr->state = M4MP4W_ready; 1213 ERR_CHECK((mMp4FileDataPtr->state == M4MP4W_ready), M4ERR_STATE); 1214 mMp4FileDataPtr->state = M4MP4W_writing; 1440 state is still consistent and we can properly close the file so that what has been 1444 attempting to write the data. That way, we're consistent with the chunk state data. */ 1453 /* Then, do not update any info whatsoever in the writing state. This will have the 1683 state i 5310 M4MP4W_getState( M4OSA_Context context, M4MP4W_State *state, M4SYS_StreamID streamID ) argument [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | Fragment.java | 169 // If mAnimatingAway != null, this is the state we should move to once the 173 // When instantiated from saved state, this is the saved state. 201 // True if the fragment is in the resumed state. 210 // True if this fragment has been restored from previously saved state. 269 // The real inner view that will save/restore state. 291 SavedState(Bundle state) { argument 292 mState = state; 337 * activity's state. It is strongly recommended that subclasses do not 494 * Set the initial saved state tha 501 setInitialSavedState(SavedState state) argument [all...] |
H A D | FragmentManager.java | 126 * to an activity saving its state. If you try to commit a transaction 131 * in the state, and if changes are made after the state is saved then they 187 * Pop the top state off the back stack. Returns true if there was one 209 * @param name If non-null, this is the name of a previous back state 210 * to look for; if found, all states up to that state will be popped. The 212 * the named state itself is popped. If null, only the top state is popped. 236 * the named state itself is popped. 273 * persisted as saved state, an 1447 addBackStackState(BackStackRecord state) argument 1689 restoreAllState(Parcelable state, ArrayList<Fragment> nonConfig) argument [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 181 * Indicates that the pager is in an idle, settled state. The current page 199 * Callback interface for responding to changing state of the selected page. 223 * Called when the scroll state changes. Useful for discovering when the user 227 * @param state The new scroll state. 232 public void onPageScrollStateChanged(int state); argument 252 public void onPageScrollStateChanged(int state) { argument 479 * current page in the view hierarchy in an idle state. Defaults to 1. 490 * current page in the view hierarchy in an idle state. Pages beyond this 503 * @param limit How many pages will be kept offscreen in an idle state 887 onRestoreInstanceState(Parcelable state) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 1912 public void activityStopped(IBinder token, Bundle state, argument 1919 data.writeBundle(state);
|
H A D | Activity.java | 165 * maintains all state and member information and remains attached to 169 * it is <em>stopped</em>. It still retains all state and member information, 176 * completely restarted and restored to its previous state.</li> 179 * <p>The following diagram shows the important state paths of an Activity. 194 * of "global" state in onCreate(), and release all remaining resources in 223 * to do appropriate work when the activity changes state. All 268 * frozen state, if there was one. 350 * in such a background state, allowing you to save away any dynamic instance 351 * state in your activity into the given Bundle, to be later received in 363 * is not in the killable state unti 943 createDialog(Integer dialogId, Bundle state, Bundle args) argument [all...] |
H A D | ActivityThread.java | 217 Bundle state; field in class:ActivityThread.ActivityClientRecord 544 Bundle state, List<ResultInfo> pendingResults, 554 r.state = state; 1774 Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, 1780 r.state = state; 1875 if (r.state != null) { 1876 r.state.setClassLoader(cl); 1920 mInstrumentation.callActivityOnCreate(activity, r.state); 542 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 1773 startActivityNow(Activity parent, String id, Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, Activity.NonConfigurationInstances lastNonConfigurationInstances) argument [all...] |
H A D | IActivityManager.java | 127 public void activityStopped(IBinder token, Bundle state, argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebSettings.java | 31 * Manages settings state for a WebView. When a WebView is first created, it 130 * The plugin state effects how plugins are treated on a page. ON means 251 String city, String state, String zipCode, String country, 260 mState = state; 1322 * @param state One of the PluginState values. 1324 public synchronized void setPluginState(PluginState state) { argument 1325 if (mPluginState != state) { 1326 mPluginState = state; 1513 * Return the current plugin state. 249 AutoFillProfile(int uniqueId, String fullName, String email, String companyName, String addressLine1, String addressLine2, String city, String state, String zipCode, String country, String phoneNumber) argument
|
/frameworks/base/media/jni/mediaeditor/ |
H A D | VideoEditorMain.cpp | 92 ManualEditState state; member in struct:__anon342 1636 // Make sure that we are in a correct state. 1638 (pContext->state != ManualEditState_INITIALIZED), 2610 // Set the state to not initialized. 2611 pContext->state = ManualEditState_NOT_INITIALIZED; 2726 // Set the state to initialized. 2727 pContext->state = ManualEditState_INITIALIZED; 2766 // We start in Analyzing state 2767 pContext->state = ManualEditState_INITIALIZED; 2811 &&(pContext->state! [all...] |
/frameworks/base/media/libstagefright/ |
H A D | OMXCodec.cpp | 1643 bool OMXCodec::isIntermediateState(State state) { argument 1644 return state == LOADED_TO_IDLE 1645 || state == IDLE_TO_EXECUTING 1646 || state == EXECUTING_TO_IDLE 1647 || state == IDLE_TO_LOADED 1648 || state == RECONFIGURING; 2217 LOGW("Dropping OMX message - we're in ERROR state."); 2809 // releases the lock and ::init can notice the state change and 3415 // unblock the reader if we enter ERROR state. 3818 OMX_STATETYPE state local [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 341 * @param st The panel state to prepare. 368 // Init the panel state's menu--return false if init failed 409 // Restore action view state before we prepare. This gives apps 410 // an opportunity to override frozen/restored state in onPrepare. 434 // Set other state 444 // Action bars handle their own menu state 449 // Freeze state 450 final Bundle state = new Bundle(); 452 st.iconMenuPresenter.saveHierarchyState(state); 455 st.listMenuPresenter.saveHierarchyState(state); 3339 onRestoreInstanceState(Parcelable state) argument [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 482 public void updateNetworkState(int state, NetworkInfo info) { argument 483 sendMessage(UPDATE_NETWORK_STATE, state, info); 486 private void handleUpdateNetworkState(int state, NetworkInfo info) { argument 487 mNetworkAvailable = (state == LocationProvider.AVAILABLE);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiStateMachine.java | 93 * Track the state of Wifi connectivity. All event handling is done here, 94 * and all changes in connectivity state are initiated here. 162 * Tether state change notification time out 253 /* Invoked when getting a tether state change notification */ 255 /* A delayed message sent to indicate tether state change failed to arrive */ 349 /* Reset the supplicant state tracker */ 355 /* Reset the WPS state machine */ 416 * being in a bad state. Delay driver stop. 425 /* Default parent state */ 427 /* Temporary initial state */ 1048 sendBluetoothAdapterStateChange(int state) argument 1574 setNetworkDetailedState(NetworkInfo.DetailedState state) argument [all...] |
/frameworks/base/core/java/android/server/ |
H A D | BluetoothService.java | 411 // Stop the profile state machine for bonded devices. 481 * @param saveSetting If true, persist the new state of BT in settings 603 * It inits bond state and profile state before STATE_ON intent is broadcasted. 852 // Don't check state since we want to provide address, even if BT is off 858 // Don't check state since we want to provide name, even if BT is off 1004 // Check for bond state only if we are not performing auto 1106 BluetoothDeviceProfileState state = mDeviceProfileState.get(address); 1107 if (state != null) { 1108 state 1126 listInState(int state) argument 1138 setBondState(String address, int state) argument 1142 setBondState(String address, int state, int reason) argument 2090 handlePanDeviceStateChange(BluetoothDevice device, String iface, int state, int role) argument 2099 handlePanDeviceStateChange(BluetoothDevice device, int state, int role) argument 2573 sendConnectionStateChange(BluetoothDevice device, int profile, int state, int prevState) argument 2611 validateProfileConnectionState(int state) argument 2618 convertToAdapterState(int state) argument 2633 updateCountersAndCheckForConnectionStateChange(int state, int prevState) argument [all...] |