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

1 2 3 4 5 6 7 891011>>

  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
InCallControllerTests.java 30 import android.os.UserHandle;
91 private UserHandle mUserHandle = UserHandle.of(CURRENT_USER_ID);
129 eq(UserHandle.CURRENT));
161 eq(UserHandle.CURRENT));
187 anyInt(), eq(UserHandle.CURRENT))).thenReturn(true);
229 eq(UserHandle.CURRENT));
256 eq(UserHandle.CURRENT))).thenReturn(true);
298 eq(UserHandle.CURRENT));
324 any(Intent.class), any(ServiceConnection.class), anyInt(), any(UserHandle.class))
    [all...]
  /packages/services/Telephony/sip/src/com/android/services/telephony/sip/
SipBroadcastReceiver.java 24 import android.os.UserHandle;
94 return UserHandle.myUserId() == UserHandle.USER_SYSTEM;
  /packages/services/Telephony/src/com/android/phone/vvm/omtp/
SimChangeReceiver.java 21 import android.os.UserHandle;
50 if (UserHandle.myUserId() != UserHandle.USER_SYSTEM) {
  /frameworks/base/cmds/telecom/src/com/android/commands/telecom/
Telecom.java 26 import android.os.UserHandle;
199 UserHandle userHandle;
202 userHandle = UserHandle.of(mUserManager.getUserHandle(userSn));
206 return new PhoneAccountHandle(component, accountId, userHandle);
  /frameworks/base/docs/html/sdk/api_diff/24/changes/
android.content.pm.LauncherApps.Callback.html 86 <A NAME="android.content.pm.LauncherApps.Callback.onPackagesSuspended_added(java.lang.String[], android.os.UserHandle)"></A>
87 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/content/pm/LauncherApps.Callback.html#onPackagesSuspended(java.lang.String[], android.os.UserHandle)" target="_top"><code>onPackagesSuspended</code></A>(<code>String[],</nobr> UserHandle<nobr><nobr></code>)</nobr>
93 <A NAME="android.content.pm.LauncherApps.Callback.onPackagesUnsuspended_added(java.lang.String[], android.os.UserHandle)"></A>
94 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/content/pm/LauncherApps.Callback.html#onPackagesUnsuspended(java.lang.String[], android.os.UserHandle)" target="_top"><code>onPackagesUnsuspended</code></A>(<code>String[],</nobr> UserHandle<nobr><nobr></code>)</nobr>
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
SecurityControllerImpl.java 31 import android.os.UserHandle;
130 return getNameForVpnConfig(cfg, new UserHandle(mVpnUserId));
144 return getNameForVpnConfig(cfg, UserHandle.of(profileId));
162 UserHandle currentUser = new UserHandle(mCurrentUserId);
198 private String getNameForVpnConfig(VpnConfig cfg, UserHandle user) {
  /frameworks/base/services/core/java/com/android/server/am/
ActivityManagerShellCommand.java 23 import android.os.UserHandle;
79 int userId = UserHandle.parseUserArg(getNextArgRequired());
86 int userId = UserHandle.USER_ALL;
91 userId = UserHandle.parseUserArg(getNextArgRequired());
102 int userId = UserHandle.USER_ALL;
107 userId = UserHandle.parseUserArg(getNextArgRequired());
  /frameworks/base/services/core/java/com/android/server/notification/
ZenModeFiltering.java 25 import android.os.UserHandle;
79 UserHandle userHandle, Bundle extras, ValidateNotificationPeople validator,
87 final float contactAffinity = validator.getContactAffinity(userHandle, extras,
211 if (userId == UserHandle.USER_NULL || userId == UserHandle.USER_ALL) return false;
  /packages/apps/Settings/src/com/android/settings/
PrivacySettings.java 29 import android.os.UserHandle;
280 mIsPrimary = UserHandle.myUserId() == UserHandle.USER_SYSTEM;
315 isServiceActive = backupManager.isBackupServiceActive(UserHandle.myUserId());
331 UserManager.DISALLOW_FACTORY_RESET, UserHandle.myUserId())) {
335 UserManager.DISALLOW_NETWORK_RESET, UserHandle.myUserId())) {
OwnerInfoSettings.java 26 import android.os.UserHandle;
46 mUserId = UserHandle.myUserId();
TetherProvisioningActivity.java 25 import android.os.UserHandle;
68 startActivityForResultAsUser(intent, PROVISION_REQUEST, UserHandle.CURRENT);
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
WipeDataTest.java 22 import android.os.UserHandle;
48 UserHandle currentUser = Process.myUserHandle();
  /frameworks/base/core/java/com/android/internal/content/
PackageMonitor.java 26 import android.os.UserHandle;
66 int mChangeUserId = UserHandle.USER_NULL;
75 public void register(Context context, Looper thread, UserHandle user,
81 public void register(Context context, UserHandle user,
183 public void onHandleUserStop(Intent intent, int userHandle) {
295 UserHandle.USER_NULL);
296 if (mChangeUserId == UserHandle.USER_NULL) {
435 mChangeUserId = UserHandle.USER_NULL;
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
ObscureSpeechDelegate.java 22 import android.os.UserHandle;
90 Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD, 0, UserHandle.USER_CURRENT) != 0) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
RestrictedPreference.java 20 import android.os.UserHandle;
86 mHelper.checkRestrictionAndSetDisabled(userRestriction, UserHandle.myUserId());
  /frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
SettingsProviderTest.java 27 import android.os.UserHandle;
50 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_GLOBAL, UserHandle.USER_SYSTEM);
54 if (mSecondaryUserId == UserHandle.USER_SYSTEM) {
63 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_SECURE, UserHandle.USER_SYSTEM);
67 if (mSecondaryUserId == UserHandle.USER_SYSTEM) {
76 performSetAndGetSettingTestViaFrontEndApi(SETTING_TYPE_SYSTEM, UserHandle.USER_SYSTEM);
80 if (mSecondaryUserId == UserHandle.USER_SYSTEM) {
360 }, type, name, value, UserHandle.USER_SYSTEM);
  /frameworks/base/packages/Shell/src/com/android/shell/
RemoteBugreportReceiver.java 32 import android.os.UserHandle;
64 context.sendBroadcastAsUser(newIntent, UserHandle.SYSTEM,
  /frameworks/base/packages/SystemUI/src/com/android/systemui/power/
PowerNotificationWarnings.java 36 import android.os.UserHandle;
130 mNoMan.cancelAsUser(TAG_NOTIFICATION, R.id.notification_power, UserHandle.ALL);
149 mNoMan.notifyAsUser(TAG_NOTIFICATION, R.id.notification_power, n, UserHandle.ALL);
179 mNoMan.notifyAsUser(TAG_NOTIFICATION, R.id.notification_power, nb.build(), UserHandle.ALL);
184 0, intent, 0, null, UserHandle.CURRENT);
189 0, new Intent(action), 0, UserHandle.CURRENT);
318 mContext.registerReceiverAsUser(this, UserHandle.ALL, filter,
328 mContext.startActivityAsUser(mOpenBatterySettings, UserHandle.CURRENT);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
RecentsPackageMonitor.java 20 import android.os.UserHandle;
39 register(context, BackgroundThread.get().getLooper(), UserHandle.ALL, true);
  /frameworks/base/services/core/java/com/android/server/
HardwarePropertiesManagerService.java 26 import android.os.UserHandle;
99 final int userId = UserHandle.getUserId(uid);
SensorNotificationService.java 29 import android.os.UserHandle;
68 mContext.sendBroadcastAsUser(i, UserHandle.ALL);
  /frameworks/base/services/core/java/com/android/server/clipboard/
ClipboardService.java 45 import android.os.UserHandle;
140 return getClipboard(UserHandle.getCallingUserId());
171 final int userId = UserHandle.getUserId(callingUid);
317 ContentProvider.getUserIdFromUri(uri, UserHandle.getUserId(uid)));
366 final int targetUserHandle = UserHandle.getCallingUserId();
373 if (!UserHandle.isSameApp(pi.applicationInfo.uid, uid)) {
386 grantItemLocked(clipboard.primaryClip.getItemAt(i), pkg, UserHandle.getUserId(uid));
394 UserHandle.getUserId(Binder.getCallingUid()));
  /frameworks/base/services/core/java/com/android/server/media/
MediaResourceMonitorService.java 26 import android.os.UserHandle;
67 new UserHandle(ActivityManager.getCurrentUser()),
  /frameworks/base/services/core/java/com/android/server/pm/
ProtectedPackages.java 20 import android.os.UserHandle;
49 (deviceOwnerUserId == UserHandle.USER_NULL) ? null : deviceOwnerPackage;
  /frameworks/native/opengl/tools/glgen/stubs/jsr239/
GLImplHeader.java-impl 25 import android.os.UserHandle;
70 ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserHandle.myUserId());

Completed in 902 milliseconds

1 2 3 4 5 6 7 891011>>