Searched defs:state (Results 276 - 300 of 340) sorted by relevance

<<11121314

/frameworks/base/telephony/java/android/telephony/
H A DServiceState.java25 * Contains phone state and service related information.
30 * <li>Service state: IN_SERVICE, OUT_OF_SERVICE, EMERGENCY_ONLY, POWER_OFF
170 * @param s Source service state
249 * Get current service state of phone
487 private void setNullState(int state) { argument
488 mState = state;
513 public void setState(int state) { argument
514 mState = state;
595 mState = m.getInt("state");
611 * Set intent notifier Bundle based on service state
634 setRadioTechnology(int state) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiMonitor.java112 * <code>x</code> is the numerical value of the new state.
138 * CTRL-EVENT-DRIVER-STATE state
140 * <code>state</code> can be HANGED
279 /* Supplicant events reported to a state machine */
292 /* Supplicate state changed */
499 private void handleDriverEvent(String state) { argument
500 if (state == null) {
503 if (state.equals("HANGED")) {
660 * @param dataString New supplicant state string in the format:
661 * id=network-id state
[all...]
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java1274 // and onscreen views if they have changed instead of removing all of the state here.
1290 * Clear all state because the grid will be used for a completely different set of data.
1305 * Reset all internal state to be at the top of the grid.
1374 public void onRestoreInstanceState(Parcelable state) { argument
1375 SavedState ss = (SavedState) state;
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp1000 // want to run in that state in this process. The driver set our
1125 IPCThreadState* state = self(); local
1126 state->mOut.writeInt32(BC_FREE_BUFFER);
1127 state->mOut.writeInt32((int32_t)data);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmMmiCode.java129 State state = State.PENDING; field in class:GsmMmiCode
239 ret.state = State.PENDING;
241 ret.state = State.COMPLETE;
253 ret.state = State.PENDING;
417 return state;
429 if (state == State.COMPLETE || state == State.FAILED) {
433 state = State.CANCELLED;
816 state = State.FAILED;
823 state
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipPhone.java169 throw new CallStateException("cannot dial in current state");
176 throw new CallStateException("cannot dial in current state");
206 throw new CallStateException("wrong state to merge calls: fg="
298 // state with AudioManager instead of keeping a state here so the
299 // method with a state argument is redundant. Also rename the method
369 state = that.state;
412 if (state.isAlive()) {
467 if (state
776 setState(Call.State state) argument
[all...]
H A DSipPhoneBase.java58 private PhoneConstants.State state = PhoneConstants.State.IDLE; field in class:SipPhoneBase
137 return state;
173 * Notify any interested party of a Phone state change {@link Phone.State}
180 * Notify registrants of a change in the call state. This notifies changes in {@link Call.State}
181 * Use this when changes in the precise call state are needed, else use notifyPhoneStateChanged.
458 PhoneConstants.State oldState = state;
461 state = PhoneConstants.State.RINGING;
464 state = PhoneConstants.State.IDLE;
466 state = PhoneConstants.State.OFFHOOK;
469 if (state !
[all...]
/frameworks/rs/
H A DrsFont.cpp92 FontState *state = &mRSC->mStateFont; local
105 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2,
119 FontState *state = &mRSC->mStateFont; local
120 uint32_t cacheWidth = state->getCacheTextureType()->getDimX();
121 const uint8_t* cacheBuffer = state->mCacheBuffer;
256 // Let the font state figure out where to put the bitmap
257 FontState *state = &mRSC->mStateFont; local
258 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY);
272 uint32_t cacheWidth = state->getCacheTextureType()->getDimX();
273 uint32_t cacheHeight = state
[all...]
/frameworks/base/media/java/android/media/
H A DAudioSystem.java346 // phone state, match audio_mode???
379 public static native int setDeviceConnectionState(int device, int state, String device_address); argument
381 public static native int setPhoneState(int state); argument
H A DAudioTrack.java72 /** indicates AudioTrack state is stopped */
74 /** indicates AudioTrack state is paused */
76 /** indicates AudioTrack state is playing */
148 * Indicates the state of the AudioTrack instance.
152 * Indicates the play state of the AudioTrack instance.
156 * Lock to make sure mPlayState updates are reflecting the actual state of the object.
584 * Returns the state of the AudioTrack instance. This is useful after the
597 * Returns the playback state of the AudioTrack instance.
863 * Sets the initialization state of the instance. To be used in an AudioTrack subclass
864 * constructor to set a subclass-specific post-initialization state
867 setState(int state) argument
[all...]
H A DRemoteControlClient.java68 * Playback state of a RemoteControlClient which is stopped.
74 * Playback state of a RemoteControlClient which is paused.
80 * Playback state of a RemoteControlClient which is playing media.
86 * Playback state of a RemoteControlClient which is fast forwarding in the media
93 * Playback state of a RemoteControlClient which is fast rewinding in the media
100 * Playback state of a RemoteControlClient which is skipping to the next
107 * Playback state of a RemoteControlClient which is skipping back to the previous
114 * Playback state of a RemoteControlClient which is buffering data to play before it can
121 * Playback state of a RemoteControlClient which cannot perform any playback related
131 * The value of a playback state whe
594 setPlaybackState(int state) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsModel.java62 /** Represents the state of a given attribute. */
95 public void refreshView(QuickSettingsTileView view, State state); argument
339 intent.putExtra("state", enabled);
345 // TODO: If view is in awaiting state, disable
383 // TODO: If view is in awaiting state, disable
422 // TODO: If view is in awaiting state, disable
464 // TODO: If view is in awaiting state, disable
694 // User switch: need to update visuals of all tiles known to have per-user state
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java123 // get notified of phone state changes
183 // Simple toggle style if there's no vibrator, otherwise use a tri-state
214 // In ECM mode airplane state cannot be changed
525 * A single press action maintains no state, just responds to a press
702 * Implementations may override this if their state can be in on of the intermediate
713 public void updateState(State state) { argument
714 mState = state;
887 // Let the service state callbacks handle the state.
908 intent.putExtra("state", o
[all...]
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Writer.c582 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/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp50 // 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/libmediaplayerservice/
H A DMediaPlayerService.cpp871 status_t MediaPlayerService::Client::isPlaying(bool* state) argument
873 *state = false;
876 *state = p->isPlaying();
877 ALOGV("[%d] isPlaying: %d", mConnId, *state);
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp131 audio_policy_dev_state_t state,
143 if (state != AUDIO_POLICY_DEVICE_STATE_AVAILABLE &&
144 state != AUDIO_POLICY_DEVICE_STATE_UNAVAILABLE) {
151 state, device_address);
165 status_t AudioPolicyService::setPhoneState(audio_mode_t state) argument
173 if (uint32_t(state) >= AUDIO_MODE_CNT) {
180 AudioSystem::setMode(state);
183 mpAudioPolicy->set_phone_state(mpAudioPolicy, state);
130 setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Device.cpp1217 ALOGE("%s: Called when in bad state: %d", __FUNCTION__, stream->mState);
1246 int state = stream->mState; local
1247 if (state != ACTIVE) {
1248 ALOGE("%s: Called when in bad state: %d", __FUNCTION__, state);
1281 ALOGE("%s: Called when in bad state: %d", __FUNCTION__, stream->mState);
1301 int state = static_cast<const StreamAdapter*>(w)->mState; local
1302 if (state != ACTIVE) {
1303 ALOGE("%s: Called when in bad state: %d", __FUNCTION__, state);
1485 int state = stream->mState; local
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.cpp773 // Set up initial state for non-Camera.Parameters state variables
800 state = STOPPED;
1001 if (state >= PREVIEW) {
1068 if (state >= PREVIEW) {
1539 if (state == RECORD) {
1816 const char* Parameters::getStateName(State state) { argument
1818 switch(state) {
1827 return "Unknown state!";
/frameworks/base/core/java/android/app/
H A DFragment.java164 * in particular during state restore, and needs to be able to find this
166 * a runtime exception will occur in some cases during state restore.
201 * up to resumed state (interacting with the user) are:
211 * state of its view hierarchy has been restored.
230 * <li> {@link #onDestroy} called to do final cleanup of the fragment's state.
341 * pressing back will pop it to return the user to whatever previous state
348 static final int INVALID_STATE = -1; // Invalid state used as a null value.
363 // If mAnimatingAway != null, this is the state we should move to once the
367 // When instantiated from saved state, this is the saved state
488 SavedState(Bundle state) argument
712 setInitialSavedState(SavedState state) argument
[all...]
H A DIApplicationThread.java57 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/pm/
H A DPackageParser.java253 PackageUserState state = new PackageUserState();
255 grantedPermissions, state, UserHandle.getCallingUserId());
267 HashSet<String> grantedPermissions, PackageUserState state) {
270 grantedPermissions, state, UserHandle.getCallingUserId());
273 private static boolean checkUseInstalled(int flags, PackageUserState state) { argument
274 return state.installed || ((flags & PackageManager.GET_UNINSTALLED_PACKAGES) != 0);
279 HashSet<String> grantedPermissions, PackageUserState state, int userId) {
281 if (!checkUseInstalled(flags, state)) {
290 pi.applicationInfo = generateApplicationInfo(p, flags, state, userId);
326 state, userI
265 generatePackageInfo(PackageParser.Package p, int gids[], int flags, long firstInstallTime, long lastUpdateTime, HashSet<String> grantedPermissions, PackageUserState state) argument
277 generatePackageInfo(PackageParser.Package p, int gids[], int flags, long firstInstallTime, long lastUpdateTime, HashSet<String> grantedPermissions, PackageUserState state, int userId) argument
3495 copyNeeded(int flags, Package p, PackageUserState state, Bundle metaData, int userId) argument
3525 generateApplicationInfo(Package p, int flags, PackageUserState state) argument
3530 generateApplicationInfo(Package p, int flags, PackageUserState state, int userId) argument
3634 generateActivityInfo(Activity a, int flags, PackageUserState state, int userId) argument
3671 generateServiceInfo(Service s, int flags, PackageUserState state, int userId) argument
3716 generateProviderInfo(Provider p, int flags, PackageUserState state, int userId) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreference.java143 * called before the state of the Preference is about to be updated and
144 * before the state is persisted.
148 * @return True to update the state of the Preference with the new value.
550 * Makes sure the view (and any children) get the enabled state changed.
723 // Enabled state can change dependent preferences' states, so notify
766 * clickable 2) should not have the view set to the disabled state.
799 * update the preference's state with the new value.
888 * internal state is set. This allows the client to ignore the user value.
900 * user (but before the internal state has been updated).
910 * user (but before the internal state ha
1776 onRestoreInstanceState(Parcelable state) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java1213 SavedState state = new SavedState(superState);
1216 state.expandedMenuItemId = mExpandedMenuPresenter.mCurrentExpandedItem.getItemId();
1219 state.isOverflowOpen = isOverflowMenuShowing();
1221 return state;
1226 SavedState state = (SavedState) p;
1228 super.onRestoreInstanceState(state.getSuperState());
1230 if (state.expandedMenuItemId != 0 &&
1232 final MenuItem item = mOptionsMenu.findItem(state.expandedMenuItemId);
1238 if (state.isOverflowOpen) {
1561 public void onRestoreInstanceState(Parcelable state) { argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java57 // Wave state machine
359 private void switchToState(int state, float x, float y) { argument
360 switch (state) {
466 // Force ring and targets to finish animation to final expanded state
470 // Animate handle back to the center based on current state.
615 // postpone this change until we return to the initial state
729 * Resets the widget to default state and cancels all animation. If animate is 'true', will
962 * Sets the current grabbed state, and dispatches a grabbed state change

Completed in 3178 milliseconds

<<11121314