Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java202 boolean isCurrent = currentId == info.id; in refreshUsers()
203 if (isCurrent) { in refreshUsers()
206 boolean switchToEnabled = canSwitchUsers || isCurrent; in refreshUsers()
212 true /* isGuest */, isCurrent, false /* isAddUser */, in refreshUsers()
226 int index = isCurrent ? 0 : records.size(); in refreshUsers()
228 isCurrent, false /* isAddUser */, false /* isRestricted */, in refreshUsers()
260 int index = guestRecord.isCurrent ? 0 : records.size(); in refreshUsers()
495 if (record.isCurrent != shouldBeCurrent) {
660 if (item.isCurrent) { in getName()
712 public final boolean isCurrent; field in UserSwitcherController.UserRecord
[all …]
DCastControllerImpl.java193 final boolean isCurrent = Objects.equals(projection, mProjection); in setProjection()
194 if (started && !isCurrent) { in setProjection()
197 } else if (!started && isCurrent) { in setProjection()
DKeyguardUserSwitcher.java286 convertView.setActivated(item.isCurrent); in getView()
294 if (user.isCurrent && !user.isGuest) { in onClick()
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java585 if (!isCurrent(callback, "onConnect")) { in onServiceConnected()
636 if (!isCurrent(callback, "onConnectFailed")) { in onConnectionFailed()
662 if (!isCurrent(callback, "onLoadChildren")) { in onLoadChildren()
704 private boolean isCurrent(IMediaBrowserServiceCallbacks callback, String funcName) { in isCurrent() method in MediaBrowser
986 if (!isCurrent("onServiceConnected")) { in onServiceConnected()
1035 if (!isCurrent("onServiceDisconnected")) { in onServiceDisconnected()
1061 private boolean isCurrent(String funcName) { in isCurrent() method in MediaBrowser.MediaServiceConnection
/frameworks/base/media/java/android/media/
DMediaPlayer2Impl.java809 private void handleDataSource(boolean isCurrent, @NonNull DataSourceDesc dsd, long srcId) in handleDataSource() argument
815 handleDataSource(isCurrent, in handleDataSource()
821 handleDataSource(isCurrent, in handleDataSource()
829 handleDataSource(isCurrent, in handleDataSource()
862 boolean isCurrent, long srcId, in handleDataSource() argument
872 handleDataSource(isCurrent, srcId, uri.getPath(), null, null); in handleDataSource()
883 if (attemptDataSource(isCurrent, srcId, resolver, cacheUri)) { in handleDataSource()
886 if (attemptDataSource(isCurrent, srcId, resolver, actualUri)) { in handleDataSource()
889 handleDataSource(isCurrent, srcId, uri.toString(), headers, cookies); in handleDataSource()
892 if (attemptDataSource(isCurrent, srcId, resolver, uri)) { in handleDataSource()
[all …]
/frameworks/base/libs/hwui/renderthread/
DEglManager.h47 bool isCurrent(EGLSurface surface) { return mCurrentSurface == surface; } in isCurrent() function
DRenderThread.h112 static bool isCurrent();
DEglManager.cpp342 if (isCurrent(surface)) { in destroySurface()
368 if (isCurrent(surface)) return false; in makeCurrent()
DVulkanManager.h96 bool isCurrent(VulkanSurface* surface) { return true; } in isCurrent() function
DRenderThread.cpp363 bool RenderThread::isCurrent() { in isCurrent() function in android::uirenderer::renderthread::RenderThread
DOpenGLPipeline.cpp141 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
/frameworks/native/services/surfaceflinger/RenderEngine/
DRenderEngine.h74 virtual bool isCurrent() const = 0;
198 bool isCurrent() const;
DRenderEngine.cpp182 bool RenderEngine::isCurrent() const { in isCurrent() function in android::RE::impl::RenderEngine
/frameworks/native/services/surfaceflinger/tests/unittests/mock/RenderEngine/
DMockRenderEngine.h41 MOCK_CONST_METHOD0(isCurrent, bool());
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUserDetailView.java88 v.setActivated(item.isCurrent); in createUserDetailItemView()
/frameworks/base/media/jni/
Dandroid_media_MediaPlayer2.cpp277 JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, in android_media_MediaPlayer2_handleDataSourceUrl() argument
325 if (isCurrent) { in android_media_MediaPlayer2_handleDataSourceUrl()
336 JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, in android_media_MediaPlayer2_handleDataSourceFD() argument
386 if (isCurrent) { in android_media_MediaPlayer2_handleDataSourceFD()
397 JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, jobject dataSource) in android_media_MediaPlayer2_handleDataSourceCallback() argument
416 if (isCurrent) { in android_media_MediaPlayer2_handleDataSourceCallback()
/frameworks/support/media/src/main/java/android/support/v4/media/
DMediaBrowserCompat.java1329 if (!isCurrent(callback, "onConnect")) { in onServiceConnected()
1375 if (!isCurrent(callback, "onConnectFailed")) { in onConnectionFailed()
1396 if (!isCurrent(callback, "onLoadChildren")) { in onLoadChildren()
1465 private boolean isCurrent(Messenger callback, String funcName) { in isCurrent() method in MediaBrowserCompat.MediaBrowserImplBase
1513 if (!isCurrent("onServiceConnected")) { in onServiceConnected()
1564 if (!isCurrent("onServiceDisconnected")) { in onServiceDisconnected()
1591 boolean isCurrent(String funcName) { in isCurrent() method in MediaBrowserCompat.MediaBrowserImplBase.MediaServiceConnection
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.cpp164 if (!mRE.isCurrent()) { in updateTexImage()
519 if (!mRE.isCurrent()) { in doFenceWaitLocked()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2322 public boolean isCurrent; in testLoadGroups() field in SupplicantP2pIfaceHalTest.P2pGroupInfo
2323 P2pGroupInfo(String ssid, byte[] bssid, boolean isGo, boolean isCurrent) { in testLoadGroups() argument
2327 this.isCurrent = isCurrent; in testLoadGroups()
2376 cb.onValues(mStatusSuccess, groups.get(networkId).isCurrent); in testLoadGroups()
2380 .isCurrent(any(ISupplicantP2pNetwork.isCurrentCallback.class)); in testLoadGroups()
/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.cpp230 if (!renderthread::RenderThread::isCurrent()) { in releaseEntry()
DSkiaOpenGLPipeline.cpp199 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java1928 network.isCurrent( in loadGroups()
1929 (SupplicantStatus status, boolean isCurrent) -> { in loadGroups() argument
1930 resultIsCurrent.setResult(status, isCurrent); in loadGroups()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java935 private void dumpUser(PrintWriter fout, UserInfo user, boolean isCurrent) {
943 if (isCurrent) {
/frameworks/base/config/
Dboot-image-profile.txt3438 HPLandroid/media/browse/MediaBrowser$MediaServiceConnection;->isCurrent(Ljava/lang/String;)Z
3453 HPLandroid/media/browse/MediaBrowser;->isCurrent(Landroid/service/media/IMediaBrowserServiceCallbac…