/frameworks/base/services/core/java/com/android/server/pm/ |
D | LauncherAppsService.java | 373 callingUid, user.getIdentifier()); in getHiddenAppActivityInfo() 382 if (!canAccessProfile(user.getIdentifier(), "cannot get shouldHideFromSuggestions")) { in shouldHideFromSuggestions() 387 int flags = pmi.getDistractingPackageRestrictions(packageName, user.getIdentifier()); in shouldHideFromSuggestions() 412 if (mUm.getUserInfo(user.getIdentifier()).isManagedProfile()) { in getLauncherActivities() 431 callingUid, user.getIdentifier()); in getLauncherActivities() 445 user.getIdentifier(), callingUid); in getLauncherActivities() 508 final List<UserInfo> userInfoList = mUm.getProfiles(user.getIdentifier()); in isManagedProfileAdmin() 529 if (!canAccessProfile(user.getIdentifier(), "Cannot resolve activity")) { in resolveActivity() 541 callingUid, user.getIdentifier()); in resolveActivity() 557 if (!canAccessProfile(user.getIdentifier(), "Cannot retrieve activities")) { in queryActivitiesForUser() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSettingsManager.java | 94 UserInfo parentUserInfo = mUserManager.getProfileParent(user.getIdentifier()); in getSettingsForProfileGroup() 103 parentUser.getIdentifier()); in getSettingsForProfileGroup() 107 mSettingsByProfileGroup.put(parentUser.getIdentifier(), settings); in getSettingsForProfileGroup() 120 mSettingsByUser.remove(userToRemove.getIdentifier()); in remove() 124 if (mSettingsByProfileGroup.indexOfKey(userToRemove.getIdentifier()) >= 0) { in remove() 127 mSettingsByProfileGroup.remove(userToRemove.getIdentifier()); in remove()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintSpooler.java | 176 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfos()"); in getPrintJobInfos() 198 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] createPrintJob()"); in createPrintJob() 219 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] writePrintJobData()"); in writePrintJobData() 244 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfo()"); in getPrintJobInfo() 267 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setPrintJobState()"); in setPrintJobState() 296 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setProgress()"); in setProgress() 323 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setStatus()"); in setStatus() 352 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setStatus()"); in setStatus() 383 "[user: " + mUserHandle.getIdentifier() + "] onCustomPrinterIconLoaded()"); in onCustomPrinterIconLoaded() 416 "[user: " + mUserHandle.getIdentifier() + "] getCustomPrinterIcon()"); in getCustomPrinterIcon() [all …]
|
/frameworks/base/core/java/android/content/om/ |
D | OverlayManager.java | 141 if (!mService.setEnabledExclusiveInCategory(packageName, user.getIdentifier())) { in setEnabledExclusiveInCategory() 176 if (!mService.setEnabled(packageName, enable, user.getIdentifier())) { in setEnabled() 202 return mService.getOverlayInfo(packageName, userHandle.getIdentifier()); in getOverlayInfo() 229 return mService.getOverlayInfosForTarget(targetPackageName, user.getIdentifier()); in getOverlayInfosForTarget() 252 mService.invalidateCachesForOverlay(targetPackageName, user.getIdentifier()); in invalidateCachesForOverlay()
|
/frameworks/minikin/libs/minikin/ |
D | HyphenatorMap.cpp | 52 mMap[locale.getIdentifier()] = hyphenator; in addInternal() 64 auto it = mMap.find(toLocale.getIdentifier()); in addAliasInternal() 70 mMap[fromLocale.getIdentifier()] = it->second; in addAliasInternal() 74 const uint64_t id = locale.getIdentifier(); in lookupInternal() 125 return lookupByIdentifier(partialLocale.getIdentifier()); in lookupBySubtag()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/ |
D | FakeOverrideContentProvider.java | 75 testResources.getIdentifier( in installDefaultProvider() 88 testResources.getIdentifier( in installDefaultProvider() 101 testResources.getIdentifier( in installDefaultProvider() 114 testResources.getIdentifier( in installDefaultProvider() 127 testResources.getIdentifier( in installDefaultProvider()
|
D | PartnerConfigHelperTest.java | 198 testResources.getIdentifier( in prepareFakeData() 205 testResources.getIdentifier( in prepareFakeData() 212 testResources.getIdentifier( in prepareFakeData() 219 testResources.getIdentifier( in prepareFakeData()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 234 UserHandle.of(PRIMARY_USER).getIdentifier(), in startActivityAsUser_currentUser() 259 UserHandle.of(PRIMARY_USER).getIdentifier(), in startAnyActivityAsUser_currentUser() 286 UserHandle.of(PROFILE_OF_PRIMARY_USER).getIdentifier(), in startActivityAsUser_profile_notInstalled() 313 UserHandle.of(PROFILE_OF_PRIMARY_USER).getIdentifier(), in startAnyActivityAsUser_profile_notInstalled() 338 UserHandle.of(PROFILE_OF_PRIMARY_USER).getIdentifier(), in startActivityAsUser_profile_fakeCaller() 363 UserHandle.of(PROFILE_OF_PRIMARY_USER).getIdentifier(), in startAnyActivityAsUser_profile_fakeCaller() 390 UserHandle.of(PROFILE_OF_PRIMARY_USER).getIdentifier(), in startActivityAsUser_profile_notExported() 422 UserHandle.of(PROFILE_OF_PRIMARY_USER).getIdentifier(), in startAnyActivityAsUser_profile_notExported() 447 UserHandle.of(PROFILE_OF_PRIMARY_USER).getIdentifier(), in startActivityAsUser_profile_anotherPackage() 472 UserHandle.of(PROFILE_OF_PRIMARY_USER).getIdentifier(), in startAnyActivityAsUser_profile_anotherPackage() [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CertificateMonitor.java | 140 if (!mInjector.getUserManager().isUserUnlocked(userHandle.getIdentifier())) { in updateInstalledCertificates() 178 int parentUserId = userHandle.getIdentifier(); in buildNotification() 180 if (mService.getProfileOwner(userHandle.getIdentifier()) != null) { in buildNotification() 182 mService.getProfileOwnerName(userHandle.getIdentifier())); in buildNotification() 184 parentUserId = mService.getProfileParentId(userHandle.getIdentifier()); in buildNotification() 185 } else if (mService.getDeviceOwnerUserId() == userHandle.getIdentifier()) { in buildNotification() 199 dialogIntent.putExtra(Intent.EXTRA_USER_ID, userHandle.getIdentifier()); in buildNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DisplayUtils.java | 87 int resourceId = context.getResources().getIdentifier("config_rounded_mask_size_bottom", in getCornerRadiusBottom() 106 int resourceId = context.getResources().getIdentifier("config_rounded_mask_size_top", in getCornerRadiusTop() 121 int resourceId = context.getResources().getIdentifier("config_rounded_mask_size", in getCornerRadiusDefault()
|
/frameworks/base/core/java/android/content/pm/ |
D | CrossProfileApps.java | 101 targetUser.getIdentifier(), in startMainActivity() 167 targetUser.getIdentifier(), in startActivity() 194 targetUser.getIdentifier(), false); in startActivity() 238 final int stringRes = mUserManager.isManagedProfile(userHandle.getIdentifier()) in getProfileSwitchingLabel() 261 mUserManager.isManagedProfile(userHandle.getIdentifier()); in getProfileSwitchingIconDrawable()
|
D | AppsQueryHelper.java | 83 mAllApps = getAllApps(user.getIdentifier()); in queryApps() 102 user.getIdentifier()); in queryApps() 123 Manifest.permission.INTERACT_ACROSS_USERS, user.getIdentifier()); in queryApps() 138 new Intent(InputMethod.SERVICE_INTERFACE), user.getIdentifier()); in queryApps()
|
/frameworks/base/core/java/android/app/role/ |
D | RoleManager.java | 289 return mService.getRoleHoldersAsUser(roleName, user.getIdentifier()); in getRoleHoldersAsUser() 328 mService.addRoleHolderAsUser(roleName, packageName, flags, user.getIdentifier(), in addRoleHolderAsUser() 367 mService.removeRoleHolderAsUser(roleName, packageName, flags, user.getIdentifier(), in removeRoleHolderAsUser() 404 mService.clearRoleHoldersAsUser(roleName, flags, user.getIdentifier(), in clearRoleHoldersAsUser() 448 int userId = user.getIdentifier(); in addOnRoleHoldersChangedListenerAsUser() 493 int userId = user.getIdentifier(); in removeOnRoleHoldersChangedListenerAsUser() 506 user.getIdentifier()); in removeOnRoleHoldersChangedListenerAsUser()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 78 mRestrictedProfile = mUserManager.getUserInfo(mUser.getIdentifier()).isRestricted(); in AppRestrictionsHelper() 98 if (!mRestrictedProfile && mUser.getIdentifier() != UserHandle.myUserId()) { in applyUserAppsStates() 111 final int userId = mUser.getIdentifier(); in applyUserAppState() 119 mIPm.installExistingPackageAsUser(packageName, mUser.getIdentifier(), in applyUserAppState() 144 PackageManager.DELETE_SYSTEM_APP, mUser.getIdentifier()); in applyUserAppState() 218 PackageManager.MATCH_UNINSTALLED_PACKAGES, mUser.getIdentifier()); in fetchAndMergeApps() 354 return mIPm.getApplicationInfo(packageName, flags, user.getIdentifier()); in getAppInfoForUser() 424 return imm.getInputMethodListAsUser(mUser.getIdentifier()); in getInputMethodList()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiService.java | 71 mImpl.handleUserSwitch(to.getUserHandle().getIdentifier()); in onUserSwitching() 76 mImpl.handleUserUnlock(user.getUserHandle().getIdentifier()); in onUserUnlocking() 81 mImpl.handleUserStop(user.getUserHandle().getIdentifier()); in onUserStopping()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionManager.java | 202 packageName, user.getIdentifier()); in grantDefaultPermissionsToLuiApp() 223 packageNames, user.getIdentifier()); in revokeDefaultPermissionsFromLuiApps() 244 packageNames, user.getIdentifier()); in grantDefaultPermissionsToEnabledImsServices() 265 packageNames, user.getIdentifier()); in grantDefaultPermissionsToEnabledTelephonyDataServices() 286 packageNames, user.getIdentifier()); in revokeDefaultPermissionsFromDisabledTelephonyDataServices() 307 user.getIdentifier()); in grantDefaultPermissionsToEnabledCarrierApps() 328 mContext.getUser().getIdentifier())); in getAutoRevokeExemptionRequestedPackages() 348 mContext.getUser().getIdentifier())); in getAutoRevokeExemptionGrantedPackages()
|
/frameworks/base/core/java/android/content/ |
D | ApexEnvironment.java | 83 Environment.getDataMiscDeDirectory(user.getIdentifier()), APEX_DATA, in getDeviceProtectedDataDirForUser() 97 Environment.getDataMiscCeDirectory(user.getIdentifier()), APEX_DATA, in getCredentialProtectedDataDirForUser()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserState.java | 77 mUnlockProgress = new ProgressReporter(handle.getIdentifier()); in UserState() 85 Slog.w(TAG, "Expected user " + mHandle.getIdentifier() + " in state " in setState() 95 final int userId = mHandle.getIdentifier(); in setState()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1990 return mService.getUserInfo(user.getIdentifier()).isRestricted(); in isRestrictedProfile() 2190 return isUserRunning(user.getIdentifier()); in isUserRunning() 2225 user.getIdentifier(), ActivityManager.FLAG_OR_STOPPED); in isUserRunningOrStopping() 2270 return isUserUnlocked(user.getIdentifier()); in isUserUnlocked() 2344 return isUserUnlockingOrUnlocked(user.getIdentifier()); in isUserUnlockingOrUnlocked() 2419 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier()); in getUserRestrictionSource() 2438 return mService.getUserRestrictionSources(restrictionKey, userHandle.getIdentifier()); in getUserRestrictionSources() 2466 return mService.getUserRestrictions(userHandle.getIdentifier()); in getUserRestrictions() 2488 return mService.hasBaseUserRestriction(restrictionKey, userHandle.getIdentifier()); in hasBaseUserRestriction() 2545 mService.setUserRestriction(key, value, userHandle.getIdentifier()); in setUserRestriction() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManager.java | 84 mAutoTracker = autoAddTrackerBuilder.setUserId(mCurrentUser.getIdentifier()).build(); in AutoTileManager() 177 if (newUser.getIdentifier() == mCurrentUser.getIdentifier()) { in changeUser() 184 mAutoAddSettingList.get(i).setUserId(newUser.getIdentifier()); in changeUser() 192 return mCurrentUser.getIdentifier(); in getCurrentUserId()
|
/frameworks/base/core/java/android/app/usage/ |
D | StorageStatsManager.java | 214 user.getIdentifier(), mContext.getOpPackageName()); in queryStatsForPackage() 293 return mService.queryStatsForUser(convert(storageUuid), user.getIdentifier(), in queryStatsForUser() 330 return mService.queryExternalStatsForUser(convert(storageUuid), user.getIdentifier(), in queryExternalStatsForUser() 409 user.getIdentifier(), mContext.getOpPackageName()); in queryCratesForPackage() 440 mService.queryCratesForUser(convert(storageUuid), user.getIdentifier(), in queryCratesForUser()
|
/frameworks/base/services/core/java/com/android/server/slice/ |
D | SliceManagerService.java | 143 int callingUser = Binder.getCallingUserHandle().getIdentifier(); in getPinnedSlices() 164 int user = Binder.getCallingUserHandle().getIdentifier(); in pinSlice() 182 uri = maybeAddUserId(uri, Binder.getCallingUserHandle().getIdentifier()); in unpinSlice() 196 return hasFullSliceAccess(pkg, Binder.getCallingUserHandle().getIdentifier()); in hasSliceAccess() 203 uri = maybeAddUserId(uri, Binder.getCallingUserHandle().getIdentifier()); in getPinnedSpecs() 210 int user = Binder.getCallingUserHandle().getIdentifier(); in grantSlicePermission() 218 int user = Binder.getCallingUserHandle().getIdentifier(); in revokeSlicePermission() 267 int userId = Binder.getCallingUserHandle().getIdentifier(); in grantPermissionFromUser() 412 int user = Binder.getCallingUserHandle().getIdentifier(); in enforceCrossUser() 423 Binder.getCallingUserHandle().getIdentifier()); in enforceAccess()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | Partner.java | 111 final int partnerId = partner.getIdentifier(name, type); in getResourceEntry() 197 public int getIdentifier(String name, String defType) { in getIdentifier() method in Partner 198 return resources.getIdentifier(name, defType, packageName); in getIdentifier()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/ |
D | AuthenticatorHelper.java | 179 .getAuthenticatorTypesAsUser(mUserHandle.getIdentifier()); in updateAuthDescriptions() 206 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier()); in onAccountsUpdated() 226 .getAccountsAsUser(mUserHandle.getIdentifier()); in onReceive() 256 mUserHandle.getIdentifier()); in buildAccountTypeToAuthoritiesMap()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | SliceBroadcastRelay.java | 61 Process.myUserHandle().getIdentifier())); in registerReceiver() 81 Process.myUserHandle().getIdentifier())); in unregisterReceivers()
|