summaryrefslogtreecommitdiffstats
path: root/include/binder
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2014-11-26 12:23:23 -0800
committerDan Stoza <stoza@google.com>2014-12-01 11:07:14 -0800
commit9c634fd2d13722106d475b000b05babcce1f65be (patch)
treef7b00d3a9f21420fb3a74ec326e21d2183df0f0b /include/binder
parent46ca041f43e3d80029782b12c994b232dc01b5d5 (diff)
downloadframeworks_native-9c634fd2d13722106d475b000b05babcce1f65be.zip
frameworks_native-9c634fd2d13722106d475b000b05babcce1f65be.tar.gz
frameworks_native-9c634fd2d13722106d475b000b05babcce1f65be.tar.bz2
binder: Return pid_t/uid_t instead of int
Makes IPCThreadState::getCalling{Pid,Uid} return a more appropriate type. Change-Id: I97f8a83c1c0722bc1afbf8a6df1a288f8f1f0d2c
Diffstat (limited to 'include/binder')
-rw-r--r--include/binder/IPCThreadState.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/binder/IPCThreadState.h b/include/binder/IPCThreadState.h
index b29c266..60c2242 100644
--- a/include/binder/IPCThreadState.h
+++ b/include/binder/IPCThreadState.h
@@ -39,8 +39,8 @@ public:
status_t clearLastError();
- int getCallingPid() const;
- int getCallingUid() const;
+ pid_t getCallingPid() const;
+ uid_t getCallingUid() const;
void setStrictModePolicy(int32_t policy);
int32_t getStrictModePolicy() const;