Home
last modified time | relevance | path

Searched refs:user (Results 1 – 25 of 65) sorted by relevance

123

/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/client/
DUserTest.java28 User user = in testConstructor() local
31 assertEquals("Megha", user.getFirstName()); in testConstructor()
32 assertEquals("Joshi", user.getLastName()); in testConstructor()
33 assertEquals("mjoshi", user.getUserName()); in testConstructor()
34 assertEquals(1, user.getUserId()); in testConstructor()
35 assertEquals("1-650-335-5681", user.getCellPhone()); in testConstructor()
36 assertEquals(false, user.isDeleted()); in testConstructor()
46 User user = User.valueOf(jsonObj); in testValueOf() local
47 assertEquals("Megha", user.getFirstName()); in testValueOf()
48 assertEquals("Joshi", user.getLastName()); in testValueOf()
[all …]
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/
DMyBaseListFragment.java125 public void onPackageRemoved(String packageName, UserHandle user) {
126 Log.i(Global.TAG, "onPackageRemoved: package=" + packageName + " on " + user);
131 public void onPackageAdded(String packageName, UserHandle user) {
132 Log.i(Global.TAG, "onPackageAdded: package=" + packageName + " on " + user);
137 public void onPackageChanged(String packageName, UserHandle user) {
138 Log.i(Global.TAG, "onPackageChanged: package=" + packageName + " on " + user);
143 public void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) {
145 + " on " + user);
150 public void onPackagesUnavailable(String[] packageNames, UserHandle user,
153 + " on " + user);
[all …]
DShortcutListFragment.java51 boolean includePinned, UserHandle user, boolean showDetails) { in setArguments() argument
58 b.putParcelable(ARG_USER, user); in setArguments()
95 final UserHandle user = selected.getUserHandle(); in togglePin() local
104 for (ShortcutInfo si : mLauncherApps.getShortcuts(q, user)) { in togglePin()
137 for (UserHandle user : getTargetUsers()) { in refreshList()
138 if (!mUserManager.isUserUnlocked(user)) { in refreshList()
150 final int numShortcuts = mLauncherApps.getShortcuts(mQuery, user).size(); in refreshList()
152 final String message = "No shortcut found for " + user; in refreshList()
165 list.addAll(mLauncherApps.getShortcuts(mQuery, user)); in refreshList()
DShortcutTemplateListFragment.java34 protected List<LauncherActivityInfo> getActivities(UserHandle user) { in getActivities() argument
35 return mLauncherApps.getShortcutConfigActivityList(null, user); in getActivities()
DPackageShortcutActivity.java33 ComponentName targetActivity, UserHandle user, CharSequence title) { in getLaunchIntent() argument
39 i.putExtra(KEY_TARGET_USER, user); in getLaunchIntent()
DAppListFragment.java32 protected List<LauncherActivityInfo> getActivities(UserHandle user) { in getActivities() argument
33 return mLauncherApps.getActivityList(null, user); in getActivities()
/development/testrunner/
Dadb_interface.py179 no_window_animation=False, instrumentation_args={}, user=None): argument
189 user=user)
193 profile=False, instrumentation_args={}, user=None): argument
235 user=user)
261 raw_mode=False, instrumentation_args={}, user=None): argument
271 user=user)
277 raw_mode=False, instrumentation_args={}, user=None): argument
282 user=user)
290 raw_mode=True, instrumentation_args={}, user=None): argument
296 instrumentation_args=instrumentation_args, user=user)
[all …]
/development/python-packages/gdbrunner/
D__init__.py82 def get_run_as_cmd(user, cmd): argument
85 if user is None:
87 elif user == "root":
90 return ["run-as", user] + cmd
149 target_pid, run_cmd, debug_socket, port, user=None): argument
184 gdbserver_cmd = get_run_as_cmd(user, gdbserver_cmd)
194 def find_file(device, executable_path, sysroot, user=None): argument
234 cmd = get_run_as_cmd(user,
250 def find_binary(device, pid, sysroot, user=None): argument
252 return find_file(device, "/proc/{}/exe".format(pid), sysroot, user)
/development/ndk/platforms/android-21/include/
Dgrp.h66 int getgrouplist (const char *user, gid_t group,
69 int initgroups (const char *user, gid_t group);
/development/ndk/platforms/android-9/include/
Dgrp.h78 int getgrouplist (const char *user, gid_t group,
81 int initgroups (const char *user, gid_t group);
/development/ndk/tests/prebuilt-library/jni/
DAndroid.mk26 LOCAL_MODULE := foo-user
27 LOCAL_SRC_FILES := foo-user.c
/development/ndk/platforms/android-9/include/sys/
Duser.h84 struct user { struct
146 struct user {
170 struct user {
213 struct user {
/development/ndk/platforms/android-21/include/sys/
Duser.h86 struct user { struct
148 struct user {
172 struct user {
215 struct user {
/development/ndk/platforms/android-21/include/linux/
Datmsap.h85 unsigned char user; member
96 unsigned char user; member
/development/ndk/platforms/android-9/include/linux/
Datmsap.h75 unsigned char user; member
86 unsigned char user; member
Dkernel_stat.h23 cputime64_t user; member
/development/scripts/
Dgdbclient.py139 user=args.user)
144 user=args.user)
245 port=args.port, user=args.user)
/development/ndk/platforms/android-9/include/linux/netfilter/
Dx_tables.h27 } user; member
49 } user; member
/development/tools/bugreport/src/com/android/bugreport/cpuinfo/
DCpuUsage.java28 public float user; field in CpuUsage
/development/ndk/platforms/android-21/include/linux/netfilter/
Dx_tables.h35 } user; member
54 } user; member
65 #define XT_TARGET_INIT(__name, __size) { .target.u.user = { .target_size = XT_ALIGN(__size), …
/development/samples/browseable/Timer/
D_index.jd8 This simple wearable app allows the user to set a countdown timer. It runs
/development/samples/browseable/FingerprintDialog/
D_index.jd8 This sample demonstrates how you can use registered fingerprints to authenticate the user
/development/ndk/platforms/android-9/arch-arm/include/asm/
Dprocinfo.h34 struct cpu_user_fns *user; member
/development/samples/browseable/SlidingTabsBasic/
D_index.jd9 ViewPager title strip which gives continuous feedback to the user when scrolling.
/development/samples/browseable/AsymmetricFingerprintDialog/
D_index.jd8 This sample demonstrates how you can use registered fingerprints to authenticate the user

123