/frameworks/av/media/utils/include/mediautils/ |
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, int> mAudioRefCounts; [all …]
|
/frameworks/native/services/sensorservice/ |
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) { } 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()
|
D | BatteryService.cpp | 36 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()
|
D | SensorDirectConnection.h | 39 SensorDirectConnection(const sp<SensorService>& service, uid_t uid, 43 uid_t getUid() const { return mUid; } in getUid() 69 const uid_t mUid;
|
D | SensorEventConnection.h | 51 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/ |
D | BatteryNotifier.cpp | 41 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/ |
D | PermissionCache.h | 44 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);
|
D | IPCThreadState.h | 26 typedef int uid_t; typedef 43 uid_t getCallingUid() const; 126 uid_t mCallingUid;
|
/frameworks/av/services/audioflinger/ |
D | ServiceUtilities.h | 22 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);
|
D | ServiceUtilities.cpp | 41 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()
|
D | TrackBase.h | 65 uid_t uid, 79 uid_t uid() const { return mUid; } in uid() 162 uid_t mUid;
|
/frameworks/native/cmds/servicemanager/ |
D | service_manager.c | 29 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/ |
D | AAudioStreamRequest.h | 39 uid_t getUserId() const { in getUserId() 43 void setUserId(uid_t userId) { in setUserId() 90 uid_t mUserId;
|
/frameworks/native/libs/binder/ |
D | PermissionCache.cpp | 38 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/ |
D | SessionRoute.h | 44 uid_t uid) in SessionRoute() 61 uid_t mUid; 110 uid_t uid);
|
D | AudioSession.h | 40 uid_t uid, 53 uid_t uid() const { return mUid; } in uid() 71 const uid_t mUid;
|
D | AudioPatch.h | 30 AudioPatch(const struct audio_patch *patch, uid_t uid); 36 uid_t mUid;
|
D | AudioSourceDescriptor.h | 36 uid_t uid) : in AudioSourceDescriptor() 46 uid_t mUid;
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 116 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/ |
D | AudioPolicyInterface.h | 122 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/ |
D | trusted_uids.cpp | 15 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/ |
D | CameraSource.h | 88 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,
|
D | HTTPBase.h | 53 static void RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag); 56 static void RegisterSocketUserMark(int sockfd, uid_t uid);
|
/frameworks/native/cmds/installd/ |
D | dexopt.h | 50 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/ |
D | MediaAnalyticsItem.h | 161 MediaAnalyticsItem &setUid(uid_t); 162 uid_t getUid() const; 190 uid_t mUid;
|