Searched defs:uid (Results 26 - 50 of 113) sorted by relevance

12345

/frameworks/av/include/media/
H A DMediaPlayerInterface.h123 virtual status_t setUID(uid_t uid) { argument
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp50 status_t StagefrightPlayer::setUID(uid_t uid) { argument
51 mPlayer->setUID(uid);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp38 uid_t uid)
34 GenericSource( const char *url, const KeyedVector<String8, String8> *headers, bool uidValid, uid_t uid) argument
H A DNuPlayerDriver.cpp61 status_t NuPlayerDriver::setUID(uid_t uid) { argument
62 mPlayer->setUID(uid);
H A DRTSPSource.cpp34 uid_t uid)
37 mUID(uid),
30 RTSPSource( const char *url, const KeyedVector<String8, String8> *headers, bool uidValid, uid_t uid) argument
/frameworks/av/media/libstagefright/chromium_http/
H A DChromiumHTTPDataSource.cpp64 uid_t uid; local
65 if (getUID(&uid)) {
66 mDelegate->setUID(uid);
68 LOG_PRI(ANDROID_LOG_VERBOSE, LOG_TAG, "connect on behalf of uid %d", uid);
/frameworks/base/cmds/servicemanager/
H A Dservice_manager.c24 * uid can register media.*, etc)
27 unsigned uid; member in struct:__anon974
76 int svc_can_register(unsigned uid, uint16_t *name) argument
80 if ((uid == 0) || (uid == AID_SYSTEM))
84 if ((uid == allowed[n].uid) && str16eq(name, allowed[n].name))
131 void *do_find_service(struct binder_state *bs, uint16_t *s, unsigned len, unsigned uid) argument
140 // then check the uid to see if it is isolated.
141 unsigned appid = uid
152 do_add_service(struct binder_state *bs, uint16_t *s, unsigned len, void *ptr, unsigned uid, int allow_isolated) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java183 public final int uid; field in class:RegisteredServicesCache.ServiceInfo
186 public ServiceInfo(V type, ComponentName componentName, int uid) { argument
189 this.uid = uid;
194 return "ServiceInfo: " + type + ", " + componentName + ", uid " + uid;
294 mPersistentServices.put(info.type, info.uid);
298 } else if (previousUid == info.uid) {
303 } else if (inSystemImage(info.uid)
305 if (inSystemImage(info.uid)) {
355 containsTypeAndUid(ArrayList<ServiceInfo<V>> serviceInfos, V type, int uid) argument
[all...]
/frameworks/base/core/java/android/os/
H A DFileUtils.java66 public int uid; field in class:FileUtils.FileStatus
97 public static native int setPermissions(String file, int mode, int uid, int gid); argument
/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java70 public static String createSdDir(int sizeMb, String cid, String sdEncKey, int uid, argument
79 int rc = mountService.createSecureContainer(cid, sizeMb, "ext4", sdEncKey, uid,
H A DPackageMonitor.java115 public void onPackageAdded(String packageName, int uid) { argument
118 public void onPackageRemoved(String packageName, int uid) { argument
121 public void onPackageUpdateStarted(String packageName, int uid) { argument
124 public void onPackageUpdateFinished(String packageName, int uid) { argument
127 public void onPackageChanged(String packageName, int uid, String[] components) { argument
130 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { argument
134 public void onUidRemoved(int uid) { argument
224 int uid = intent.getIntExtra(Intent.EXTRA_UID, 0);
235 onPackageUpdateFinished(pkg, uid);
239 onPackageAdded(pkg, uid);
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DZygoteConnection.java231 pid = Zygote.forkAndSpecialize(parsedArgs.uid, parsedArgs.gid,
283 * <li> --setuid=<i>uid of child process, defaults to 0</i>
291 * This parameter is only applied if the uid of the new process will
318 int uid = 0; field in class:ZygoteConnection.Arguments
400 uid = Integer.parseInt(
582 * <li> uid 0 (root) may specify any uid, gid, and setgroups() list
583 * <li> uid 1000 (Process.SYSTEM_UID) may specify any uid &gt; 1000 in normal
586 * <li> Any other uid ma
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_FileUtils.cpp51 jint uid, jint gid)
62 if (uid >= 0 || gid >= 0) {
63 int res = chown(file8.string(), uid, gid);
178 gFileStatusUidFieldID = env->GetFieldID(fileStatusClass, "uid", "I");
49 android_os_FileUtils_setPermissions(JNIEnv* env, jobject clazz, jstring file, jint mode, jint uid, jint gid) argument
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
H A DBandwidthTest.java223 // is accounted against download manager's uid, since it uses pre-ICS API.
254 * Fetch network data from /proc/uid_stat/uid
258 public NetworkStats fetchDataFromProc(int uid) { argument
259 String root_filepath = "/proc/uid_stat/" + uid + "/";
265 stats.addValues(NetworkStats.IFACE_ALL, uid, NetworkStats.SET_DEFAULT,
320 if (totalStats.containsKey(statsEntry.uid)) {
321 mapEntry = totalStats.get(statsEntry.uid);
336 totalStats.put(statsEntry.uid, statsEntry);
341 results.putInt(label + "uid", entry.uid);
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java212 private boolean grant(byte[] key, byte[] uid) { argument
213 execute('x', key, uid);
217 public boolean grant(String key, int uid) { argument
218 return grant(getBytes(key), Integer.toString(uid).getBytes());
221 private boolean ungrant(byte[] key, byte[] uid) { argument
222 execute('y', key, uid);
226 public boolean ungrant(String key, int uid) { argument
227 return ungrant(getBytes(key), Integer.toString(uid).getBytes());
/frameworks/base/location/lib/java/com/android/location/provider/
H A DLocationProvider.java128 public void addListener(int uid) {
129 LocationProvider.this.onAddListener(uid, new WorkSource(uid));
132 public void removeListener(int uid) {
133 LocationProvider.this.onRemoveListener(uid, new WorkSource(uid));
346 * @param uid user ID of the new client.
349 public abstract void onAddListener(int uid, WorkSource ws); argument
354 * @param uid user ID of the client no longer listening.
357 public abstract void onRemoveListener(int uid, WorkSourc argument
[all...]
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_rights_manager.c241 static int32_t drm_acquireId(uint8_t* uid, int32_t* id) argument
243 if (TRUE == drm_readFromUidTxt(uid, id, GET_ID))
246 drm_writeToUidTxt(uid, id);
362 drm_acquireId(rights->uid, &id);
403 /* this means the uid.txt file is not exist, so there is not any DRM object */
532 int32_t drm_getKey(uint8_t* uid, uint8_t* KeyValue) argument
537 if (NULL == uid || NULL == KeyValue)
540 if (FALSE == drm_readFromUidTxt(uid, &id, GET_ID))
/frameworks/base/services/java/com/android/server/
H A DClipboardService.java205 private final void checkUriOwnerLocked(Uri uri, int uid) { argument
212 mAm.checkGrantUriPermission(uid, null, uri, Intent.FLAG_GRANT_READ_URI_PERMISSION);
219 private final void checkItemOwnerLocked(ClipData.Item item, int uid) { argument
221 checkUriOwnerLocked(item.getUri(), uid);
225 checkUriOwnerLocked(intent.getData(), uid);
229 private final void checkDataOwnerLocked(ClipData data, int uid) { argument
232 checkItemOwnerLocked(data.getItemAt(i), uid);
257 private final void addActiveOwnerLocked(int uid, String pkg) { argument
261 if (!UserId.isSameApp(pi.applicationInfo.uid, uid)) {
[all...]
H A DVibratorService.java78 Vibration(IBinder token, long millis, int uid) { argument
79 this(token, millis, null, 0, uid);
82 Vibration(IBinder token, long[] pattern, int repeat, int uid) { argument
83 this(token, 0, pattern, repeat, uid);
87 int repeat, int uid) {
93 mUid = uid;
162 int uid = Binder.getCallingUid();
173 Vibration vib = new Vibration(token, milliseconds, uid);
197 int uid = Binder.getCallingUid();
217 Vibration vib = new Vibration(token, pattern, repeat, uid);
86 Vibration(IBinder token, long millis, long[] pattern, int repeat, int uid) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DContentProviderRecord.java38 final int uid; field in class:ContentProviderRecord
60 uid = ai.uid;
63 noReleaseNeeded = uid == 0 || uid == Process.SYSTEM_UID;
69 uid = cpr.uid;
85 && (uid == Process.SYSTEM_UID || uid == app.info.uid);
[all...]
H A DPendingIntentRecord.java37 final int uid; field in class:PendingIntentRecord
180 uid = _u;
239 owner.startActivitiesInPackage(uid, allIntents,
242 owner.startActivityInPackage(uid,
259 owner.broadcastIntentInPackage(key.packageName, uid,
263 .getUserId(uid));
272 owner.startServiceInPackage(uid,
319 pw.print(prefix); pw.print("uid="); pw.print(uid);
/frameworks/base/services/java/com/android/server/location/
H A DPassiveProvider.java148 public void addListener(int uid) { argument
151 public void removeListener(int uid) { argument
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsRecorder.java181 mPending.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry);
185 mSinceBoot.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry);
190 complete.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry);
236 public void removeUidLocked(int uid) { argument
238 // process all existing data to migrate uid
239 mRotator.rewriteAll(new RemoveUidRewriter(mBucketDuration, uid));
241 Log.wtf(TAG, "problem removing UID " + uid, e);
247 mLastSnapshot = mLastSnapshot.withoutUid(uid);
252 complete.removeUid(uid);
298 public RemoveUidRewriter(long bucketDuration, int uid) { argument
[all...]
/frameworks/base/services/java/com/android/server/pm/
H A DInstaller.java191 public int install(String name, int uid, int gid) { argument
196 builder.append(uid);
202 public int dexopt(String apkPath, int uid, boolean isPublic) { argument
207 builder.append(uid);
246 public int fixUid(String name, int uid, int gid) { argument
251 builder.append(uid);
264 public int createUserData(String name, int uid, int userId) { argument
269 builder.append(uid);
H A DUserManager.java387 public void installPackageForAllUsers(String packageName, int uid) { argument
392 mInstaller.createUserData(packageName, UserId.getUid(userId, uid),

Completed in 1873 milliseconds

12345