Searched refs:mIPm (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ResetAppsHelper.java | 54 private final IPackageManager mIPm; field in ResetAppsHelper 66 mIPm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in ResetAppsHelper() 139 if (mIPm.getApplicationEnabledSetting(app.packageName, userId) in resetApps() 141 mIPm.setApplicationEnabledSetting(app.packageName, in resetApps() 154 mIPm.resetApplicationPreferences(UserHandle.myUserId()); in resetApps() 158 BatteryOptimizeUtils.resetAppOptimizationMode(mContext, mIPm, mAom); in resetApps()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/appcompat/ |
D | UserAspectRatioManagerTest.java | 88 private IPackageManager mIPm; field in UserAspectRatioManagerTest 98 mIPm = mock(IPackageManager.class); in setUp() 107 mUtils = new FakeUserAspectRatioManager(mContext, mIPm); in setUp() 296 mUtils = new FakeUserAspectRatioManager(mContext, mIPm); in testGetUserMinAspectRatioEntry_nonDefaultString_shouldReturnNewString() 308 assertThrows(RuntimeException.class, () -> new FakeUserAspectRatioManager(mContext, mIPm)); in testGetUserMinAspectRatioMapping_noAppDefault_shouldThrowException() 318 assertThrows(RuntimeException.class, () -> new FakeUserAspectRatioManager(mContext, mIPm)); in testGetUserMinAspectRatioMapping_configLengthMismatch_shouldThrowException() 327 mUtils = new FakeUserAspectRatioManager(mContext, mIPm); in testGetUserMinAspectRatioMapping_appDefaultFlagEnabled() 395 mUtils = new FakeUserAspectRatioManager(mContext, mIPm); in setIsOverrideToFullscreenEnabled()
|
/packages/apps/Settings/src/com/android/settings/applications/appcompat/ |
D | UserAspectRatioManager.java | 76 private final IPackageManager mIPm; field in UserAspectRatioManager 89 mIPm = pm; in UserAspectRatioManager() 111 final int aspectRatio = mIPm.getUserMinAspectRatio(packageName, uid); in getUserMinAspectRatioValue() 184 mIPm.setUserMinAspectRatio(packageName, uid, aspectRatio); in setUserMinAspectRatio()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | AppRestrictionsFragment.java | 84 protected IPackageManager mIPm; field in AppRestrictionsFragment 235 mIPm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in init() 354 final IPackageManager ipm = mIPm; in populateApps()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | AppRestrictionsFragment.java | 96 private IPackageManager mIPm; field in AppRestrictionsFragment 292 mIPm = AppGlobals.getPackageManager(); in onCreate() 464 pi = mIPm.getPackageInfo(packageName, in populateApps()
|