Home
last modified time | relevance | path

Searched refs:getCurrentProcessUserId (Results 1 – 25 of 55) sorted by relevance

123

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DTrustedDeviceListPreferenceControllerTest.java108 mCarUserManagerHelper.getCurrentProcessUserId())).thenReturn(mUpdatedDevices); in onDeviceRemoved_refreshUi()
120 mCarUserManagerHelper.getCurrentProcessUserId())).thenReturn(mUpdatedDevices); in onDeviceRemoved_refreshUi()
129 mCarUserManagerHelper.getCurrentProcessUserId())).thenReturn(mDevices); in onDeviceAdded_refreshUi()
139 mCarUserManagerHelper.getCurrentProcessUserId())).thenReturn(mUpdatedDevices); in onDeviceAdded_refreshUi()
152 mCarUserManagerHelper.getCurrentProcessUserId())).thenReturn( in refreshUi_noDevices_hasPassword_hidesGroup()
165 mCarUserManagerHelper.getCurrentProcessUserId())).thenReturn(mUpdatedDevices); in refreshUi_devices_hasPassword_showsGroup()
189 mCarUserManagerHelper.getCurrentProcessUserId())).thenReturn(mDevices); in onPreferenceClicked_hasPassword_showDialog()
204 mCarUserManagerHelper.getCurrentProcessUserId()); in onRemoveDeviceDialogConfirmed_remoeEscrwoToken()
DNoLockPreferenceControllerTest.java105 when(mCarUserManagerHelper.getCurrentProcessUserId()).thenReturn(TEST_USER); in testConfirmRemoveScreenLockListener_removesLock()
117 when(mCarUserManagerHelper.getCurrentProcessUserId()).thenReturn(TEST_USER); in testConfirmRemoveScreenLockListener_goesBack()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/display/
DBrightnessLevelPreferenceControllerTest.java70 when(mCarUserManagerHelper.getCurrentProcessUserId()).thenReturn(CURRENT_USER); in setUp()
95 mCarUserManagerHelper.getCurrentProcessUserId()); in testRefreshUi_minValue()
105 mCarUserManagerHelper.getCurrentProcessUserId()); in testRefreshUi_maxValue()
115 mCarUserManagerHelper.getCurrentProcessUserId()); in testRefreshUi_midValue()
128 mCarUserManagerHelper.getCurrentProcessUserId()); in testHandlePreferenceChanged_minValue()
137 mCarUserManagerHelper.getCurrentProcessUserId()); in testHandlePreferenceChanged_maxValue()
146 mCarUserManagerHelper.getCurrentProcessUserId()); in testHandlePreferenceChanged_midValue()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputPickerPreferenceController.java51 if (Objects.equals(mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()), in DefaultVoiceInputPickerPreferenceController()
53 ComponentName cn = mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()); in DefaultVoiceInputPickerPreferenceController()
70 getCurrentProcessUserId(), info, enabled)); in getCandidates()
77 getCurrentProcessUserId(), info, /* enabled= */ true)); in getCandidates()
DManageAssistEntryPreferenceController.java52 ComponentName cn = mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()); in getCurrentDefaultAppInfo()
57 getCurrentProcessUserId(), cn); in getCurrentDefaultAppInfo()
DDefaultVoiceInputPickerEntryPreferenceController.java73 getCurrentProcessUserId()); in getAvailabilityStatus()
96 getContext().getPackageManager(), getCurrentProcessUserId(), info, in getCurrentDefaultAppInfo()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageFileCategoryPreferenceController.java53 getCarUserManagerHelper().getCurrentProcessUserId()); in calculateCategoryUsage()
62 intent.putExtra(Intent.EXTRA_USER_ID, getCarUserManagerHelper().getCurrentProcessUserId()); in handlePreferenceClicked()
65 new UserHandle(getCarUserManagerHelper().getCurrentProcessUserId())); in handlePreferenceClicked()
DStorageOtherCategoryPreferenceController.java41 getCarUserManagerHelper().getCurrentProcessUserId()); in calculateCategoryUsage()
DStorageMediaCategoryPreferenceController.java46 getCarUserManagerHelper().getCurrentProcessUserId()); in calculateCategoryUsage()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/
DDefaultAssistantPickerEntryPreferenceController.java61 ComponentName cn = mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()); in getCurrentDefaultAppInfo()
66 getCurrentProcessUserId(), cn); in getCurrentDefaultAppInfo()
84 ComponentName cn = mAssistUtils.getAssistComponentForUser(getCurrentProcessUserId()); in getSettingIntent()
DDefaultAppEntryBasePreferenceController.java76 protected int getCurrentProcessUserId() { in getCurrentProcessUserId() method in DefaultAppEntryBasePreferenceController
77 return mCarUserManagerHelper.getCurrentProcessUserId(); in getCurrentProcessUserId()
DDefaultAppsPickerBasePreferenceController.java169 protected int getCurrentProcessUserId() { in getCurrentProcessUserId() method in DefaultAppsPickerBasePreferenceController
170 return mCarUserManagerHelper.getCurrentProcessUserId(); in getCurrentProcessUserId()
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DTrustedDeviceListPreferenceController.java86 mCarUserManagerHelper.getCurrentProcessUserId());
133 mCarUserManagerHelper.getCurrentProcessUserId()) in hasPassword()
171 mCarUserManagerHelper.getCurrentProcessUserId()); in createTrustDevicePreferenceList()
DCredentialStorageActivity.java113 if (!mUtils.isSecure(mCarUserManagerHelper.getCurrentProcessUserId())) { in onResetConfirmed()
165 == mCarUserManagerHelper.getCurrentProcessUserId())); in checkCallerIsCertInstallerOrSelfInProfile()
234 credentialStorage.mCarUserManagerHelper.getCurrentProcessUserId()); in doInBackground()
DConfirmPasswordFragmentFactory.java47 new CarUserManagerHelper(context).getCurrentProcessUserId()); in getFragment()
DNoLockPreferenceController.java40 int userId = new CarUserManagerHelper(getContext()).getCurrentProcessUserId();
DAddTrustedDevicePreferenceController.java75 mCarUserManagerHelper.getCurrentProcessUserId()) in hasPassword()
DTrustedDeviceEntryPreferenceController.java69 mCarUserManagerHelper.getCurrentProcessUserId()).size(); in updateState()
/packages/apps/Car/Settings/src/com/android/car/settings/display/
DBrightnessLevelPreferenceController.java69 mCarUserManagerHelper.getCurrentProcessUserId()); in handlePreferenceChanged()
78 mCarUserManagerHelper.getCurrentProcessUserId()); in getSeekbarValue()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarUserManagerHelper.java67 protected int getCurrentProcessUserId() { in getCurrentProcessUserId() method in ShadowCarUserManagerHelper
68 return sMockInstance.getCurrentProcessUserId(); in getCurrentProcessUserId()
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java72 int userId = new CarUserManagerHelper(getApplicationContext()).getCurrentProcessUserId(); in onBind()
142 .getCurrentProcessUserId(); in setLock()
/packages/services/Car/user/car-user-lib/src/android/car/userlib/
DCarUserManagerHelper.java333 return mUserManager.getUserInfo(getCurrentProcessUserId()); in getCurrentProcessUserInfo()
339 public int getCurrentProcessUserId() { in getCurrentProcessUserId() method in CarUserManagerHelper
557 return getCurrentProcessUserId() == userInfo.id; in isCurrentProcessUser()
/packages/apps/Car/Settings/src/com/android/car/settings/users/
DUsersEntryPreferenceController.java60 mCarUserManagerHelper.getCurrentProcessUserId())); in handlePreferenceClicked()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DAppLaunchSettingsBasePreferenceController.java81 return mCarUserManagerHelper.getCurrentProcessUserId(); in getCurrentUserId()
DApplicationLaunchSettingsFragment.java66 mAppEntry = mState.getEntry(pkgName, mCarUserManagerHelper.getCurrentProcessUserId()); in onAttach()

123