Home
last modified time | relevance | path

Searched refs:uid_t (Results 1 – 25 of 129) sorted by relevance

123456

/frameworks/av/media/utils/include/mediautils/
DBatteryNotifier.h40 void noteStartVideo(uid_t uid);
41 void noteStopVideo(uid_t uid);
43 void noteStartAudio(uid_t uid);
44 void noteStopAudio(uid_t uid);
46 void noteFlashlightOn(const String8& id, uid_t uid);
47 void noteFlashlightOff(const String8& id, uid_t uid);
49 void noteStartCamera(const String8& id, uid_t uid);
50 void noteStopCamera(const String8& id, uid_t uid);
61 std::map<uid_t, int> mVideoRefCounts;
62 std::map<uid_t, int> mAudioRefCounts;
[all …]
/frameworks/native/services/sensorservice/
DBatteryService.h33 void enableSensorImpl(uid_t uid, int handle);
34 void disableSensorImpl(uid_t uid, int handle);
35 void cleanupImpl(uid_t uid);
38 uid_t uid;
42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { } in Info()
50 bool addSensor(uid_t uid, int handle);
51 bool removeSensor(uid_t uid, int handle);
55 static void enableSensor(uid_t uid, int handle) { in enableSensor()
58 static void disableSensor(uid_t uid, int handle) { in disableSensor()
61 static void cleanup(uid_t uid) { in cleanup()
DBatteryService.cpp36 bool BatteryService::addSensor(uid_t uid, int handle) { in addSensor()
48 bool BatteryService::removeSensor(uid_t uid, int handle) { in removeSensor()
58 void BatteryService::enableSensorImpl(uid_t uid, int handle) { in enableSensorImpl()
67 void BatteryService::disableSensorImpl(uid_t uid, int handle) { in disableSensorImpl()
77 void BatteryService::cleanupImpl(uid_t uid) { in cleanupImpl()
DSensorDirectConnection.h39 SensorDirectConnection(const sp<SensorService>& service, uid_t uid,
43 uid_t getUid() const { return mUid; } in getUid()
69 const uid_t mUid;
DSensorEventConnection.h51 SensorEventConnection(const sp<SensorService>& service, uid_t uid, String8 packageName,
67 uid_t getUid() const { return mUid; } in getUid()
127 uid_t mUid;
/frameworks/av/media/utils/
DBatteryNotifier.cpp41 void BatteryNotifier::noteStartVideo(uid_t uid) { in noteStartVideo()
50 void BatteryNotifier::noteStopVideo(uid_t uid) { in noteStopVideo()
77 void BatteryNotifier::noteStartAudio(uid_t uid) { in noteStartAudio()
86 void BatteryNotifier::noteStopAudio(uid_t uid) { in noteStopAudio()
113 void BatteryNotifier::noteFlashlightOn(const String8& id, uid_t uid) { in noteFlashlightOn()
117 std::pair<String8, uid_t> k = std::make_pair(id, uid); in noteFlashlightOn()
126 void BatteryNotifier::noteFlashlightOff(const String8& id, uid_t uid) { in noteFlashlightOff()
130 std::pair<String8, uid_t> k = std::make_pair(id, uid); in noteFlashlightOff()
148 void BatteryNotifier::noteStartCamera(const String8& id, uid_t uid) { in noteStartCamera()
151 std::pair<String8, uid_t> k = std::make_pair(id, uid); in noteStartCamera()
[all …]
/frameworks/native/libs/binder/include/binder/
DPermissionCache.h44 uid_t uid;
61 const String16& permission, uid_t uid) const;
63 void cache(const String16& permission, uid_t uid, bool granted);
74 pid_t pid, uid_t uid);
DIPCThreadState.h26 typedef int uid_t; typedef
43 uid_t getCallingUid() const;
126 uid_t mCallingUid;
/frameworks/av/services/audioflinger/
DServiceUtilities.h22 bool isTrustedCallingUid(uid_t uid);
23 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid);
24 bool captureAudioOutputAllowed(pid_t pid, uid_t uid);
DServiceUtilities.cpp41 bool isTrustedCallingUid(uid_t uid) { in isTrustedCallingUid()
51 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) { in recordingAllowed()
108 bool captureAudioOutputAllowed(pid_t pid, uid_t uid) { in captureAudioOutputAllowed()
DTrackBase.h65 uid_t uid,
79 uid_t uid() const { return mUid; } in uid()
162 uid_t mUid;
/frameworks/native/cmds/servicemanager/
Dservice_manager.c29 uid_t uid;
65 static bool check_mac_perms(pid_t spid, uid_t uid, const char *tctx, const char *perm, const char *… in check_mac_perms()
88 static bool check_mac_perms_from_getcon(pid_t spid, uid_t uid, const char *perm) in check_mac_perms_from_getcon()
93 static bool check_mac_perms_from_lookup(pid_t spid, uid_t uid, const char *perm, const char *name) in check_mac_perms_from_lookup()
113 static int svc_can_register(const uint16_t *name, size_t name_len, pid_t spid, uid_t uid) in svc_can_register()
124 static int svc_can_list(pid_t spid, uid_t uid) in svc_can_list()
130 static int svc_can_find(const uint16_t *name, size_t name_len, pid_t spid, uid_t uid) in svc_can_find()
178 uint32_t do_find_service(const uint16_t *s, size_t len, uid_t uid, pid_t spid) in do_find_service()
189 uid_t appid = uid % AID_USER; in do_find_service()
204 uint32_t handle, uid_t uid, int allow_isolated, in do_add_service()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamRequest.h39 uid_t getUserId() const { in getUserId()
43 void setUserId(uid_t userId) { in setUserId()
90 uid_t mUserId;
/frameworks/native/libs/binder/
DPermissionCache.cpp38 const String16& permission, uid_t uid) const { in check()
52 uid_t uid, bool granted) { in cache()
85 uid_t uid = ipcState->getCallingUid(); in checkCallingPermission()
92 const String16& permission, pid_t pid, uid_t uid) { in checkPermission()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DSessionRoute.h44 uid_t uid) in SessionRoute()
61 uid_t mUid;
110 uid_t uid);
DAudioSession.h40 uid_t uid,
53 uid_t uid() const { return mUid; } in uid()
71 const uid_t mUid;
DAudioPatch.h30 AudioPatch(const struct audio_patch *patch, uid_t uid);
36 uid_t mUid;
DAudioSourceDescriptor.h36 uid_t uid) : in AudioSourceDescriptor()
46 uid_t mUid;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h116 uid_t uid,
133 uid_t uid,
207 uid_t uid);
209 uid_t uid);
215 virtual void releaseResourcesForUid(uid_t uid);
232 uid_t uid);
494 void clearAudioPatches(uid_t uid);
495 void clearSessionRoutes(uid_t uid);
508 void clearAudioSources(uid_t uid);
518 uid_t mUidCached;
[all …]
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h122 uid_t uid,
144 uid_t uid,
218 uid_t uid) = 0;
220 uid_t uid) = 0;
225 virtual void releaseResourcesForUid(uid_t uid) = 0;
239 uid_t uid) = 0;
/frameworks/native/libs/vr/libvr_manager/
Dtrusted_uids.cpp15 bool IsTrustedUid(uid_t uid, bool use_cache) { in IsTrustedUid()
16 static std::unordered_map<uid_t, bool> uid_cache; in IsTrustedUid()
/frameworks/av/media/libstagefright/include/
DCameraSource.h88 uid_t clientUid,
212 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
296 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
301 int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid,
312 uid_t clientUid,
DHTTPBase.h53 static void RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag);
56 static void RegisterSocketUserMark(int sockfd, uid_t uid);
/frameworks/native/cmds/installd/
Ddexopt.h50 bool analyze_primary_profiles(uid_t uid, const std::string& pkgname);
61 int dexopt(const char *apk_path, uid_t uid, const char *pkgName, const char *instruction_set,
/frameworks/av/include/media/
DMediaAnalyticsItem.h161 MediaAnalyticsItem &setUid(uid_t);
162 uid_t getUid() const;
190 uid_t mUid;

123456