Home
last modified time | relevance | path

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

123

/frameworks/native/services/sensorservice/
DBatteryService.h37 void enableSensorImpl(uid_t uid, int handle);
38 void disableSensorImpl(uid_t uid, int handle);
39 void cleanupImpl(uid_t uid);
42 uid_t uid;
46 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { } in Info()
54 bool addSensor(uid_t uid, int handle);
55 bool removeSensor(uid_t uid, int handle);
58 static void enableSensor(uid_t uid, int handle) { in enableSensor()
61 static void disableSensor(uid_t uid, int handle) { in disableSensor()
64 static void cleanup(uid_t uid) { in cleanup()
DBatteryService.cpp63 bool BatteryService::addSensor(uid_t uid, int handle) { in addSensor()
75 bool BatteryService::removeSensor(uid_t uid, int handle) { in removeSensor()
85 void BatteryService::enableSensorImpl(uid_t uid, int handle) { in enableSensorImpl()
94 void BatteryService::disableSensorImpl(uid_t uid, int handle) { in disableSensorImpl()
104 void BatteryService::cleanupImpl(uid_t uid) { in cleanupImpl()
DSensorService.h90 uid_t mUid;
106 SensorEventConnection(const sp<SensorService>& service, uid_t uid);
117 uid_t getUid() const { return mUid; } in getUid()
/frameworks/av/media/libstagefright/include/
DHTTPBase.h54 void setUID(uid_t uid);
55 bool getUID(uid_t *uid) const;
59 static void RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag);
62 static void RegisterSocketUserMark(int sockfd, uid_t uid);
91 uid_t mUID;
DSDPLoader.h37 SDPLoader(const sp<AMessage> &notify, uint32_t flags = 0, bool uidValid = false, uid_t uid = 0);
59 uid_t mUID;
DWVMExtractor.h41 virtual void setUID(uid_t uid) = 0;
77 void setUID(uid_t uid);
/frameworks/native/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
122 uid_t mCallingUid;
/frameworks/native/cmds/installd/
Dinstalld.h187 int ensure_dir(const char* path, mode_t mode, uid_t uid, gid_t gid);
192 int install(const char *pkgname, uid_t uid, gid_t gid, const char *seinfo);
195 int fix_uid(const char *pkgname, uid_t uid, gid_t gid);
197 int make_user_data(const char *pkgname, uid_t uid, userid_t userid);
207 int dexopt(const char *apk_path, uid_t uid, int is_public);
/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()
DIServiceManager.cpp63 uid_t uid = ipcState->getCallingUid(); in checkCallingPermission()
69 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) in checkPermission()
/frameworks/av/media/libstagefright/
DHTTPBase.cpp138 void HTTPBase::setUID(uid_t uid) { in setUID()
143 bool HTTPBase::getUID(uid_t *uid) const { in getUID()
154 void HTTPBase::RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag) { in RegisterSocketUserTag()
170 void HTTPBase::RegisterSocketUserMark(int sockfd, uid_t uid) { in RegisterSocketUserMark()
/frameworks/av/include/media/stagefright/
DCameraSource.h82 uid_t clientUid,
170 int32_t cameraId, const String16& clientName, uid_t clientUid,
210 int32_t cameraId, const String16& clientName, uid_t clientUid,
215 int32_t cameraId, const String16& clientName, uid_t clientUid,
222 uid_t clientUid);
DCameraSourceTimeLapse.h40 uid_t clientUid,
116 uid_t clientUid,
/frameworks/native/services/connectivitymanager/
DConnectivityManager.h34 void markSocketAsUserImpl(int fd, uid_t uid);
37 static void markSocketAsUser(int fd, uid_t uid) { in markSocketAsUser()
DConnectivityManager.cpp36 void ConnectivityManager::markSocketAsUserImpl(int fd, uid_t uid) { in markSocketAsUserImpl()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DHTTPLiveSource.h34 uid_t uid = 0);
67 uid_t mUID;
DRTSPSource.h40 uid_t uid = 0,
94 uid_t mUID;
DNuPlayer.h34 void setUID(uid_t uid);
112 uid_t mUID;
DGenericSource.h39 uid_t uid = 0);
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h45 uid_t clientUid,
104 uid_t clientUid,
/frameworks/av/media/libstagefright/rtsp/
DARTSPConnection.h36 ARTSPConnection(bool uidValid = false, uid_t uid = 0);
80 uid_t mUID;
/frameworks/av/services/camera/libcameraservice/
DCameraService.h156 uid_t clientUid,
173 uid_t mClientUid; // immutable after constructor
243 uid_t clientUid,
280 uid_t clientUid,
/frameworks/av/media/libstagefright/chromium_http/
Dsupport.h106 bool getUID(uid_t *uid) const;
108 void setUID(uid_t uid);
/frameworks/av/media/libstagefright/httplive/
DLiveSession.h43 uint32_t flags = 0, bool uidValid = false, uid_t uid = 0);
138 uid_t mUID;

123