/frameworks/base/services/java/com/android/server/ |
AppOpsService.java | 94 public final int uid; field in class:AppOpsService.Ops 98 uid = _uid; 103 public final int uid; field in class:AppOpsService.Op 113 uid = _uid; 211 UserHandle.getUserId(ops.uid)); 215 if (curUid != ops.uid) { 217 + "/" + ops.uid + ": new uid=" + curUid); 232 public void packageRemoved(int uid, String packageName) { 234 HashMap<String, Ops> pkgs = mUidOps.get(uid); 867 int uid = Integer.parseInt(parser.getAttributeValue(null, "n")); local [all...] |
/frameworks/native/cmds/servicemanager/ |
service_manager.c | 24 * uid can register media.*, etc) 27 unsigned uid; member in struct:__anon30356 79 int svc_can_register(unsigned uid, uint16_t *name) 83 if ((uid == 0) || (uid == AID_SYSTEM)) 87 if ((uid == allowed[n].uid) && str16eq(name, allowed[n].name)) 134 void *do_find_service(struct binder_state *bs, uint16_t *s, unsigned len, unsigned uid) 143 // then check the uid to see if it is isolated. 144 unsigned appid = uid % AID_USER [all...] |
/external/chromium_org/cc/layers/ |
painted_scrollbar_layer_impl.h | 41 void set_track_ui_resource_id(UIResourceId uid) { 42 track_ui_resource_id_ = uid; 44 void set_thumb_ui_resource_id(UIResourceId uid) { 45 thumb_ui_resource_id_ = uid;
|
/external/clang/test/SemaObjC/ |
idiomatic-parentheses.m | 8 unsigned uid; 15 @property unsigned uid; 19 @synthesize uid; 30 if (self.uid = 100) { // expected-warning {{using the result of an assignment as a condition without parentheses}} \
|
/external/iptables/extensions/ |
libxt_owner.man | 6 [\fB!\fP] \fB\-\-uid\-owner\fP \fIusername\fP 8 [\fB!\fP] \fB\-\-uid\-owner\fP \fIuserid\fP[\fB\-\fP\fIuserid\fP] 10 given user. You may also specify a numerical UID, or an UID range.
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
ipt_owner.h | 12 uid_t uid; member in struct:ipt_owner_info
|
/frameworks/base/core/java/android/net/ |
INetworkPolicyManager.aidl | 32 /** Control UID policies. */ 33 void setUidPolicy(int uid, int policy); 34 int getUidPolicy(int uid); 37 boolean isUidForeground(int uid);
|
/frameworks/base/core/java/com/android/server/ |
NetworkManagementSocketTagger.java | 61 public static void setThreadSocketStatsUid(int uid) { 62 threadSocketTags.get().statsUid = uid; 76 private void tagSocketFd(FileDescriptor fd, int tag, int uid) { 77 if (tag == -1 && uid == -1) return; 80 final int errno = native_tagSocketFd(fd, tag, uid); 84 + uid + ") failed with errno" + errno); 114 public static void setKernelCounterSet(int uid, int counterSet) { 116 final int errno = native_setCounterSet(counterSet, uid); 118 Log.w(TAG, "setKernelCountSet(" + uid + ", " + counterSet + ") failed with errno " 124 public static void resetKernelUidStats(int uid) { [all...] |
/frameworks/native/libs/binder/ |
IAppOpsService.cpp | 40 virtual int32_t checkOperation(int32_t code, int32_t uid, const String16& packageName) { 44 data.writeInt32(uid); 52 virtual int32_t noteOperation(int32_t code, int32_t uid, const String16& packageName) { 56 data.writeInt32(uid); 64 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, 70 data.writeInt32(uid); 78 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, 84 data.writeInt32(uid); 129 int32_t uid = data.readInt32(); local 131 int32_t res = checkOperation(code, uid, packageName) 139 int32_t uid = data.readInt32(); local 150 int32_t uid = data.readInt32(); local 161 int32_t uid = data.readInt32(); local [all...] |
PermissionCache.cpp | 38 const String16& permission, uid_t uid) const { 42 e.uid = uid; 52 uid_t uid, bool granted) { 64 e.uid = uid; 85 uid_t uid = ipcState->getCallingUid(); local 87 if (outUid) *outUid = uid; 88 return PermissionCache::checkPermission(permission, pid, uid); 92 const String16& permission, pid_t pid, uid_t uid) { [all...] |
/frameworks/opt/vcard/tests/res/raw/ |
v21_invalid_comment_line.vcf | 3 UID:357
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/netfilter_ipv4/ |
ipt_owner.h | 12 uid_t uid; member in struct:ipt_owner_info
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
smb_mount.h | 19 __kernel_uid_t uid; member in struct:smb_mount_data
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter_ipv4/ |
ipt_owner.h | 12 uid_t uid; member in struct:ipt_owner_info
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
smb_mount.h | 19 __kernel_uid_t uid; member in struct:smb_mount_data
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/netfilter_ipv4/ |
ipt_owner.h | 12 uid_t uid; member in struct:ipt_owner_info
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
smb_mount.h | 19 __kernel_uid_t uid; member in struct:smb_mount_data
|
/system/core/libcutils/ |
qtaguid.c | 99 int qtaguid_tagSocket(int sockfd, int tag, uid_t uid) { 106 snprintf(lineBuf, sizeof(lineBuf), "t %d %llu %d", sockfd, kTag, uid); 108 ALOGV("Tagging socket %d with tag %llx{%u,0} for uid %d", sockfd, kTag, tag, uid); 112 ALOGI("Tagging socket %d with tag %llx(%d) for uid %d failed errno=%d", 113 sockfd, kTag, tag, uid, res); 134 int qtaguid_setCounterSet(int counterSetNum, uid_t uid) { 138 ALOGV("Setting counters to set %d for uid %d", counterSetNum, uid); 140 snprintf(lineBuf, sizeof(lineBuf), "s %d %d", counterSetNum, uid); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsMockPackageManager.java | 35 * can't be mocked, you'll have to find your mock-UID manually using your 47 * Add a UID-to-package mapping, which is then stored internally. 55 public String getNameForUid(int uid) { 56 return "name-for-uid"; 60 public String[] getPackagesForUid(int uid) { 71 Integer uid = mReverse.get(packageName); local 72 info.uid = (uid != null) ? uid : -1; 101 public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags) [all...] |
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainService.java | 52 private static final String GRANTS_GRANTEE_UID = "uid"; 92 final int uid = Binder.getCallingUid(); 93 if (!mKeyStore.grant(keystoreAlias, uid)) { 121 throw new IllegalStateException("uid " + callingUid 196 String actual = checkCaller("android.uid.system:1000"); 209 @Override public boolean hasGrant(int uid, String alias) { 211 return hasGrantInternal(mDatabaseHelper.getReadableDatabase(), uid, alias); 214 @Override public void setGrant(int uid, String alias, boolean value) { 216 setGrantInternal(mDatabaseHelper.getWritableDatabase(), uid, alias, value); 221 private boolean hasGrantInternal(final SQLiteDatabase db, final int uid, final String alias) 293 final int uid = cursor.getInt(0); local [all...] |
/system/core/toolbox/ |
chown.c | 33 // Lookup uid (and gid if specified) 36 uid_t uid; local 41 uid = pw->pw_uid; 44 uid = (int) strtoul(user, &endptr, 0); 66 if (chown(argv[i], uid, gid) < 0) {
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsCollection.java | 58 * {@link NetworkIdentitySet}, UID, set, and tag. Knows how to persist itself. 136 NetworkTemplate template, int uid, int set, int tag, int fields) { 137 return getHistory(template, uid, set, tag, fields, Long.MIN_VALUE, Long.MAX_VALUE); 145 NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end) { 151 if (key.uid == uid && setMatches && key.tag == tag 180 entry.uid = key.uid; 201 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, 203 final NetworkStatsHistory history = findOrCreateHistory(ident, uid, set, tag) 276 final int uid = in.readInt(); local 404 final int uid = in.readInt(); local 500 public final int uid; field in class:NetworkStatsCollection.Key [all...] |
/external/chromium_org/remoting/host/installer/mac/ |
ChromotingHostUninstaller.pkgproj | 33 <key>UID</key> 49 <key>UID</key> 63 <key>UID</key> 82 <key>UID</key> 98 <key>UID</key> 114 <key>UID</key> 130 <key>UID</key> 146 <key>UID</key> 162 <key>UID</key> 178 <key>UID</key [all...] |
ChromotingHostService.pkgproj | 31 <key>UID</key> 45 <key>UID</key> 67 <key>UID</key> 81 <key>UID</key> 95 <key>UID</key> 114 <key>UID</key> 130 <key>UID</key> 146 <key>UID</key> 162 <key>UID</key> 187 <key>UID</key [all...] |
/external/openssh/openbsd-compat/ |
pwcache.c | 48 user_from_uid(uid_t uid, int nouser) 51 uid_t uid; member in struct:ncache 59 cp = c_uid + (uid & MASK); 60 if (cp->uid != uid || cp->name == NULL) { 67 if ((pw = getpwuid(uid)) == NULL) { 70 (void)snprintf(nbuf, sizeof(nbuf), "%u", uid); 72 cp->uid = uid;
|