Searched refs:uid_t (Results 1 - 25 of 181) sorted by relevance

12345678

/frameworks/av/services/audioflinger/
H A DServiceUtilities.h24 bool isTrustedCallingUid(uid_t uid);
25 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid);
26 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid);
27 void finishRecording(const String16& opPackageName, uid_t uid);
28 bool captureAudioOutputAllowed(pid_t pid, uid_t uid);
29 bool captureHotwordAllowed(pid_t pid, uid_t uid);
33 bool modifyPhoneStateAllowed(pid_t pid, uid_t uid);
H A DServiceUtilities.cpp43 bool isTrustedCallingUid(uid_t uid) {
54 const String16& opPackageName, uid_t uid) {
74 static inline bool isAudioServerOrRoot(uid_t uid) {
80 uid_t uid, bool start) {
119 bool recordingAllowed(const String16& opPackageName, pid_t pid, uid_t uid) {
123 bool startRecording(const String16& opPackageName, pid_t pid, uid_t uid) {
127 void finishRecording(const String16& opPackageName, uid_t uid) {
144 bool captureAudioOutputAllowed(pid_t pid, uid_t uid) {
152 bool captureHotwordAllowed(pid_t pid, uid_t uid) {
192 bool modifyPhoneStateAllowed(pid_t pid, uid_t ui
[all...]
/frameworks/av/media/utils/include/mediautils/
H A 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, in
[all...]
/frameworks/native/services/sensorservice/
H A 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) { }
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) {
58 static void disableSensor(uid_t uid, int handle) {
61 static void cleanup(uid_t ui
[all...]
H A DSensorDirectConnection.h39 SensorDirectConnection(const sp<SensorService>& service, uid_t uid,
43 uid_t getUid() const { return mUid; }
69 const uid_t mUid;
H A DBatteryService.cpp36 bool BatteryService::addSensor(uid_t uid, int handle) {
48 bool BatteryService::removeSensor(uid_t uid, int handle) {
58 void BatteryService::enableSensorImpl(uid_t uid, int handle) {
67 void BatteryService::disableSensorImpl(uid_t uid, int handle) {
77 void BatteryService::cleanupImpl(uid_t uid) {
H A DSensorService.h116 bool isUidActive(uid_t uid);
118 void onUidGone(uid_t uid, bool disabled);
119 void onUidActive(uid_t uid);
120 void onUidIdle(uid_t uid, bool disabled);
122 void addOverrideUid(uid_t uid, bool active);
123 void removeOverrideUid(uid_t uid);
125 bool isUidActiveLocked(uid_t uid);
126 void updateOverrideUid(uid_t uid, bool active, bool insert);
130 std::unordered_set<uid_t> mActiveUids;
131 std::unordered_map<uid_t, boo
[all...]
/frameworks/native/libs/vr/libvr_manager/include/private/dvr/
H A Dtrusted_uids.h28 bool IsTrustedUid(uid_t uid, bool use_cache = true);
/frameworks/native/include/binder/
H A DIUidObserver.h34 virtual void onUidGone(uid_t uid, bool disabled) = 0;
35 virtual void onUidActive(uid_t uid) = 0;
36 virtual void onUidIdle(uid_t uid, bool disabled) = 0;
H A DPermissionCache.h46 uid_t uid;
63 const String16& permission, uid_t uid) const;
65 void cache(const String16& permission, uid_t uid, bool granted);
76 pid_t pid, uid_t uid);
H A DIActivityManager.h40 virtual bool isUidActive(const uid_t uid, const String16& callingPackage) = 0;
/frameworks/native/libs/binder/include/binder/
H A DIUidObserver.h34 virtual void onUidGone(uid_t uid, bool disabled) = 0;
35 virtual void onUidActive(uid_t uid) = 0;
36 virtual void onUidIdle(uid_t uid, bool disabled) = 0;
H A DPermissionCache.h46 uid_t uid;
63 const String16& permission, uid_t uid) const;
65 void cache(const String16& permission, uid_t uid, bool granted);
76 pid_t pid, uid_t uid);
H A DIActivityManager.h40 virtual bool isUidActive(const uid_t uid, const String16& callingPackage) = 0;
/frameworks/native/libs/binder/
H A DIUidObserver.cpp33 virtual void onUidGone(uid_t uid, bool disabled)
42 virtual void onUidActive(uid_t uid)
50 virtual void onUidIdle(uid_t uid, bool disabled)
72 uid_t uid = data.readInt32();
80 uid_t uid = data.readInt32();
87 uid_t uid = data.readInt32();
H A DPermissionCache.cpp38 const String16& permission, uid_t uid) const {
52 uid_t uid, bool granted) {
85 uid_t uid = ipcState->getCallingUid();
92 const String16& permission, pid_t pid, uid_t uid) {
/frameworks/av/media/libaaudio/src/binding/
H A DAAudioStreamRequest.h39 uid_t getUserId() const {
43 void setUserId(uid_t userId) {
89 uid_t mUserId = (uid_t) -1;
/frameworks/av/media/utils/
H A DBatteryNotifier.cpp41 void BatteryNotifier::noteStartVideo(uid_t uid) {
50 void BatteryNotifier::noteStopVideo(uid_t uid) {
77 void BatteryNotifier::noteStartAudio(uid_t uid) {
86 void BatteryNotifier::noteStopAudio(uid_t uid) {
113 void BatteryNotifier::noteFlashlightOn(const String8& id, uid_t uid) {
117 std::pair<String8, uid_t> k = std::make_pair(id, uid);
126 void BatteryNotifier::noteFlashlightOff(const String8& id, uid_t uid) {
130 std::pair<String8, uid_t> k = std::make_pair(id, uid);
148 void BatteryNotifier::noteStartCamera(const String8& id, uid_t uid) {
151 std::pair<String8, uid_t>
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPatch.h31 AudioPatch(const struct audio_patch *patch, uid_t uid);
37 uid_t mUid;
H A DAudioSourceDescriptor.h36 uid_t uid) :
46 uid_t mUid;
H A DSessionRoute.h45 uid_t uid)
62 uid_t mUid;
112 uid_t uid);
/frameworks/native/libs/vr/libvr_manager/
H A Dtrusted_uids.cpp15 bool IsTrustedUid(uid_t uid, bool use_cache) {
16 static std::unordered_map<uid_t, bool> uid_cache;
/frameworks/av/services/mediaanalytics/
H A DMediaAnalyticsService.h94 uid_t uid;
101 KeyedVector<uid_t,struct UidToPkgMap> mPkgMappings;
102 void setPkgInfo(MediaAnalyticsItem *item, uid_t uid, bool setName, bool setVersion);
/frameworks/av/media/libmediaextractor/
H A DMediaExtractor.cpp30 uid_t uid = getuid();
/frameworks/native/cmds/installd/
H A Dotapreopt_parameters.h36 uid_t uid;

Completed in 178 milliseconds

12345678