Home
last modified time | relevance | path

Searched refs:clientState (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/speech/
DRemoteSpeechRecognitionService.java112 ClientState clientState = mClients.get(listener.asBinder()); in startListening() local
114 if (clientState == null) { in startListening()
145 clientState = newClientState; in startListening()
147 if (clientState.mRecordingInProgress) { in startListening()
153 clientState.mRecordingInProgress = true; in startListening()
157 final DelegatingListener listenerToStart = clientState.mDelegatingListener; in startListening()
177 ClientState clientState = mClients.get(listener.asBinder()); in stopListening() local
179 if (clientState == null) { in stopListening()
184 if (!clientState.mRecordingInProgress) { in stopListening()
189 clientState.mRecordingInProgress = false; in stopListening()
[all …]
/frameworks/native/services/surfaceflinger/FrontEnd/
DRequestedLayerState.cpp140 const layer_state_t& clientState = resolvedComposerState.state; in merge() local
142 uint64_t clientChanges = what | layer_state_t::diff(clientState); in merge()
143 layer_state_t::merge(clientState); in merge()
145 LLOGV(layerId, "requested=%" PRIu64 "flags=%" PRIu64, clientState.what, clientChanges); in merge()
147 if (clientState.what & layer_state_t::eFlagsChanged) { in merge()
157 if (clientState.what & layer_state_t::eBufferChanged) { in merge()
200 if (clientState.what & layer_state_t::eSidebandStreamChanged) { in merge()
233 if (clientState.what & layer_state_t::eColorTransformChanged) { in merge()
237 if (clientState.what & in merge()
242 if (clientState.what & layer_state_t::eReparent) { in merge()
[all …]
DLayerLifecycleManager.cpp185 const auto& clientState = resolvedComposerState.state; in applyTransactions() local
188 ALOGW("%s Handle %p is not valid", __func__, clientState.surface.get()); in applyTransactions()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteAugmentedAutofillService.java177 @Nullable Bundle clientState, boolean showingFillWindow) { in onRequestAutofillLocked()
181 clientState, focusedId, focusedValue, in onRequestAutofillLocked()
251 @Nullable List<Dataset> inlineSuggestionsData, @Nullable Bundle clientState, in maybeRequestShowInlineSuggestions() argument
286 dataset.getId(), clientState); in maybeRequestShowInlineSuggestions()
294 clientState); in maybeRequestShowInlineSuggestions()
306 dataset.getId(), clientState); in maybeRequestShowInlineSuggestions()
367 mCallbacks.logAugmentedAutofillShown(sessionId, clientState); in maybeRequestShowInlineSuggestions()
390 void logAugmentedAutofillShown(int sessionId, @Nullable Bundle clientState); in logAugmentedAutofillShown() argument
393 @Nullable Bundle clientState); in logAugmentedAutofillSelected() argument
396 @Nullable String suggestionId, @Nullable Bundle clientState); in logAugmentedAutofillAuthenticationSelected() argument
DAutofillManagerServiceImpl.java784 void setAuthenticationSelected(int sessionId, @Nullable Bundle clientState, in setAuthenticationSelected() argument
789 new Event(Event.TYPE_AUTHENTICATION_SELECTED, null, clientState, null, null, in setAuthenticationSelected()
800 @Nullable Bundle clientState, int uiType) { in logDatasetAuthenticationSelected() argument
805 clientState, null, null, null, null, null, null, null, null, in logDatasetAuthenticationSelected()
814 void logSaveShown(int sessionId, @Nullable Bundle clientState) { in logSaveShown() argument
817 mEventHistory.addEvent(new Event(Event.TYPE_SAVE_SHOWN, null, clientState, null, in logSaveShown()
827 @Nullable Bundle clientState, int uiType) { in logDatasetSelected() argument
831 new Event(Event.TYPE_DATASET_SELECTED, selectedDataset, clientState, null, in logDatasetSelected()
841 void logDatasetShown(int sessionId, @Nullable Bundle clientState, int uiType) { in logDatasetShown() argument
845 new Event(Event.TYPE_DATASETS_SHOWN, null, clientState, null, null, null, in logDatasetShown()
[all …]
DSession.java2803 final Bundle clientState = data.getBundle(AutofillManager.EXTRA_CLIENT_STATE); in setAuthenticationResultForAugmentedAutofillLocked() local
2804 mService.logAugmentedAutofillSelected(id, dataset.getId(), clientState); in setAuthenticationResultForAugmentedAutofillLocked()
6143 void forceRemoveFromServiceLocked(int clientState) { in forceRemoveFromServiceLocked() argument
6152 mClient.setSessionFinished(clientState, /* autofillableIds= */ null); in forceRemoveFromServiceLocked()
/frameworks/base/core/java/android/service/autofill/
DFillEventHistory.java115 public FillEventHistory(int sessionId, @Nullable Bundle clientState) { in FillEventHistory() argument
116 mClientState = clientState; in FillEventHistory()
585 public Event(int eventType, @Nullable String datasetId, @Nullable Bundle clientState, in Event() argument
594 this(eventType, datasetId, clientState, selectedDatasetIds, ignoredDatasetIds, in Event()
626 public Event(int eventType, @Nullable String datasetId, @Nullable Bundle clientState, in Event() argument
636 this(eventType, datasetId, clientState, selectedDatasetIds, ignoredDatasetIds, in Event()
669 public Event(int eventType, @Nullable String datasetId, @Nullable Bundle clientState, in Event() argument
682 mClientState = clientState; in Event()
774 final Bundle clientState = parcel.readBundle();
804 selection.addEvent(new Event(eventType, datasetId, clientState,
DSaveRequest.java42 @Nullable Bundle clientState, @Nullable ArrayList<String> datasetIds) { in SaveRequest() argument
44 mClientState = clientState; in SaveRequest()
DFillRequest.java347 @Nullable Bundle clientState, in FillRequest() argument
358 this.mClientState = clientState; in FillRequest()
533 Bundle clientState = (flg & 0x8) == 0 ? null : in.readBundle(); in FillRequest() local
545 this.mClientState = clientState; in FillRequest()
DFillResponse.java156 private FillResponse(ParceledListSlice<Dataset> datasets, SaveInfo saveInfo, Bundle clientState, in FillResponse() argument
169 mClientState = clientState; in FillResponse()
787 public Builder setClientState(@Nullable Bundle clientState) { in setClientState() argument
790 mClientState = clientState; in setClientState()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DProxyManager.java381 int clientState = 0; in getStateLocked() local
384 clientState |= AccessibilityManager.STATE_FLAG_ACCESSIBILITY_ENABLED; in getStateLocked()
391 clientState |= getStateForDisplayIdLocked(proxy); in getStateLocked()
397 + ((clientState & AccessibilityManager.STATE_FLAG_ACCESSIBILITY_ENABLED) != 0)); in getStateLocked()
399 + ((clientState & AccessibilityManager.STATE_FLAG_TOUCH_EXPLORATION_ENABLED) in getStateLocked()
402 return clientState; in getStateLocked()
409 int clientState = 0; in getStateForDisplayIdLocked() local
411 clientState |= AccessibilityManager.STATE_FLAG_ACCESSIBILITY_ENABLED; in getStateForDisplayIdLocked()
413 clientState |= AccessibilityManager.STATE_FLAG_TOUCH_EXPLORATION_ENABLED; in getStateForDisplayIdLocked()
419 + ((clientState & AccessibilityManager.STATE_FLAG_ACCESSIBILITY_ENABLED) != 0)); in getStateForDisplayIdLocked()
[all …]
DAccessibilityUserState.java414 int clientState = 0; in getClientStateLocked() local
418 clientState |= AccessibilityManager.STATE_FLAG_ACCESSIBILITY_ENABLED; in getClientStateLocked()
422 clientState |= AccessibilityManager.STATE_FLAG_TOUCH_EXPLORATION_ENABLED; in getClientStateLocked()
423 clientState |= AccessibilityManager.STATE_FLAG_DISPATCH_DOUBLE_TAP; in getClientStateLocked()
424 clientState |= AccessibilityManager.STATE_FLAG_REQUEST_MULTI_FINGER_GESTURES; in getClientStateLocked()
427 clientState |= AccessibilityManager.STATE_FLAG_HIGH_TEXT_CONTRAST_ENABLED; in getClientStateLocked()
430 clientState |= in getClientStateLocked()
434 clientState |= traceClientState; in getClientStateLocked()
436 return clientState; in getClientStateLocked()
DAccessibilityManagerService.java2473 final int clientState = getClientStateLocked(userState); in scheduleUpdateClientsIfNeededLocked() local
2474 if (((userState.getLastSentClientStateLocked() != clientState || forceUpdate)) in scheduleUpdateClientsIfNeededLocked()
2477 userState.setLastSentClientStateLocked(clientState); in scheduleUpdateClientsIfNeededLocked()
2480 this, clientState, in scheduleUpdateClientsIfNeededLocked()
2485 private void sendStateToAllClients(int clientState, int userId) { in sendStateToAllClients() argument
2486 sendStateToClients(clientState, mGlobalClients); in sendStateToAllClients()
2487 sendStateToClients(clientState, userId); in sendStateToAllClients()
2490 private void sendStateToClients(int clientState, int userId) { in sendStateToClients() argument
2491 sendStateToClients(clientState, getUserState(userId).mUserClients); in sendStateToClients()
2494 private void sendStateToClients(int clientState, in sendStateToClients() argument
[all …]
/frameworks/base/core/java/android/service/autofill/augmented/
DFillCallback.java63 final Bundle clientState = response.getClientState(); in onSuccess() local
73 mProxy.reportResult(inlineSuggestions, clientState, showingFillWindow); in onSuccess()
DFillResponse.java96 @Nullable Bundle clientState) { in FillResponse() argument
99 this.mClientState = clientState; in FillResponse()
DIFillCallback.aidl34 in @nullable Bundle clientState, in onSuccess() argument
DAugmentedAutofillService.java569 @Nullable Bundle clientState, boolean showingFillWindow) { in reportResult() argument
571 mCallback.onSuccess(inlineSuggestionsData, clientState, showingFillWindow); in reportResult()
/frameworks/base/services/core/java/com/android/server/tv/interactive/
DTvInteractiveAppManagerService.java2193 ClientState clientState = userState.mClientStateMap.get(sessionState.mClient.asBinder()); in removeSessionStateLocked() local
2194 if (clientState != null) { in removeSessionStateLocked()
2195 clientState.mSessionTokens.remove(sessionToken); in removeSessionStateLocked()
2196 if (clientState.isEmpty()) { in removeSessionStateLocked()
2198 sessionState.mClient.asBinder().unlinkToDeath(clientState, 0); in removeSessionStateLocked()
2375 ClientState clientState = userState.mClientStateMap.get(mClientToken); in binderDied() local
2376 if (clientState != null) { in binderDied()
2377 while (clientState.mSessionTokens.size() > 0) { in binderDied()
2378 IBinder sessionToken = clientState.mSessionTokens.get(0); in binderDied()
2384 if (clientState.mSessionTokens.contains(sessionToken)) { in binderDied()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsPolicyTest.java351 final InsetsState clientState = mAppWindow.getInsetsState(); in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls() local
353 assertFalse(clientState.isSourceOrDefaultVisible(statusBarSource.getId(), statusBars())); in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls()
354 assertFalse(clientState.isSourceOrDefaultVisible(navBarSource.getId(), navigationBars())); in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java911 ClientState clientState = userState.clientStateMap.get(sessionState.client.asBinder()); in removeSessionStateLocked() local
912 if (clientState != null) { in removeSessionStateLocked()
913 clientState.sessionTokens.remove(sessionToken); in removeSessionStateLocked()
914 if (clientState.isEmpty()) { in removeSessionStateLocked()
916 sessionState.client.asBinder().unlinkToDeath(clientState, 0); in removeSessionStateLocked()
3053 ClientState clientState = userState.clientStateMap.get(clientToken); in binderDied() local
3054 if (clientState != null) { in binderDied()
3055 while (clientState.sessionTokens.size() > 0) { in binderDied()
3056 IBinder sessionToken = clientState.sessionTokens.get(0); in binderDied()
3062 if (clientState.sessionTokens.contains(sessionToken)) { in binderDied()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLLogWrapper.java420 private String getClientState(int clientState) { in getClientState() argument
421 switch (clientState) { in getClientState()
431 return getHex(clientState); in getClientState()