/frameworks/av/services/audioflinger/ |
H A D | ServiceUtilities.h | 24 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 D | ServiceUtilities.cpp | 43 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 D | BatteryNotifier.h | 40 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 D | BatteryService.h | 33 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 D | SensorDirectConnection.h | 39 SensorDirectConnection(const sp<SensorService>& service, uid_t uid, 43 uid_t getUid() const { return mUid; } 69 const uid_t mUid;
|
H A D | BatteryService.cpp | 36 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 D | SensorService.h | 116 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 D | trusted_uids.h | 28 bool IsTrustedUid(uid_t uid, bool use_cache = true);
|
/frameworks/native/include/binder/ |
H A D | IUidObserver.h | 34 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 D | PermissionCache.h | 46 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 D | IActivityManager.h | 40 virtual bool isUidActive(const uid_t uid, const String16& callingPackage) = 0;
|
/frameworks/native/libs/binder/include/binder/ |
H A D | IUidObserver.h | 34 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 D | PermissionCache.h | 46 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 D | IActivityManager.h | 40 virtual bool isUidActive(const uid_t uid, const String16& callingPackage) = 0;
|
/frameworks/native/libs/binder/ |
H A D | IUidObserver.cpp | 33 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 D | PermissionCache.cpp | 38 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 D | AAudioStreamRequest.h | 39 uid_t getUserId() const { 43 void setUserId(uid_t userId) { 89 uid_t mUserId = (uid_t) -1;
|
/frameworks/av/media/utils/ |
H A D | BatteryNotifier.cpp | 41 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 D | AudioPatch.h | 31 AudioPatch(const struct audio_patch *patch, uid_t uid); 37 uid_t mUid;
|
H A D | AudioSourceDescriptor.h | 36 uid_t uid) : 46 uid_t mUid;
|
H A D | SessionRoute.h | 45 uid_t uid) 62 uid_t mUid; 112 uid_t uid);
|
/frameworks/native/libs/vr/libvr_manager/ |
H A D | trusted_uids.cpp | 15 bool IsTrustedUid(uid_t uid, bool use_cache) { 16 static std::unordered_map<uid_t, bool> uid_cache;
|
/frameworks/av/services/mediaanalytics/ |
H A D | MediaAnalyticsService.h | 94 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 D | MediaExtractor.cpp | 30 uid_t uid = getuid();
|
/frameworks/native/cmds/installd/ |
H A D | otapreopt_parameters.h | 36 uid_t uid;
|