Home
last modified time | relevance | path

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

/frameworks/base/telecomm/java/android/telecom/
DVideoProfile.java264 return !hasState(videoState, VideoProfile.STATE_TX_ENABLED) in isAudioOnly()
265 && !hasState(videoState, VideoProfile.STATE_RX_ENABLED); in isAudioOnly()
275 return hasState(videoState, VideoProfile.STATE_TX_ENABLED) in isVideo()
276 || hasState(videoState, VideoProfile.STATE_RX_ENABLED) in isVideo()
277 || hasState(videoState, VideoProfile.STATE_BIDIRECTIONAL); in isVideo()
287 return hasState(videoState, VideoProfile.STATE_TX_ENABLED); in isTransmissionEnabled()
297 return hasState(videoState, VideoProfile.STATE_RX_ENABLED); in isReceptionEnabled()
307 return hasState(videoState, VideoProfile.STATE_BIDIRECTIONAL); in isBidirectional()
317 return hasState(videoState, VideoProfile.STATE_PAUSED); in isPaused()
327 private static boolean hasState(@VideoState int videoState, @VideoState int state) { in hasState() method in VideoProfile
/frameworks/base/core/java/android/widget/
DDatePickerCalendarDelegate.java201 if (color == null || color.hasState(R.attr.state_activated)) { in applyLegacyColorFixes()
207 if (color.hasState(R.attr.state_selected)) { in applyLegacyColorFixes()
DTimePickerClockDelegate.java269 if (color == null || color.hasState(R.attr.state_activated)) { in applyLegacyColorFixes()
275 if (color.hasState(R.attr.state_selected)) { in applyLegacyColorFixes()
/frameworks/base/core/java/android/content/res/
DColorStateList.java600 public boolean hasState(int state) { in hasState() method in ColorStateList
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java302 assertTrue(log.events[0].imsConnectionState.hasState()); in testWriteOnImsConnectionState()
316 assertTrue(log.callSessions[0].events[1].imsConnectionState.hasState()); in testWriteOnImsConnectionState()