/tools/tradefederation/core/src/com/android/tradefed/util/ |
ProcessInfo.java | 20 * Used to store process related(USER, PID and NAME) information. 29 * Constructs the process info object based on the user, process id and 32 * @param user username of process owner 36 ProcessInfo(String user, int pid, String name) { 37 mUser = user;
|
/external/autotest/frontend/ |
apache_auth.py | 1 from django.contrib.auth.models import User, Group, check_password 16 doing the real authentication. Also ensures logged-in user exists in 17 frontend.afe.models.User database. 21 user = User.objects.get(username=username) 22 except User.DoesNotExist: 24 user = User(username=username, 26 user.is_staff = True 27 user.save() # need to save before adding group [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
UserManagerCompatVL.java | 52 public long getSerialNumberForUser(UserHandle user) { 55 Long serial = mUserToSerialMap.get(user); 59 return mUserManager.getSerialNumberForUser(user); 73 public boolean isQuietModeEnabled(UserHandle user) { 78 public boolean isUserUnlocked(UserHandle user) { 94 for (UserHandle user : users) { 95 long serial = mUserManager.getSerialNumberForUser(user); 96 mUsers.put(serial, user); 97 mUserToSerialMap.put(user, serial); 116 public CharSequence getBadgedLabelForUser(CharSequence label, UserHandle user) { [all...] |
UserManagerCompat.java | 56 public abstract long getSerialNumberForUser(UserHandle user); 58 public abstract CharSequence getBadgedLabelForUser(CharSequence label, UserHandle user); 59 public abstract long getUserCreationTime(UserHandle user); 60 public abstract boolean isQuietModeEnabled(UserHandle user); 61 public abstract boolean isUserUnlocked(UserHandle user);
|
LauncherAppsCompatVL.java | 56 public List<LauncherActivityInfo> getActivityList(String packageName, UserHandle user) { 57 return mLauncherApps.getActivityList(packageName, user); 61 public LauncherActivityInfo resolveActivity(Intent intent, UserHandle user) { 62 return mLauncherApps.resolveActivity(intent, user); 66 public void startActivityForProfile(ComponentName component, UserHandle user, 68 mLauncherApps.startMainActivity(component, user, sourceBounds, opts); 72 public ApplicationInfo getApplicationInfo(String packageName, int flags, UserHandle user) { 73 final boolean isPrimaryUser = Process.myUserHandle().equals(user); 78 mLauncherApps.getActivityList(packageName, user); 98 public void showAppDetailsForProfile(ComponentName component, UserHandle user, [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
ShortcutKey.java | 11 * A key that uniquely identifies a shortcut using its package, id, and user handle. 15 public ShortcutKey(String packageName, UserHandle user, String id) { 17 super(new ComponentName(packageName, id), user); 29 public static ShortcutKey fromIntent(Intent intent, UserHandle user) { 32 return new ShortcutKey(intent.getPackage(), user, shortcutId); 36 return fromIntent(info.getIntent(), info.user);
|
/art/compiler/optimizing/ |
prepare_for_register_allocation.cc | 89 HInstruction* user = use.GetUser(); local 90 if ((user->IsInvokeStaticOrDirect() || user->IsNewInstance()) && 91 CanMoveClinitCheck(check, user)) { 92 implicit_clinit = user; 93 if (user->IsInvokeStaticOrDirect()) { 94 DCHECK(user->AsInvokeStaticOrDirect()->IsStaticWithExplicitClinitCheck()); 95 user->AsInvokeStaticOrDirect()->RemoveExplicitClinitCheck( 98 DCHECK(user->IsNewInstance()); 100 if (user->AsNewInstance()->GetEntrypoint() == kQuickAllocObjectInitialized) 112 HInstruction* user = it->GetUser(); local 163 HInstruction* user = condition->GetUses().front().GetUser(); local [all...] |
/frameworks/base/core/java/android/content/pm/ |
LauncherApps.java | 69 * Class for retrieving a list of launchable activities for the current user and any associated 70 * managed profiles that are visible to the current user, which can be retrieved with 73 * Apps can be queried for each user profile. 98 * if the user accepts. If the user doesn't accept, no further action is required. 116 * if the user accepts. If the user doesn't accept, no further action is required. 156 * @param user The UserHandle of the profile that generated the change. 158 abstract public void onPackageRemoved(String packageName, UserHandle user); 167 * @param user The UserHandle of the profile that generated the change 497 component, sourceBounds, opts, user); local 517 component, sourceBounds, opts, user); local 745 mService.pinShortcuts(mContext.getPackageName(), packageName, shortcutIds, user); local 1167 UserHandle user; field in class:LauncherApps.CallbackMessageHandler.CallbackInfo [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
PackageUserKey.java | 11 /** Creates a hash key based on package name and user. */ 19 return new PackageUserKey(info.getTargetComponent().getPackageName(), info.user); 26 public PackageUserKey(String packageName, UserHandle user) { 27 update(packageName, user); 30 private void update(String packageName, UserHandle user) { 32 mUser = user; 33 mHashCode = Arrays.hashCode(new Object[] {packageName, user}); 42 update(info.getTargetComponent().getPackageName(), info.user);
|
/test/vts/web/dashboard/src/main/java/com/android/vts/entity/ |
UserFavoriteEntity.java | 21 import com.google.appengine.api.users.User; 25 /** Entity describing subscriptions between a user and a test. */ 32 public static final String USER = "user"; 35 public final User user; field in class:UserFavoriteEntity 39 * Create a user favorite relationship. 41 * @param user The User object for the subscribing user 70 User user = (User) e.getProperty(USER); local [all...] |
/external/libvterm/include/ |
vterm.h | 168 int (*text)(const char *bytes, size_t len, void *user); 169 int (*control)(unsigned char control, void *user); 170 int (*escape)(const char *bytes, size_t len, void *user); 171 int (*csi)(const char *leader, const long args[], int argcount, const char *intermed, char command, void *user); 172 int (*osc)(const char *command, size_t cmdlen, void *user); 173 int (*dcs)(const char *command, size_t cmdlen, void *user); 174 int (*resize)(int rows, int cols, void *user); 177 void vterm_set_parser_callbacks(VTerm *vt, const VTermParserCallbacks *callbacks, void *user); 186 int (*putglyph)(VTermGlyphInfo *info, VTermPos pos, void *user); 187 int (*movecursor)(VTermPos pos, VTermPos oldpos, int visible, void *user); [all...] |
/bionic/libc/bionic/ |
initgroups.c | 35 initgroups (const char *user, gid_t group) 42 if (getgrouplist(user, group, groups, &numgroups) < 0) { 46 if (getgrouplist(user,group,groups,&numgroups) < 0) {
|
/external/autotest/frontend/client/src/autotest/afe/ |
ICheckBox.java | 4 import com.google.gwt.user.client.ui.CheckBox; 5 import com.google.gwt.user.client.ui.HasText; 6 import com.google.gwt.user.client.ui.HasValue;
|
IRadioButton.java | 3 import com.google.gwt.user.client.ui.HasText; 4 import com.google.gwt.user.client.ui.HasValue; 5 import com.google.gwt.user.client.ui.RadioButton;
|
RadioChooserDisplay.java | 5 import com.google.gwt.user.client.ui.Composite; 6 import com.google.gwt.user.client.ui.HorizontalPanel; 7 import com.google.gwt.user.client.ui.Panel;
|
/external/autotest/frontend/client/src/autotest/common/ui/ |
ElementWidget.java | 3 import com.google.gwt.user.client.DOM; 4 import com.google.gwt.user.client.Element; 5 import com.google.gwt.user.client.ui.Widget;
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
ArrayListMultimap_CustomFieldSerializer.java | 19 import com.google.gwt.user.client.rpc.SerializationException; 20 import com.google.gwt.user.client.rpc.SerializationStreamReader; 21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
|
EmptyImmutableSortedMap_CustomFieldSerializer.java | 19 import com.google.gwt.user.client.rpc.SerializationException; 20 import com.google.gwt.user.client.rpc.SerializationStreamReader; 21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
|
ExplicitOrdering_CustomFieldSerializer.java | 19 import com.google.gwt.user.client.rpc.SerializationException; 20 import com.google.gwt.user.client.rpc.SerializationStreamReader; 21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
|
HashBasedTable_CustomFieldSerializer.java | 17 import com.google.gwt.user.client.rpc.SerializationException; 18 import com.google.gwt.user.client.rpc.SerializationStreamReader; 19 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
|
HashMultimap_CustomFieldSerializer.java | 19 import com.google.gwt.user.client.rpc.SerializationException; 20 import com.google.gwt.user.client.rpc.SerializationStreamReader; 21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
|
HashMultiset_CustomFieldSerializer.java | 19 import com.google.gwt.user.client.rpc.SerializationException; 20 import com.google.gwt.user.client.rpc.SerializationStreamReader; 21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
|
ImmutableListMultimap_CustomFieldSerializer.java | 19 import com.google.gwt.user.client.rpc.SerializationException; 20 import com.google.gwt.user.client.rpc.SerializationStreamReader; 21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
|
LexicographicalOrdering_CustomFieldSerializer.java | 19 import com.google.gwt.user.client.rpc.SerializationException; 20 import com.google.gwt.user.client.rpc.SerializationStreamReader; 21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
|
LinkedHashMultiset_CustomFieldSerializer.java | 19 import com.google.gwt.user.client.rpc.SerializationException; 20 import com.google.gwt.user.client.rpc.SerializationStreamReader; 21 import com.google.gwt.user.client.rpc.SerializationStreamWriter;
|