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

1234

/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.cpp64 ssize_t NBAIO_Sink::writeVia(writeVia_t via, size_t total, void *user, size_t block) argument
83 ssize_t ret = via(user, buffer, count);
100 ssize_t NBAIO_Source::readVia(readVia_t via, size_t total, void *user, argument
124 ret = via(user, buffer, maxRet, readPTS);
/frameworks/base/core/java/android/app/
H A DNotificationManager.java33 * Class to notify the user of events that happen. This is how you tell
34 * the user that something has happened in the background. {@more}
39 * through the launcher, (when the user selects it, a designated Intent
42 * <li>Alerting the user by flashing the backlight, playing a sound,
118 * @param notification A {@link Notification} object describing what to show the user. Must not
135 * show the user. Must not be null.
164 public void notifyAsUser(String tag, int id, Notification notification, UserHandle user) argument
180 stripped, idOut, user.getIdentifier());
217 public void cancelAsUser(String tag, int id, UserHandle user) argument
223 service.cancelNotificationWithTag(pkg, tag, id, user
[all...]
H A DTaskStackBuilder.java46 * the user may navigate out of the new task and back to the Launcher by repeated
282 UserHandle user) {
289 options, user);
281 getPendingIntent(int requestCode, int flags, Bundle options, UserHandle user) argument
/frameworks/base/core/java/android/content/pm/
H A DLauncherActivityInfo.java31 * A representation of an activity that can belong to this user or a managed
32 * profile associated with this user. It can be used to query the label, icon
46 * Create a launchable activity object for a given ResolveInfo and user.
50 * @param user The UserHandle of the profile to which this activity belongs.
52 LauncherActivityInfo(Context context, ResolveInfo info, UserHandle user, argument
57 mUser = user;
75 * Returns the user handle of the user profile that this activity belongs to. In order to
H A DLauncherApps.java41 * Class for retrieving a list of launchable activities for the current user and any associated
42 * managed profiles. This is mainly for use by launchers. Apps can be queried for each user profile.
49 * You can retrieve the list of profiles associated with this user with
75 * @param user The UserHandle of the profile that generated the change.
77 abstract public void onPackageRemoved(String packageName, UserHandle user); argument
86 * @param user The UserHandle of the profile that generated the change.
88 abstract public void onPackageAdded(String packageName, UserHandle user); argument
96 * @param user The UserHandle of the profile that generated the change.
98 abstract public void onPackageChanged(String packageName, UserHandle user); argument
107 * @param user Th
111 onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) argument
125 onPackagesUnavailable(String[] packageNames, UserHandle user, boolean replacing) argument
145 getActivityList(String packageName, UserHandle user) argument
188 resolveActivity(Intent intent, UserHandle user) argument
217 startMainActivity(ComponentName component, UserHandle user, Rect sourceBounds, Bundle opts) argument
238 startAppDetailsActivity(ComponentName component, UserHandle user, Rect sourceBounds, Bundle opts) argument
255 isPackageEnabled(String packageName, UserHandle user) argument
271 isActivityEnabled(ComponentName component, UserHandle user) argument
430 UserHandle user; field in class:LauncherApps.CallbackMessageHandler.CallbackInfo
463 postOnPackageAdded(String packageName, UserHandle user) argument
470 postOnPackageRemoved(String packageName, UserHandle user) argument
477 postOnPackageChanged(String packageName, UserHandle user) argument
484 postOnPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) argument
493 postOnPackagesUnavailable(String[] packageNames, UserHandle user, boolean replacing) argument
[all...]
/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.java75 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { argument
78 mRingtone = new Ringtone(getContextForUser(user), false);
104 final UserHandle user = Binder.getCallingUserHandle();
105 client = new Client(token, uri, user, aa);
141 public void playAsync(Uri uri, UserHandle user, boolean looping, AudioAttributes aa) {
142 if (LOGD) Log.d(TAG, "playAsync(uri=" + uri + ", user=" + user + ")");
147 mAsyncPlayer.play(getContextForUser(user), uri, looping, aa);
160 private Context getContextForUser(UserHandle user) { argument
162 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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataProfile.java39 public final String user; field in class:DataProfile
57 String user, String password, int type, int maxConnsTime, int maxConns,
64 this.user = user;
75 apn.authType, apn.user, apn.password, apn.bearer == 0 ? TYPE_COMMON :
92 pc.writeString(dps[i].user);
106 + "/" + user + "/" + password + "/" + type + "/" + maxConnsTime
56 DataProfile(int profileId, String apn, String protocol, int authType, String user, String password, int type, int maxConnsTime, int maxConns, int waitTime, boolean enabled) argument
H A DApnSetting.java43 public final String user; field in class:ApnSetting
91 String user, String password, int authType, String[] types,
104 this.user = user;
135 * <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
140 * [ApnSettingV2] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
145 * [ApnSettingV3] <carrier>, <apn>, <proxy>, <port>, <user>, <password>, <server>,
88 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, int profileId, boolean modemCognitive, int maxConns, int waitTime, int maxConnsTime, int mtu, String mvnoType, String mvnoMatchData) argument
/frameworks/base/core/java/android/service/notification/
H A DStatusBarNotification.java39 private final UserHandle user; field in class:StatusBarNotification
46 int initialPid, int score, Notification notification, UserHandle user) {
47 this(pkg, opPkg, id, tag, uid, initialPid, score, notification, user,
52 int initialPid, int score, Notification notification, UserHandle user,
65 this.user = user;
84 this.user = UserHandle.readFromParcel(in);
91 return user.getIdentifier() + "|" + pkg + "|" + id + "|" + tag + "|" + uid;
101 return user.getIdentifier() + "|" + pkg + "|" +
121 user
45 StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user) argument
51 StatusBarNotification(String pkg, String opPkg, int id, String tag, int uid, int initialPid, int score, Notification notification, UserHandle user, long postTime) argument
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardMultiUserSelectorView.java78 for (UserInfo user: users) {
79 if (user.supportsSwitchTo()) {
80 KeyguardMultiUserAvatar uv = createAndAddUser(user);
81 if (user.id == activeUser.id) {
115 private KeyguardMultiUserAvatar createAndAddUser(UserInfo user) { argument
117 R.layout.keyguard_multi_user_avatar, mContext, this, user);
145 // If they click the currently active user, show the unlock hint
149 // Reset the previously active user to appear inactive
161 Log.e(TAG, "Couldn't switch user " + re);
H A DKeyguardMultiUserAvatar.java118 public void init(UserInfo user, KeyguardMultiUserSelectorView userSelector) { argument
119 mUserInfo = user;
126 MultiUserAvatarCache.getInstance().get(user.id);
134 icon = mUserManager.getUserIcon(user.id);
136 if (DEBUG) Log.d(TAG, "failed to get profile icon " + user, e);
146 MultiUserAvatarCache.getInstance().put(user.id, mFramed);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DPermissionMonitor.java82 int user = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, UserHandle.USER_NULL);
88 onUserAdded(user);
90 onUserRemoved(user);
143 for (UserInfo user : users) {
144 mUsers.add(user.id);
188 for (int user : users) {
189 list.add(UserHandle.getUid(user, app.getKey()));
205 private synchronized void onUserAdded(int user) { argument
206 if (user < 0) {
207 loge("Invalid user i
217 onUserRemoved(int user) argument
[all...]
/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),
100 status_t Visualizer::setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, argument
120 mCaptureCbkUser = user;
37 Visualizer(int32_t priority, effect_callback_t cbf, void* user, int sessionId) argument
/frameworks/av/media/libstagefright/
H A DAudioSource.cpp35 static void AudioRecordCallbackFunction(int event, void *user, void *info) { argument
36 AudioSource *source = (AudioSource *) user;
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java87 public String user; field in class:VpnConfig
147 out.writeString(user);
172 config.user = in.readString();
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java59 * choosePrivateKeyAlias} to allow the user to select from a
63 * key is available or the user cancels the request.
72 * avoid prompting the user with {@link #choosePrivateKeyAlias
170 * <p>The user will be prompted for the password to load the key store.
191 * <li>trusted storage is reset (all user certs are cleared),
200 * which case the user will be able to install credentials from
222 * Launches an {@code Activity} for the user to select the alias
228 * highlight suggested choices to the user, although to cope with
229 * sometimes erroneous values provided by servers, the user may be
232 * <p>{@code host} and {@code port} may be used to give the user
449 bindAsUser(Context context, UserHandle user) argument
[all...]
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool_SoundPoolImpl.cpp178 static void android_media_callback(SoundPoolEvent event, SoundPool* soundPool, void* user) argument
180 ALOGV("callback: (%d, %d, %d, %p, %p)", event.mMsg, event.mArg1, event.mArg2, soundPool, user);
182 env->CallStaticVoidMethod(fields.mSoundPoolClass, fields.mPostEvent, user, event.mMsg, event.mArg1, event.mArg2, NULL);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTask.java42 * belonging to a specified user. */
47 public ComponentNameKey(ComponentName cn, int user) { argument
49 userId = user;
/frameworks/base/services/core/java/com/android/server/pm/
H A DLauncherAppsService.java177 * Checks if the user is enabled.
179 private boolean isUserEnabled(UserHandle user) { argument
182 UserInfo targetUserInfo = mUm.getUserInfo(user.getIdentifier());
190 public List<ResolveInfo> getLauncherActivities(String packageName, UserHandle user) argument
192 ensureInUserProfiles(user, "Cannot retrieve activities for unrelated profile " + user);
193 if (!isUserEnabled(user)) {
203 user.getIdentifier());
211 public ResolveInfo resolveActivity(Intent intent, UserHandle user) argument
213 ensureInUserProfiles(user, "Canno
228 isPackageEnabled(String packageName, UserHandle user) argument
246 isActivityEnabled(ComponentName component, UserHandle user) argument
264 startActivityAsUser(ComponentName component, Rect sourceBounds, Bundle opts, UserHandle user) argument
311 showAppDetailsAsUser(ComponentName component, Rect sourceBounds, Bundle opts, UserHandle user) argument
338 isEnabledProfileOf(UserHandle user, UserHandle listeningUser, String debugMsg) argument
[all...]
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustAgentWrapper.java259 Intent intent, UserHandle user) {
263 mUserId = user.getIdentifier();
279 mBound = context.bindServiceAsUser(intent, mConnection, Context.BIND_AUTO_CREATE, user);
258 TrustAgentWrapper(Context context, TrustManagerService trustManagerService, Intent intent, UserHandle user) argument
/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

Completed in 891 milliseconds

1234