/aosp12/packages/services/Car/packages/CarDeveloperOptions/src/com/android/car/developeroptions/ |
H A D | CarDevelopmentCarUiLibController.java | 20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 71 int state = isPluginEnabled ? COMPONENT_ENABLED_STATE_ENABLED in onPreferenceChange() 109 return state == COMPONENT_ENABLED_STATE_ENABLED; in isCarUiPluginEnabled()
|
/aosp12/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/ |
H A D | AppLauncherUtilsTest.java | 20 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 122 injectApplicationEnabledSetting(COMPONENT_ENABLED_STATE_ENABLED); in testGetLauncherAppsWithEnableAndLaunchDisabledApps() 126 eq(TEST_DISABLED_APP_1), eq(COMPONENT_ENABLED_STATE_ENABLED), eq(0)); in testGetLauncherAppsWithEnableAndLaunchDisabledApps() 130 eq(TEST_DISABLED_APP_2), eq(COMPONENT_ENABLED_STATE_ENABLED), eq(0)); in testGetLauncherAppsWithEnableAndLaunchDisabledApps() 152 injectApplicationEnabledSetting(COMPONENT_ENABLED_STATE_ENABLED); in testGetLauncherAppsWithNotEnablingEnabledApps() 163 injectApplicationEnabledSetting(COMPONENT_ENABLED_STATE_ENABLED); in testGetLauncherAppsWithEnableAndVideoApps()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCase.java | 33 if (pm.getComponentEnabledSetting(cn) != PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in onStart() 36 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onStart()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
H A D | EmergencyBroadcastPreferenceControllerTest.java | 87 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in isAvailable_notAdminUser_shouldReturnFalse() 99 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in isAvailable_hasConfigCellBroadcastRestriction_shouldReturnFalse() 112 .thenReturn(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in isAvailable_cellBroadcastAppLinkDisabled_shouldReturnFalse()
|
/aosp12/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
H A D | CarModeDialerActivity.java | 147 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in toggleInCallService() 150 : PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in toggleInCallService() 153 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in toggleInCallService()
|
/aosp12/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/ |
H A D | AndroidUtils.kt | 49 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true 59 PackageManager.COMPONENT_ENABLED_STATE_ENABLED -> true
|
/aosp12/packages/apps/Messaging/src/com/android/messaging/receiver/ |
H A D | SmsReceiver.java | 114 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in updateSmsReceiveHandler() 130 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in updateSmsReceiveHandler() 145 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in updateSmsReceiveHandler() 148 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in updateSmsReceiveHandler() 166 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, PackageManager.DONT_KILL_APP); in updateSmsReceiveHandler()
|
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/ |
H A D | ComponentActivationActivity.java | 57 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in onStart() 72 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in onStart()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
H A D | SetupFingerprintEnrollFinishTest.java | 124 mComponentName)).isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in onActivityResult_fingerprintCountIsOne_fingerprintSuggestionActivityEnabled() 144 mComponentName)).isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in clickNext_fingerprintCountIsOne_fngerprintSuggestionActivityEnabled() 164 mComponentName)).isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in onBackPressed_fingerprintCountIsOne_fngerprintSuggestionActivityEnabled()
|
/aosp12/packages/apps/EmergencyInfo/src/com/android/emergency/util/ |
H A D | PreferenceUtils.java | 76 PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in updateSettingsSuggestionState() 82 setSettingsSuggestionState(context, PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in enableSettingsSuggestion()
|
/aosp12/packages/apps/Settings/src/com/android/settings/development/ |
H A D | LocalTerminalPreferenceController.java | 57 terminalEnabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in onPreferenceChange() 65 TERMINAL_APP_PACKAGE) == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in updateState()
|
/aosp12/packages/apps/TV/src/com/android/tv/receiver/ |
H A D | BootCompletedReceiver.java | 80 != PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in onReceive() 82 name, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0); in onReceive()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | ComponentTest.java | 21 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 237 COMPONENT_ENABLED_STATE_ENABLED, in testEnableActivity() 384 COMPONENT_ENABLED_STATE_ENABLED, in testEnableService() 499 COMPONENT_ENABLED_STATE_ENABLED, in testEnableReceiver() 566 COMPONENT_ENABLED_STATE_ENABLED, in testEnableProvider() 672 COMPONENT_ENABLED_STATE_ENABLED, in DISABLED_testEnableApplication() 724 COMPONENT_ENABLED_STATE_ENABLED, in testNonExplicitResolveAfterEnabling()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/development/ |
H A D | DevelopmentSettingsUtil.java | 80 return state == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in isDeveloperOptionsModuleEnabled() 111 ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setDeveloperOptionsEnabledState()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
H A D | LocalTerminalPreferenceControllerTest.java | 84 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0); in onPreferenceChanged_turnOnTerminal() 98 PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in updateState_preferenceShouldBeChecked()
|
/aosp12/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestDialerActivity.java | 222 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in toggleInCallService() 225 : PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in toggleInCallService() 228 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in toggleInCallService()
|
H A D | TestInCallUI.java | 354 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in disableInCallService() 363 PackageManager.COMPONENT_ENABLED_STATE_ENABLED, 0); in enableInCallService() 365 == PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in enableInCallService()
|
/aosp12/packages/apps/Settings/src/com/android/settings/development/qstile/ |
H A D | DevelopmentTilePreferenceController.java | 69 boolean checked = enabledSetting == PackageManager.COMPONENT_ENABLED_STATE_ENABLED in displayPreference() 103 ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in onPreferenceChange()
|
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/ |
H A D | TestCommandProvider.java | 19 import static android.content.pm.PackageManager.COMPONENT_ENABLED_STATE_ENABLED; 86 COMPONENT_ENABLED_STATE_ENABLED, DONT_KILL_APP); in call()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/ |
H A D | UserBackupSettingsActivityTest.java | 101 assertThat(flags & PackageManager.COMPONENT_ENABLED_STATE_ENABLED) in onCreate_launchActivity() 102 .isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in onCreate_launchActivity()
|
/aosp12/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/util/ |
H A D | PreferenceUtilsTest.java | 119 eq(PackageManager.COMPONENT_ENABLED_STATE_ENABLED), in testEnableSettingsSuggestion() 149 eq(PackageManager.COMPONENT_ENABLED_STATE_ENABLED), in testUpdateSettingsSuggestionState_noPreferencesOrContactSet()
|
/aosp12/packages/apps/Settings/src/com/android/settings/ |
H A D | SettingsInitialize.java | 127 PackageManager.COMPONENT_ENABLED_STATE_ENABLED : in webviewSettingSetup() 158 ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in enableTwoPaneDeepLinkActivityIfNecessary()
|
H A D | SetupRedactionInterstitial.java | 47 enabled ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in setEnabled()
|
/aosp12/packages/apps/SpareParts/src/com/android/spare_parts/ |
H A D | Enabler.java | 39 ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in onReceive()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
H A D | SetupChooseLockPatternTest.java | 90 & PackageManager.COMPONENT_ENABLED_STATE_ENABLED; in chooseLockSaved_shouldEnableRedactionInterstitial() 91 assertThat(componentEnabled).isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in chooseLockSaved_shouldEnableRedactionInterstitial()
|