OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:userhandle
(Results
426 - 450
of
973
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/frameworks/base/core/java/android/database/
ContentObserver.java
21
import android.os.
UserHandle
;
140
* user or {@link
UserHandle
#USER_ALL}.
178
dispatchChange(selfChange, uri,
UserHandle
.getCallingUserId());
AbstractCursor.java
22
import android.os.
UserHandle
;
390
setNotificationUri(cr, notifyUri,
UserHandle
.myUserId());
394
public void setNotificationUri(ContentResolver cr, Uri notifyUri, int
userHandle
) {
402
mContentResolver.registerContentObserver(mNotifyUri, true, mSelfObserver,
userHandle
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DataCollector.java
27
import android.os.
UserHandle
;
83
UserHandle
.USER_ALL);
88
UserHandle
.USER_ALL);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
KeyguardBouncer.java
21
import android.os.
UserHandle
;
83
if (keyguardUserId ==
UserHandle
.USER_SYSTEM && UserManager.isSplitSystemUser()) {
100
!(UserManager.isSplitSystemUser() && activeUserId ==
UserHandle
.USER_SYSTEM)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
ZenModeControllerImpl.java
31
import android.os.
UserHandle
;
95
new
UserHandle
(mUserId));
147
mContext.registerReceiverAsUser(mReceiver, new
UserHandle
(mUserId), filter, null, null);
/frameworks/base/services/core/java/com/android/server/tv/
PersistentDataStore.java
25
import android.os.
UserHandle
;
225
TvInputManager.ACTION_PARENTAL_CONTROLS_ENABLED_CHANGED),
UserHandle
.ALL);
230
UserHandle
.ALL);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
CarrierServiceBindHelper.java
31
import android.os.
UserHandle
;
102
context, mHandler.getLooper(),
UserHandle
.ALL, false /* externalStorage */);
103
mContext.registerReceiverAsUser(mUserUnlockedReceiver,
UserHandle
.SYSTEM,
/packages/apps/Settings/src/com/android/settings/
ResetNetwork.java
23
import android.os.
UserHandle
;
188
getActivity(), UserManager.DISALLOW_NETWORK_RESET,
UserHandle
.myUserId());
190
UserManager.DISALLOW_NETWORK_RESET,
UserHandle
.myUserId())) {
/packages/apps/Settings/src/com/android/settings/accounts/
AddAccountSettings.java
30
import android.os.
UserHandle
;
58
* An extra {@link
UserHandle
} can be specified in the intent as {@link EXTRA_USER}, if the user for
130
private
UserHandle
mUserHandle;
ChooseAccountActivity.java
33
import android.os.
UserHandle
;
58
* An extra {@link
UserHandle
} can be specified in the intent as {@link EXTRA_USER}, if the user for
72
// The
UserHandle
of the user we are choosing an account for
73
private
UserHandle
mUserHandle;
/packages/apps/Settings/src/com/android/settings/notification/
ZenModeEventRuleSettings.java
23
import android.os.
UserHandle
;
180
for (
UserHandle
user : UserManager.get(context).getUserProfiles()) {
190
private static Context getContextForUser(Context context,
UserHandle
user) {
/packages/apps/Settings/src/com/android/settings/wifi/
WifiEnabler.java
29
import android.os.
UserHandle
;
170
UserManager.DISALLOW_CONFIG_TETHERING,
UserHandle
.myUserId())) {
174
UserManager.DISALLOW_CONFIG_TETHERING,
UserHandle
.myUserId());
/packages/providers/MediaProvider/src/com/android/providers/media/
MtpService.java
28
import android.os.
UserHandle
;
142
final boolean isCurrentUser =
UserHandle
.myUserId() == ActivityManager.getCurrentUser();
154
final boolean isCurrentUser =
UserHandle
.myUserId() == ActivityManager.getCurrentUser();
/platform_testing/tests/functional/appsmoke/src/android/test/appsmoke/
AppSmokeTest.java
29
import android.os.
UserHandle
;
181
for (
UserHandle
handle : um.getUserProfiles()) {
221
mAppInfo.packageName,
UserHandle
.USER_ALL);
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
SecurityLoggingTest.java
19
import android.os.
UserHandle
;
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
CrossProfileWidgetTest.java
27
import android.os.
UserHandle
;
/frameworks/base/core/java/android/app/usage/
UsageStatsManager.java
23
import android.os.
UserHandle
;
232
return mService.isAppInactive(packageName,
UserHandle
.myUserId());
244
mService.setAppInactive(packageName, inactive,
UserHandle
.myUserId());
264
public void whitelistAppTemporarily(String packageName, long duration,
UserHandle
user) {
/frameworks/base/core/java/android/net/
UidRange.java
19
import static android.os.
UserHandle
.PER_USER_RANGE;
/frameworks/base/core/java/android/text/format/
DateFormat.java
20
import android.os.
UserHandle
;
168
return is24HourFormat(context,
UserHandle
.myUserId());
174
* @param
userHandle
the user handle of the user to query.
179
public static boolean is24HourFormat(Context context, int
userHandle
) {
181
Settings.System.TIME_12_24,
userHandle
);
267
return getTimeFormatString(context,
UserHandle
.myUserId());
274
* @param
userHandle
the user handle of the user to query the format for
277
public static String getTimeFormatString(Context context, int
userHandle
) {
279
return is24HourFormat(context,
userHandle
) ? d.timeFormat_Hm : d.timeFormat_hm;
/frameworks/base/services/core/java/com/android/server/job/controllers/
JobStatus.java
26
import android.os.
UserHandle
;
146
this.sourceUserId =
UserHandle
.getUserId(callingUid);
256
UserHandle
.formatUid(pw, callingUid);
282
return
UserHandle
.getUserId(callingUid);
428
return filterUid == -1 ||
UserHandle
.getAppId(getUid()) == filterUid
429
||
UserHandle
.getAppId(getSourceUid()) == filterUid;
523
UserHandle
.formatUid(sb, callingUid);
578
pw.print(prefix);
UserHandle
.formatUid(pw, callingUid);
581
pw.print("Source: uid=");
UserHandle
.formatUid(pw, getSourceUid());
/frameworks/base/services/core/java/com/android/server/media/
MediaSessionStack.java
25
import android.os.
UserHandle
;
289
UserHandle
.USER_ALL);
309
* @param userId The user to get sessions for. {@link
UserHandle
#USER_ALL}
324
if (userId !=
UserHandle
.USER_ALL && userId != session.getUserId()) {
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
VoiceInteractionManagerServiceImpl.java
35
import android.os.
UserHandle
;
112
int
userHandle
, ComponentName service) {
116
mUser =
userHandle
;
302
Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE, new
UserHandle
(mUser));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiNotificationController.java
34
import android.os.
UserHandle
;
255
.getPendingIntent(0, 0, null,
UserHandle
.CURRENT))
271
mNotificationBuilder.build(),
UserHandle
.ALL);
273
notificationManager.cancelAsUser(null, ICON_NETWORKS_AVAILABLE,
UserHandle
.ALL);
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DeviceOwnerProvisioningService.java
31
import android.os.
UserHandle
;
266
UserHandle
.myUserId(), leaveAllSystemAppsEnabled,
283
UserHandle
.myUserId(), UserManager.isSplitSystemUser());
356
mParams.accountToMigrate,
UserHandle
.SYSTEM,
/packages/apps/Settings/src/com/android/settings/applications/
AppStateOverlayBridge.java
67
super(permissionState.packageName, permissionState.
userHandle
);
Completed in 899 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>