Home
last modified time | relevance | path

Searched refs:getIdentifier (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java158 final int targetUserId = userToCheck.getIdentifier(); in ensureInUserProfiles()
182 UserInfo targetUserInfo = mUm.getUserInfo(user.getIdentifier()); in isUserEnabled()
203 user.getIdentifier()); in getLauncherActivities()
220 ResolveInfo app = mPm.resolveActivityAsUser(intent, 0, user.getIdentifier()); in resolveActivity()
238 PackageInfo info = pm.getPackageInfo(packageName, 0, user.getIdentifier()); in isPackageEnabled()
256 ActivityInfo info = pm.getActivityInfo(component, 0, user.getIdentifier()); in isActivityEnabled()
280 ActivityInfo info = pm.getActivityInfo(component, 0, user.getIdentifier()); in startActivityAsUser()
290 0 /* flags */, user.getIdentifier()); in startActivityAsUser()
340 if (user.getIdentifier() == listeningUser.getIdentifier()) { in isEnabledProfileOf()
346 UserInfo userInfo = mUm.getUserInfo(user.getIdentifier()); in isEnabledProfileOf()
[all …]
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java121 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfos()"); in getPrintJobInfos()
145 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] createPrintJob()"); in createPrintJob()
168 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] writePrintJobData()"); in writePrintJobData()
195 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfo()"); in getPrintJobInfo()
220 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setPrintJobState()"); in setPrintJobState()
245 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setPrintJobTag()"); in setPrintJobTag()
270 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() in setPrintJobCancelling()
294 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() in removeObsoletePrintJobs()
307 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] destroy()"); in destroy()
362 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] bindLocked()"); in bindLocked()
[all …]
/frameworks/base/core/java/android/os/
DUserManager.java496 user.getIdentifier(), false); in isUserRunning()
512 user.getIdentifier(), true); in isUserRunningOrStopping()
549 return mService.getUserRestrictions(userHandle.getIdentifier()); in getUserRestrictions()
583 mService.setUserRestrictions(restrictions, userHandle.getIdentifier()); in setUserRestrictions()
646 userHandle.getIdentifier()); in hasUserRestriction()
663 return getUserSerialNumber(user.getIdentifier()); in getSerialNumberForUser()
1150 return mService.getApplicationRestrictionsForUser(packageName, user.getIdentifier()); in getApplicationRestrictions()
1152 Log.w(TAG, "Could not get application restrictions for user " + user.getIdentifier()); in getApplicationRestrictions()
1163 mService.setApplicationRestrictions(packageName, restrictions, user.getIdentifier()); in setApplicationRestrictions()
1165 Log.w(TAG, "Could not set application restrictions for user " + user.getIdentifier()); in setApplicationRestrictions()
DUserHandle.java262 public int getIdentifier() { in getIdentifier() method in UserHandle
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java95 userDest.getIdentifier()); in onCreate()
103 newIntent, MATCH_DEFAULT_ONLY, userDest.getIdentifier()); in onCreate()
110 startActivityAsCaller(newIntent, null, userDest.getIdentifier()); in onCreate()
132 + callingUserId + " to user " + userDest.getIdentifier()); in onCreate()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java220 Log.i(TAG, "StartMainActivity " + component + " " + user.getIdentifier()); in startMainActivity()
357 Log.d(TAG, "onPackageRemoved " + user.getIdentifier() + "," + packageName);
369 Log.d(TAG, "onPackageChanged " + user.getIdentifier() + "," + packageName);
381 Log.d(TAG, "onPackageAdded " + user.getIdentifier() + "," + packageName);
394 Log.d(TAG, "onPackagesAvailable " + user.getIdentifier() + "," + packageNames);
407 Log.d(TAG, "onPackagesUnavailable " + user.getIdentifier() + "," + packageNames);
/frameworks/compile/libbcc/lib/Core/
DSource.cpp153 getIdentifier().c_str(), in merge()
154 pSource.getIdentifier().c_str(), in merge()
185 const std::string &Source::getIdentifier() const { in getIdentifier() function in bcc::Source
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java91 return user.getIdentifier() + "|" + pkg + "|" + id + "|" + tag + "|" + uid; in key()
101 return user.getIdentifier() + "|" + pkg + "|" + in groupKey()
192 return this.user.getIdentifier(); in getUserId()
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp44 env->NewStringUTF(deviceInfo.getIdentifier().descriptor.string())); in android_view_InputDevice_create()
56 const InputDeviceIdentifier& ident = deviceInfo.getIdentifier(); in android_view_InputDevice_create()
/frameworks/base/core/java/android/app/
DNotificationManager.java180 stripped, idOut, user.getIdentifier()); in notifyAsUser()
223 service.cancelNotificationWithTag(pkg, tag, id, user.getIdentifier()); in cancelAsUser()
DContextImpl.java1250 user.getIdentifier()); in startActivityAsUser()
1272 (Activity)null, intents, options, userHandle.getIdentifier()); in startActivitiesAsUser()
1426 AppOpsManager.OP_NONE, false, false, user.getIdentifier()); in sendBroadcastAsUser()
1440 user.getIdentifier()); in sendBroadcastAsUser()
1481 appOp, true, false, user.getIdentifier()); in sendOrderedBroadcastAsUser()
1556 … Activity.RESULT_OK, null, null, null, AppOpsManager.OP_NONE, false, true, user.getIdentifier()); in sendStickyBroadcastAsUser()
1589 AppOpsManager.OP_NONE, true, true, user.getIdentifier()); in sendStickyOrderedBroadcastAsUser()
1604 mMainThread.getApplicationThread(), intent, user.getIdentifier()); in removeStickyBroadcastAsUser()
1624 return registerReceiverInternal(receiver, user.getIdentifier(), in registerReceiverAsUser()
1707 service.resolveTypeIfNeeded(getContentResolver()), user.getIdentifier()); in startServiceCommon()
[all …]
DPendingIntent.java321 flags, options, user.getIdentifier()); in getActivityAsUser()
463 flags, options, user.getIdentifier()); in getActivitiesAsUser()
516 flags, null, userHandle.getIdentifier()); in getBroadcastAsUser()
DApplicationPackageManager.java876 final int badgeResId = getBadgeResIdForUser(user.getIdentifier()); in getUserBadgedIcon()
896 UserInfo userInfo = getUserIfProfile(user.getIdentifier()); in getUserBadgeForDensity()
909 UserInfo userInfo = getUserIfProfile(user.getIdentifier()); in getUserBadgedLabel()
1531 user.getIdentifier()); in setApplicationHiddenSettingAsUser()
1541 return mPM.getApplicationHiddenSettingAsUser(packageName, user.getIdentifier()); in getApplicationHiddenSettingAsUser()
/frameworks/compile/libbcc/include/bcc/
DSource.h76 const std::string &getIdentifier() const;
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java44 return "StatusBarIcon(pkg=" + this.iconPackage + "user=" + user.getIdentifier() in toString()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1177 int id = ui.getUserHandle().getIdentifier(); in sendAdminCommandToSelfAndProfilesLocked()
1191 int userHandle = admin.getUserHandle().getIdentifier(); in removeActiveAdminLocked()
1594 int profileUserHandle = ui.getUserHandle().getIdentifier(); in handlePasswordExpirationNotification()
1881 DevicePolicyData policy = getUserData(userInfo.getUserHandle().getIdentifier()); in getPasswordQuality()
1928 DevicePolicyData policy = getUserData(userInfo.getUserHandle().getIdentifier()); in getPasswordMinimumLength()
1975 DevicePolicyData policy = getUserData(userInfo.getUserHandle().getIdentifier()); in getPasswordHistoryLength()
2036 DevicePolicyData policy = getUserData(userInfo.getUserHandle().getIdentifier()); in getPasswordExpirationTimeout()
2134 DevicePolicyData policy = getUserData(userInfo.getUserHandle().getIdentifier()); in getPasswordExpirationLocked()
2191 DevicePolicyData policy = getUserData(userInfo.getUserHandle().getIdentifier()); in getPasswordMinimumUpperCase()
2235 DevicePolicyData policy = getUserData(userInfo.getUserHandle().getIdentifier()); in getPasswordMinimumLowerCase()
[all …]
/frameworks/base/core/java/android/accounts/
DAccountManager.java493 return mService.getAccountsAsUser(type, userHandle.getIdentifier()); in getAccountsByTypeAsUser()
778 mService.removeAccountAsUser(mResponse, account, userHandle.getIdentifier());
1319 requiredFeatures, activity != null, optionsIn, userHandle.getIdentifier());
1336 boolean val = mService.addSharedAccountAsUser(account, user.getIdentifier());
1353 boolean val = mService.removeSharedAccountAsUser(account, user.getIdentifier());
1368 return mService.getSharedAccountsAsUser(user.getIdentifier());
1449 final int userId = userHandle.getIdentifier();
/frameworks/native/include/input/
DInputDevice.h81 inline const InputDeviceIdentifier& getIdentifier() const { return mIdentifier; } in getIdentifier() function
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java757 categoryFilter, profile.getIdentifier()); in getInstalledProvidersForProfile()
901 return bindAppWidgetIdIfAllowed(appWidgetId, user.getIdentifier(), provider, options); in bindAppWidgetIdIfAllowed()
/frameworks/compile/slang/
Dslang_rs_export_func.cpp93 PVD->getIdentifier(), in Create()
/frameworks/base/test-runner/src/android/test/mock/
DMockResources.java199 public int getIdentifier(String name, String defType, String defPackage) { in getIdentifier() method in MockResources
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java188 Context context = mUserToContextMap.get(userHandle.getIdentifier()); in getContextAsUser()
192 mUserToContextMap.put(userHandle.getIdentifier(), context); in getContextAsUser()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java2450 Process.myUserHandle().getIdentifier()); in isProfileOwnerApp()
2468 return getProfileOwnerAsUser(Process.myUserHandle().getIdentifier()); in getProfileOwner()
2497 return mService.getProfileOwnerName(Process.myUserHandle().getIdentifier()); in getProfileOwnerName()
2702 return mService.getCrossProfileCallerIdDisabledForUser(userHandle.getIdentifier()); in getCrossProfileCallerIdDisabled()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardActivityLauncher.java247 user.getIdentifier()); in startActivityForCurrentUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java179 int userId = icon.user.getIdentifier(); in getIcon()

123