Searched refs:user (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/compile/linkloader/tests/images/
H A Dsimple-test.c25 unsigned int user = 100; local
31 while (user != ans) {
34 if (scanf("%u", &user) != 1) {
38 if (user < left || user > right) {
41 } else if (user == ans) {
44 } else if (user < ans) {
45 left = user;
47 right = user;
/frameworks/base/data/etc/
H A DAndroid.mk24 LOCAL_MODULE_TAGS := user
41 #LOCAL_MODULE_TAGS := user
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerTest.java42 // Remove all except the primary user
43 for (UserInfo user : users) {
44 if (!user.isPrimary()) {
45 mUserManager.removeUser(user.id);
62 for (UserInfo user : list) {
63 if (user.id == userInfo.id && user.name.equals("Guest 1")
64 && user.isGuest()
65 && !user.isAdmin()
66 && !user
[all...]
/frameworks/base/include/media/
H A DVisualizer.h70 void* user = 0,
88 typedef void (*capture_cbk_t)(void* user,
97 status_t setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, uint32_t rate);
H A DAudioEffect.h172 * user: Pointer to context for use by the callback receiver.
182 typedef void (*effect_callback_t)(int32_t event, void* user, void *info);
218 * user: pointer to context for use by the callback receiver.
230 void* user = 0,
242 void* user = 0,
264 void* user = 0,
H A DAudioRecord.h92 * user: Pointer to context for use by the callback receiver.
102 typedef void (*callback_t)(int event, void* user, void *info);
142 * user Context for use by the callback receiver.
158 void* user = 0,
184 void* user = 0,
325 * Such loss typically occurs when the user space process is blocked longer than the capacity of audio driver buffers.
H A DAudioTrack.h90 * user: Pointer to context for use by the callback receiver.
102 typedef void (*callback_t)(int event, void* user, void *info);
142 * user Context for use by the callback receiver.
152 void* user = 0,
172 void* user = 0,
196 void* user = 0,
/frameworks/base/drm/libdrmframework/plugins/common/util/
H A DAndroid.mk44 ifneq ($(TARGET_BUILD_VARIANT),user)
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java29 * 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/services/camera/libcameraservice/
H A DCameraHardwareInterface.h37 void* user);
42 void* user);
47 void *user);
119 mHalPreviewWindow.user = this;
120 LOGV("%s &mHalPreviewWindow %p mHalPreviewWindow.user %p", __FUNCTION__,
121 &mHalPreviewWindow, mHalPreviewWindow.user);
132 void* user)
137 mCbUser = user;
445 int32_t ext2, void *user)
449 static_cast<CameraHardwareInterface *>(user);
129 setCallbacks(notify_callback notify_cb, data_callback data_cb, data_callback_timestamp data_cb_timestamp, void* user) argument
444 __notify_cb(int32_t msg_type, int32_t ext1, int32_t ext2, void *user) argument
453 __data_cb(int32_t msg_type, const camera_memory_t *data, unsigned int index, camera_frame_metadata_t *metadata, void *user) argument
470 __data_cb_timestamp(nsecs_t timestamp, int32_t msg_type, const camera_memory_t *data, unsigned index, void *user) argument
560 __to_anw(void *user) argument
678 void *user; member in struct:android::CameraHardwareInterface::camera_preview_window
[all...]
H A DCameraService.h144 static void notifyCallback(int32_t msgType, int32_t ext1, int32_t ext2, void* user);
146 camera_frame_metadata_t *metadata, void* user);
147 static void dataCallbackTimestamp(nsecs_t timestamp, int32_t msgType, const sp<IMemory>& dataPtr, void* user);
149 static sp<Client> getClientFromCookie(void* user);
192 // If the user want us to return a copy of the preview frame (instead
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java55 public String user; field in class:VpnConfig
73 out.writeString(user);
90 config.user = in.readString();
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DApnSetting.java33 public final String user; field in class:ApnSetting
57 String user, String password, int authType, String[] types,
68 this.user = user;
88 * <mmsport>, <user>, <password>, <authtype>, <mcc>,<mnc>,
93 * <mmsport>, <user>, <password>, <authtype>, <mcc>, <mnc>,
54 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/base/media/libmedia/
H A DAudioTrack.cpp94 void* user,
100 frameCount, flags, cbf, user, notificationFrames,
112 void* user,
118 0, flags, cbf, user, notificationFrames,
149 void* user,
256 mUserData = user;
564 LOGE("setLoop invalid value: loopStart %d, loopEnd %d, loopCount %d, framecount %d, user %d", loopStart, loopEnd, loopCount, cblk->frameCount, cblk->user);
649 if (position > mCblk->user) return BAD_VALUE;
879 if (cblk->user < cbl
86 AudioTrack( int streamType, uint32_t sampleRate, int format, int channelMask, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
104 AudioTrack( int streamType, uint32_t sampleRate, int format, int channelMask, const sp<IMemory>& sharedBuffer, uint32_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
141 set( int streamType, uint32_t sampleRate, int format, int channelMask, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava, int sessionId) argument
1187 uint32_t user = cblk->user; local
[all...]
H A DAudioRecord.cpp95 void* user,
101 frameCount, flags, cbf, user, notificationFrames, sessionId);
129 void* user,
227 mUserData = user;
325 mNewPosition = cblk->user + mUpdatePeriod;
433 *position = mCblk->user;
536 "user=%08x, server=%08x", cblk->user, cblk->server);
570 uint32_t u = cblk->user;
625 // sanity-check. user i
87 AudioRecord( int inputSource, uint32_t sampleRate, int format, uint32_t channelMask, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, int sessionId) argument
121 set( int inputSource, uint32_t sampleRate, int format, uint32_t channelMask, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, bool threadCanCallJava, int sessionId) argument
[all...]
H A DVisualizer.cpp39 void* user,
41 : AudioEffect(SL_IID_VISUALIZATION, NULL, priority, cbf, user, sessionId),
91 status_t Visualizer::setCaptureCallBack(capture_cbk_t cbk, void* user, uint32_t flags, uint32_t rate) argument
108 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 LOGV("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/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DApnSettingTest.java35 assertEquals(a1.user, a2.user);
102 "mmsc", "mmsproxy", "mmsport", "user", "password", 0,
/frameworks/base/include/private/media/
H A DAudioTrackShared.h64 volatile uint32_t user; member in struct:android::audio_track_cblk_t
/frameworks/base/services/java/com/android/server/pm/
H A DUserManager.java53 private static final String TAG_USER = "user";
98 * Returns an array of user ids. This array is cached here for quick access, so do not modify or
100 * @return the array of user ids.
124 Slog.e(LOG_TAG, "Unable to read user list");
132 UserInfo user = readUser(Integer.parseInt(id));
133 if (user != null) {
134 mUsers.put(user.id, user);
147 // Create the primary user
158 * Writes the user fil
[all...]
/frameworks/base/cmds/keystore/
H A Dtest-keystore51 declare -r user=$1
53 run adb shell su $user keystore_cli "$@"
70 log "reset keystore as system user"
82 log "but system user does"
124 log "root can read system user keys (as can wifi or vpn users)"
130 # app user tests
138 log "app user cannot use reset, password, lock, unlock"
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java109 // Only system user can revoke a package.
181 intent.setClassName(mPackage, config.user);
184 throw new SecurityException("Cannot find " + config.user);
187 throw new SecurityException(config.user + " does not require " + BIND_VPN_SERVICE);
220 throw new IllegalStateException("Cannot bind " + config.user);
238 Log.i(TAG, "Established by " + config.user + " on " + mInterface);
241 config.user = mPackage;
371 // Only system user can call this method.
409 mInfo.key = mConfig.user;
410 mConfig.user
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmDataConnection.java92 authType = (mApn.user != null) ? RILConstants.SETUP_DATA_AUTH_PAP_CHAP :
106 mApn.apn, mApn.user, mApn.password,
/frameworks/base/core/jni/
H A Dandroid_server_BluetoothA2dpService.cpp51 static void onConnectSinkResult(DBusMessage *msg, void *user, void *n);
280 void onConnectSinkResult(DBusMessage *msg, void *user, void *n) { argument
284 const char *path = (const char *)user;
304 free(user);
/frameworks/base/include/media/stagefright/
H A DAudioPlayer.h98 static void AudioCallback(int event, void *user, void *info);

Completed in 835 milliseconds

123