/packages/services/Telephony/src/com/android/phone/ |
D | ErrorDialogActivity.java | 60 int managedProfileUserId = in showDialog() local 63 if (managedProfileUserId == UserHandle.USER_NULL) { in showDialog() 70 .getSmsRoleHolder(managedProfileUserId); in showDialog() 90 managedProfileUserId)) { in showDialog() 93 } else if (canStartActivityAsUser(marketIntent, managedProfileUserId)) { in showDialog() 110 managedProfileUserId, in showDialog() 138 private boolean canStartActivityAsUser(Intent intent, int managedProfileUserId) { in canStartActivityAsUser() argument 143 managedProfileUserId) in canStartActivityAsUser() 147 private void switchToManagedProfile(int managedProfileUserId, Intent intent) { in switchToManagedProfile() argument 151 UserHandle.of(managedProfileUserId)); in switchToManagedProfile()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelper.java | 87 int managedProfileUserId = UserHandle.USER_NULL; in markUserProvisioningStateInitiallyDone() local 96 managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in markUserProvisioningStateInitiallyDone() 128 setUserProvisioningState(newProfileState, managedProfileUserId); in markUserProvisioningStateInitiallyDone() 146 final int managedProfileUserId = mUtils.getManagedProfile(mContext).getIdentifier(); in markUserProvisioningStateFinalized() local 147 setUserProvisioningState(STATE_USER_SETUP_FINALIZED, managedProfileUserId); in markUserProvisioningStateFinalized()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | SoundWorkSettingsControllerTest.java | 172 final int managedProfileUserId = 10; in onResume_shouldSetUserIdToPreference() local 174 .thenReturn(managedProfileUserId); in onResume_shouldSetUserIdToPreference() 183 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference() 185 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference() 187 .setUserId(managedProfileUserId); in onResume_shouldSetUserIdToPreference()
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | DoubleTwistPreferenceController.java | 105 final int managedProfileUserId = getManagedProfileId(userManager); in setDoubleTwistPreference() local 106 if (managedProfileUserId != UserHandle.USER_NULL) { in setDoubleTwistPreference() 109 managedProfileUserId); in setDoubleTwistPreference() local
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImpl.java | 148 final int managedProfileUserId = getManagedProfileUserId(); in isAlwaysOnVpnSetInManagedProfile() local 149 return managedProfileUserId != UserHandle.USER_NULL && in isAlwaysOnVpnSetInManagedProfile() 150 VpnUtils.isAlwaysOnVpnSet(mVm, managedProfileUserId); in isAlwaysOnVpnSetInManagedProfile()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/ |
D | EnterprisePrivacyFeatureProviderImpl.java | 139 final int managedProfileUserId = getManagedProfileUserId(); in isAlwaysOnVpnSetInManagedProfile() local 140 return managedProfileUserId != UserHandle.USER_NULL && (mVm.getAlwaysOnVpnPackageForUser( in isAlwaysOnVpnSetInManagedProfile() 141 managedProfileUserId) != null); in isAlwaysOnVpnSetInManagedProfile()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/ |
D | EnterprisePrivacyFeatureProviderImpl.java | 142 final int managedProfileUserId = getManagedProfileUserId(); in isAlwaysOnVpnSetInManagedProfile() local 143 return managedProfileUserId != UserHandle.USER_NULL && (mVm.getAlwaysOnVpnPackageForUser( in isAlwaysOnVpnSetInManagedProfile() 144 managedProfileUserId) != null); in isAlwaysOnVpnSetInManagedProfile()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/enterprise/ |
D | CrossProfileCalendarHelper.java | 123 public boolean isPackageAllowedToAccessCalendar(String packageName, int managedProfileUserId) { in isPackageAllowedToAccessCalendar() argument 125 mContext, managedProfileUserId); in isPackageAllowedToAccessCalendar()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | MockCrossProfileCalendarHelper.java | 36 public boolean isPackageAllowedToAccessCalendar(String packageName, int managedProfileUserId) { in isPackageAllowedToAccessCalendar() argument
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/ |
D | WorkPolicyInfo.kt | 101 UserHandle.of(workPolicyUtils.managedProfileUserId) in createSafetySourceDataForWorkPolicy()
|
/packages/apps/Settings/src/com/android/settings/tts/ |
D | TextToSpeechSettings.java | 731 final int managedProfileUserId = in updateTTSSetting() local 733 if (managedProfileUserId != UserHandle.USER_NULL) { in updateTTSSetting() 734 Secure.putIntForUser(getContentResolver(), key, value, managedProfileUserId); in updateTTSSetting() local
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | FinalizationInsideSuwControllerTest.java | 372 final int managedProfileUserId = MANAGED_PROFILE_USER_HANDLE.getIdentifier(); in testCorpOwnedManagedProfileDuringSuw() local 373 when(mDevicePolicyManager.getProfileOwnerAsUser(managedProfileUserId)) in testCorpOwnedManagedProfileDuringSuw()
|
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
D | BlockedNumberProviderTest.java | 742 int managedProfileUserId = 10; in testCanCurrentUserBlockUsers_managedProfile() local 743 doReturn(managedProfileUserId).when(mMockContext).getUserId(); in testCanCurrentUserBlockUsers_managedProfile() 744 doReturn(true).when(mMockUserManager).isManagedProfile(eq(managedProfileUserId)); in testCanCurrentUserBlockUsers_managedProfile()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallsManager.java | 2169 int managedProfileUserId = getManagedProfileUserId(mContext, in startOutgoingCall() 2171 if (managedProfileUserId != UserHandle.USER_NULL in startOutgoingCall() 2175 UserHandle.of(managedProfileUserId), in startOutgoingCall() 2179 callUri, initiatingUser, managedProfileUserId); in startOutgoingCall() 2385 int managedProfileUserId) { in showSwitchToManagedProfileDialog() argument 2390 mDefaultDialerCache.getDefaultDialerApplication(managedProfileUserId))) { in showSwitchToManagedProfileDialog() 2394 return maybeShowErrorDialog(callUri, managedProfileUserId, initiatingUser); in showSwitchToManagedProfileDialog() 2398 if (userManager.isQuietModeEnabled(UserHandle.of(managedProfileUserId))) { in showSwitchToManagedProfileDialog() 2402 return maybeShowErrorDialog(callUri, managedProfileUserId, initiatingUser); in showSwitchToManagedProfileDialog() 2449 int managedProfileUserId, in maybeShowErrorDialog() argument [all …]
|