/packages/services/Car/car-lib/src/android/car/user/ |
D | UserCreationRequest.java | 41 private final boolean mAdmin; field in UserCreationRequest 47 this.mAdmin = builder.mAdmin; in UserCreationRequest() 55 private boolean mAdmin; field in UserCreationRequest.Builder 71 mAdmin = true; in setAdmin() 93 if (mGuest && mAdmin) { in build() 106 + "admin = " + mAdmin + ", " in toString() 135 return mAdmin; in isAdmin() 155 if (mAdmin) flg |= 0x2; in writeToParcel() 181 this.mAdmin = admin; in UserCreationRequest()
|
/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/remotedpm/ |
D | LocalDevicePolicyManager.java | 30 private final ComponentName mAdmin; field in LocalDevicePolicyManager 35 mAdmin = admin; in LocalDevicePolicyManager() 46 int status = mDpm.startUserInBackground(mAdmin, target); in startUserInBackground() 53 Log.d(TAG, "Calling local reboot(" + mAdmin + ")"); in reboot() 54 mDpm.reboot(mAdmin); in reboot() 59 Log.d(TAG, "Calling local addUserRestriction(" + mAdmin + ", " + key + ")"); in addUserRestriction() 60 mDpm.addUserRestriction(mAdmin, key); in addUserRestriction()
|
D | RemoteDevicePolicyManager.java | 50 private final ComponentName mAdmin; field in RemoteDevicePolicyManager 78 mAdmin = admin; in RemoteDevicePolicyManager() 137 run(remotedpm -> remotedpm.reboot(mAdmin), "reboot(%s)", mAdmin); in reboot() 142 run(remotedpm -> remotedpm.addUserRestriction(mAdmin, key), in addUserRestriction() 143 "addUserRestriction(%s, %s)", mAdmin, key); in addUserRestriction() 150 run(remotedpm -> mDpm.startUserInBackground(mAdmin, target), in startUserInBackground() 151 "startUserInBackground(%s, %s)", mAdmin, target); in startUserInBackground()
|
/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/ |
D | DpcShellCommand.java | 45 private final ComponentName mAdmin; field in DpcShellCommand 75 mAdmin = new ComponentName(context, DpcReceiver.class.getName()); in DpcShellCommand() 80 Log.d(TAG, "user=" + Process.myUserHandle() + ", component=" + mAdmin in DpcShellCommand() 211 mDpm.clearUserRestriction(mAdmin, restriction); in runClearUserRestriction() 215 Bundle restrictions = mDpm.getUserRestrictions(mAdmin); in runGetUserRestrictions() 225 Set<String> ids = mDpm.getAffiliationIds(mAdmin); in runGetAffiliationIds() 245 mDpm.setAffiliationIds(mAdmin, idSet); in runSetAffiliationIds() 265 UserHandle user = mDpm.createAndManageUser(mAdmin, userId, mAdmin, in runCreateAndManageUser() 277 boolean success = mDpm.removeUser(mAdmin, user); in runRemoveUser() 288 int status = mDpm.startUserInBackground(mAdmin, user); in runStartUserBackground() [all …]
|
D | DpcFactory.java | 42 private final ComponentName mAdmin; field in DpcFactory 47 mAdmin = DpcReceiver.getComponentName(context); in DpcFactory() 58 List<UserHandle> targetUsers = mDpm.getBindDeviceAdminTargetUsers(mAdmin); in assignDevicePolicyManagers() 63 u -> u, u -> new RemoteDevicePolicyManager(mAdmin, mContext, u)) in assignDevicePolicyManagers() 67 new LocalDevicePolicyManager(mAdmin, mContext)); in assignDevicePolicyManagers() 72 new RemoteDevicePolicyManager(mAdmin, mContext, target)); in addProfileOwnerDpm() 94 new RemoteDevicePolicyManager(mAdmin, mContext, target)); in getDevicePolicyManager()
|
D | DpcService.java | 44 private ComponentName mAdmin; field in DpcService 56 mAdmin = DpcReceiver.getComponentName(mContext); in onCreate() 59 mDpm.setAffiliationIds(mAdmin, AFFILIATION_IDS); in onCreate() 60 Log.i(TAG, "setAffiliationIds(" + mAdmin.flattenToShortString() + ", " in onCreate() 85 writer.printf("Admin Component Name: %s\n", mAdmin.flattenToShortString()); in printInternalState()
|
D | DpcActivity.java | 41 private ComponentName mAdmin; field in DpcActivity 62 mAdmin = DpcReceiver.getComponentName(mContext); in onCreate() 64 Log.d(TAG, "onCreate(): user= " + Process.myUserHandle() + ", admin=" + mAdmin); in onCreate() 136 restrictions = dpm.getUserRestrictions(mAdmin); in uiDisplayUserRestrictions()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | TimeoutListPreference.java | 44 private EnforcedAdmin mAdmin; field in TimeoutListPreference 58 if (mAdmin != null) { in onPrepareDialogBuilder() 83 if (mAdmin != null) { in onDialogCreated() 90 getContext(), mAdmin); in onDialogCreated() 103 if (admin == null && mAdmin == null && !isDisabledByAdmin()) { in removeUnusableTimeouts() 133 mAdmin = admin; in removeUnusableTimeouts()
|
D | ScreenTimeoutSettings.java | 93 @VisibleForTesting RestrictedLockUtils.EnforcedAdmin mAdmin; field in ScreenTimeoutSettings 233 if (mAdmin != null) { in updateCandidates() 268 RestrictedLockUtils.sendShowAdminSupportDetailsIntent(getContext(), mAdmin); in setupDisabledFooterPreference() 323 mAdmin = RestrictedLockUtilsInternal.checkIfMaximumTimeToLockIsSet(context); in getMaxScreenTimeout() 324 if (mAdmin != null) { in getMaxScreenTimeout()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | AppChannelsBypassingDndPreferenceController.java | 85 mAllNotificationsToggle.setDisabledByAdmin(mAdmin); in displayPreference() 87 && (mAdmin == null || !mAllNotificationsToggle.isDisabledByAdmin())); in displayPreference() 187 channelPreference.setDisabledByAdmin(mAdmin); in populateList() 189 (mAdmin == null || !channelPreference.isDisabledByAdmin()) in populateList()
|
D | BubblePreferenceController.java | 97 pref.setDisabledByAdmin(mAdmin); in updateState() 107 switchpref.setDisabledByAdmin(mAdmin); in updateState()
|
D | NotificationPreferenceController.java | 52 protected RestrictedLockUtils.EnforcedAdmin mAdmin; field in NotificationPreferenceController 114 mAdmin = admin; in onResume()
|
D | ConversationPromotePreferenceController.java | 66 preference.setEnabled(mAdmin == null); in updateState()
|
D | ConversationDemotePreferenceController.java | 66 preference.setEnabled(mAdmin == null); in updateState()
|
D | DndPreferenceController.java | 58 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | InvalidConversationPreferenceController.java | 67 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | VibrationPreferenceController.java | 65 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | LightsPreferenceController.java | 65 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | MinImportancePreferenceController.java | 71 preference.setEnabled(mAdmin == null && isChannelConfigurable(mChannel)); in updateState()
|
D | HighImportancePreferenceController.java | 71 preference.setEnabled(mAdmin == null && isChannelConfigurable(mChannel)); in updateState()
|
D | BadgePreferenceController.java | 86 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | AllowSoundPreferenceController.java | 70 pref.setDisabledByAdmin(mAdmin); in updateState()
|
D | ConversationPriorityPreferenceController.java | 65 preference.setEnabled(mAdmin == null && isChannelConfigurable(mChannel)); in updateState()
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/ |
D | UserTestingHelper.java | 220 private boolean mAdmin; field in UserTestingHelper.UserInfoBuilder 284 mAdmin = admin; in setAdmin() 306 if (mAdmin) { in build()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EditUserPhotoController.java | 424 private final RestrictedLockUtilsInternal.EnforcedAdmin mAdmin; field in EditUserPhotoController.RestrictedMenuItem 443 mAdmin = RestrictedLockUtilsInternal.checkIfRestrictionEnforced(context, in RestrictedMenuItem() 460 RestrictedLockUtilsInternal.sendShowAdminSupportDetailsIntent(mContext, mAdmin); in doAction() 468 return mAdmin != null; in isRestrictedByAdmin()
|