Home
last modified time | relevance | path

Searched refs:mCarDevicePolicyManager (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/admin/
DNewUserDisclaimerActivity.java54 private CarDevicePolicyManager mCarDevicePolicyManager; field in NewUserDisclaimerActivity
133 if (mCarDevicePolicyManager != null) { in getCarDevicePolicyManager()
134 return mCarDevicePolicyManager; in getCarDevicePolicyManager()
139 mCarDevicePolicyManager = (CarDevicePolicyManager) mCar.getCarManager( in getCarDevicePolicyManager()
141 return mCarDevicePolicyManager; in getCarDevicePolicyManager()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/admin/
DNewUserDisclaimerActivityTest.java60 private CarDevicePolicyManager mCarDevicePolicyManager; field in NewUserDisclaimerActivityTest
80 .thenReturn(mCarDevicePolicyManager); in setFixtures()
86 verify(mCarDevicePolicyManager).setUserDisclaimerShown(mActivity.getUser()); in setFixtures()
97 verify(mCarDevicePolicyManager).setUserDisclaimerAcknowledged(mActivity.getUser()); in testAccept()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/
DDevicePolicyFragment.java70 private CarDevicePolicyManager mCarDevicePolicyManager; field in DevicePolicyFragment
130 mCarDevicePolicyManager = (CarDevicePolicyManager) car in onViewCreated()
218 RemoveUserResult result = mCarDevicePolicyManager.removeUser(UserHandle.of(userId)); in removeUser()
242 CreateUserResult result = mCarDevicePolicyManager.createUser(name, type); in createUser()
255 mCarDevicePolicyManager.startUserInBackground(UserHandle.of(userId)); in startUserInBackground()
267 StopUserResult result = mCarDevicePolicyManager.stopUser(UserHandle.of(userId)); in stopUser()