Searched refs:user (Results 1 - 25 of 113) sorted by relevance

12345

/frameworks/compile/linkloader/tests/images/
H A Dsimple-test.c25 unsigned int user = 100; local
31 while (user != ans) {
34 if (scanf("%u", &user) != 1) {
38 if (user < left || user > right) {
41 } else if (user == ans) {
44 } else if (user < ans) {
45 left = user;
47 right = user;
/frameworks/base/core/java/com/android/internal/statusbar/
H A DStatusBarNotification.java49 public final UserHandle user; field in class:StatusBarNotification
59 Notification notification, UserHandle user) {
70 this.user = user;
71 this.notification.setUser(user);
86 this.user = UserHandle.readFromParcel(in);
87 this.notification.setUser(user);
103 user.writeToParcel(out, flags);
127 this.score, this.notification.clone(), this.user);
133 + " notn=" + notification + " user
58 StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user) argument
[all...]
H A DStatusBarIcon.java25 public UserHandle user; field in class:StatusBarIcon
32 public StatusBarIcon(String iconPackage, UserHandle user, int iconId, int iconLevel, int number, argument
35 this.user = user;
44 return "StatusBarIcon(pkg=" + this.iconPackage + "user=" + user.getIdentifier()
52 StatusBarIcon that = new StatusBarIcon(this.iconPackage, this.user, this.iconId,
67 this.user = (UserHandle) in.readParcelable(null);
77 out.writeParcelable(this.user, 0);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerTest.java62 for (UserInfo user : list) {
63 if (user.id == userInfo.id && user.name.equals("Guest 1")
64 && user.isGuest()
65 && !user.isAdmin()
66 && !user.isPrimary()) {
98 for (UserInfo user : list) {
99 if (user.id == id) {
131 // Try to create one more user and make sure it fails
138 UserInfo user
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java75 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { argument
78 mRingtone = new Ringtone(getContextForUser(user), false);
104 final UserHandle user = Binder.getCallingUserHandle();
105 client = new Client(token, uri, user, streamType);
141 public void playAsync(Uri uri, UserHandle user, boolean looping, int streamType) {
142 if (LOGD) Slog.d(TAG, "playAsync(uri=" + uri + ", user=" + user + ")");
147 mAsyncPlayer.play(getContextForUser(user), uri, looping, streamType);
160 private Context getContextForUser(UserHandle user) { argument
162 return mContext.createPackageContextAsUser(mContext.getPackageName(), 0, user);
[all...]
/frameworks/base/media/java/android/media/
H A DIRingtonePlayer.aidl32 void playAsync(in Uri uri, in UserHandle user, boolean looping, int streamType);
/frameworks/av/drm/libdrmframework/plugins/common/util/
H A DAndroid.mk34 ifneq ($(TARGET_BUILD_VARIANT),user)
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java59 * {@link PackageManager} on a per-user basis. It's updated as packages are
61 * {@link #invalidateCache(int)} when a user is started, since
154 // External apps can't coexist with multi-user, so scan owner
161 final UserServices<V> user = findOrCreateUserLocked(userId);
162 user.services = null;
168 final UserServices<V> user = findOrCreateUserLocked(userId);
169 if (user.services != null) {
170 fout.println("RegisteredServicesCache: " + user.services.size() + " services");
171 for (ServiceInfo<?> info : user.services.values()) {
247 // Find user an
[all...]
/frameworks/base/core/java/android/content/
H A DContextWrapper.java289 public void startActivityAsUser(Intent intent, UserHandle user) { argument
290 mBase.startActivityAsUser(intent, user);
300 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { argument
301 mBase.startActivityAsUser(intent, options, user);
363 public void sendBroadcastAsUser(Intent intent, UserHandle user) { argument
364 mBase.sendBroadcastAsUser(intent, user);
368 public void sendBroadcastAsUser(Intent intent, UserHandle user, argument
370 mBase.sendBroadcastAsUser(intent, user, receiverPermission);
374 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, argument
377 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermissio
402 sendStickyBroadcastAsUser(Intent intent, UserHandle user) argument
407 sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument
416 removeStickyBroadcastAsUser(Intent intent, UserHandle user) argument
436 registerReceiverAsUser( BroadcastReceiver receiver, UserHandle user, IntentFilter filter, String broadcastPermission, Handler scheduler) argument
460 startServiceAsUser(Intent service, UserHandle user) argument
466 stopServiceAsUser(Intent name, UserHandle user) argument
597 createPackageContextAsUser(String packageName, int flags, UserHandle user) argument
[all...]
H A DContext.java61 * same user ID).
216 * activity is visible to the user, regardless whether another flag is
228 * recent activities the user can switch between without having them
577 * applications, and not typically visible to the user as media.
585 * user mounts the external storage on a computer or removes it. See the
592 * each user has their own isolated external storage. Applications only
593 * have access to the external storage for the user they're running as.</p>
699 * user mounts the external storage on a computer or removes it. See the
706 * each user has their own isolated external storage. Applications only
707 * have access to the external storage for the user the
921 startActivityAsUser(Intent intent, UserHandle user) argument
1216 sendBroadcastAsUser(Intent intent, UserHandle user) argument
1233 sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) argument
1266 sendOrderedBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument
1363 sendStickyBroadcastAsUser(Intent intent, UserHandle user) argument
1392 sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument
1412 removeStickyBroadcastAsUser(Intent intent, UserHandle user) argument
1523 registerReceiverAsUser(BroadcastReceiver receiver, UserHandle user, IntentFilter filter, String broadcastPermission, Handler scheduler) argument
1618 startServiceAsUser(Intent service, UserHandle user) argument
1623 stopServiceAsUser(Intent service, UserHandle user) argument
2666 createPackageContextAsUser( String packageName, int flags, UserHandle user) argument
[all...]
/frameworks/base/core/java/android/os/
H A DUserManager.java30 * Manages users and user details on a multi-user system.
46 * @return true if multiple users can be created, false if it is a single user device.
54 * Returns the user handle for the user that this application is running for.
55 * @return the user handle of the user making this call.
63 * Returns the user name of the user making this call. This call is only
66 * @return the user nam
94 isUserRunning(UserHandle user) argument
110 isUserRunningOrStopping(UserHandle user) argument
144 getSerialNumberForUser(UserHandle user) argument
[all...]
/frameworks/av/include/media/
H A DVisualizer.h70 void* user = NULL,
88 typedef void (*capture_cbk_t)(void* user,
97 status_t setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, uint32_t rate);
H A DAudioEffect.h173 * user: Pointer to context for use by the callback receiver.
183 typedef void (*effect_callback_t)(int32_t event, void* user, void *info);
219 * user: pointer to context for use by the callback receiver.
231 void* user = NULL,
243 void* user = NULL,
265 void* user = NULL,
/frameworks/base/services/java/com/android/server/pm/
H A DUserManagerService.java81 private static final String TAG_USER = "user";
108 // This resets on a reboot. Otherwise it keeps incrementing so that user ids are
137 new File(Environment.getDataDirectory(), "user"));
154 // Make zeroth user directory, for services to migrate their files to that location
174 Slog.w(LOG_TAG, "Removing partially created user #" + i
203 checkManageUsersPermission("query user");
214 // If it is partial and not in the process of being removed, return as unknown user.
216 Slog.w(LOG_TAG, "getUserInfo: unknown user #" + userId);
235 Slog.w(LOG_TAG, "setUserName: unknown user #" + userId);
255 Slog.w(LOG_TAG, "setUserIcon: unknown user #"
[all...]
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h46 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
H A DNBAIO.h77 typedef ssize_t (*writeVia_t)(void *user, void *buffer, size_t count);
78 typedef ssize_t (*readVia_t)(void *user, const void *buffer,
178 // user Arbitrary void * reserved for data provider.
193 // user Arbitrary void * reserved for data provider.
201 virtual ssize_t writeVia(writeVia_t via, size_t total, void *user, size_t block = 0);
277 // user Arbitrary void * reserved for data consumer.
294 // user Arbitrary void * reserved for data consumer.
302 virtual ssize_t readVia(readVia_t via, size_t total, void *user,
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java29 * Logic for parsing a text message typed by the user looking for smileys,
66 /** Music note that indicates user is listening to a music track. */
433 // We will assume the user meant HTTP. (One weird case is where they
960 private String user; field in class:AbstractMessageParser.Photo
964 public Photo(String user, String album, String photo, String text) { argument
966 this.user = user;
971 public String getUser() { return user; }
1000 /** Returns the URL for the RSS description of the user's albums. */
1001 public static String getRssUrl(String user) { argument
1007 getAlbumURL(String user, String album) argument
1012 getPhotoURL(String user, String album, String photo) argument
1030 private String user; field in class:AbstractMessageParser.FlickrPhoto
1035 FlickrPhoto(String user, String photo, String grouping, String groupingId, String text) argument
1107 getRssUrl(String user) argument
1117 getUserURL(String user) argument
1122 getPhotoURL(String user, String photo) argument
1127 getUserTagsURL(String user, String tagId) argument
1132 getUserSetsURL(String user, String setId) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardMultiUserSelectorView.java80 for (UserInfo user: users) {
81 KeyguardMultiUserAvatar uv = createAndAddUser(user);
82 if (user.id == activeUser.id) {
98 private KeyguardMultiUserAvatar createAndAddUser(UserInfo user) { argument
100 R.layout.keyguard_multi_user_avatar, mContext, this, user);
128 // If they click the currently active user, show the unlock hint
132 // Reset the previously active user to appear inactive
147 Log.e(TAG, "Couldn't switch user " + re);
/frameworks/av/services/camera/libcameraservice/
H A DCameraHardwareInterface.h35 void* user);
40 void* user);
45 void *user);
117 mHalPreviewWindow.user = this;
118 ALOGV("%s &mHalPreviewWindow %p mHalPreviewWindow.user %p", __FUNCTION__,
119 &mHalPreviewWindow, mHalPreviewWindow.user);
130 void* user)
135 mCbUser = user;
443 int32_t ext2, void *user)
447 static_cast<CameraHardwareInterface *>(user);
127 setCallbacks(notify_callback notify_cb, data_callback data_cb, data_callback_timestamp data_cb_timestamp, void* user) argument
442 __notify_cb(int32_t msg_type, int32_t ext1, int32_t ext2, void *user) argument
451 __data_cb(int32_t msg_type, const camera_memory_t *data, unsigned int index, camera_frame_metadata_t *metadata, void *user) argument
468 __data_cb_timestamp(nsecs_t timestamp, int32_t msg_type, const camera_memory_t *data, unsigned index, void *user) argument
558 __to_anw(void *user) argument
682 void *user; member in struct:android::CameraHardwareInterface::camera_preview_window
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java60 public String user; field in class:VpnConfig
79 out.writeString(user);
97 config.user = in.readString();
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp110 void* user,
119 frameCount, flags, cbf, user, notificationFrames,
132 void* user,
141 frameCount, (audio_output_flags_t)flags, cbf, user, notificationFrames,
153 void* user,
162 0 /*frameCount*/, flags, cbf, user, notificationFrames,
194 void* user,
313 mUserData = user;
620 ALOGE("setLoop invalid value: loopStart %d, loopEnd %d, loopCount %d, framecount %d, user %d", loopStart, loopEnd, loopCount, cblk->frameCount, cblk->user);
102 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
124 AudioTrack( int streamType, uint32_t sampleRate, int format, int channelMask, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
145 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const sp<IMemory>& sharedBuffer, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
186 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, int frameCount, audio_output_flags_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId) argument
1357 uint32_t user = cblk->user; local
[all...]
/frameworks/av/media/libnbaio/
H A DNBAIO.cpp95 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument
114 ssize_t ret = via(user, buffer, count);
131 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, argument
155 ret = via(user, buffer, maxRet, readPTS);
/frameworks/base/core/java/android/app/
H A DNotificationManager.java28 * Class to notify the user of events that happen. This is how you tell
29 * the user that something has happened in the background. {@more}
34 * through the launcher, (when the user selects it, a designated Intent
37 * <li>Alerting the user by flashing the backlight, playing a sound,
103 * @param notification A {@link Notification} object describing what to show the user. Must not
120 * show the user. Must not be null.
144 public void notifyAsUser(String tag, int id, Notification notification, UserHandle user) argument
155 user.getIdentifier());
192 public void cancelAsUser(String tag, int id, UserHandle user) argument
198 service.cancelNotificationWithTag(pkg, tag, id, user
[all...]
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/
H A DAndroid.mk28 ifneq ($(TARGET_BUILD_VARIANT),user)
29 # Need to run as system app to get access to Settings. This test won't work for user builds.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DApnSetting.java33 public final String user; field in class:ApnSetting
57 String user, String password, int authType, String[] types,
68 this.user = user;
88 * <mmsport>, <user>, <password>, <authtype>, <mcc>,<mnc>,
93 * <mmsport>, <user>, <password>, <authtype>, <mcc>, <mnc>,
54 ApnSetting(int id, String numeric, String carrier, String apn, String proxy, String port, String mmsc, String mmsProxy, String mmsPort, String user, String password, int authType, String[] types, String protocol, String roamingProtocol, boolean carrierEnabled, int bearer) argument

Completed in 364 milliseconds

12345