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

123456

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/
H A DProfileSelectDialogTest.java55 NORMAL_USER.getIdentifier(), "test_user", UserInfo.FLAG_RESTRICTED);
56 when(mUserManager.getUserInfo(NORMAL_USER.getIdentifier())).thenReturn(userInfo);
68 assertEquals(tile.userHandle.get(0).getIdentifier(), NORMAL_USER.getIdentifier());
69 verify(mUserManager, never()).getUserInfo(NORMAL_USER.getIdentifier());
83 assertEquals(tile.userHandle.get(0).getIdentifier(), NORMAL_USER.getIdentifier());
84 verify(mUserManager, times(1)).getUserInfo(NORMAL_USER.getIdentifier());
85 verify(mUserManager, times(2)).getUserInfo(REMOVED_USER.getIdentifier());
/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/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DPluginUtils.java24 int i = sysuiContext.getResources().getIdentifier(id, "id", sysuiContext.getPackageName());
/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 "
84 Slog.i(TAG, "User " + mHandle.getIdentifier() + " state changed from "
86 EventLogTags.writeAmUserStateChanged(mHandle.getIdentifier(), newState);
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbSettingsManager.java90 UserInfo parentUserInfo = mUserManager.getProfileParent(user.getIdentifier());
99 parentUser.getIdentifier());
102 mSettingsByProfileGroup.put(parentUser.getIdentifier(), settings);
115 mSettingsByUser.remove(userToRemove.getIdentifier());
119 if (mSettingsByProfileGroup.indexOfKey(userToRemove.getIdentifier()) >= 0) {
122 mSettingsByProfileGroup.remove(userToRemove.getIdentifier());
/frameworks/base/services/print/java/com/android/server/print/
H A DRemotePrintSpooler.java176 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfos()");
198 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] createPrintJob()");
219 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] writePrintJobData()");
244 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] getPrintJobInfo()");
267 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setPrintJobState()");
296 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setProgress()");
323 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setStatus()");
352 Slog.i(LOG_TAG, "[user: " + mUserHandle.getIdentifier() + "] setStatus()");
383 "[user: " + mUserHandle.getIdentifier() + "] onCustomPrinterIconLoaded()");
416 "[user: " + mUserHandle.getIdentifier()
[all...]
/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/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/
H A DDetailedCard.java69 .getIdentifier(getLocalImageResource(), "drawable", context.getPackageName());
H A DSong.java98 .getIdentifier(mFile, "raw", context.getPackageName());
103 .getIdentifier(mImage, "drawable", context.getPackageName());
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/
H A DDetailedCard.java69 .getIdentifier(getLocalImageResource(), "drawable", context.getPackageName());
H A DSong.java98 .getIdentifier(mFile, "raw", context.getPackageName());
103 .getIdentifier(mImage, "drawable", context.getPackageName());
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DCertificateMonitor.java145 if (!mInjector.getUserManager().isUserUnlocked(userHandle.getIdentifier())) {
183 int parentUserId = userHandle.getIdentifier();
185 if (mService.getProfileOwner(userHandle.getIdentifier()) != null) {
187 mService.getProfileOwnerName(userHandle.getIdentifier()));
189 parentUserId = mService.getProfileParentId(userHandle.getIdentifier());
190 } else if (mService.getDeviceOwnerUserId() == userHandle.getIdentifier()) {
204 dialogIntent.putExtra(Intent.EXTRA_USER_ID, userHandle.getIdentifier());
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DPartner.java91 final int partnerId = partner.getIdentifier(name, type);
176 public int getIdentifier(String name, String defType) { method in class:Partner
177 return mResources.getIdentifier(name, defType, mPackageName);
/frameworks/base/core/jni/
H A Dandroid_view_InputDevice.cpp46 env->NewStringUTF(deviceInfo.getIdentifier().descriptor.string()));
58 const InputDeviceIdentifier& ident = deviceInfo.getIdentifier();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
H A DProfileSelectDialog.java84 if (userManager.getUserInfo(userHandles.get(i).getIdentifier()) == null) {
86 Log.d(TAG, "Delete the user: " + userHandles.get(i).getIdentifier());
/frameworks/base/services/core/java/com/android/server/pm/
H A DLauncherAppsService.java222 return canAccessProfile(callingPackage, targetUser.getIdentifier(), message);
284 return isUserEnabled(user.getIdentifier());
327 callingUid, user.getIdentifier());
358 callingUid, user.getIdentifier());
407 callingUid, user.getIdentifier());
431 callingUid, user.getIdentifier());
464 componentName, flags, targetUser.getIdentifier()));
480 callingPackage, packageName, ids, targetUser.getIdentifier());
594 callingUid, user.getIdentifier());
627 callingUid, user.getIdentifier());
[all...]
/frameworks/base/core/java/android/content/pm/
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.java1138 return isUserRunning(user.getIdentifier());
1170 user.getIdentifier(), ActivityManager.FLAG_OR_STOPPED);
1213 return isUserUnlocked(user.getIdentifier());
1227 return isUserUnlockingOrUnlocked(user.getIdentifier());
1271 return mService.getUserRestrictionSource(restrictionKey, userHandle.getIdentifier());
1290 return mService.getUserRestrictionSources(restrictionKey, userHandle.getIdentifier());
1311 return mService.getUserRestrictions(userHandle.getIdentifier());
1327 return mService.hasBaseUserRestriction(restrictionKey, userHandle.getIdentifier());
1383 mService.setUserRestriction(key, value, userHandle.getIdentifier());
1410 userHandle.getIdentifier());
[all...]
/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.java117 String sbnKey = user.getIdentifier() + "|" + pkg + "|" + id + "|" + tag + "|" + uid;
126 return user.getIdentifier() + "|" + pkg + "|" + "g:" + overrideGroupKey;
134 return user.getIdentifier() + "|" + pkg + "|" +
252 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.h96 const std::string &getIdentifier() const;

Completed in 590 milliseconds

123456