Searched refs:state (Results 201 - 225 of 527) sorted by last modified time

1234567891011>>

/frameworks/base/services/input/
H A DSpriteController.h172 /* Describes the state of a sprite.
206 * Requests acquire a lock on the controller, update local state and request the
210 * the sprite state before the work and update the sprite surface control afterwards.
227 return mLocked.state;
231 mLocked.state.dirty = 0;
236 mLocked.state.surfaceControl = surfaceControl;
237 mLocked.state.surfaceWidth = width;
238 mLocked.state.surfaceHeight = height;
239 mLocked.state.surfaceDrawn = drawn;
240 mLocked.state
247 SpriteState state; member in struct:android::SpriteController::SpriteImpl::Locked
256 SpriteUpdate(const sp<SpriteImpl> sprite, const SpriteState& state) argument
261 SpriteState state; member in struct:android::SpriteController::SpriteUpdate
[all...]
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp386 void setKeyCodeState(int32_t deviceId, int32_t keyCode, int32_t state) { argument
388 device->keyCodeStates.replaceValueFor(keyCode, state);
391 void setScanCodeState(int32_t deviceId, int32_t scanCode, int32_t state) { argument
393 device->scanCodeStates.replaceValueFor(scanCode, state);
396 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) { argument
398 device->switchStates.replaceValueFor(switchCode, state);
653 << "Attempted to set the state of an LED that the EventHub declared "
727 void setGlobalMetaState(int32_t state) { argument
728 mGlobalMetaState = state;
827 void setKeyCodeState(int32_t keyCode, int32_t state) { argument
831 setScanCodeState(int32_t scanCode, int32_t state) argument
835 setSwitchState(int32_t switchCode, int32_t state) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java173 // backup task state machine tick
395 public int state; field in class:BackupManagerService.Operation
399 state = initialState;
510 // Spin up a backup state sequence and set it running
549 // TODO: refactor full backup to be a looper-based state machine
575 // TODO: refactor full restore to be a looper-based state machine
1125 // query about the encryption state said that the device *is*
1128 Slog.e(TAG, "verified encryption state mismatch against query; no match allowed");
1226 // Maintain persistent state around whether need to do an initialize operation.
1248 // No more initialization needed; wipe the journal and reset our state
[all...]
H A DConnectivityService.java168 * Sometimes we want to refer to the individual network state
737 * Make the state of network connectivity conform to the preference settings
801 // network is blocked; clone and override state
940 final NetworkState state = getNetworkStateUnchecked(mActiveDefaultNetwork);
941 if (state != null) {
943 return mPolicyManager.getNetworkQuotaInfo(state);
965 final NetworkState state = getNetworkStateUnchecked(networkType);
966 if (state != null) {
968 return mPolicyManager.isNetworkMetered(state);
1263 // need to link the mFeatureUsers list with the mNetRequestersPids state i
[all...]
H A DDevicePolicyManagerService.java985 Slog.v(TAG, "Change in camera state ["
1844 String state = SystemProperties.get("vold.decrypt");
1845 return !"".equals(state);
2243 String status = SystemProperties.get("ro.crypto.state", "unsupported");
2260 * The system property used to share the state of the camera. The native camera service
2328 * Gets the disabled state for features in keyguard for the given admin,
2378 p.println("Current Device Policy Manager state:");
H A DMountService.java122 * Internal vold volume state constants
189 /** Map from path to state */
224 * Mounted OBB tracking information. Used to track the current state of all
526 final String state = entry.getValue();
528 if (state.equals(Environment.MEDIA_UNMOUNTED)) {
534 } else if (state.equals(Environment.MEDIA_SHARED)) {
536 * Bootstrap UMS enabled state since vold indicates
544 // Push mounted state for all emulated storage
631 private void updatePublicVolumeState(StorageVolume volume, String state) { argument
635 oldState = mVolumeStates.put(path, state);
[all...]
H A DTelephonyRegistry.java161 // we keep a copy of all of the state so we can send it out when folks
327 public void notifyCallState(int state, String incomingNumber) { argument
332 mCallState = state;
337 r.callback.onCallStateChanged(state, incomingNumber);
345 broadcastCallStateChanged(state, incomingNumber);
348 public void notifyServiceState(ServiceState state) { argument
353 mServiceState = state;
357 r.callback.onServiceStateChanged(new ServiceState(state));
365 broadcastServiceStateChanged(state);
458 public void notifyDataActivity(int state) { argument
477 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, LinkCapabilities linkCapabilities, int networkType, boolean roaming) argument
642 broadcastServiceStateChanged(ServiceState state) argument
677 broadcastCallStateChanged(int state, String incomingNumber) argument
701 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String apnType, LinkProperties linkProperties, LinkCapabilities linkCapabilities, boolean roaming) argument
[all...]
H A DTwilightService.java97 * Gets the current twilight state.
99 * @return The current twilight state, or null if no information is available.
123 private void setTwilightState(TwilightState state) { argument
125 if (!Objects.equal(mTwilightState, state)) {
127 Slog.d(TAG, "Twilight state changed: " + state);
130 mTwilightState = state;
258 * Listener for changes in twilight state.
490 // set twilight state
491 TwilightState state
[all...]
H A DUiModeManagerService.java102 // the dock state changes. The original ordered broadcast is sent with an initial result
127 int state = intent.getIntExtra(Intent.EXTRA_DOCK_STATE,
129 updateDockState(state);
290 private static boolean isDeskDockState(int state) { argument
291 switch (state) {
576 TwilightState state = mTwilightService.getCurrentState();
577 if (state != null) {
578 mComputedNightMode = state.isNight();
594 pw.println("Current UI Mode Service state:");
H A DUpdateLockService.java74 void sendLockChangedBroadcast(boolean state) { argument
79 .putExtra(UpdateLock.NOW_IS_CONVENIENT, state)
H A DWifiService.java90 // on device idle state, airplane mode and boot.
157 /* Persisted state that tracks the wifi & airplane interaction from settings */
159 /* Tracks current airplane mode state */
210 * supplicant in a scanning state. This allows supplicant to associate with
215 * The number of scans since the last network state change. When this
217 * supplicant to actually be scanning. When the network state changes to
349 //Re-establish connection to state machine
408 // reset & clear notification on any wifi state change
490 /* Start if Wi-Fi should be enabled or the saved state indicates Wi-Fi was on */
496 // state her
567 persistWifiState(int state) argument
[all...]
H A DWiredAccessoryManager.java160 * Compare the existing headset state with the new state and pass along accordingly. Note
182 Log.e(TAG, "No state change.");
186 // reject all suspect transitions: only accept state changes from:
241 int state;
244 state = 1;
246 state = 0;
265 Slog.v(TAG, "device "+headsetName+((state == 1) ? " connected" : " disconnected"));
267 mAudioManager.setWiredDeviceConnectionState(device, state, headsetName);
310 " not found while attempting to determine initial switch state");
387 updateStateLocked(String devPath, String name, int state) argument
[all...]
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java187 UserState state = mUserStates.get(userId);
188 if (state == null) {
189 state = new UserState(userId);
190 mUserStates.put(userId, state);
192 return state;
239 UserState state = getUserStateLocked(userId);
240 Iterator<ComponentName> it = state.mEnabledServices.iterator();
249 state.mEnabledServices, userId);
251 state.mTouchExplorationGrantedServices.remove(comp);
255 state
[all...]
H A DScreenMagnifier.java85 * and leave it in a magnified state. A triple tapping when magnified would
86 * clear magnification and leave the screen in a not magnified state.
97 * In other words, the initial magnified state is sticky.
105 * 4. When in a permanent magnified state the user can use two or more fingers
109 * 5. When in a permanent magnified state the user can use three or more
226 // if this is the current state since it uses ScaleGestureDetecotr
230 throw new IllegalStateException("Unknown state: " + mCurrentState);
346 private void transitionToState(int state) { argument
348 switch (state) {
362 throw new IllegalArgumentException("Unknown state
[all...]
H A DTouchExplorer.java123 // The current state of the touch explorer.
254 // state. Therefore, there is not need to clean anything.
297 // Go to initial state.
339 throw new IllegalStateException("Illegal state: " + mCurrentState);
384 * Handles a motion event in touch exploring state.
412 + "touch exploring state!");
444 // This would lead to a state transition resulting in long
500 // clear the current state and try to detect.
573 // end since we transition to another state.
577 // We know that a new state transitio
1337 getStateSymbolicName(int state) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java496 * Strict Mode background batched logging state.
815 * protect all related state.
1793 // the plug state.
2903 if (self.state == ActivityState.RESUMED
2904 || self.state == ActivityState.PAUSING) {
3033 // state for a GC request. Make sure to do
3382 // Set the app's notResponding state, and look up the errorReportReceiver
5644 // Initialize state for next task if needed.
5646 (top.state == ActivityState.INITIALIZING
5680 TAG, "State=" + top.state
[all...]
H A DActivityRecord.java104 ActivityState state; // current state we are in field in class:ActivityRecord
105 Bundle icicle; // last saved activity state
108 boolean haveState; // have we gotten the last activity state?
206 pw.print(prefix); pw.print("state="); pw.print(state);
339 state = ActivityState.INITIALIZING;
355 // This starts out true, since the initial state of an activity
357 // lacking in state to be removed if it dies.
572 if ((state
[all...]
H A DActivityStack.java106 // from the application in order to get its saved state.
240 * This is the last activity that we put into the paused state. This is
751 r.state = ActivityState.RESUMED;
764 // This activity is not starting in the resumed state... which
767 // other state.
769 + " (starting in stopped state)");
770 r.state = ActivityState.STOPPED;
887 if (r.state == ActivityState.STOPPING || r.state == ActivityState.STOPPED) {
950 prev.state
[all...]
H A DBatteryStatsService.java222 public void notePhoneState(int state) { argument
226 mStats.notePhoneStateLocked(state, simState);
H A DBroadcastQueue.java262 // We need to reset the state if we failed to start the receiver.
263 br.state = BroadcastRecord.IDLE;
273 br.state = BroadcastRecord.IDLE;
332 int state = r.state;
333 r.state = BroadcastRecord.IDLE;
334 if (state == BroadcastRecord.IDLE) {
336 Slog.w(TAG, "finishReceiver [" + mQueueName + "] called but state is IDLE");
361 return state == BroadcastRecord.APP_RECEIVE
362 || state
[all...]
H A DBroadcastRecord.java61 int state; field in class:BroadcastRecord
142 if (state != IDLE) {
144 switch (state) {
149 pw.print(prefix); pw.print("state="); pw.print(state); pw.println(stateStr);
189 state = IDLE;
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java136 * Update current state, dispaching event to listeners.
139 if (LOGD) Log.d(TAG, "setting state=" + detailedState + ", reason=" + reason);
465 if (keyStore.state() != KeyStore.State.UNLOCKED) {
587 // new instance, otherwise state updates can be out of order.
602 info.state = LegacyVpnInfo.stateFromNetworkInfo(mNetworkInfo);
621 * requests will be piled up. This can be done in a Handler as a state
703 // Clear the previous state.
704 File state = new File("/data/misc/vpn/state");
705 state
[all...]
/frameworks/base/services/java/com/android/server/input/
H A DPersistentDataStore.java48 * Manages persistent state recorded by the input manager service as an XML file.
53 * &lt;input-mananger-state>
57 * &gt;/input-manager-state>
63 // Input device state by descriptor.
75 mAtomicFile = new AtomicFile(new File("/data/system/input-manager-state.xml"));
86 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, false);
87 return state != null ? state.getCurrentKeyboardLayout() : null;
92 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, true);
93 if (state
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGeofenceManager.java123 GeofenceState state = new GeofenceState(geofence,
135 mFences.add(state);
148 GeofenceState state = iter.next();
149 if (state.mIntent.equals(intent)) {
156 if (fence.equals(state.mFence)) {
174 GeofenceState state = iter.next();
175 if (state.mPackageName.equals(packageName)) {
187 GeofenceState state = iter.next();
188 if (state.mExpireAt < time) {
255 for (GeofenceState state
[all...]
H A DGeofenceState.java25 * Represents state associated with a geofence
41 int mState; // current state
97 String state;
100 state = "IN";
103 state = "OUT";
106 state = "?";
108 return String.format("%s d=%.0f %s", mFence.toString(), mDistanceToCenter, state);

Completed in 158 milliseconds

1234567891011>>