Home
last modified time | relevance | path

Searched refs:isMain (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/native/libs/binder/
DProcessState.cpp69 explicit PoolThread(bool isMain) in PoolThread() argument
70 : mIsMain(isMain) in PoolThread()
403 void ProcessState::spawnPooledThread(bool isMain) in spawnPooledThread() argument
408 sp<Thread> t = sp<PoolThread>::make(isMain); in spawnPooledThread()
DIPCThreadState.cpp728 void IPCThreadState::joinThreadPool(bool isMain) in joinThreadPool() argument
734 mOut.writeInt32(isMain ? BC_ENTER_LOOPER : BC_REGISTER_LOOPER); in joinThreadPool()
750 if(result == TIMED_OUT && !isMain) { in joinThreadPool()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/util/
DUserIconInfo.java59 public boolean isMain() { in isMain() method in UserIconInfo
/frameworks/base/core/tests/coretests/src/android/content/pm/
DUserInfoTest.java58 assertThat(ui.isMain()).isEqualTo(false); in testSimple()
/frameworks/base/media/java/android/media/tv/
DITvInputSession.aidl37 void setMain(boolean isMain); in setMain() argument
DITvInputSessionWrapper.java342 public void setMain(boolean isMain) { in setMain() argument
343 mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_SET_MAIN, isMain)); in setMain()
DTvInputService.java1355 public void onSetMain(boolean isMain) { in onSetMain() argument
1918 void setMain(boolean isMain) { in setMain() argument
1919 onSetMain(isMain); in setMain()
/frameworks/native/libs/binder/include/binder/
DProcessState.h84 LIBBINDER_EXPORTED void spawnPooledThread(bool isMain);
DIPCThreadState.h161 LIBBINDER_EXPORTED void joinThreadPool(bool isMain = true);
/frameworks/native/include/binder/
DProcessState.h84 LIBBINDER_EXPORTED void spawnPooledThread(bool isMain);
DIPCThreadState.h161 LIBBINDER_EXPORTED void joinThreadPool(bool isMain = true);
/frameworks/base/core/java/android/content/pm/
DUserInfo.java442 public boolean isMain() { in isMain() method in UserInfo
489 return isMain(); in canHaveProfile()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DDreamTileTest.java214 when(mainUserInfo.isMain()).thenReturn(true); in testUserAvailability()
217 when(nonMainUserInfo.isMain()).thenReturn(false); in testUserAvailability()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalSettingsRepository.kt84 if (!user.isMain) { in getEnabledState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDreamTile.java199 && (!mDreamOnlyEnabledForDockUser || mUserTracker.getUserInfo().isMain()); in isAvailable()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractorTest.kt151 whenever(mainUser.isMain).thenReturn(true) in <lambda>()
152 whenever(secondaryUser.isMain).thenReturn(false) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalViewModelTest.kt746 whenever(user.isMain).thenReturn(isMainUser) in <lambda>()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java957 private void setMainLocked(IBinder sessionToken, boolean isMain, int callingUid, int userId) { in setMainLocked() argument
969 session.setMain(isMain); in setMainLocked()
970 if (sessionState.isMainSession != isMain) { in setMainLocked()
972 sessionState.isMainSession = isMain; in setMainLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java139 !user.isMain()) { in removeExistingUsers()
1703 if (user.isMain()) { in testCannotCreateAdditionalMainUser()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java1872 return info != null && info.isMain() && info.isAdmin() && frpCredentialEnabled(context); in userOwnsFrpCredential()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java557 if (userData.info.isMain()) { in testMainUser_hasNoCallsOrSMSRestrictionsByDefault()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java531 return user != null && user.isMain(); in isHighPriorityUserCreation()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1278 if (user.isMain() && !mRemovingUserIds.get(user.id)) { in getMainUserIdUnchecked()
2208 } else if (orig.isMain()) { in userWithName()
2863 && (parentUserInfo != null && parentUserInfo.isMain()) in canAddPrivateProfile()
8115 return userInfo.isMain() && isMainUserPermanentAdmin();
/frameworks/base/core/java/android/os/
DUserManager.java2904 return user != null && user.isMain(); in isMainUser()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java2911 if (userInfo.isMain()) { in callToAuthSecretIfNeeded()

12