Searched refs:getIdentifier (Results 1 - 25 of 98) sorted by relevance

1234

/frameworks/base/core/tests/benchmarks/src/android/content/res/
H A DResourcesBenchmark.java45 mTextId = mRes.getIdentifier("cancel", "string", "android");
46 mColorId = mRes.getIdentifier("transparent", "color", "android");
47 mIntegerId = mRes.getIdentifier("config_shortAnimTime", "integer", "android");
48 mLayoutId = mRes.getIdentifier("two_line_list_item", "layout", "android");
/frameworks/base/services/core/java/com/android/server/am/
H A DUserState.java66 mUnlockProgress = new ProgressReporter(handle.getIdentifier());
74 Slog.w(TAG, "Expected user " + mHandle.getIdentifier() + " in state "
82 Slog.i(TAG, "User " + mHandle.getIdentifier() + " state changed from "
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintSpooler.java167 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfos()");
191 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] createPrintJob()");
214 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] writePrintJobData()");
241 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfo()");
266 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setPrintJobState()");
295 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setProgress()");
322 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setStatus()");
351 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setStatus()");
382 "[user: " + mUserHandle.getIdentifier() + "] onCustomPrinterIconLoaded()");
415 "[user: " + mUserHandle.getIdentifier()
[all...]
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DPartner.java87 final int partnerId = partner.getIdentifier(name, type);
159 public int getIdentifier(String name, String defType) { method in class:Partner
160 return mResources.getIdentifier(name, defType, mPackageName);
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DElement.h63 const Key &getIdentifier() const { return mIdentifier; } function in class:android::audio_policy::Element
H A DInputSource.h60 audio_source_t getIdentifier() const { return mIdentifier; } function in class:android::audio_policy::Element
H A DStrategy.h60 routing_strategy getIdentifier() const { return mIdentifier; } function in class:android::audio_policy::Element
H A DStream.h61 audio_stream_type_t getIdentifier() const { return mIdentifier; } function in class:android::audio_policy::Element
H A DUsage.h60 audio_usage_t getIdentifier() const { return mIdentifier; } function in class:android::audio_policy::Element
/frameworks/base/core/jni/
H A Dandroid_view_InputDevice.cpp46 env->NewStringUTF(deviceInfo.getIdentifier().descriptor.string()));
58 const InputDeviceIdentifier& ident = deviceInfo.getIdentifier();
/frameworks/base/core/java/android/content/pm/
H A DLauncherApps.java341 Log.i(TAG, "StartMainActivity " + component + " " + user.getIdentifier());
556 return getShortcutIconFd(packageName, shortcutId, user.getIdentifier());
589 user.getIdentifier());
712 Log.d(TAG, "onPackageRemoved " + user.getIdentifier() + "," + packageName);
724 Log.d(TAG, "onPackageChanged " + user.getIdentifier() + "," + packageName);
736 Log.d(TAG, "onPackageAdded " + user.getIdentifier() + "," + packageName);
749 Log.d(TAG, "onPackagesAvailable " + user.getIdentifier() + "," + packageNames);
762 Log.d(TAG, "onPackagesUnavailable " + user.getIdentifier() + "," + packageNames);
775 Log.d(TAG, "onPackagesSuspended " + user.getIdentifier() + "," + packageNames);
788 Log.d(TAG, "onPackagesUnsuspended " + user.getIdentifier()
[all...]
H A DAppsQueryHelper.java83 mAllApps = getAllApps(user.getIdentifier());
102 user.getIdentifier());
123 Manifest.permission.INTERACT_ACROSS_USERS, user.getIdentifier());
138 new Intent(InputMethod.SERVICE_INTERFACE), user.getIdentifier());
/frameworks/base/core/java/android/os/
H A DUserManager.java922 return isUserRunning(user.getIdentifier());
946 user.getIdentifier(), ActivityManager.FLAG_OR_STOPPED);
963 user.getIdentifier(), ActivityManager.FLAG_AND_LOCKED);
980 user.getIdentifier(), ActivityManager.FLAG_AND_UNLOCKED);
1020 return isUserUnlocked(user.getIdentifier());
1035 return isUserUnlockingOrUnlocked(user.getIdentifier());
1079 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier());
1100 return mService.getUserRestrictions(userHandle.getIdentifier());
1116 return mService.hasBaseUserRestriction(restrictionKey, userHandle.getIdentifier());
1172 mService.setUserRestriction(key, value, userHandle.getIdentifier());
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DLauncherAppsService.java217 ensureInUserProfiles(userToCheck.getIdentifier(), message);
260 return isUserEnabled(user.getIdentifier());
289 user.getIdentifier());
310 user.getIdentifier());
330 user.getIdentifier());
349 user.getIdentifier());
357 ensureShortcutPermission(callingPackage, user.getIdentifier());
386 componentName, flags, user.getIdentifier()));
399 callingPackage, packageName, ids, user.getIdentifier());
483 user.getIdentifier());
[all...]
/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.java119 String sbnKey = user.getIdentifier() + "|" + pkg + "|" + id + "|" + tag + "|" + uid;
128 return user.getIdentifier() + "|" + pkg + "|" + "g:" + overrideGroupKey;
136 return user.getIdentifier() + "|" + pkg + "|" +
253 return this.user.getIdentifier();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
H A DAuthenticatorHelper.java177 .getAuthenticatorTypesAsUser(mUserHandle.getIdentifier());
204 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier());
224 .getAccountsAsUser(mUserHandle.getIdentifier());
254 mUserHandle.getIdentifier());
/frameworks/compile/libbcc/include/bcc/
H A DSource.h91 const std::string &getIdentifier() const;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A DAppRestrictionsHelper.java69 mRestrictedProfile = mUserManager.getUserInfo(mUser.getIdentifier()).isRestricted();
89 final int userId = mUser.getIdentifier();
103 final int userId = mUser.getIdentifier();
111 mIPm.installExistingPackageAsUser(packageName, mUser.getIdentifier());
133 mIPm.deletePackageAsUser(packageName, null, mUser.getIdentifier(),
208 PackageManager.MATCH_UNINSTALLED_PACKAGES, mUser.getIdentifier());
346 return mIPm.getApplicationInfo(packageName, flags, user.getIdentifier());
/frameworks/minikin/libs/minikin/
H A DFontLanguageListCache.cpp92 uint64_t identifier = lang.getIdentifier();
105 uint64_t identifier = lang.getIdentifier();
H A DFontLanguage.h67 uint64_t getIdentifier() const { return (uint64_t)mScript << 32 | (uint64_t)mLanguage; } function in struct:android::FontLanguage
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DUserAdapter.java55 UserInfo userInfo = um.getUserInfo(mUserHandle.getIdentifier());
107 int userHandle = user.mUserHandle.getIdentifier();
142 return data.get(position).mUserHandle.getIdentifier();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java102 selectedUser != null ? selectedUser.getIdentifier() : currentUserId;
118 if (selectedUser != null && selectedUser.getIdentifier() != currentUserId) {
122 mWallpaperManager.getBitmapAsUser(selectedUser.getIdentifier()));
/frameworks/compile/libbcc/lib/Core/
H A DSource.cpp162 getIdentifier().c_str(), pSource.getIdentifier().c_str());
189 const std::string &Source::getIdentifier() const { function in class:bcc::Source
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java544 return mService.getAccountsAsUser(type, userHandle.getIdentifier(),
943 mService.removeAccountAsUser(mResponse, account, false, userHandle.getIdentifier());
970 userHandle.getIdentifier());
1552 requiredFeatures, activity != null, optionsIn, userHandle.getIdentifier());
1569 mService.addSharedAccountsFromParentUser(parentUser.getIdentifier(),
1570 user.getIdentifier());
1601 mResponse, account, fromUser.getIdentifier(), toUser.getIdentifier());
1622 boolean val = mService.removeSharedAccountAsUser(account, user.getIdentifier());
1636 return mService.getSharedAccountsAsUser(user.getIdentifier());
[all...]
/frameworks/base/core/java/android/app/usage/
H A DUsageStatsManager.java266 mService.whitelistAppTemporarily(packageName, duration, user.getIdentifier());

Completed in 551 milliseconds

1234