Searched refs:state (Results 351 - 375 of 1016) sorted by last modified time

<<11121314151617181920>>

/frameworks/base/services/core/java/com/android/server/camera/
H A DCameraService.java127 String state = cameraStateToString(newCameraState);
128 if (DEBUG) Slog.v(TAG, "Camera " + cameraId + " state now " + state);
305 Slog.w(TAG, "Could not connect to NFC service to notify it of camera state");
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DDataConnectionStats.java87 boolean visible = (simReadyOrUnknown || isCdma()) // we only check the sim state for GSM
96 Log.w(TAG, "Error noting data connection state", e);
138 public void onServiceStateChanged(ServiceState state) {
139 mServiceState = state;
144 public void onDataConnectionStateChanged(int state, int networkType) {
145 mDataState = state;
H A DTethering.java165 private boolean mRndisEnabled; // track the RNDIS function enabled state
633 // TODO - move all private methods used only by the state machine into the state machine
1010 private void maybeLogMessage(State state, int what) { argument
1012 Log.d(TAG, state.getName() + " got " +
1414 * tethering master state machine thread for subsequent processing.
1438 * modified from the tethering master state machine thread. Any other
1518 // Events from NetworkCallbacks that we process on the master state
1523 // This indicates what a timeout event relates to. A state that
1816 // ignore LOADED unless we saw an ABSENT state firs
[all...]
H A DVpn.java242 * Update current state, dispaching event to listeners.
245 if (LOGD) Log.d(TAG, "setting state=" + detailedState + ", reason=" + reason);
809 // restore old state
826 // that a call to mutate VPN state is admissible.
1425 // new instance, otherwise state updates can be out of order.
1448 info.state = LegacyVpnInfo.stateFromNetworkInfo(mNetworkInfo);
1467 * requests will be piled up. This can be done in a Handler as a state
1594 // Clear the previous state.
1595 File state = new File("/data/misc/vpn/state");
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncManager.java383 Log.w(TAG, "Writing sync state before shutdown...");
738 * @param onlyThoseWithUnkownSyncableState Only sync authorities that have unknown state.
849 (isSyncable < 0) // Always allow if the isSyncable state is unknown.
2136 /** Call to let the tracker know that the sync state may have changed */
2730 int state;
2742 state = getIsSyncable(target.account, target.userId, target.provider);
2743 if (state == 0) {
2756 final boolean ignoreSystemConfiguration = op.isIgnoreSettings() || (state < 0);
3019 throw new IllegalStateException("we are not in an error state, " + syncResult);
/frameworks/base/services/core/java/com/android/server/display/
H A DAutomaticBrightnessController.java73 // Callbacks for requesting updates to the the display's power state
178 // for the initial state of the sample.
498 TwilightState state = mTwilight.getCurrentState();
499 if (state != null && state.isNight()) {
501 gamma *= 1 + state.getAmount() * TWILIGHT_ADJUSTMENT_MAX_GAMMA;
503 Slog.d(TAG, "updateAutoBrightness: twilight amount=" + state.getAmount());
629 /** Callbacks to request updates to the display's power state. */
H A DDisplayBlanker.java20 * Interface used to update the actual display state.
23 void requestDisplayState(int state, int brightness); argument
H A DDisplayDevice.java111 * Applies any pending changes to the observable state of the display device
124 * Sets the display state, if supported.
126 * @param state The new display state.
131 public Runnable requestDisplayStateLocked(int state, int brightness) { argument
222 * Dumps the local state of the display device.
H A DDisplayDeviceInfo.java111 * Diff result: The {@link #state} fields differ.
239 * Display state.
241 public int state = Display.STATE_ON; field in class:DisplayDeviceInfo
283 if (state != other.state) {
341 state = other.state;
370 sb.append(", state ").append(Display.stateToString(state));
H A DDisplayManagerService.java75 * attached, sends notifications to the system and to applications when the state
86 * Display adapters communicate changes in display device state to the display manager
91 * the display manager service handles the global state. Second, it eliminates
139 // This lock guards most of the display manager's state.
182 // The overall display state, independent of changes that might influence one
191 // to the surface flinger state.
223 // Temporary list of deferred work to perform when setting the display state.
334 private void requestGlobalDisplayStateInternal(int state, int brightness) { argument
335 if (state == Display.STATE_UNKNOWN) {
336 state
[all...]
H A DDisplayPowerController.java50 * Controls the power state of the display.
56 * In particular, it does not share any state and it only communicates
81 // screen state returns. Playing the animation can also be somewhat slow.
178 // The important parts are mainly the screen state. Brightness changes may occur
183 // Set to true if a power state update is required.
187 /* The following state must only be accessed by the handler thread. */
189 // The currently requested power state.
190 // The power controller will progressively update its internal state to match
191 // the requested power state. Initially null until the first update.
194 // The current power state
787 setScreenState(int state) argument
1157 proximityToString(int state) argument
1170 reportedToPolicyToString(int state) argument
[all...]
H A DDisplayPowerState.java32 * Controls the display power state.
37 * This mechanism enables multiple properties of the display power state to be animated
81 // so prepare to set it to a known state when the state is next applied.
123 public void setScreenState(int state) { argument
124 if (mScreenState != state) {
126 Slog.d(TAG, "setScreenState: state=" + state);
129 mScreenState = state;
136 * Gets the desired screen state
358 setState(int state, int backlight) argument
[all...]
H A DLocalDisplayAdapter.java130 static int getPowerModeForState(int state) { argument
131 switch (state) {
251 // traversals to ensure that the correct state is reapplied if necessary.
287 // tandem so we always have a default state to fall back to.
376 mInfo.state = mState;
432 public Runnable requestDisplayStateLocked(final int state, final int brightness) { argument
434 assert state != Display.STATE_OFF || brightness == PowerManager.BRIGHTNESS_OFF;
436 final boolean stateChanged = (mState != state);
444 mState = state;
452 // Defer actually setting the display state unti
[all...]
H A DLogicalDisplay.java172 * Returns true if the logical display is in a valid state.
184 * Updates the state of the logical display based on the available display devices.
250 mBaseDisplayInfo.state = deviceInfo.state;
H A DOverlayDisplayAdapter.java240 boolean secure, int state,
247 mState = state;
278 public void setStateLocked(int state) { argument
279 mState = state;
307 mInfo.state = mState;
399 long presentationDeadlineNanos, int state) {
404 mSecure, state, surfaceTexture, mNumber) {
428 public void onStateChanged(int state) { argument
431 mDevice.setStateLocked(state);
445 // Try to dump the window state
237 OverlayDisplayDevice(IBinder displayToken, String name, List<OverlayMode> modes, int activeMode, int defaultMode, float refreshRate, long presentationDeadlineNanos, boolean secure, int state, SurfaceTexture surfaceTexture, int number) argument
398 onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate, long presentationDeadlineNanos, int state) argument
[all...]
H A DOverlayDisplayWindow.java297 mListener.onStateChanged(mDefaultDisplayInfo.state);
319 mDefaultDisplayInfo.presentationDeadlineNanos, mDefaultDisplayInfo.state);
389 float refreshRate, long presentationDeadlineNanos, int state);
391 public void onStateChanged(int state); argument
388 onWindowCreated(SurfaceTexture surfaceTexture, float refreshRate, long presentationDeadlineNanos, int state) argument
H A DVirtualDisplayAdapter.java228 public Runnable requestDisplayStateLocked(int state, int brightness) { argument
229 if (state != mDisplayState) {
230 mDisplayState = state;
231 if (state == Display.STATE_OFF) {
333 mInfo.state = mSurface != null ? Display.STATE_ON : Display.STATE_OFF;
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintUtils.java91 FingerprintsUserState state = mUsers.get(userId);
92 if (state == null) {
93 state = new FingerprintsUserState(ctx, userId);
94 mUsers.put(userId, state);
96 return state;
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DDeviceDiscoveryAction.java31 * Device discovery is launched when TV device is woken from "Standby" state
32 * or enabled "Control for Hdmi" from disabled state.
380 void handleTimerEvent(int state) { argument
381 if (mState == STATE_NONE || mState != state) {
H A DDevicePowerStatusAction.java90 void handleTimerEvent(int state) { argument
91 if (mState != state) {
94 if (state == STATE_WAITING_FOR_REPORT_POWER_STATUS) {
H A DHdmiCecFeatureAction.java35 * state as the process progresses, and if necessary, returns the result to the caller which
50 // Default state used in common by all the feature actions.
53 // Internal state indicating the progress of action.
99 * @param state the state associated with the time when the timer was created
101 abstract void handleTimerEvent(int state); argument
110 * Also carries the state of the action when the timer is created. Later this state is
114 * @param state state o
117 sendTimerMessage(int state, long delayMillis) argument
132 sendTimerMessage(int state, long delayMillis) argument
161 addTimer(int state, int delayMillis) argument
[all...]
H A DHotplugDetectionAction.java87 void handleTimerEvent(int state) { argument
88 if (mState != state) {
H A DNewDeviceAction.java191 public void handleTimerEvent(int state) { argument
192 if (mState == STATE_NONE || mState != state) {
195 if (state == STATE_WAITING_FOR_SET_OSD_NAME) {
202 } else if (state == STATE_WAITING_FOR_DEVICE_VENDOR_ID) {
H A DOneTouchPlayAction.java40 // if the TV is brought of out standby state.
115 void handleTimerEvent(int state) { argument
116 if (mState != state) {
119 if (state == STATE_WAITING_FOR_REPORT_POWER_STATUS) {
H A DOneTouchRecordAction.java101 // If recording started successfully, change state and keep this action until <Record Off>
119 void handleTimerEvent(int state) { argument
120 if (mState != state) {
121 Slog.w(TAG, "Timeout in invalid state:[Expected:" + mState + ", Actual:" + state + "]");

Completed in 572 milliseconds

<<11121314151617181920>>