Searched refs:user (Results 26 - 50 of 66) sorted by relevance

123

/frameworks/media/libvideoeditor/lvpp/
H A DAudioPlayerBase.h98 static void AudioCallback(int event, void *user, void *info);
H A DAudioPlayerBase.cpp246 void AudioPlayerBase::AudioCallback(int event, void *user, void *info) { argument
247 static_cast<AudioPlayerBase *>(user)->AudioCallback(event, info);
/frameworks/base/media/jni/soundpool/
H A DSoundPool.h47 typedef void SoundPoolCallback(SoundPoolEvent event, SoundPool* soundPool, void* user);
144 static void callback(int event, void* user, void *info);
191 void setCallback(SoundPoolCallback* callback, void* user);
H A Dandroid_media_SoundPool.cpp171 static void android_media_callback(SoundPoolEvent event, SoundPool* soundPool, void* user) argument
173 LOGV("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);
H A DSoundPool.cpp430 void SoundPool::setCallback(SoundPoolCallback* callback, void* user) argument
434 mUserData = user;
600 // as callback user data. This enables the detection of callbacks received from the old
684 void SoundChannel::callback(int event, void* user, void *info) argument
686 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1));
688 channel->process(event, info, (unsigned long)user & 1);
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
H A DManageDialog.java82 if (mConfig.user.equals(VpnConfig.LEGACY_VPN)) {
92 ApplicationInfo app = pm.getApplicationInfo(mConfig.user, 0);
134 mService.prepareVpn(mConfig.user, VpnConfig.LEGACY_VPN);
/frameworks/base/core/jni/
H A Dandroid_server_BluetoothEventLoop.cpp1304 void onCreatePairedDeviceResult(DBusMessage *msg, void *user, void *n) { argument
1308 const char *address = (const char *)user;
1370 free(user);
1373 void onCreateDeviceResult(DBusMessage *msg, void *user, void *n) { argument
1377 const char *address= (const char *)user;
1400 free(user);
1403 void onDiscoverServicesResult(DBusMessage *msg, void *user, void *n) { argument
1407 const char *path = (const char *)user;
1426 free(user);
1429 void onGetDeviceServiceChannelResult(DBusMessage *msg, void *user, voi argument
1462 onInputDeviceConnectionResult(DBusMessage *msg, void *user, void *n) argument
1501 onPanDeviceConnectionResult(DBusMessage *msg, void *user, void *n) argument
1540 onHealthDeviceConnectionResult(DBusMessage *msg, void *user, void *n) argument
[all...]
H A Dandroid_media_AudioRecord.cpp89 static void recorderCallback(int event, void* user, void *info) { argument
96 audiorecord_callback_cookie *callbackInfo = (audiorecord_callback_cookie *)user;
98 if (user && env) {
110 audiorecord_callback_cookie *callbackInfo = (audiorecord_callback_cookie *)user;
112 if (user && env) {
208 lpCallbackData,// void* user
H A Dandroid_bluetooth_common.cpp111 void *user; member in struct:android::__anon26
127 // The user may not deref the message object.
128 req->user_cb(msg, req->user, req->nat);
145 void *user,
178 pending->user = user;
202 void *user,
215 reply, user, nat,
139 dbus_func_args_async_valist(JNIEnv *env, DBusConnection *conn, int timeout_ms, void (*user_cb)(DBusMessage *, void *, void*), void *user, void *nat, const char *path, const char *ifc, const char *func, int first_arg_type, va_list args) argument
198 dbus_func_args_async(JNIEnv *env, DBusConnection *conn, int timeout_ms, void (*reply)(DBusMessage *, void *, void*), void *user, void *nat, const char *path, const char *ifc, const char *func, int first_arg_type, ...) argument
H A Dandroid_bluetooth_common.h106 void *user,
H A Dandroid_media_AudioTrack.cpp130 static void audioCallback(int event, void* user, void *info) { argument
137 audiotrack_callback_cookie *callbackInfo = (audiotrack_callback_cookie *)user;
139 if (user && env) {
151 audiotrack_callback_cookie *callbackInfo = (audiotrack_callback_cookie *)user;
153 if (user && env) {
296 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user)
317 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user));
513 // the 8bit mixer restriction from the user of this function
/frameworks/base/cmds/keystore/
H A Dkeystore.cpp46 * user-defined password. To keep things simple, buffers are always larger than
630 * file using the same password when the user unlock it for the first time. If
706 static struct user { struct
719 struct user* user = users; local
723 while (~user->uid && user->uid != uid) {
724 ++user;
732 if (!(action->perm & user->perms)) {
738 if (~user
[all...]
/frameworks/base/media/jni/audioeffect/
H A Dandroid_media_Visualizer.cpp96 static void captureCallback(void* user, argument
107 visualizer_callback_cookie *callbackInfo = (visualizer_callback_cookie *)user;
115 if (!user || !env) {
116 LOGW("captureCallback error user %p, env %p", user, env);
H A Dandroid_media_AudioEffect.cpp95 static void effectCallback(int event, void* user, void *info) { argument
106 effect_callback_cookie *callbackInfo = (effect_callback_cookie *)user;
114 if (!user || !env) {
115 LOGW("effectCallback error user %p, env %p", user, env);
/frameworks/base/media/libstagefright/rtsp/
H A DARTSPConnection.h47 AString *user, AString *pass);
H A DARTSPConnection.cpp131 AString *user, AString *pass) {
135 user->clear();
155 // Split of user:pass@ from hostname.
163 *user = userPass;
165 user->setTo(userPass, 0, colonPos);
234 // If we have a user name but no password we have to give up
235 // right here, since we currently have no way of asking the user
248 LOGV("user = '%s', pass = '%s'", mUser.c_str(), mPass.c_str());
129 ParseURL( const char *url, AString *host, unsigned *port, AString *path, AString *user, AString *pass) argument
/frameworks/base/services/camera/libcameraservice/
H A DCameraHardwareStub.h38 void* user);
H A DCameraHardwareStub.cpp117 void* user)
123 mCallbackCookie = user;
114 setCallbacks(notify_callback notify_cb, data_callback data_cb, data_callback_timestamp data_cb_timestamp, void* user) argument
H A DCameraService.cpp486 // from the user directly, or called by the destructor.
919 sp<CameraService::Client> CameraService::Client::getClientFromCookie(void* user) { argument
920 sp<Client> client = gCameraService->getClientById((int) user);
965 int32_t ext2, void* user) {
968 sp<Client> client = getClientFromCookie(user);
984 const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) {
987 sp<Client> client = getClientFromCookie(user);
1017 int32_t msgType, const sp<IMemory>& dataPtr, void* user) {
1020 sp<Client> client = getClientFromCookie(user);
964 notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user) argument
983 dataCallback(int32_t msgType, const sp<IMemory>& dataPtr, camera_frame_metadata_t *metadata, void* user) argument
1016 dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user) argument
/frameworks/base/include/media/
H A DToneGenerator.h273 static void audioCallback(int event, void* user, void *info);
/frameworks/base/media/libstagefright/
H A DAndroid.mk104 # See if the user has specified a stack they want to use
H A DAudioSource.cpp32 static void AudioRecordCallbackFunction(int event, void *user, void *info) { argument
33 AudioSource *source = (AudioSource *) user;
H A DAudioPlayer.cpp254 void AudioPlayer::AudioCallback(int event, void *user, void *info) { argument
255 static_cast<AudioPlayer *>(user)->AudioCallback(event, info);
/frameworks/base/cmds/dumpstate/
H A Dutils.c211 static void print_prop(const char *key, const char *name, void *user) { argument
212 (void) user;
/frameworks/base/core/java/android/net/
H A DVpnService.java70 * {@link Builder#establish}. The former deals with user action and stops
77 * <li>When the user press the button to connect, call {@link #prepare}
128 * prepared. The activity may pop up a dialog to require user action, and
260 mConfig.user = VpnService.this.getClass().getName();

Completed in 352 milliseconds

123