Home
last modified time | relevance | path

Searched refs:isCurrent (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/source/
DUserRecord.kt33 @JvmField val isCurrent: Boolean = false, constant in com.android.systemui.user.data.source.UserRecord
55 fun copyWithIsCurrent(isCurrent: Boolean): UserRecord { in copyWithIsCurrent()
56 return copy(isCurrent = isCurrent) in copyWithIsCurrent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/data/
DLegacyUserDataHelper.kt45 isCurrent: Boolean, in createRecord()
59 isCurrent = isCurrent, in createRecord()
60 isSwitchToEnabled = canSwitchUsers || (isCurrent && !isGuest), in createRecord()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java130 if (!item.isCurrent || item.isGuest) { in createUserDetailItemView()
147 v.setActivated(item.isCurrent); in createUserDetailItemView()
152 if (item.isCurrent) { in createUserDetailItemView()
163 if (item.isCurrent) { in getDrawable()
172 int bgRes = item.isCurrent ? R.drawable.bg_avatar_selected : R.drawable.qs_bg_avatar; in getDrawable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherAdapterTest.kt180 assertTrue("Expected current user to be first in list", adapter.getItem(0).isCurrent) in testCurrentUserIsAlwaysFirst()
181 assertFalse("Did not expect current user in position 1", adapter.getItem(1).isCurrent) in testCurrentUserIsAlwaysFirst()
182 assertFalse("Did not expect current user in position 2", adapter.getItem(2).isCurrent) in testCurrentUserIsAlwaysFirst()
184 assertFalse("Did not expect current user in position 3", adapter.getItem(3).isCurrent) in testCurrentUserIsAlwaysFirst()
DBaseUserSwitcherAdapterTest.kt259 isCurrent = isSelected, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherController.java285 if (userTag.isCurrent) { in refreshUserList()
464 if (record.isCurrent) { in refreshUserOrder()
508 v.setActivated(item.isCurrent); in createUserDetailItemView()
513 if (item.isCurrent) { in createUserDetailItemView()
522 if (item.isCurrent && item.isGuest) { in getDrawable()
550 if (!user.isCurrent || user.isGuest) { in onClick()
DCastControllerImpl.java224 final boolean isCurrent = Objects.equals(projection, mProjection); in setProjection()
225 if (started && !isCurrent) { in setProjection()
228 } else if (!started && isCurrent) { in setProjection()
DKeyguardQsUserSwitchController.java279 if (r.isCurrent) { in updateCurrentUser()
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java584 if (!isCurrent(callback, "onConnect")) { in onServiceConnected()
635 if (!isCurrent(callback, "onConnectFailed")) { in onConnectionFailed()
661 if (!isCurrent(callback, "onLoadChildren")) { in onLoadChildren()
703 private boolean isCurrent(IMediaBrowserServiceCallbacks callback, String funcName) { in isCurrent() method in MediaBrowser
985 if (!isCurrent("onServiceConnected")) { in onServiceConnected()
1034 if (!isCurrent("onServiceDisconnected")) { in onServiceDisconnected()
1060 private boolean isCurrent(String funcName) { in isCurrent() method in MediaBrowser.MediaServiceConnection
/frameworks/av/media/libstagefright/renderfright/include/renderengine/mock/
DRenderEngine.h43 MOCK_CONST_METHOD0(isCurrent, bool());
/frameworks/base/libs/hwui/renderthread/
DEglManager.h56 bool isCurrent(EGLSurface surface) { return mCurrentSurface == surface; } in isCurrent() function
DRenderThread.h181 static bool isCurrent();
DEglManager.cpp500 if (isCurrent(surface)) { in destroySurface()
526 if (!force && isCurrent(surface)) return false; in makeCurrent()
DRenderThread.cpp490 bool RenderThread::isCurrent() { in isCurrent() function in android::uirenderer::renderthread::RenderThread
/frameworks/base/libs/hwui/
DAutoBackendTextureRelease.cpp41 if (!RenderThread::isCurrent()) { in unref()
/frameworks/base/libs/hwui/pipeline/skia/
DVkFunctorDrawable.cpp55 if (!renderthread::RenderThread::isCurrent()) in draw()
DSkiaOpenGLPipeline.cpp167 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/ui/
DLegacyUserUiHelper.kt94 record.isGuest && record.isCurrent -> in getGuestUserRecordNameResourceId()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DUserInteractorTest.kt754 isCurrent = true, in <lambda>()
952 isCurrent = userIndex == selectedUserIndex, in <lambda>()
973 isCurrent: Boolean = false, in <lambda>()
980 assertThat(record.isCurrent).isEqualTo(isCurrent) in <lambda>()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java542 if (sessionState.isCurrent) { in releaseSessionOfUserLocked()
543 sessionState.isCurrent = false; in releaseSessionOfUserLocked()
618 if (state.isCurrent) { in removeUser()
619 state.isCurrent = false; in removeUser()
873 if (sessionState.isCurrent) { in releaseSessionLocked()
874 sessionState.isCurrent = false; in releaseSessionLocked()
1758 if (!sessionState.isCurrent in tune()
1760 sessionState.isCurrent = true; in tune()
2783 if (state.isCurrent) { in getCurrentTunedInfosInternalLocked()
3049 private boolean isCurrent = false; field in TvInputManagerService.SessionState
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java1136 if (item.isCurrent && item.isGuest) { in setupUserSwitcher()
1175 if (!user.isCurrent) { in setupUserSwitcher()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DUserInteractor.kt545 isCurrent = userInfo.id == selectedUserId, in <lambda>()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java1669 private void dumpUser(PrintWriter fout, UserInfo user, boolean isCurrent) {
1677 if (isCurrent) {
/frameworks/base/boot/
Dboot-image-profile.txt11135 HSPLandroid/media/browse/MediaBrowser$MediaServiceConnection;->isCurrent(Ljava/lang/String;)Z
11143 HSPLandroid/media/browse/MediaBrowser;->isCurrent(Landroid/service/media/IMediaBrowserServiceCallba…
/frameworks/base/config/
Dboot-image-profile.txt11137 HSPLandroid/media/browse/MediaBrowser$MediaServiceConnection;->isCurrent(Ljava/lang/String;)Z
11145 HSPLandroid/media/browse/MediaBrowser;->isCurrent(Landroid/service/media/IMediaBrowserServiceCallba…

12