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

1234

/frameworks/av/media/libmedia/
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
H A DAudioRecord.cpp81 void* user,
92 mStatus = set(inputSource, sampleRate, format, channelMask, frameCount, cbf, user,
126 void* user,
252 mUserData = user;
722 // sanity-check. user is most-likely passing an error code, and it would
74 AudioRecord( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, int sessionId, transfer_type transferType, audio_input_flags_t flags, const audio_attributes_t* pAttributes) argument
119 set( audio_source_t inputSource, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, callback_t cbf, void* user, uint32_t notificationFrames, bool threadCanCallJava, int sessionId, transfer_type transferType, audio_input_flags_t flags, const audio_attributes_t* pAttributes) argument
H A DAudioTrack.cpp136 void* user,
151 frameCount, flags, cbf, user, notificationFrames,
164 void* user,
179 0 /*frameCount*/, flags, cbf, user, notificationFrames,
216 void* user,
422 mUserData = user;
1413 // Sanity-check: user is most-likely passing an error code, and it would
128 AudioTrack( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
156 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, uint32_t notificationFrames, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
208 set( audio_stream_type_t streamType, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, size_t frameCount, audio_output_flags_t flags, callback_t cbf, void* user, uint32_t notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId, transfer_type transferType, const audio_offload_info_t *offloadInfo, int uid, pid_t pid, const audio_attributes_t* pAttributes) argument
H A DSoundPool.cpp430 void SoundPool::setCallback(SoundPoolCallback* callback, void* user) argument
434 mUserData = user;
610 // as callback user data. This enables the detection of callbacks received from the old
692 void SoundChannel::callback(int event, void* user, void *info) argument
694 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1));
696 channel->process(event, info, (unsigned long)user & 1);
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/libmediaplayerservice/
H A DMediaPlayerService.cpp1266 int Antagonizer::callbackThread(void* user) argument
1269 Antagonizer* p = reinterpret_cast<Antagonizer*>(user);
1689 NULL, // user data
/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/av/media/libstagefright/
H A DAudioPlayer.cpp385 void AudioPlayer::AudioCallback(int event, void *user, void *info) { argument
386 static_cast<AudioPlayer *>(user)->AudioCallback(event, info);
H A DAudioSource.cpp35 static void AudioRecordCallbackFunction(int event, void *user, void *info) { argument
36 AudioSource *source = (AudioSource *) user;
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp134 AString *user, AString *pass) {
138 user->clear();
158 // Split of user:pass@ from hostname.
166 *user = userPass;
168 user->setTo(userPass, 0, colonPos);
238 // If we have a user name but no password we have to give up
239 // right here, since we currently have no way of asking the user
252 ALOGV("user = '%s', pass = '%s'", mUser.c_str(), mPass.c_str());
132 ParseURL( const char *url, AString *host, unsigned *port, AString *path, AString *user, AString *pass) argument
H A DMyHandler.h148 // want to transmit user/pass in cleartext.
149 AString host, path, user, pass; local
152 mSessionURL.c_str(), &host, &port, &path, &user, &pass));
154 if (user.size() > 0) {
501 // want to transmit user/pass in cleartext.
502 AString host, path, user, pass; local
505 mSessionURL.c_str(), &host, &port, &path, &user, &pass)
506 && user.size() > 0) {
1529 AString mOriginalSessionURL; // This one still has user:pass@
/frameworks/av/services/audioflinger/
H A DTracks.cpp792 // and keep the track active to avoid problems if user is seeking
1825 size_t user = 0; // was mCblk->user local
1826 if (user < mFrameCount) {
1827 frames = mFrameCount - user;
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp1518 Mutex* CameraService::Client::getClientLockFromCookie(void* user) { argument
1519 return gCameraService->getClientLockById((int)(intptr_t) user);
1524 CameraService::Client* CameraService::Client::getClientFromCookie(void* user) { argument
1525 BasicClient *basicClient = gCameraService->getClientByIdUnsafe((int)(intptr_t) user);
/frameworks/av/services/camera/libcameraservice/api1/
H A DCameraClient.cpp249 // from the user directly, or called by the destructor.
714 int32_t ext2, void* user) {
717 Mutex* lock = getClientLockFromCookie(user);
722 static_cast<CameraClient*>(getClientFromCookie(user));
739 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) {
742 Mutex* lock = getClientLockFromCookie(user);
747 static_cast<CameraClient*>(getClientFromCookie(user));
777 int32_t msgType, const sp<IMemory>& dataPtr, void* user) {
780 Mutex* lock = getClientLockFromCookie(user);
785 static_cast<CameraClient*>(getClientFromCookie(user));
713 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user) argument
738 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument
776 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h35 void* user);
40 void* user);
45 void *user);
126 mHalPreviewWindow.user = this;
127 ALOGV("%s &mHalPreviewWindow %p mHalPreviewWindow.user %p", __FUNCTION__,
128 &mHalPreviewWindow, mHalPreviewWindow.user);
139 void* user)
144 mCbUser = user;
452 int32_t ext2, void *user)
456 static_cast<CameraHardwareInterface *>(user);
136 setCallbacks(notify_callback notify_cb, data_callback data_cb, data_callback_timestamp data_cb_timestamp, void* user) argument
451 __notify_cb(int32_t msg_type, int32_t ext1, int32_t ext2, void *user) argument
460 __data_cb(int32_t msg_type, const camera_memory_t *data, unsigned int index, camera_frame_metadata_t *metadata, void *user) argument
477 __data_cb_timestamp(nsecs_t timestamp, int32_t msg_type, const camera_memory_t *data, unsigned index, void *user) argument
567 __to_anw(void *user) argument
697 void *user; member in struct:android::CameraHardwareInterface::camera_preview_window
[all...]
/frameworks/av/services/camera/libcameraservice/device2/
H A DCamera2Device.cpp486 void *user) {
488 NotificationListener *listener = reinterpret_cast<NotificationListener*>(user);
482 notificationCallback(int32_t msg_type, int32_t ext1, int32_t ext2, int32_t ext3, void *user) argument
/frameworks/base/core/java/android/accounts/
H A DAccountManager.java53 * This class provides access to a centralized registry of the user's
54 * online accounts. The user enters credentials (username and password) once
67 * the user's actual password. (Auth tokens are normally created with a
68 * separate request which does include the user's credentials.) AccountManager
89 * user for their preference. If no suitable accounts are available,
90 * {@link #addAccount} may be called to prompt the user to create an
113 * treated as a "genuine" authentication failure and the user notified or other
117 * <p>Some AccountManager methods may need to interact with the user to
118 * prompt for credentials, present options, or ask the user to add an account.
120 * necessary user interfac
1435 addSharedAccount(final Account account, UserHandle user) argument
1457 copyAccountToUser( final Account account, final UserHandle user, AccountManagerCallback<Boolean> callback, Handler handler) argument
1486 removeSharedAccount(final Account account, UserHandle user) argument
1501 getSharedAccounts(UserHandle user) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivity.java106 * An activity is a single, focused thing that the user can do. Almost all
107 * activities interact with the user, so the Activity class takes care of
109 * {@link #setContentView}. While activities are often presented to the user
123 * <li> {@link #onPause} is where you deal with the user leaving your
124 * activity. Most importantly, any changes made by the user should at this
165 * modularize their code, build more sophisticated user interfaces for larger
190 * however, it is no longer visible to the user so its window is hidden
195 * process. When it is displayed again to the user, it must be
221 * {@link android.app.Activity#onStop}. During this time the user can see the
223 * with the user
3787 startActivityForResultAsUser(Intent intent, int requestCode, UserHandle user) argument
3794 startActivityForResultAsUser(Intent intent, int requestCode, @Nullable Bundle options, UserHandle user) argument
3829 startActivityAsUser(Intent intent, UserHandle user) argument
3836 startActivityAsUser(Intent intent, Bundle options, UserHandle user) argument
[all...]
H A DApplicationPackageManager.java490 throw new NameNotFoundException("No shared userid for user:"+sharedUserName);
560 /** @hide Same as above but for a specific user */
875 public Drawable getUserBadgedIcon(Drawable icon, UserHandle user) { argument
876 final int badgeResId = getBadgeResIdForUser(user.getIdentifier());
885 public Drawable getUserBadgedDrawableForDensity(Drawable drawable, UserHandle user, argument
887 Drawable badgeDrawable = getUserBadgeForDensity(user, badgeDensity);
895 public Drawable getUserBadgeForDensity(UserHandle user, int density) { argument
896 UserInfo userInfo = getUserIfProfile(user.getIdentifier());
908 public CharSequence getUserBadgedLabel(CharSequence label, UserHandle user) { argument
909 UserInfo userInfo = getUserIfProfile(user
1527 setApplicationHiddenSettingAsUser(String packageName, boolean hidden, UserHandle user) argument
1539 getApplicationHiddenSettingAsUser(String packageName, UserHandle user) argument
[all...]
H A DContextImpl.java186 public Intent registerReceiverAsUser(BroadcastReceiver receiver, UserHandle user, argument
191 return super.registerReceiverAsUser(null, user, filter, broadcastPermission, scheduler);
1230 public void startActivityAsUser(Intent intent, UserHandle user) { argument
1231 startActivityAsUser(intent, null, user);
1250 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { argument
1256 user.getIdentifier());
1426 public void sendBroadcastAsUser(Intent intent, UserHandle user) { argument
1432 AppOpsManager.OP_NONE, false, false, user.getIdentifier());
1438 public void sendBroadcastAsUser(Intent intent, UserHandle user, argument
1446 user
1452 sendOrderedBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument
1460 sendOrderedBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, int appOp, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument
1556 sendStickyBroadcastAsUser(Intent intent, UserHandle user) argument
1568 sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument
1601 removeStickyBroadcastAsUser(Intent intent, UserHandle user) argument
1628 registerReceiverAsUser(BroadcastReceiver receiver, UserHandle user, IntentFilter filter, String broadcastPermission, Handler scheduler) argument
1703 startServiceAsUser(Intent service, UserHandle user) argument
1707 startServiceCommon(Intent service, UserHandle user) argument
1732 stopServiceAsUser(Intent service, UserHandle user) argument
1736 stopServiceCommon(Intent service, UserHandle user) argument
1762 bindServiceAsUser(Intent service, ServiceConnection conn, int flags, UserHandle user) argument
1767 bindServiceCommon(Intent service, ServiceConnection conn, int flags, UserHandle user) argument
2153 createPackageContextAsUser(String packageName, int flags, UserHandle user) argument
2257 ContextImpl(ContextImpl container, ActivityThread mainThread, LoadedApk packageInfo, IBinder activityToken, UserHandle user, boolean restricted, Display display, Configuration overrideConfiguration) argument
2444 ApplicationContentResolver( Context context, ActivityThread mainThread, UserHandle user) argument
[all...]
H A DInstrumentation.java363 * multiple activities, instead of displaying a dialog for the user to
1317 * @param activity The activity being notified that the user has navigated away
1626 * but for starting as a particular user.
1653 Intent intent, int requestCode, Bundle options, UserHandle user) {
1677 requestCode, 0, null, options, user.getIdentifier());
1651 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options, UserHandle user) argument
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 DPendingIntent.java309 @NonNull Intent intent, int flags, Bundle options, UserHandle user) {
321 flags, options, user.getIdentifier());
351 * UI the user actually sees when the intents are started.
401 * UI the user actually sees when the intents are started.
450 @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) {
463 flags, options, user.getIdentifier());
818 * Return the user handle of the application that created this
819 * PendingIntent, that is the user under which you will actually be
821 * that an application can not spoof its user. See
823 * more explanation of user handle
308 getActivityAsUser(Context context, int requestCode, @NonNull Intent intent, int flags, Bundle options, UserHandle user) argument
449 getActivitiesAsUser(Context context, int requestCode, @NonNull Intent[] intents, int flags, Bundle options, UserHandle user) argument
[all...]

Completed in 347 milliseconds

1234