Searched refs:state (Results 501 - 525 of 1016) sorted by last modified time

<<21222324252627282930>>

/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSimPukView.java63 if (DEBUG) Log.v(TAG, "onSimStateChanged(subId=" + subId + ",state=" + simState + ")");
81 private int state = ENTER_PUK; field in class:KeyguardSimPukView.StateMachine
85 if (state == ENTER_PUK) {
87 state = ENTER_PIN;
92 } else if (state == ENTER_PIN) {
94 state = CONFIRM_PIN;
99 } else if (state == CONFIRM_PIN) {
101 state = DONE;
105 state = ENTER_PIN; // try again?
118 state
[all...]
H A DKeyguardUpdateMonitor.java141 /** Fingerprint state: Not listening to fingerprint. */
144 /** Fingerprint state: Listening. */
148 * Fingerprint state: Cancelling and waiting for the confirmation from FingerprintService to
154 * Fingerprint state: During cancelling we got another request to start listening, so when we
180 // Device provisioning state
489 // Clients of KeyguardUpdateMonitor don't care about the internal state about the
490 // asynchronousness of the cancel cycle. So only notify them if the actualy running state
647 + " state: " + intent.getStringExtra(IccCardConstants.INTENT_KEY_ICC_STATE)
656 String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE);
657 mHandler.sendMessage(mHandler.obtainMessage(MSG_PHONE_STATE_CHANGED, state));
761 SimData(State state, int slot, int id) argument
1310 handleSimStateChange(int subId, int slotId, State state) argument
1623 isSimPinSecure(IccCardConstants.State state) argument
1681 getNextSubIdForState(State state) argument
[all...]
H A DKeyguardUpdateMonitorCallback.java57 * @param state the current ringer state, as defined in
60 public void onRingerModeChanged(int state) { } argument
63 * Called when the phone state changes. String will be one of:
119 * Called when the SIM state changes.
229 * Called when the state of face unlock changed.
234 * Called when the fingerprint running state changed.
239 * Called when the state that the user hasn't used strong authentication since quite some time
/frameworks/base/packages/Osu/src/com/android/
H A DMainActivity.java290 int state = bundle.getInt(WifiManager.EXTRA_WIFI_STATE);
291 if (state == WifiManager.WIFI_STATE_DISABLED) {
293 } else if (state == WifiManager.WIFI_STATE_ENABLED) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
H A DNotificationController.java53 * based on print job state transitions.
260 // if any print job is in an error state show an error icon for the summary
332 private static boolean shouldNotifyForState(int state) { argument
333 switch (state) {
H A DPageContentRepository.java291 entry.getValue().state = RenderedPage.STATE_SCRAP;
304 if (renderedPage.state == RenderedPage.STATE_SCRAP) {
401 int state = STATE_SCRAP; field in class:PageContentRepository.RenderedPage
579 if (renderedPage != null && renderedPage.state == RenderedPage.STATE_RENDERED
596 if (renderedPage != null && renderedPage.state == RenderedPage.STATE_RENDERED) {
610 renderedPage.state = RenderedPage.STATE_SCRAP;
620 // If someone else is already waiting for this page - bad state.
761 if (mRenderedPage != null && mRenderedPage.state == RenderedPage.STATE_RENDERED) {
822 mRenderedPage.state = RenderedPage.STATE_RENDERING;
868 renderedPage.state
[all...]
H A DPrintSpoolerService.java273 Slog.e(LOG_TAG, "Error notify for print job state change.", re);
282 int state, int appId) {
294 final boolean sameState = (state == printJob.getState())
295 || (state == PrintJobInfo.STATE_ANY)
296 || (state == PrintJobInfo.STATE_ANY_VISIBLE_TO_CLIENTS
298 || (state == PrintJobInfo.STATE_ANY_ACTIVE
300 || (state == PrintJobInfo.STATE_ANY_SCHEDULED
313 private boolean isStateVisibleToUser(int state) { argument
314 return (isActiveState(state) && (state
281 getPrintJobInfos(ComponentName componentName, int state, int appId) argument
514 setPrintJobState(PrintJobId printJobId, int state, String error) argument
1374 getPrintJobInfos(IPrintSpoolerCallbacks callback, ComponentName componentName, int state, int appId, int sequence) argument
1403 setPrintJobState(PrintJobId printJobId, int state, String error, IPrintSpoolerCallbacks callback, int sequece) argument
[all...]
H A DRemotePrintDocument.java185 throw new IllegalStateException("Cannot start in state:" + stateToString(mState));
209 throw new IllegalStateException("Cannot update in state:" + stateToString(mState));
273 throw new IllegalStateException("Cannot finish in state:"
306 throw new IllegalStateException("Cannot destroy in state:" + stateToString(mState));
457 private static String stateToString(int state) { argument
458 switch (state) {
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java322 // If we are finishing or we are in a state that we do not need any
690 Log.i(LOG_TAG, "[state]" + STATE_CONFIGURING);
908 private void setState(int state) { argument
910 if (isFinalState(state)) {
912 Log.i(LOG_TAG, "[state]" + state);
914 mState = state;
918 Log.i(LOG_TAG, "[state]" + state);
920 mState = state;
924 isFinalState(int state) argument
[all...]
H A DPrintPreviewController.java324 public void onScrollStateChanged(RecyclerView recyclerView, int state) { argument
327 if (state == RecyclerView.SCROLL_STATE_IDLE
328 || state == RecyclerView.SCROLL_STATE_DRAGGING){
335 if (state == RecyclerView.SCROLL_STATE_SETTLING) {
340 mOldScrollState = state;
H A DPrintProgressFragment.java36 public View onCreateView(LayoutInflater inflater, ViewGroup root, Bundle state) { argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DA2dpProfile.java185 int state = getConnectionStatus(device);
186 switch (state) {
194 return Utils.getConnectionStateSummary(state);
H A DA2dpSinkProfile.java194 int state = getConnectionStatus(device);
195 switch (state) {
203 return Utils.getConnectionStateSummary(state);
H A DBluetoothCallback.java30 void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state); argument
H A DBluetoothEventManager.java102 // Fine-grained state broadcasts
154 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE,
157 mLocalAdapter.setBluetoothStateInt(state);
161 callback.onBluetoothStateChanged(state);
164 // Inform CachedDeviceManager that the adapter state has changed
165 mDeviceManager.onBluetoothStateChanged(state);
211 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_CONNECTION_STATE,
213 dispatchConnectionStateChanged(cachedDevice, state);
217 private void dispatchConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state) { argument
220 callback.onConnectionStateChanged(cachedDevice, state);
[all...]
H A DCachedBluetoothDevice.java89 * error even if they all fail. This tracks that state.
131 if (Utils.D) Log.d(TAG, " BT Turninig Off...Profile conn state change ignored...");
316 int state = getBondState();
318 if (state == BluetoothDevice.BOND_BONDING) {
322 if (state != BluetoothDevice.BOND_NONE) {
341 // If cache is empty make the binder call to get the state
342 int state = profile.getConnectionStatus(mDevice);
343 mProfileConnectionState.put(profile, state);
351 Log.d(TAG," Clearing all connection state for dev:" + mDevice.getName());
641 // when device attributes change (such as bonding state)
[all...]
H A DHeadsetProfile.java198 int state = getConnectionStatus(device);
199 switch (state) {
207 return Utils.getConnectionStateSummary(state);
H A DHfpClientProfile.java203 int state = getConnectionStatus(device);
204 switch (state) {
212 return Utils.getConnectionStateSummary(state);
H A DHidProfile.java157 int state = getConnectionStatus(device);
158 switch (state) {
166 return Utils.getConnectionStateSummary(state);
H A DLocalBluetoothAdapter.java32 * those related to state transitions of the adapter itself.
34 * <p>Connection and bonding state changes affecting specific devices
184 // Always sync state, in case it changed while paused
189 synchronized void setBluetoothStateInt(int state) { argument
190 mState = state;
192 if (state == BluetoothAdapter.STATE_ON) {
201 // Returns true if the state changed; false otherwise.
H A DMapProfile.java184 int state = getConnectionStatus(device);
185 switch (state) {
193 return Utils.getConnectionStateSummary(state);
H A DPanProfile.java137 int state = getConnectionStatus(device);
138 switch (state) {
150 return Utils.getConnectionStateSummary(state);
H A DSapProfile.java187 int state = getConnectionStatus(device);
188 switch (state) {
196 return Utils.getConnectionStateSummary(state);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DSettingsDrawerActivity.java281 int state = pm.getComponentEnabledSetting(component);
282 boolean isEnabled = state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED;
283 if (isEnabled != enabled || state == PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
H A DAccessPoint.java762 public static String getSummary(Context context, String ssid, DetailedState state, argument
764 if (state == DetailedState.CONNECTED && ssid == null) {
778 if (state == DetailedState.CONNECTED) {
796 int index = state.ordinal();
804 public static String getSummary(Context context, DetailedState state, boolean isEphemeral) { argument
805 return getSummary(context, null, state, isEphemeral, null);
808 public static String getSummary(Context context, DetailedState state, boolean isEphemeral, argument
810 return getSummary(context, null, state, isEphemeral, passpointProvider);

Completed in 347 milliseconds

<<21222324252627282930>>