/frameworks/wilhelm/src/android/ |
H A D | AudioRecorder_to_android.cpp | 211 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; 417 (void*)ar, // user, callback data, here the AudioRecorder
|
H A D | MediaPlayer_to_android.cpp | 29 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/av/media/libmedia/ |
H A D | AudioEffect.cpp | 48 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 D | AudioRecord.cpp | 81 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 D | SoundPool.cpp | 430 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);
|
/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 385 void AudioPlayer::AudioCallback(int event, void *user, void *info) { argument 386 static_cast<AudioPlayer *>(user)->AudioCallback(event, info);
|
/frameworks/base/core/java/android/app/ |
H A D | PendingIntent.java | 309 @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...] |
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetManager.java | 58 * once the user has selected one.</td> 107 * <td>An optional handle to a user profile under which runs the provider 219 * An intent extra that contains the user handle of the profile under 677 * Gets the AppWidget providers for the given user profile. User profile can only 678 * be the current user or a profile of the current user. For example, the current 679 * user may have a corporate profile. In this case the parent user profile has a 683 * to passing only the current user handle. 709 * Gets the AppWidget providers for the current user 896 bindAppWidgetIdIfAllowed(int appWidgetId, UserHandle user, ComponentName provider, Bundle options) argument [all...] |
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageMonitor.java | 72 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. 283 Slog.w("PackageMonitor", "Intent broadcast does not contain user handle: " + intent);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 134 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
|
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | CameraClient.cpp | 249 // 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/base/core/java/android/os/ |
H A D | UserManager.java | 37 * Manages users and user details on a multi-user system. 46 * Specifies if a user is disallowed from adding and removing accounts. 49 * <p/>Key for user restrictions. 57 * Specifies if a user is disallowed from changing Wi-Fi 61 * <p/>Key for user restrictions. 69 * Specifies if a user is disallowed from installing applications. 72 * <p/>Key for user restrictions. 80 * Specifies if a user is disallowed from uninstalling applications. 83 * <p/>Key for user restriction 529 isUserRunning(UserHandle user) argument 545 isUserRunningOrStopping(UserHandle user) argument 698 getSerialNumberForUser(UserHandle user) argument 963 getBadgedIconForUser(Drawable icon, UserHandle user) argument 992 getBadgedDrawableForUser(Drawable badgedDrawable, UserHandle user, Rect badgeLocation, int badgeDensity) argument 1010 getBadgedLabelForUser(CharSequence label, UserHandle user) argument 1184 getApplicationRestrictions(String packageName, UserHandle user) argument 1196 setApplicationRestrictions(String packageName, Bundle restrictions, UserHandle user) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioRecord.cpp | 73 static void recorderCallback(int event, void* user, void *info) { argument 75 audiorecord_callback_cookie *callbackInfo = (audiorecord_callback_cookie *)user; 87 if (user != NULL && env != NULL) { 101 if (user != NULL && env != NULL) { 237 lpCallbackData,// void* user
|
H A D | android_media_AudioTrack.cpp | 112 static void audioCallback(int event, void* user, void *info) { argument 114 audiotrack_callback_cookie *callbackInfo = (audiotrack_callback_cookie *)user; 126 if (user != NULL && env != NULL) { 140 if (user != NULL && env != NULL) { 300 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user) 326 audioCallback, &(lpJniStorage->mCallbackData),//callback, callback data (user)); 553 // the 8bit mixer restriction from the user of this function
|
/frameworks/base/media/jni/audioeffect/ |
H A D | android_media_AudioEffect.cpp | 95 static void effectCallback(int event, void* user, void *info) { argument 106 effect_callback_cookie *callbackInfo = (effect_callback_cookie *)user; 114 if (!user || !env) { 115 ALOGW("effectCallback error user %p, env %p", user, env);
|
H A D | android_media_Visualizer.cpp | 158 static void captureCallback(void* user, argument 169 visualizer_callback_cookie *callbackInfo = (visualizer_callback_cookie *)user; 172 if (!user || !env) { 173 ALOGW("captureCallback error user %p, env %p", user, env); 319 void *user, 323 visualizerJniStorage* lpJniStorage = (visualizerJniStorage*)user; 318 android_media_visualizer_effect_callback(int32_t event, void *user, void *info) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | HeadsUpNotificationView.java | 210 private static String snoozeKey(String packageName, int user) { argument 211 return user + "," + packageName; 441 public void setUser(int user) { argument 442 mUser = user;
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbSettingsManager.java | 71 /** Legacy settings file, before multi-user */ 89 // Maps DeviceFilter to user preferred application package 92 // Maps AccessoryFilter to user preferred application package 498 public UsbSettingsManager(Context context, UserHandle user) { argument 499 if (DEBUG) Slog.v(TAG, "Creating settings for " + user); 502 mUserContext = context.createPackageContextAsUser("android", 0, user); 510 mUser = user; 512 Environment.getUserSystemDirectory(user.getIdentifier()), 519 if (UserHandle.OWNER.equals(user)) { 550 * Upgrade any single-user setting [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | utils.c | 207 sprintf(title, "SYSTEM SETTINGS (user %d)", userid); 375 static void print_prop(const char *key, const char *name, void *user) { argument 376 (void) user;
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.h | 35 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/base/core/java/android/content/ |
H A D | ContextWrapper.java | 328 public void startActivityAsUser(Intent intent, UserHandle user) { argument 329 mBase.startActivityAsUser(intent, user); 339 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) { argument 340 mBase.startActivityAsUser(intent, options, user); 419 public void sendBroadcastAsUser(Intent intent, UserHandle user) { argument 420 mBase.sendBroadcastAsUser(intent, user); 424 public void sendBroadcastAsUser(Intent intent, UserHandle user, argument 426 mBase.sendBroadcastAsUser(intent, user, receiverPermission); 430 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, argument 433 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermissio 439 sendOrderedBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, int appOp, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument 468 sendStickyBroadcastAsUser(Intent intent, UserHandle user) argument 473 sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument 482 removeStickyBroadcastAsUser(Intent intent, UserHandle user) argument 502 registerReceiverAsUser( BroadcastReceiver receiver, UserHandle user, IntentFilter filter, String broadcastPermission, Handler scheduler) argument 526 startServiceAsUser(Intent service, UserHandle user) argument 532 stopServiceAsUser(Intent name, UserHandle user) argument 544 bindServiceAsUser(Intent service, ServiceConnection conn, int flags, UserHandle user) argument 676 createPackageContextAsUser(String packageName, int flags, UserHandle user) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ProcessCpuTracker.java | 68 /** Stores user time and system time in 100ths of a second. */ 71 /** Stores user time and system time in 100ths of a second. Used for 112 PROC_SPACE_TERM|PROC_OUT_LONG, // 1: user time 296 // Total user time is user + nice time. 546 * both user and system code. Safe to call without lock held. 788 int totalTime, int user, int system, int iowait, int irq, int softIrq, 792 printRatio(pw, user+system+iowait+irq+softIrq, totalTime); 800 printRatio(pw, user, totalTime); 801 pw.print("% user 787 printProcessCPU(PrintWriter pw, String prefix, int pid, String label, int totalTime, int user, int system, int iowait, int irq, int softIrq, int minFaults, int majFaults) argument [all...] |
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 29 * 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/media/jni/ |
H A D | android_mtp_MtpDatabase.cpp | 768 static void foreachentry(ExifEntry *entry, void * /*user*/) { 774 static void foreachcontent(ExifContent *content, void *user) { argument 776 exif_content_foreach_entry(content, foreachentry, user);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | BluetoothManagerService.java | 387 Log.w(TAG,"isEnabled(): not allowed for non-active and non system user"); 435 Log.w(TAG,"enable(): not allowed for non-active and non system user"); 464 Log.w(TAG,"disable(): not allowed for non-active and non system user"); 760 Log.w(TAG,"getAddress(): not allowed for non-active and non system user"); 785 Log.w(TAG,"getName(): not allowed for non-active and non system user"); 1204 /* disable and enable BT when detect a user switch */ 1261 // if user is switched when service is being binding 1325 boolean doBind(Intent intent, ServiceConnection conn, int flags, UserHandle user) { argument 1328 if (comp == null || !mContext.bindServiceAsUser(intent, conn, flags, user)) { 1518 // todo: notify user t [all...] |