Home
last modified time | relevance | path

Searched refs:getEnabledState (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalSettingsRepositoryImplTest.kt75 val enabledState by collectLastValue(underTest.getEnabledState(SECONDARY_USER)) in secondaryUserIsInvalid()
86 val enabledState by collectLastValue(underTest.getEnabledState(PRIMARY_USER)) in classicFlagIsDisabled()
95 val enabledState by collectLastValue(underTest.getEnabledState(PRIMARY_USER)) in communalHubFlagIsDisabled()
109 val enabledState by collectLastValue(underTest.getEnabledState(PRIMARY_USER)) in hubIsDisabledByUser()
132 val enabledState by collectLastValue(underTest.getEnabledState(PRIMARY_USER)) in hubIsDisabledByDevicePolicy()
157 collectLastValue(underTest.getEnabledState(PRIMARY_USER)) in hubIsEnabled_whenDisallowedByDevicePolicyForWorkProfile()
168 val enabledState by collectLastValue(underTest.getEnabledState(PRIMARY_USER)) in hubIsDisabledByUserAndDevicePolicy()
/frameworks/base/services/core/java/com/android/server/pm/pkg/
DPackageUserStateUtils.java156 switch (state.getEnabledState()) { in isEnabled()
187 switch (state.getEnabledState()) { in isPackageEnabled()
DPackageUserState.java123 int getEnabledState(); in getEnabledState() method
DPackageUserStateDefault.java38 public int getEnabledState() { in getEnabledState() method in PackageUserStateDefault
DPackageUserStateImpl.java745 public @PackageManager.EnabledState int getEnabledState() {
/frameworks/base/core/java/android/content/pm/pkg/
DFrameworkPackageUserState.java56 int getEnabledState(); in getEnabledState() method
DFrameworkPackageUserStateDefault.java36 public int getEnabledState() { in getEnabledState() method in FrameworkPackageUserStateDefault
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalSettingsRepository.kt53 fun getEnabledState(user: UserInfo): Flow<CommunalEnabledState> in <lambda>() method
83 override fun getEnabledState(user: UserInfo): Flow<CommunalEnabledState> { in getEnabledState() method in com.android.systemui.communal.data.repository.CommunalSettingsRepositoryImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalSettingsInteractor.kt63 .flatMapLatest { user -> repository.getEnabledState(user) } in <lambda>()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java400 if (state.getEnabledState() == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in updateApplicationInfo()
402 } else if (state.getEnabledState() in updateApplicationInfo()
405 } else if (state.getEnabledState() == PackageManager.COMPONENT_ENABLED_STATE_DISABLED in updateApplicationInfo()
406 || state.getEnabledState() in updateApplicationInfo()
410 ai.enabledSetting = state.getEnabledState(); in updateApplicationInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageMetrics.java378 mComponentNewState = setting.getEnabledState(); in ComponentStateMetrics()
DPackageSetting.java797 return readUserState(userId).getEnabledState();
1023 otherState.getEnabledState(), otherState.isInstalled(), otherState.isStopped(),
1252 proto.write(PackageProto.UserInfoProto.ENABLED_STATE, state.getEnabledState());
DPackageManagerInternalBase.java633 return packageState.getUserStateOrDefault(userId).getEnabledState(); in getApplicationEnabledState()
DDeletePackageHelper.java233 new TempUserState(userState.getEnabledState(), in deletePackageX()
DSettings.java2373 + ", state=" + ustate.getEnabledState());
2411 if (ustate.getEnabledState() != COMPONENT_ENABLED_STATE_DEFAULT) {
2412 serializer.attributeInt(null, ATTR_ENABLED, ustate.getEnabledState());
4994 pw.print(userState.getEnabledState());
5377 pw.print(userState.getEnabledState());
DPackageManagerService.java3809 final int newState = settings.get(i).getEnabledState();
3899 final int newState = setting.getEnabledState();
3955 final int newState = setting.getEnabledState();
4081 final int newState = setting.getEnabledState();
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerSettingsTests.java1863 assertThat(userState.getEnabledState(), is(0)); in verifyUserState()
1981 && userState.getEnabledState() == oldUserState.getEnabledState() in userStateEquals()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java7930 if (state.getEnabledState() != PackageManager.COMPONENT_ENABLED_STATE_DEFAULT) { in copyNeeded()
7932 state.getEnabledState() == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in copyNeeded()
8005 if (state.getEnabledState() == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in updateApplicationInfo()
8007 } else if (state.getEnabledState() in updateApplicationInfo()
8010 } else if (state.getEnabledState() == PackageManager.COMPONENT_ENABLED_STATE_DISABLED in updateApplicationInfo()
8011 || state.getEnabledState() in updateApplicationInfo()
8015 ai.enabledSetting = state.getEnabledState(); in updateApplicationInfo()
8037 || state.getEnabledState() in generateApplicationInfo()
9239 switch (state.getEnabledState()) { in isEnabled()
DPackageManager.java653 public @EnabledState int getEnabledState() { in getEnabledState() method in PackageManager.ComponentEnabledSetting
/frameworks/base/services/
Dart-profile2816 HSPLcom/android/server/pm/pkg/PackageUserStateImpl;->getEnabledState()I
Dart-wear-profile20557 PLcom/android/server/pm/pkg/PackageUserStateDefault;->getEnabledState()I
20583 HPLcom/android/server/pm/pkg/PackageUserStateImpl;->getEnabledState()I
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt13315 method public int getEnabledState();