Home
last modified time | relevance | path

Searched refs:CarDevicePolicyManager (Results 1 – 20 of 20) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
DCarDevicePolicyServiceTest.java39 import android.car.admin.CarDevicePolicyManager;
137 invalidCreateUserTypeTest(CarDevicePolicyManager.FIRST_USER_TYPE - 1); in testCreateUser_failure_invalidTypes()
138 invalidCreateUserTypeTest(CarDevicePolicyManager.LAST_USER_TYPE + 1); in testCreateUser_failure_invalidTypes()
141 private void invalidCreateUserTypeTest(@CarDevicePolicyManager.UserType int type) in invalidCreateUserTypeTest()
153 createUserOkTest(CarDevicePolicyManager.USER_TYPE_REGULAR); in testCreateUser_ok_normalUser()
158 createUserOkTest(CarDevicePolicyManager.USER_TYPE_ADMIN); in testCreateUser_ok_admin()
163 createUserOkTest(CarDevicePolicyManager.USER_TYPE_GUEST); in testCreateUser_ok_guest()
166 private void createUserOkTest(@CarDevicePolicyManager.UserType int carDpmUserType) { in createUserOkTest()
171 case CarDevicePolicyManager.USER_TYPE_REGULAR: in createUserOkTest()
173 case CarDevicePolicyManager.USER_TYPE_ADMIN: in createUserOkTest()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/admin/
DNewUserDisclaimerActivity.java19 import android.car.admin.CarDevicePolicyManager;
54 private CarDevicePolicyManager mCarDevicePolicyManager;
131 private CarDevicePolicyManager getCarDevicePolicyManager() { in getCarDevicePolicyManager()
139 mCarDevicePolicyManager = (CarDevicePolicyManager) mCar.getCarManager( in getCarDevicePolicyManager()
/packages/services/Car/service/src/com/android/car/admin/
DCarDevicePolicyService.java28 import android.car.admin.CarDevicePolicyManager;
153 public void createUser(@Nullable String name, @CarDevicePolicyManager.UserType int type, in createUser()
160 case CarDevicePolicyManager.USER_TYPE_REGULAR: in createUser()
162 case CarDevicePolicyManager.USER_TYPE_ADMIN: in createUser()
166 case CarDevicePolicyManager.USER_TYPE_GUEST: in createUser()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarDevicePolicyManagerTest.java27 import android.car.admin.CarDevicePolicyManager;
50 private CarDevicePolicyManager mCarDpm;
124 int type = CarDevicePolicyManager.USER_TYPE_REGULAR; in testCreateUser()
149 int type = CarDevicePolicyManager.USER_TYPE_ADMIN; in testCreateAdminUser()
175 int type = CarDevicePolicyManager.USER_TYPE_GUEST; in testCreateGuestUser()
DCarGetCarManagerTest.java26 import android.car.admin.CarDevicePolicyManager;
94 {CarDevicePolicyManager.class, Car.CAR_DEVICE_POLICY_SERVICE}, in inputParameters()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/admin/
DDevicePolicyFragment.java25 import android.car.admin.CarDevicePolicyManager;
70 private CarDevicePolicyManager mCarDevicePolicyManager;
130 mCarDevicePolicyManager = (CarDevicePolicyManager) car in onViewCreated()
233 int type = CarDevicePolicyManager.USER_TYPE_REGULAR; in createUser()
236 type |= CarDevicePolicyManager.USER_TYPE_ADMIN; in createUser()
240 type |= CarDevicePolicyManager.USER_TYPE_GUEST; in createUser()
/packages/services/Car/car-lib/src/android/car/admin/
DCarDevicePolicyManager.java68 public final class CarDevicePolicyManager extends CarManagerBase { class
74 public static final String TAG = CarDevicePolicyManager.class.getSimpleName();
117 public CarDevicePolicyManager(@NonNull Car car, @NonNull IBinder service) { in CarDevicePolicyManager() method in CarDevicePolicyManager
125 public CarDevicePolicyManager(@NonNull Car car, @NonNull ICarDevicePolicyService service) { in CarDevicePolicyManager() method in CarDevicePolicyManager
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/admin/
DNewUserDisclaimerActivityTest.java28 import android.car.admin.CarDevicePolicyManager;
60 private CarDevicePolicyManager mCarDevicePolicyManager;
/packages/services/Car/tests/carservice_unit_test/src/android/car/admin/
DCarDevicePolicyManagerUnitTest.java56 private CarDevicePolicyManager mMgr;
59 super(CarDevicePolicyManager.TAG); in CarDevicePolicyManagerUnitTest()
64 mMgr = new CarDevicePolicyManager(mCar, mService); in setFixtures()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.3.txt135 android.car.admin CarDevicePolicyManager String TAG
136 android.car.admin CarDevicePolicyManager int FIRST_USER_TYPE
137 android.car.admin CarDevicePolicyManager int LAST_USER_TYPE
138 android.car.admin CarDevicePolicyManager CarDevicePolicyManager CarDevicePolicyManager(Car car, IBi…
139 android.car.admin CarDevicePolicyManager CarDevicePolicyManager CarDevicePolicyManager(Car car, ICa…
140 android.car.admin CarDevicePolicyManager StartUserInBackgroundResult startUserInBackground(UserHand…
141 android.car.admin CarDevicePolicyManager StopUserResult stopUser(UserHandle user)
142 android.car.admin CarDevicePolicyManager void setUserDisclaimerShown(UserHandle user)
143 android.car.admin CarDevicePolicyManager void setUserDisclaimerAcknowledged(UserHandle user)
144 android.car.admin CarDevicePolicyManager void onCarDisconnected()
Dcar_hidden_apis_release_33.2.txt126 android.car.admin CarDevicePolicyManager String TAG
127 android.car.admin CarDevicePolicyManager int FIRST_USER_TYPE
128 android.car.admin CarDevicePolicyManager int LAST_USER_TYPE
129 android.car.admin CarDevicePolicyManager StartUserInBackgroundResult startUserInBackground(UserHand…
130 android.car.admin CarDevicePolicyManager StopUserResult stopUser(UserHandle user)
131 android.car.admin CarDevicePolicyManager void setUserDisclaimerShown(UserHandle user)
132 android.car.admin CarDevicePolicyManager void setUserDisclaimerAcknowledged(UserHandle user)
133 android.car.admin CarDevicePolicyManager void onCarDisconnected()
Dcar_hidden_apis_release_33.1.txt126 android.car.admin CarDevicePolicyManager String TAG
127 android.car.admin CarDevicePolicyManager int FIRST_USER_TYPE
128 android.car.admin CarDevicePolicyManager int LAST_USER_TYPE
129 android.car.admin CarDevicePolicyManager StartUserInBackgroundResult startUserInBackground(UserHand…
130 android.car.admin CarDevicePolicyManager StopUserResult stopUser(UserHandle user)
131 android.car.admin CarDevicePolicyManager void setUserDisclaimerShown(UserHandle user)
132 android.car.admin CarDevicePolicyManager void setUserDisclaimerAcknowledged(UserHandle user)
133 android.car.admin CarDevicePolicyManager void onCarDisconnected()
Dcar_hidden_apis.txt137 android.car.admin CarDevicePolicyManager StartUserInBackgroundResult startUserInBackground(UserHand…
138 android.car.admin CarDevicePolicyManager StopUserResult stopUser(UserHandle user)
139 android.car.admin CarDevicePolicyManager String TAG
140 android.car.admin CarDevicePolicyManager int FIRST_USER_TYPE
141 android.car.admin CarDevicePolicyManager int LAST_USER_TYPE
142 android.car.admin CarDevicePolicyManager void onCarDisconnected()
143 android.car.admin CarDevicePolicyManager void setUserDisclaimerAcknowledged(UserHandle user)
144 android.car.admin CarDevicePolicyManager void setUserDisclaimerShown(UserHandle user)
/packages/services/Car/car-lib/src/android/car/
DCar.java35 import android.car.admin.CarDevicePolicyManager;
1721 CAR_SERVICE_NAMES.put(CarDevicePolicyManager.class, CAR_DEVICE_POLICY_SERVICE); in CAR_SERVICE_NAMES.put()
2710 manager = new CarDevicePolicyManager(this, binder); in createCarManagerLocked()
/packages/services/Car/car-lib-module/api/
Dtest-current.txt31 public final class CarDevicePolicyManager {
Dsystem-current.txt392 public final class CarDevicePolicyManager {
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt1510 UnflaggedApi: android.car.admin.CarDevicePolicyManager:
1511 New API must be flagged with @FlaggedApi: class android.car.admin.CarDevicePolicyManager
1512 UnflaggedApi: android.car.admin.CarDevicePolicyManager#USER_TYPE_ADMIN:
1513 …New API must be flagged with @FlaggedApi: field android.car.admin.CarDevicePolicyManager.USER_TYPE…
1514 UnflaggedApi: android.car.admin.CarDevicePolicyManager#USER_TYPE_GUEST:
1515 …New API must be flagged with @FlaggedApi: field android.car.admin.CarDevicePolicyManager.USER_TYPE…
1516 UnflaggedApi: android.car.admin.CarDevicePolicyManager#USER_TYPE_REGULAR:
1517 …New API must be flagged with @FlaggedApi: field android.car.admin.CarDevicePolicyManager.USER_TYPE…
1518 UnflaggedApi: android.car.admin.CarDevicePolicyManager#createUser(String, int):
1519 …New API must be flagged with @FlaggedApi: method android.car.admin.CarDevicePolicyManager.createUs…
[all …]
Dsystem-current.txt392 public final class CarDevicePolicyManager {
Dtest-current.txt409 public final class CarDevicePolicyManager {
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt820 class @hide @SystemApi CarDevicePolicyManager package android.car.admin
821 field TIRAMISU_0 @hiddenOnly String TAG = CarDevicePolicyManager.class.getSimpleName();