Home
last modified time | relevance | path

Searched refs:user (Results 1 – 25 of 52) 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()
DBaseActivityListFragment.java59 for (UserHandle user : Compat.getProfiles(getActivity())) { in refreshList()
60 if (mUserManager.isUserUnlocked(user)) { in refreshList()
61 apps.addAll(getActivities(user)); in refreshList()
74 protected abstract List<LauncherActivityInfo> getActivities(UserHandle user); in getActivities() argument
/development/testrunner/
Dadb_interface.py179 no_window_animation=False, instrumentation_args={}, user=None, argument
190 user=user,
195 profile=False, instrumentation_args={}, user=None, argument
238 user=user, no_hidden_api_checks=no_hidden_api_checks)
264 raw_mode=False, instrumentation_args={}, user=None, argument
275 user=user, no_hidden_api_checks=no_hidden_api_checks)
281 raw_mode=False, instrumentation_args={}, user=None, argument
287 user=user, no_hidden_api_checks=no_hidden_api_checks)
295 raw_mode=True, instrumentation_args={}, user=None, argument
302 instrumentation_args=instrumentation_args, user=user,
[all …]
/development/tools/repo_diff/service/repodiff/
DGopkg.toml6 # required = ["github.com/user/thing/cmd/thing"]
7 # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
10 # name = "github.com/user/project"
14 # name = "github.com/user/project2"
/development/tools/bugreport/src/com/android/bugreport/cpuinfo/
DCpuUsage.java28 public float user; field in CpuUsage
/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/vndk/snapshot/
Dbuild.sh18 export TARGET_BUILD_VARIANT=user
/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
/development/samples/browseable/ConfirmCredential/
D_index.jd9 to authenticate the user before they are trying to complete some actions.
/development/samples/browseable/DataLayer/
D_index.jd10 the user of the sample.
/development/samples/browseable/ElevationBasic/
D_index.jd9 first view has a fixed elevation using XML and the second one is raised when the user
/development/samples/browseable/ImmersiveMode/
D_index.jd9 user the ability to show/hide the status bar and navigation bar with a swipe. To try,
/development/samples/browseable/AdvancedImmersiveMode/
D_index.jd10 lets the user experiment with immersive mode by seeing how it interacts
/development/samples/browseable/DirectBoot/
D_index.jd11 go off after reboot even before the user enters their credentials.
/development/samples/browseable/BasicSyncAdapter/
D_index.jd9 doesn\'t require a user-visible account type or 2-way synchronization.
/development/samples/browseable/AppShortcuts/
D_index.jd10 when a user long-presses on the app's launcher icon. Examples are given for
/development/samples/browseable/Geofencing/
D_index.jd8 When a user enters the vicinity of the Android building (B44) or the Yerba Buena
/development/samples/browseable/WearHighBandwidthNetworking/
D_index.jd10 addition, the sample demonstrates best practices for asking a user to add a new Wi-Fi network for

123