Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java204 boolean isCurrent = currentId == info.id; in refreshUsers()
205 if (isCurrent) { in refreshUsers()
208 boolean switchToEnabled = canSwitchUsers || isCurrent; in refreshUsers()
214 true /* isGuest */, isCurrent, false /* isAddUser */, in refreshUsers()
228 int index = isCurrent ? 0 : records.size(); in refreshUsers()
230 isCurrent, false /* isAddUser */, false /* isRestricted */, in refreshUsers()
262 int index = guestRecord.isCurrent ? 0 : records.size(); in refreshUsers()
497 if (record.isCurrent != shouldBeCurrent) {
663 if (item.isCurrent) { in getName()
716 public final boolean isCurrent; field in UserSwitcherController.UserRecord
[all …]
DCastControllerImpl.java222 final boolean isCurrent = Objects.equals(projection, mProjection); in setProjection()
223 if (started && !isCurrent) { in setProjection()
226 } 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/apex/java/android/media/
DMediaPlayer2.java879 private void handleDataSource(boolean isCurrent, @NonNull DataSourceDesc dsd, long srcId)
890 handleDataSource(isCurrent,
896 handleDataSource(isCurrent,
906 handleDataSource(isCurrent,
939 boolean isCurrent, long srcId,
948 handleDataSource(isCurrent, srcId, uri.getPath(), null, null, startPos, endPos);
958 if (attemptDataSource(isCurrent, srcId, afd, startPos, endPos)) {
967 if (attemptDataSource(isCurrent, srcId, afd, startPos, endPos)) {
974 handleDataSource(isCurrent, srcId, uri.toString(), headers, cookies, startPos, endPos);
977 private boolean attemptDataSource(boolean isCurrent, long srcId, AssetFileDescriptor afd,
[all …]
/frameworks/base/libs/hwui/renderthread/
DEglManager.h57 bool isCurrent(EGLSurface surface) { return mCurrentSurface == surface; } in isCurrent() function
DRenderThread.h126 static bool isCurrent();
DEglManager.cpp362 if (isCurrent(surface)) { in destroySurface()
388 if (!force && isCurrent(surface)) return false; in makeCurrent()
DRenderThread.cpp419 bool RenderThread::isCurrent() { in isCurrent() function in android::uirenderer::renderthread::RenderThread
/frameworks/native/libs/renderengine/include/renderengine/mock/
DRenderEngine.h44 MOCK_CONST_METHOD0(isCurrent, bool());
/frameworks/base/libs/hwui/pipeline/skia/
DVkFunctorDrawable.cpp54 if (!renderthread::RenderThread::isCurrent()) in draw()
DSkiaOpenGLPipeline.cpp154 if (mEglManager.isCurrent(mEglSurface)) { in onStop()
DVectorDrawableAtlas.cpp230 if (!renderthread::RenderThread::isCurrent()) { in releaseEntry()
/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.cpp286 JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, in android_media_MediaPlayer2_handleDataSourceUrl() argument
338 if (isCurrent) { in android_media_MediaPlayer2_handleDataSourceUrl()
349 JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, in android_media_MediaPlayer2_handleDataSourceFD() argument
403 if (isCurrent) { in android_media_MediaPlayer2_handleDataSourceFD()
414 JNIEnv *env, jobject thiz, jboolean isCurrent, jlong srcId, jobject dataSource, in android_media_MediaPlayer2_handleDataSourceCallback() argument
436 if (isCurrent) { in android_media_MediaPlayer2_handleDataSourceCallback()
/frameworks/native/libs/renderengine/include/renderengine/
DRenderEngine.h92 virtual bool isCurrent() const = 0;
/frameworks/native/libs/renderengine/gl/
DGLESRenderEngine.h65 bool isCurrent() const override;
DGLESRenderEngine.cpp459 bool GLESRenderEngine::isCurrent() const { in isCurrent() function in android::renderengine::gl::GLESRenderEngine
/frameworks/base/libs/hwui/surfacetexture/
DImageConsumer.cpp111 if (!RenderThread::isCurrent()) { in unref()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java2447 public boolean isCurrent; in testLoadGroups() field in SupplicantP2pIfaceHalTest.P2pGroupInfo
2448 P2pGroupInfo(String ssid, byte[] bssid, boolean isGo, boolean isCurrent) { in testLoadGroups() argument
2452 this.isCurrent = isCurrent; in testLoadGroups()
2501 cb.onValues(mStatusSuccess, groups.get(networkId).isCurrent); in testLoadGroups()
2505 .isCurrent(any(ISupplicantP2pNetwork.isCurrentCallback.class)); in testLoadGroups()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java1999 network.isCurrent( in loadGroups()
2000 (SupplicantStatus status, boolean isCurrent) -> { in loadGroups() argument
2001 resultIsCurrent.setResult(status, isCurrent); in loadGroups()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java1142 private void dumpUser(PrintWriter fout, UserInfo user, boolean isCurrent) {
1150 if (isCurrent) {