Home
last modified time | relevance | path

Searched refs:getIdentifier (Results 1 – 25 of 74) 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()
281 ActivityInfo info = pm.getActivityInfo(component, 0, user.getIdentifier()); in startActivityAsUser()
291 0 /* flags */, user.getIdentifier()); in startActivityAsUser()
341 if (user.getIdentifier() == listeningUser.getIdentifier()) { in isEnabledProfileOf()
347 UserInfo userInfo = mUm.getUserInfo(user.getIdentifier()); in isEnabledProfileOf()
[all …]
/frameworks/base/core/java/android/os/
DUserManager.java635 user.getIdentifier(), false); in isUserRunning()
651 user.getIdentifier(), true); in isUserRunningOrStopping()
688 return mService.getUserRestrictions(userHandle.getIdentifier()); in getUserRestrictions()
722 mService.setUserRestrictions(restrictions, userHandle.getIdentifier()); in setUserRestrictions()
760 mService.setUserRestriction(key, value, userHandle.getIdentifier()); in setUserRestriction()
787 userHandle.getIdentifier()); in hasUserRestriction()
804 return getUserSerialNumber(user.getIdentifier()); in getSerialNumberForUser()
1352 return mService.getApplicationRestrictionsForUser(packageName, user.getIdentifier()); in getApplicationRestrictions()
1354 Log.w(TAG, "Could not get application restrictions for user " + user.getIdentifier()); in getApplicationRestrictions()
1365 mService.setApplicationRestrictions(packageName, restrictions, user.getIdentifier()); in setApplicationRestrictions()
[all …]
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintSpooler.java123 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfos()"); in getPrintJobInfos()
147 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] createPrintJob()"); in createPrintJob()
170 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] writePrintJobData()"); in writePrintJobData()
197 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfo()"); in getPrintJobInfo()
222 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setPrintJobState()"); in setPrintJobState()
247 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setPrintJobTag()"); in setPrintJobTag()
272 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() in setPrintJobCancelling()
296 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() in removeObsoletePrintJobs()
309 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] destroy()"); in destroy()
364 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] bindLocked()"); in bindLocked()
[all …]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DPartner.java85 final int partnerId = partner.getIdentifier(name, type); in getResourceEntry()
157 public int getIdentifier(String name, String defType) { in getIdentifier() method in Partner
158 return mResources.getIdentifier(name, defType, mPackageName); in getIdentifier()
/frameworks/base/core/java/android/content/pm/
DLauncherApps.java220 Log.i(TAG, "StartMainActivity " + component + " " + user.getIdentifier()); in startMainActivity()
365 Log.d(TAG, "onPackageRemoved " + user.getIdentifier() + "," + packageName);
377 Log.d(TAG, "onPackageChanged " + user.getIdentifier() + "," + packageName);
389 Log.d(TAG, "onPackageAdded " + user.getIdentifier() + "," + packageName);
402 Log.d(TAG, "onPackagesAvailable " + user.getIdentifier() + "," + packageNames);
415 Log.d(TAG, "onPackagesUnavailable " + user.getIdentifier() + "," + packageNames);
/frameworks/compile/libbcc/lib/Core/
DSource.cpp147 getIdentifier().c_str(), pSource.getIdentifier().c_str()); in merge()
172 const std::string &Source::getIdentifier() const { in getIdentifier() function in bcc::Source
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp46 env->NewStringUTF(deviceInfo.getIdentifier().descriptor.string())); in android_view_InputDevice_create()
58 const InputDeviceIdentifier& ident = deviceInfo.getIdentifier(); in android_view_InputDevice_create()
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java95 return user.getIdentifier() + "|" + pkg + "|" + id + "|" + tag + "|" + uid; in key()
105 return user.getIdentifier() + "|" + pkg + "|" + in groupKey()
196 return this.user.getIdentifier(); in getUserId()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DElement.h63 const Key &getIdentifier() const { return mIdentifier; } in getIdentifier() function
DUsage.h60 audio_usage_t getIdentifier() const { return mIdentifier; } in getIdentifier() function
DInputSource.h60 audio_source_t getIdentifier() const { return mIdentifier; } in getIdentifier() function
DStrategy.h60 routing_strategy getIdentifier() const { return mIdentifier; } in getIdentifier() function
DStream.h69 audio_stream_type_t getIdentifier() const { return mIdentifier; } in getIdentifier() function
/frameworks/base/core/java/android/app/
DContextImpl.java690 user.getIdentifier()); in startActivityAsUser()
713 (Activity) null, intents, options, userHandle.getIdentifier()); in startActivitiesAsUser()
929 AppOpsManager.OP_NONE, null, false, false, user.getIdentifier()); in sendBroadcastAsUser()
952 user.getIdentifier()); in sendBroadcastAsUser()
1003 appOp, options, true, false, user.getIdentifier()); in sendOrderedBroadcastAsUser()
1086 …ivity.RESULT_OK, null, null, null, AppOpsManager.OP_NONE, null, false, true, user.getIdentifier()); in sendStickyBroadcastAsUser()
1121 AppOpsManager.OP_NONE, null, true, true, user.getIdentifier()); in sendStickyOrderedBroadcastAsUser()
1138 mMainThread.getApplicationThread(), intent, user.getIdentifier()); in removeStickyBroadcastAsUser()
1159 return registerReceiverInternal(receiver, user.getIdentifier(), in registerReceiverAsUser()
1242 getContentResolver()), getOpPackageName(), user.getIdentifier()); in startServiceCommon()
[all …]
DPendingIntent.java341 flags, options, user.getIdentifier()); in getActivityAsUser()
483 flags, options, user.getIdentifier()); in getActivitiesAsUser()
536 flags, null, userHandle.getIdentifier()); in getBroadcastAsUser()
DApplicationPackageManager.java483 mPM.grantRuntimePermission(packageName, permissionName, user.getIdentifier()); in grantRuntimePermission()
493 mPM.revokeRuntimePermission(packageName, permissionName, user.getIdentifier()); in revokeRuntimePermission()
502 return mPM.getPermissionFlags(permissionName, packageName, user.getIdentifier()); in getPermissionFlags()
513 flagValues, user.getIdentifier()); in updatePermissionFlags()
977 final int badgeResId = getBadgeResIdForUser(user.getIdentifier()); in getUserBadgedIcon()
997 UserInfo userInfo = getUserIfProfile(user.getIdentifier()); in getUserBadgeForDensity()
1010 UserInfo userInfo = getUserIfProfile(user.getIdentifier()); in getUserBadgedLabel()
1901 user.getIdentifier()); in setApplicationHiddenSettingAsUser()
1911 return mPM.getApplicationHiddenSettingAsUser(packageName, user.getIdentifier()); in getApplicationHiddenSettingAsUser()
/frameworks/base/core/java/android/accounts/
DAccountManager.java526 return mService.getAccountsAsUser(type, userHandle.getIdentifier(), in getAccountsByTypeAsUser()
924 mService.removeAccountAsUser(mResponse, account, false, userHandle.getIdentifier());
950 userHandle.getIdentifier());
1535 requiredFeatures, activity != null, optionsIn, userHandle.getIdentifier());
1552 boolean val = mService.addSharedAccountAsUser(account, user.getIdentifier());
1582 mResponse, account, UserHandle.USER_OWNER, user.getIdentifier());
1603 boolean val = mService.removeSharedAccountAsUser(account, user.getIdentifier());
1618 return mService.getSharedAccountsAsUser(user.getIdentifier());
1705 final int userId = userHandle.getIdentifier();
/frameworks/compile/libbcc/include/bcc/
DSource.h81 const std::string &getIdentifier() const;
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DResourcesWrapper.java246 public int getIdentifier(String name, String defType, String defPackage) { in getIdentifier() method in ResourcesWrapper
247 return mResources.getIdentifier(name, defType, defPackage); in getIdentifier()
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java758 categoryFilter, profile.getIdentifier()); in getInstalledProvidersForProfile()
902 return bindAppWidgetIdIfAllowed(appWidgetId, user.getIdentifier(), provider, options); in bindAppWidgetIdIfAllowed()
/frameworks/native/include/input/
DInputDevice.h82 inline const InputDeviceIdentifier& getIdentifier() const { return mIdentifier; } in getIdentifier() function
/frameworks/base/core/java/com/android/internal/statusbar/
DStatusBarIcon.java63 + " user=" + user.getIdentifier() in toString()
/frameworks/base/core/java/android/app/usage/
DUsageStatsManager.java266 mService.whitelistAppTemporarily(packageName, duration, user.getIdentifier()); in whitelistAppTemporarily()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/system/
DSettings.java120 int resId = mResources.getIdentifier(resourceName, "bool", mPackageName); in getBoolean()
/frameworks/base/services/core/java/com/android/server/notification/
DEventConditionProvider.java181 Slog.w(TAG, "Unable to create context for user " + user.getIdentifier()); in reloadTrackers()
184 mTrackers.put(user.getIdentifier(), new CalendarTracker(mContext, context)); in reloadTrackers()

123