/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | DessertCase.java | 33 if (pm.getComponentEnabledSetting(cn) != PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in onStart() 36 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onStart()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/ |
D | PackageManagerExtComponentEnabledTest.kt | 81 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> "STATE_ENABLED" in enabledStateToString() 92 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 122 componentEnabledSetting = PackageManager.COMPONENT_ENABLED_STATE_ENABLED,
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/ |
D | AndroidUtils.kt | 49 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true in component1() 59 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true in component1()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/ |
D | ComponentActivationActivity.java | 87 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in lockUnlockComponents() 102 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in lockUnlockComponents()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/ |
D | PackageManagerExt.kt | 35 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true in PackageManager()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 239 COMPONENT_ENABLED_STATE_ENABLED, in testEnableActivity() 386 COMPONENT_ENABLED_STATE_ENABLED, in testEnableService() 501 COMPONENT_ENABLED_STATE_ENABLED, in testEnableReceiver() 568 COMPONENT_ENABLED_STATE_ENABLED, in testEnableProvider() 674 COMPONENT_ENABLED_STATE_ENABLED, in DISABLED_testEnableApplication() 726 COMPONENT_ENABLED_STATE_ENABLED, in testNonExplicitResolveAfterEnabling()
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
D | PackageUserStateUtils.java | 170 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in isEnabled() 188 case PackageManager.COMPONENT_ENABLED_STATE_ENABLED: in isPackageEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/ |
D | HomeControlsDreamStartable.kt | 56 PackageManager.COMPONENT_ENABLED_STATE_ENABLED in <lambda>()
|
/frameworks/base/services/tests/PackageManagerServiceTests/preverifieddomains/src/com/android/server/pm/test/preverifieddomains/ |
D | PreVerifiedDomainsTests.kt | 82 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in setupBeforeClass() 109 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in restoreInstantAppInstaller()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
D | PluginEnablerImpl.java | 55 final int desiredState = enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setDisabled()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | PowerTest.java | 57 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ |
D | ControlsServiceInfo.kt | 110 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true in isComponentActuallyEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerServiceImpl.java | 293 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setTunerEnabled() 303 mTunerComponent) == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in isTunerEnabled()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 204 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged() 241 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in disableCarrierAppsUntilPrivileged()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
D | BackupEligibilityRulesTest.java | 206 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue() 222 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue() 238 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue() 438 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in appIsDisabled_stateEnabled_returnsFalse()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierAppUtilsTest.java | 242 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled() 274 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp() 572 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_Enabled() 600 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NullPrivileges_Enabled() 629 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_UpdatedApp() 658 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NullPrivileges_UpdatedApp() 699 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testDisableCarrierAppsUntilPrivileged_NoPrivileges_EnabledAssociated_Default()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/ |
D | HomeControlsDreamStartableTest.kt | 115 eq(PackageManager.COMPONENT_ENABLED_STATE_ENABLED), in testStartEnablesHomeControlsDreamServiceWhenPanelComponentIsNotNull()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PackageUserStateTest.java | 19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 73 oldUserState.setEnabledState(COMPONENT_ENABLED_STATE_ENABLED); in testPackageUserState01()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | NoteTaskControllerTest.kt | 38 import android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED in <lambda>() 472 eq(COMPONENT_ENABLED_STATE_ENABLED), in <lambda>() 509 eq(COMPONENT_ENABLED_STATE_ENABLED), in <lambda>() 745 eq(COMPONENT_ENABLED_STATE_ENABLED), in <lambda>()
|
/frameworks/base/core/java/android/credentials/selection/ |
D | IntentFactory.java | 239 .COMPONENT_ENABLED_STATE_ENABLED) { in getOemOverrideComponentName()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | TransportManager.java | 22 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 165 case COMPONENT_ENABLED_STATE_ENABLED: { in onPackageChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/ |
D | StatusBarManagerServiceTest.java | 402 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_fail_noPermission() 426 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_fail_notExported() 450 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in testValidComponent_pass() 1138 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in mockComponentInfo()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodUtils.java | 156 || state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in setDisabledUntilUsed()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | ControlsListingControllerImplTest.kt | 368 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED) in testActivityEnabled_correctPanel() 478 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED) in testPackageNotPreferred_correctPanel()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 124 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in onEnableDefaultURLHandler()
|