HomeSort by relevance Sort by last modified time
    Searched full:userhandle (Results 276 - 300 of 973) sorted by null

<<11121314151617181920>>

  /frameworks/base/services/core/java/com/android/server/telecom/
TelecomLoaderService.java 33 import android.os.UserHandle;
191 if (mContext.bindServiceAsUser(intent, serviceConnection, flags, UserHandle.SYSTEM)) {
306 false, contentObserver, UserHandle.USER_ALL);
308 false, contentObserver, UserHandle.USER_ALL);
326 mContext.registerReceiverAsUser(receiver, UserHandle.ALL,
  /frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DatabaseHelper.java 121 public boolean deleteKeyphraseSoundModel(int keyphraseId, int userHandle, String bcp47Locale) {
125 KeyphraseSoundModel soundModel = getKeyphraseSoundModel(keyphraseId, userHandle,
149 public KeyphraseSoundModel getKeyphraseSoundModel(int keyphraseId, int userHandle,
198 if (userHandle == user) {
209 if (DBG) Slog.d(TAG, "Found a SoundModel for user: " + userHandle);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
ConfigurationMapTest.java 26 import android.os.UserHandle;
65 USER_PROFILES.put(UserHandle.USER_SYSTEM, Arrays.asList(
66 new UserInfo(UserHandle.USER_SYSTEM, "Owner", 0),
74 private int mCurrentUserId = UserHandle.USER_SYSTEM;
203 switchUser(UserHandle.getUserId(config1.creatorUid));
  /packages/apps/Launcher3/src/com/android/launcher3/model/
WidgetsModel.java 157 UserHandleCompat userHandle = null;
169 userHandle = mAppWidgetMgr.getUser(widgetInfo);
183 userHandle = UserHandleCompat.myUserHandle();
186 if (componentName == null || userHandle == null) {
206 mIconCache.getTitleAndIconForApp(packageName, userHandle,
  /packages/apps/Nfc/src/com/android/nfc/
BeamShareActivity.java 35 import android.os.UserHandle;
82 registerReceiverAsUser(mReceiver, UserHandle.ALL, filter, null, null);
198 UserHandle myUserHandle = new UserHandle(UserHandle.myUserId());
  /packages/apps/Settings/src/com/android/settings/vpn2/
AppManagementFragment.java 30 import android.os.UserHandle;
65 private final int mUserId = UserHandle.myUserId();
99 pref.getLabel(), false, new UserHandle(pref.getUserId()));
187 if (mUserId == UserHandle.USER_SYSTEM) {
282 if (mUserId == UserHandle.USER_SYSTEM) {
VpnSettings.java 37 import android.os.UserHandle;
299 UserHandle user = UserHandle.of(pref.getUserId());
385 mConnectedLegacyVpn = mConnectivityService.getLegacyVpnInfo(UserHandle.myUserId());
400 for (UserHandle profile : mUserManager.getUserProfiles()) {
415 for (UserHandle profile : mUserManager.getUserProfiles()) {
431 for (UserHandle profile : UserManager.get(context).getUserProfiles()) {
435 profileIds = Collections.singleton(UserHandle.myUserId());
443 int userId = UserHandle.getUserId(pkg.getUid());
  /packages/services/Telecomm/src/com/android/server/telecom/
CallIntentProcessor.java 10 import android.os.UserHandle;
138 UserHandle initiatingUser = intent.getParcelableExtra(KEY_INITIATING_USER);
169 final UserHandle initiatingUser = intent.getParcelableExtra(KEY_INITIATING_USER);
175 UserHandle parentUserHandle =
244 context.startActivityAsUser(errorIntent, UserHandle.CURRENT);
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsHelper.java 34 import android.os.UserHandle;
294 SparseArray<UserHandle> users = new SparseArray<>(1);
295 users.put(asUser, new UserHandle(asUser));
302 public void refreshStats(int statsType, List<UserHandle> asUsers) {
304 SparseArray<UserHandle> users = new SparseArray<>(n);
306 UserHandle userHandle = asUsers.get(i);
307 users.put(userHandle.getIdentifier(), userHandle);
315 public void refreshStats(int statsType, SparseArray<UserHandle> asUsers)
    [all...]
  /frameworks/base/test-runner/src/android/test/mock/
MockPackageManager.java 53 import android.os.UserHandle;
119 public int getPackageUidAsUser(String packageName, int flags, int userHandle)
126 public int getPackageUidAsUser(String packageName, int userHandle)
242 UserHandle user) {
249 UserHandle user) {
255 public int getPermissionFlags(String permissionName, String packageName, UserHandle user) {
262 int flagMask, int flagValues, UserHandle user) {
530 public Drawable getUserBadgedIcon(Drawable icon, UserHandle user) {
535 public Drawable getUserBadgedDrawableForDensity(Drawable drawable, UserHandle user,
543 public Drawable getUserBadgeForDensity(UserHandle user, int density)
    [all...]
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
TelecomSystemTest.java 48 import android.os.UserHandle;
124 public void clearMissedCalls(UserHandle userHandle) {
136 CallerInfoAsyncQueryFactory callerInfoAsyncQueryFactory, UserHandle userHandle) {
141 public void setCurrentUserHandle(UserHandle userHandle) {
442 ConnectionServiceFixture connectionServiceFixture, UserHandle initiatingUser)
450 ConnectionServiceFixture connectionServiceFixture, UserHandle initiatingUser,
464 ConnectionServiceFixture connectionServiceFixture, UserHandle initiatingUser
    [all...]
  /frameworks/base/core/tests/coretests/src/android/provider/
SettingsProviderTest.java 29 import android.os.UserHandle;
164 assertTrue(findUser(um, UserHandle.USER_SYSTEM));
171 otherUser.id, UserHandle.getCallingUserId());
183 otherUser.id, UserHandle.getCallingUserId());
270 private boolean findUser(UserManager um, int userHandle) {
272 if (user.id == userHandle) {
285 assertTrue(findUser(um, UserHandle.USER_SYSTEM));
303 assertTrue("Running as user " + UserHandle.myUserId()
307 assertTrue("Running as user " + UserHandle.myUserId()
  /frameworks/base/docs/html/sdk/api_diff/21/changes/
android.content.Context.html 132 <A NAME="android.content.Context.removeStickyBroadcastAsUser_changed(android.content.Intent, android.os.UserHandle)"></A>
133 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/content/Context.html#removeStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)" target="_top"><code>removeStickyBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr><nobr></code>) </nobr>
152 <A NAME="android.content.Context.sendStickyBroadcastAsUser_changed(android.content.Intent, android.os.UserHandle)"></A>
153 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/content/Context.html#sendStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)" target="_top"><code>sendStickyBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr><nobr></code>) </nobr>
172 <A NAME="android.content.Context.sendStickyOrderedBroadcastAsUser_changed(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)"></A>
173 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/content/Context.html#sendStickyOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)" target="_top"><code>sendStickyOrderedBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr>,</nobr> BroadcastReceiver<nobr>,</nobr> Handler<nobr>,</nobr> int<nobr>,</nobr> String<nobr>,</nobr> Bundle<nobr><nobr></code>) </nobr>
android.content.pm.PackageManager.html 100 <A NAME="android.content.pm.PackageManager.getUserBadgedDrawableForDensity_added(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int)"></A>
101 <nobr><code>Drawable</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#getUserBadgedDrawableForDensity(android.graphics.drawable.Drawable, android.os.UserHandle, android.graphics.Rect, int)" target="_top"><code>getUserBadgedDrawableForDensity</code></A>(<code>Drawable,</nobr> UserHandle<nobr>,</nobr> Rect<nobr>,</nobr> int<nobr><nobr></code>)</nobr>
107 <A NAME="android.content.pm.PackageManager.getUserBadgedIcon_added(android.graphics.drawable.Drawable, android.os.UserHandle)"></A>
108 <nobr><code>Drawable</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#getUserBadgedIcon(android.graphics.drawable.Drawable, android.os.UserHandle)" target="_top"><code>getUserBadgedIcon</code></A>(<code>Drawable,</nobr> UserHandle<nobr><nobr></code>)</nobr>
114 <A NAME="android.content.pm.PackageManager.getUserBadgedLabel_added(java.lang.CharSequence, android.os.UserHandle)"></A>
115 <nobr><code>CharSequence</code>&nbsp;<A HREF="../../../../reference/android/content/pm/PackageManager.html#getUserBadgedLabel(java.lang.CharSequence, android.os.UserHandle)" target="_top"><code>getUserBadgedLabel</code></A>(<code>CharSequence,</nobr> UserHandle<nobr><nobr></code>)</nobr>
android.appwidget.AppWidgetManager.html 86 <A NAME="android.appwidget.AppWidgetManager.bindAppWidgetIdIfAllowed_added(int, android.os.UserHandle, android.content.ComponentName, android.os.Bundle)"></A>
87 <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/appwidget/AppWidgetManager.html#bindAppWidgetIdIfAllowed(int, android.os.UserHandle, android.content.ComponentName, android.os.Bundle)" target="_top"><code>bindAppWidgetIdIfAllowed</code></A>(<code>int,</nobr> UserHandle<nobr>,</nobr> ComponentName<nobr>,</nobr> Bundle<nobr><nobr></code>)</nobr>
93 <A NAME="android.appwidget.AppWidgetManager.getInstalledProvidersForProfile_added(android.os.UserHandle)"></A>
94 <nobr><code>List&lt;AppWidgetProviderInfo&gt;</code>&nbsp;<A HREF="../../../../reference/android/appwidget/AppWidgetManager.html#getInstalledProvidersForProfile(android.os.UserHandle)" target="_top"><code>getInstalledProvidersForProfile</code></A>(<code>UserHandle</code>)</nobr>
  /frameworks/base/docs/html/sdk/api_diff/23/changes/
android.content.ContextWrapper.html 168 <A NAME="android.content.ContextWrapper.removeStickyBroadcastAsUser_changed(android.content.Intent, android.os.UserHandle)"></A>
169 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/content/ContextWrapper.html#removeStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)" target="_top"><code>removeStickyBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr><nobr></code>) </nobr>
188 <A NAME="android.content.ContextWrapper.sendStickyBroadcastAsUser_changed(android.content.Intent, android.os.UserHandle)"></A>
189 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/content/ContextWrapper.html#sendStickyBroadcastAsUser(android.content.Intent, android.os.UserHandle)" target="_top"><code>sendStickyBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr><nobr></code>) </nobr>
208 <A NAME="android.content.ContextWrapper.sendStickyOrderedBroadcastAsUser_changed(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)"></A>
209 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/content/ContextWrapper.html#sendStickyOrderedBroadcastAsUser(android.content.Intent, android.os.UserHandle, android.content.BroadcastReceiver, android.os.Handler, int, java.lang.String, android.os.Bundle)" target="_top"><code>sendStickyOrderedBroadcastAsUser</code></A>(<code>Intent,</nobr> UserHandle<nobr>,</nobr> BroadcastReceiver<nobr>,</nobr> Handler<nobr>,</nobr> int<nobr>,</nobr> String<nobr>,</nobr> Bundle<nobr><nobr></code>) </nobr>
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
AppPermissionGroup.java 29 import android.os.UserHandle;
45 private final UserHandle mUserHandle;
102 UserHandle userHandle) {
107 userHandle);
158 requestedPermission, packageInfo.packageName, userHandle);
187 String iconPkg, int iconResId, UserHandle userHandle) {
189 mUserHandle = userHandle;
  /packages/apps/Settings/src/com/android/settings/
DeviceAdminSettings.java 40 import android.os.UserHandle;
132 mBroadcastReceiver, UserHandle.ALL, filter, null, null);
138 final List<UserHandle> profiles = mUm.getUserProfiles();
160 final List<UserHandle> profiles = mUm.getUserProfiles();
175 final UserHandle user = new UserHandle(getUserId(dpi));
284 activityIcon, new UserHandle(getUserId(item)));
301 return getUserId(item) == UserHandle.myUserId()
442 return UserHandle.getUserId(adminInfo.getActivityInfo().applicationInfo.uid);
  /frameworks/base/services/core/java/com/android/server/pm/
PermissionsState.java 20 import android.os.UserHandle;
156 return grantPermission(permission, UserHandle.USER_ALL);
168 return revokePermission(permission, UserHandle.USER_ALL);
182 if (userId == UserHandle.USER_ALL) {
199 if (userId == UserHandle.USER_ALL) {
225 return hasPermission(name, UserHandle.USER_ALL);
287 if (userId != UserHandle.USER_ALL) {
304 return getPermissionState(name, UserHandle.USER_ALL);
325 return getPermissionStatesInternal(UserHandle.USER_ALL);
578 if (userId != UserHandle.USER_ALL && userId < 0)
    [all...]
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
Utils.java 59 import android.os.UserHandle;
259 return UserHandle.myUserId() == UserHandle.USER_SYSTEM;
276 UserInfo user = um.getUserInfo(UserHandle.myUserId());
369 int currentUserId = UserHandle.myUserId();
370 int managedProfileUserId = UserHandle.USER_NULL;
430 int currentUserId = UserHandle.myUserId();
465 public UserHandle getManagedProfile(Context context) {
471 return new UserHandle(profile.id);
482 UserHandle managedUser = getManagedProfile(context)
    [all...]
  /frameworks/base/core/java/android/provider/
CallLog.java 30 import android.os.UserHandle;
526 * @param userToBeInsertedTo {@link UserHandle} of user that the call is going to be
536 Long dataUsage, boolean addForAllUsers, UserHandle userToBeInsertedTo) {
565 * @param userToBeInsertedTo {@link UserHandle} of user that the call is going to be
579 Long dataUsage, boolean addForAllUsers, UserHandle userToBeInsertedTo,
730 context, userManager, UserHandle.SYSTEM, values);
738 if (UserHandle.USER_SYSTEM == currentUserId) {
    [all...]
  /frameworks/base/docs/html/sdk/api_diff/24/changes/
android.os.UserManager.html 93 <A NAME="android.os.UserManager.isQuietModeEnabled_added(android.os.UserHandle)"></A>
94 <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#isQuietModeEnabled(android.os.UserHandle)" target="_top"><code>isQuietModeEnabled</code></A>(<code>UserHandle</code>)</nobr>
107 <A NAME="android.os.UserManager.isUserUnlocked_added(android.os.UserHandle)"></A>
108 <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/os/UserManager.html#isUserUnlocked(android.os.UserHandle)" target="_top"><code>isUserUnlocked</code></A>(<code>UserHandle</code>)</nobr>
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
TileUtils.java 28 import android.os.UserHandle;
120 for (UserHandle user : userManager.getUserProfiles()) {
178 UserHandle user, String action, Map<Pair<String, String>, Tile> addedCache,
188 public static void getTilesForIntent(Context context, UserHandle user, Intent intent,
227 if (!tile.userHandle.contains(user)) {
228 tile.userHandle.add(user);
  /frameworks/base/services/core/java/com/android/server/am/
ProviderMap.java 22 import android.os.UserHandle;
106 final int userId = UserHandle.getUserId(record.appInfo.uid);
119 final int userId = UserHandle.getUserId(record.appInfo.uid);
214 if (userId == UserHandle.USER_ALL || userId == UserHandle.USER_SYSTEM) {
221 if (userId == UserHandle.USER_ALL) {
  /frameworks/base/services/tests/servicestests/src/com/android/server/notification/
BuzzBeepBlinkTest.java 27 import android.os.UserHandle;
63 private android.os.UserHandle mUser = UserHandle.of(ActivityManager.getCurrentUser());
166 verify(mRingtonePlayer, never()).playAsync((Uri) anyObject(), (UserHandle) anyObject(),
171 verify(mRingtonePlayer, times(1)).playAsync((Uri) anyObject(), (UserHandle) anyObject(),
176 verify(mRingtonePlayer, times(1)).playAsync((Uri) anyObject(), (UserHandle) anyObject(),

Completed in 725 milliseconds

<<11121314151617181920>>