Home
last modified time | relevance | path

Searched refs:getComponentEnabledSetting (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/StatementService/src/com/android/statementservice/utils/
DAndroidUtils.kt46 return when (context.packageManager.getComponentEnabledSetting(receiver)) { in component1()
56 return when (context.packageManager.getComponentEnabledSetting(receiver)) { in component1()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/
DInstalledTilesComponentRepositoryImplTest.kt77 whenever(packageManager.getComponentEnabledSetting(any())) in <lambda>()
202 whenever(secondaryUserPackageManager.getComponentEnabledSetting(any())) in <lambda>()
206 whenever(packageManager.getComponentEnabledSetting(TEST_COMPONENT)) in <lambda>()
267 whenever(packageManager.getComponentEnabledSetting(TEST_COMPONENT)) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsListingControllerImplTest.kt114 `when`(packageManager.getComponentEnabledSetting(any())) in setUp()
367 `when`(packageManager.getComponentEnabledSetting(eq(activityName))) in testActivityEnabled_correctPanel()
393 `when`(packageManager.getComponentEnabledSetting(eq(activityName))) in testActivityDefaultEnabled_correctPanel()
420 `when`(packageManager.getComponentEnabledSetting(eq(activityName))) in testActivityDefaultDisabled_nullPanel()
447 `when`(packageManager.getComponentEnabledSetting(eq(activityName))) in testActivityDifferentPackage_nullPanel()
477 `when`(packageManager.getComponentEnabledSetting(eq(activityName))) in testPackageNotPreferred_correctPanel()
589 `when`(packageManager.getComponentEnabledSetting(eq(activityName))) in testNoPanelIfMultiWindowNotSupported()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DPackageManagerExt.kt34 return when (getComponentEnabledSetting(componentInfo.componentName)) { in PackageManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCase.java33 if (pm.getComponentEnabledSetting(cn) != PackageManager.COMPONENT_ENABLED_STATE_ENABLED) { in onStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/
DPluginEnablerImpl.java67 return mPm.getComponentEnabledSetting(component) in isEnabled()
/frameworks/base/packages/EasterEgg/src/com/android/egg/
DComponentActivationActivity.java86 final boolean componentEnabled = pm.getComponentEnabledSetting(cn) in lockUnlockComponents()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/kotlin/
DPackageManagerExtComponentEnabledTest.kt49 whenever(packageManager.getComponentEnabledSetting(TEST_COMPONENT)) in testComponentActuallyEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayRegistrant.java73 packageManager.getComponentEnabledSetting(mOverlayServiceComponent); in registerOverlayService()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallSuccess.java142 return getPackageManager().getComponentEnabledSetting(intent.getComponent()) in isLauncherActivityEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsServiceInfo.kt109 return when (mPm.getComponentEnabledSetting(activityInfo.componentName)) { in isComponentActuallyEnabled()
/frameworks/base/services/tests/servicestests/src/com/android/server/statusbar/
DStatusBarManagerServiceTest.java378 when(mPackageManagerInternal.getComponentEnabledSetting(TEST_COMPONENT, in testValidComponent_fail_notEnabled()
400 when(mPackageManagerInternal.getComponentEnabledSetting(TEST_COMPONENT, in testValidComponent_fail_noPermission()
424 when(mPackageManagerInternal.getComponentEnabledSetting(TEST_COMPONENT, in testValidComponent_fail_notExported()
448 when(mPackageManagerInternal.getComponentEnabledSetting(TEST_COMPONENT, in testValidComponent_pass()
1136 when(mPackageManagerInternal.getComponentEnabledSetting(componentName, in mockComponentInfo()
/frameworks/base/core/java/android/credentials/selection/
DIntentFactory.java237 .getComponentEnabledSetting(oemComponentName); in getOemOverrideComponentName()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java252 if (getContext().getPackageManager().getComponentEnabledSetting(component) == in intentForActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java302 return mUserTracker.getUserContext().getPackageManager().getComponentEnabledSetting( in isTunerEnabled()
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletClientImpl.java310 int setting = pm.getComponentEnabledSetting(component); in isActivityEnabled()
/frameworks/base/services/core/java/com/android/server/pm/
DIPackageManagerBase.java384 public final int getComponentEnabledSetting(@NonNull ComponentName component, int userId) { in getComponentEnabledSetting() method in IPackageManagerBase
385 return snapshot().getComponentEnabledSetting(component, Binder.getCallingUid(), userId); in getComponentEnabledSetting()
DComputer.java544 int getComponentEnabledSetting(@NonNull ComponentName component, int callingUid, in getComponentEnabledSetting() method
DPackageManagerInternalBase.java638 public final @PackageManager.EnabledState int getComponentEnabledSetting( in getComponentEnabledSetting() method in PackageManagerInternalBase
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java991 public abstract @PackageManager.EnabledState int getComponentEnabledSetting( in getComponentEnabledSetting() method in PackageManagerInternal
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java814 public int getComponentEnabledSetting(ComponentName componentName) { in getComponentEnabledSetting() method in PackageManagerStub
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java819 public int getComponentEnabledSetting(ComponentName componentName) { in getComponentEnabledSetting() method in BridgePackageManager
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl383 int getComponentEnabledSetting(in ComponentName componentName, int userId); in getComponentEnabledSetting() method
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java844 public int getComponentEnabledSetting(ComponentName componentName) { in getComponentEnabledSetting() method in MockPackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java923 public int getComponentEnabledSetting(@NonNull ComponentName componentName) { in getComponentEnabledSetting() method in MockPackageManager

12