Searched defs:user (Results 1 - 25 of 68) sorted by relevance

123

/frameworks/base/core/java/android/app/
H A DNotificationManager.java29 * Class to notify the user of events that happen. This is how you tell
30 * the user that something has happened in the background. {@more}
35 * through the launcher, (when the user selects it, a designated Intent
38 * <li>Alerting the user by flashing the backlight, playing a sound,
104 * @param notification A {@link Notification} object describing what to show the user. Must not
121 * show the user. Must not be null.
148 public void notifyAsUser(String tag, int id, Notification notification, UserHandle user) argument
162 notification, idOut, user.getIdentifier());
199 public void cancelAsUser(String tag, int id, UserHandle user) argument
205 service.cancelNotificationWithTag(pkg, tag, id, user
[all...]
H A DTaskStackBuilder.java45 * the user may navigate out of the new task and back to the Launcher by repeated
280 UserHandle user) {
287 options, user);
279 getPendingIntent(int requestCode, int flags, Bundle options, UserHandle user) argument
H A DPendingIntent.java281 Intent intent, int flags, Bundle options, UserHandle user) {
293 flags, options, user.getIdentifier());
323 * UI the user actually sees when the intents are started.
373 * UI the user actually sees when the intents are started.
422 Intent[] intents, int flags, Bundle options, UserHandle user) {
435 flags, options, user.getIdentifier());
789 * Return the user handle of the application that created this
790 * PendingIntent, that is the user under which you will actually be
792 * that an application can not spoof its user. See
794 * more explanation of user handle
280 getActivityAsUser(Context context, int requestCode, Intent intent, int flags, Bundle options, UserHandle user) argument
421 getActivitiesAsUser(Context context, int requestCode, Intent[] intents, int flags, Bundle options, UserHandle user) argument
[all...]
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp84 ssize_t AudioBufferProviderSource::readVia(readVia_t via, size_t total, void *user, argument
124 ssize_t ret = via(user, readTgt, count, readPTS);
H A DNBAIO.cpp141 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument
160 ssize_t ret = via(user, buffer, count);
177 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, argument
201 ret = via(user, buffer, maxRet, readPTS);
/frameworks/base/core/java/com/android/internal/statusbar/
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/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java74 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { argument
77 mRingtone = new Ringtone(getContextForUser(user), false);
103 final UserHandle user = Binder.getCallingUserHandle();
104 client = new Client(token, uri, user, streamType);
140 public void playAsync(Uri uri, UserHandle user, boolean looping, int streamType) {
141 if (LOGD) Log.d(TAG, "playAsync(uri=" + uri + ", user=" + user + ")");
146 mAsyncPlayer.play(getContextForUser(user), uri, looping, streamType);
159 private Context getContextForUser(UserHandle user) { argument
161 return mContext.createPackageContextAsUser(mContext.getPackageName(), 0, user);
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DBroadcastInterceptingContext.java142 public void sendBroadcastAsUser(Intent intent, UserHandle user) { argument
147 public void sendBroadcastAsUser(Intent intent, UserHandle user, argument
158 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { argument
/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.java37 private final UserHandle user; field in class:StatusBarNotification
44 Notification notification, UserHandle user) {
45 this(pkg, null, id, tag, uid, initialPid, score, notification, user);
50 int initialPid, int score, Notification notification, UserHandle user) {
51 this(pkg, basePkg, id, tag, uid, initialPid, score, notification, user,
56 int initialPid, int score, Notification notification, UserHandle user,
69 this.user = user;
70 this.notification.setUser(user);
88 this.user
43 StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user) argument
49 StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user) argument
55 StatusBarNotification(String pkg, String basePkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user, long postTime) argument
[all...]
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java62 public String user; field in class:VpnConfig
109 out.writeString(user);
127 config.user = in.readString();
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardMultiUserSelectorView.java78 for (UserInfo user: users) {
79 KeyguardMultiUserAvatar uv = createAndAddUser(user);
80 if (user.id == activeUser.id) {
113 private KeyguardMultiUserAvatar createAndAddUser(UserInfo user) { argument
115 R.layout.keyguard_multi_user_avatar, mContext, this, user);
143 // If they click the currently active user, show the unlock hint
147 // Reset the previously active user to appear inactive
159 Log.e(TAG, "Couldn't switch user " + re);
H A DKeyguardMultiUserAvatar.java118 public void init(UserInfo user, KeyguardMultiUserSelectorView userSelector) { argument
119 mUserInfo = user;
126 KeyguardViewMediator.getAvatarCache().get(user.id);
134 icon = mUserManager.getUserIcon(user.id);
136 if (DEBUG) Log.d(TAG, "failed to get profile icon " + user, e);
146 KeyguardViewMediator.getAvatarCache().put(user.id, mFramed);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DApnSetting.java36 public final String user; field in class:ApnSetting
60 String user, String password, int authType, String[] types,
71 this.user = user;
91 * <mmsport>, <user>, <password>, <authtype>, <mcc>,<mnc>,
96 * <mmsport>, <user>, <password>, <authtype>, <mcc>, <mnc>,
57 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
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp748 // Used by ToneGenerator::getToneForRegion() to convert user specified supervisory tone type
1056 this, // user
1094 // user reference (pointer to our ToneGenerator)
1101 void ToneGenerator::audioCallback(int event, void* user, void *info) { argument
1106 ToneGenerator *lpToneGen = static_cast<ToneGenerator *>(user);
H A DVisualizer.cpp39 void* user,
41 : AudioEffect(SL_IID_VISUALIZATION, NULL, priority, cbf, user, sessionId),
93 status_t Visualizer::setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, argument
111 mCaptureCbkUser = user;
37 Visualizer(int32_t priority, effect_callback_t cbf, void* user, int sessionId) argument
H A DAudioEffect.cpp48 void* user,
54 mStatus = set(type, uuid, priority, cbf, user, sessionId, io);
61 void* user,
86 mStatus = set(pType, pUuid, priority, cbf, user, sessionId, io);
93 void* user,
101 ALOGV("set %p mUserData: %p uuid: %p timeLow %08x", this, user, type, type ? type->timeLow : 0);
121 mUserData = user;
44 AudioEffect(const effect_uuid_t *type, const effect_uuid_t *uuid, int32_t priority, effect_callback_t cbf, void* user, int sessionId, audio_io_handle_t io ) argument
57 AudioEffect(const char *typeStr, const char *uuidStr, int32_t priority, effect_callback_t cbf, void* user, int sessionId, audio_io_handle_t io ) argument
89 set(const effect_uuid_t *type, const effect_uuid_t *uuid, int32_t priority, effect_callback_t cbf, void* user, int sessionId, audio_io_handle_t io) argument
/frameworks/av/media/libstagefright/
H A DAudioSource.cpp33 static void AudioRecordCallbackFunction(int event, void *user, void *info) { argument
34 AudioSource *source = (AudioSource *) user;
H A DAudioPlayer.cpp375 void AudioPlayer::AudioCallback(int event, void *user, void *info) { argument
376 static_cast<AudioPlayer *>(user)->AudioCallback(event, info);
/frameworks/base/core/java/com/android/internal/content/
H A DPackageMonitor.java72 public void register(Context context, Looper thread, UserHandle user, argument
83 if (user != null) {
84 context.registerReceiverAsUser(this, user, sPackageFilt, null, mRegisteredHandler);
85 context.registerReceiverAsUser(this, user, sNonDataFilt, null, mRegisteredHandler);
87 context.registerReceiverAsUser(this, user, sExternalFilt, null,
153 * @param uid The user ID the package runs under.
280 "Intent broadcast does not contain user handle: " + intent);
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool_SoundPoolImpl.cpp171 static void android_media_callback(SoundPoolEvent event, SoundPool* soundPool, void* user) argument
173 ALOGV("callback: (%d, %d, %d, %p, %p)", event.mMsg, event.mArg1, event.mArg2, soundPool, user);
175 env->CallStaticVoidMethod(fields.mSoundPoolClass, fields.mPostEvent, user, event.mMsg, event.mArg1, event.mArg2, NULL);
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java255 protected void installNotification(final int notificationId, final Notification n, UserHandle user) { argument
259 protected void cancelNotification(final int id, UserHandle user) { argument
/frameworks/wilhelm/src/android/
H A DAudioRecorder_to_android.cpp211 static void audioRecorder_callback(int event, void* user, void *info) { argument
212 //SL_LOGV("audioRecorder_callback(%d, %p, %p) entering", event, user, info);
214 CAudioRecorder *ar = (CAudioRecorder *)user;
408 (void*)ar, // user, callback data, here the AudioRecorder
H A DMediaPlayer_to_android.cpp29 static void player_handleMediaPlayerEventNotifications(int event, int data1, int data2, void* user) argument
38 if (NULL == user) {
42 CMediaPlayer* mp = (CMediaPlayer*) user;
53 "user=%p) from AVPlayer", u.c[3], u.c[2], u.c[1], u.c[0], event, data1, data2, user);
/frameworks/base/core/java/android/os/
H A DUserManager.java31 * Manages users and user details on a multi-user system.
40 * Key for user restrictions. Specifies if a user is disallowed from adding and removing
51 * Key for user restrictions. Specifies if a user is disallowed from changing Wi-Fi
62 * Key for user restrictions. Specifies if a user is disallowed from installing applications.
72 * Key for user restrictions. Specifies if a user i
231 isUserRunning(UserHandle user) argument
247 isUserRunningOrStopping(UserHandle user) argument
373 getSerialNumberForUser(UserHandle user) argument
621 getApplicationRestrictions(String packageName, UserHandle user) argument
633 setApplicationRestrictions(String packageName, Bundle restrictions, UserHandle user) argument
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorAudioPlayer.cpp303 void VideoEditorAudioPlayer::AudioCallback(int event, void *user, void *info) { argument
304 static_cast<VideoEditorAudioPlayer *>(user)->AudioCallback(event, info);

Completed in 540 milliseconds

123