Home
last modified time | relevance | path

Searched refs:hasState (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/telecomm/java/android/telecom/
DVideoProfile.java268 return !hasState(videoState, VideoProfile.STATE_TX_ENABLED) in isAudioOnly()
269 && !hasState(videoState, VideoProfile.STATE_RX_ENABLED); in isAudioOnly()
279 return hasState(videoState, VideoProfile.STATE_TX_ENABLED) in isVideo()
280 || hasState(videoState, VideoProfile.STATE_RX_ENABLED) in isVideo()
281 || hasState(videoState, VideoProfile.STATE_BIDIRECTIONAL); in isVideo()
291 return hasState(videoState, VideoProfile.STATE_TX_ENABLED); in isTransmissionEnabled()
301 return hasState(videoState, VideoProfile.STATE_RX_ENABLED); in isReceptionEnabled()
311 return hasState(videoState, VideoProfile.STATE_BIDIRECTIONAL); in isBidirectional()
321 return hasState(videoState, VideoProfile.STATE_PAUSED); in isPaused()
331 private static boolean hasState(@VideoState int videoState, @VideoState int state) { in hasState() method in VideoProfile
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java483 return hasState(SP_HANDLE_NAME, DEFAULT_HANDLE, userId); in hasSidForUser()
509 return hasState(SP_E0_NAME, DEFAULT_HANDLE, userId) in hasEscrowData()
510 && hasState(SP_P1_NAME, DEFAULT_HANDLE, userId); in hasEscrowData()
1022 return hasState(SP_BLOB_NAME, handle, userId); in existsHandle()
1039 if (hasState(WEAVER_SLOT_NAME, handle, userId)) { in destroySyntheticPassword()
1076 private boolean hasState(String stateName, long handle, int userId) { in hasState() method in SyntheticPasswordManager
/frameworks/base/core/java/android/widget/
DDatePickerCalendarDelegate.java195 if (color == null || color.hasState(R.attr.state_activated)) { in applyLegacyColorFixes()
201 if (color.hasState(R.attr.state_selected)) { in applyLegacyColorFixes()
DTimePickerClockDelegate.java359 if (color == null || color.hasState(R.attr.state_activated)) { in applyLegacyColorFixes()
365 if (color.hasState(R.attr.state_selected)) { in applyLegacyColorFixes()
/frameworks/base/core/java/android/content/res/
DColorStateList.java609 public boolean hasState(int state) { in hasState() method in ColorStateList