HomeSort by relevance Sort by last modified time
    Searched full:userhandle (Results 301 - 325 of 995) sorted by null

<<11121314151617181920>>

  /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);
  /packages/apps/Settings/src/com/android/settings/vpn2/
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());
  /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);
288 if (userId != UserHandle.USER_ALL) {
305 return getPermissionState(name, UserHandle.USER_ALL);
326 return getPermissionStatesInternal(UserHandle.USER_ALL);
579 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;
523 * @param userToBeInsertedTo {@link UserHandle} of user that the call is going to be
533 Long dataUsage, boolean addForAllUsers, UserHandle userToBeInsertedTo) {
562 * @param userToBeInsertedTo {@link UserHandle} of user that the call is going to be
576 Long dataUsage, boolean addForAllUsers, UserHandle userToBeInsertedTo,
727 context, userManager, UserHandle.SYSTEM, values);
735 if (UserHandle.USER_SYSTEM == currentUserId) {
    [all...]
ContactsInternal.java 26 import android.os.UserHandle;
75 UserHandle user) {
  /frameworks/base/docs/html/sdk/api_diff/21/changes/
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/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;
123 for (UserHandle user : userManager.getUserProfiles()) {
183 UserHandle user, String action, Map<Pair<String, String>, Tile> addedCache,
193 public static void getTilesForIntent(Context context, UserHandle user, Intent intent,
232 if (!tile.userHandle.contains(user)) {
233 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());
167 verify(mRingtonePlayer, never()).playAsync((Uri) anyObject(), (UserHandle) anyObject(),
172 verify(mRingtonePlayer, times(1)).playAsync((Uri) anyObject(), (UserHandle) anyObject(),
177 verify(mRingtonePlayer, times(1)).playAsync((Uri) anyObject(), (UserHandle) anyObject(),
  /packages/apps/Bluetooth/src/com/android/bluetooth/
Utils.java 32 import android.os.UserHandle;
204 int callingUser = UserHandle.getCallingUserId();
216 UserHandle.USER_SYSTEM);
236 int callingUser = UserHandle.getCallingUserId();
242 int parentUser = (ui != null) ? ui.id : UserHandle.USER_NULL;
251 UserHandle.USER_SYSTEM);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
AccountSyncFragment.java 33 import android.os.UserHandle;
59 private UserHandle mUserHandle;
93 mUserHandle = new UserHandle(UserHandle.myUserId());
261 public void onAccountsUpdate(UserHandle userHandle) {
  /frameworks/base/services/core/java/com/android/server/connectivity/
Vpn.java 70 import android.os.UserHandle;
210 int userHandle) {
213 mUserHandle = userHandle;
317 mPackageIntentReceiver, UserHandle.of(mUserHandle), intentFilter, null, null);
388 return mContext.startServiceAsUser(serviceIntent, UserHandle.of(mUserHandle)) != null;
564 private int getAppUid(String app, int userHandle) {
571 result = pm.getPackageUidAsUser(app, userHandle);
773 new UserHandle(mUserHandle))) {
832 private SortedSet<Integer> getAppsUids(List<String> packageNames, int userHandle) {
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/
P2pLinkManager.java 52 import android.os.UserHandle;
231 UserHandle mUserHandle; // not valid in SEND_STATE_NOTHING_TO_SEND
346 mUserHandle = shareData.userHandle;
428 new UserHandle(userId)).getPackageManager();
460 mUserHandle = shareData.userHandle;
495 UserInfo userInfo = userManager.getUserInfo(UserHandle.getUserId(uid));
745 int doHandover(Uri[] uris, UserHandle userHandle) throws IOException {
773 mHandoverDataParser.getOutgoingHandoverData(response), uris, userHandle)) {
793 UserHandle userHandle
    [all...]
  /frameworks/base/core/java/android/app/
ContextImpl.java 62 import android.os.UserHandle;
110 public Intent registerReceiverAsUser(BroadcastReceiver receiver, UserHandle user,
154 private final UserHandle mUser;
773 public void startActivityAsUser(Intent intent, UserHandle user) {
798 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) {
818 public void startActivitiesAsUser(Intent[] intents, Bundle options, UserHandle userHandle) {
827 (Activity) null, intents, options, userHandle.getIdentifier());
    [all...]
  /frameworks/base/core/java/android/app/admin/
DevicePolicyManager.java 46 import android.os.UserHandle;
126 return UserHandle.myUserId();
    [all...]
  /frameworks/base/services/appwidget/java/com/android/server/appwidget/
AppWidgetServiceImpl.java 69 import android.os.UserHandle;
158 final int userId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
263 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL,
273 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL,
280 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL,
286 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL,
292 mContext.registerReceiverAsUser(mBroadcastReceiver, UserHandle.ALL,
414 if (newPackageAdded && userId == UserHandle.USER_SYSTEM) {
540 UserHandle.of(providerUserId));
746 final int userId = UserHandle.getCallingUserId()
    [all...]
  /cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/
ShortcutManagerDeviceTestBase.java 30 import android.os.UserHandle;
76 protected UserHandle getUserHandle() {
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyNetworkMonitor.java 28 import android.os.UserHandle;
88 am.registerReceiver(null, null, this, filter, null, UserHandle.USER_ALL);
  /device/google/dragon/crash_collector/src/com/android/crashreportprovider/
CrashReportProvider.java 28 import android.os.UserHandle;
55 getContext().sendBroadcastAsUser(intent, UserHandle.OWNER,
  /frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
ShellUiAutomatorBridge.java 32 import android.os.UserHandle;
64 providerName, UserHandle.USER_SYSTEM, token);
  /frameworks/base/core/java/android/content/pm/
ResolveInfo.java 24 import android.os.UserHandle;
145 * If not equal to UserHandle.USER_CURRENT, then the intent will be forwarded to this user.
242 return pm.getUserBadgedIcon(dr, new UserHandle(UserHandle.myUserId()));
312 targetUserId = UserHandle.USER_CURRENT;
352 if (targetUserId != UserHandle.USER_CURRENT) {
454 if (a.targetUserId != UserHandle.USER_CURRENT) {
457 if (b.targetUserId != UserHandle.USER_CURRENT) {
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
LocalPreferences.java 25 import android.os.UserHandle;
113 final int userId = UserHandle.myUserId();

Completed in 1606 milliseconds

<<11121314151617181920>>