/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...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/ |
QueueUser.java | 40 * @param uid the user jid of the customer in the queue
45 public QueueUser (String uid, int position, int time, Date joinedAt) {
48 this.userID = uid;
|
/external/webkit/Source/WebCore/inspector/ |
ScriptProfile.idl | 31 readonly attribute unsigned long uid;
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
SystemFacade.java | 33 public NetworkInfo getActiveNetworkInfo(int uid); 61 * Returns true if the specified UID owns the specified package name. 63 public boolean userOwnsPackage(int uid, String pckg) throws NameNotFoundException;
|
/external/llvm/utils/TableGen/ |
X86DisassemblerTables.h | 115 /// stream and indent level for the UID tables generated by 233 /// @param uid - The unique ID to set matching entries to. 237 InstrUID uid, 252 /// decode tables to point to a specific uid. 260 /// @param uid - The unique ID of the instruction. 267 InstrUID uid, 274 /// @param uid - The unique ID of the instruction. 276 InstructionSpecifier& specForUID(InstrUID uid) { 277 if (uid >= InstructionSpecifiers.size()) 278 InstructionSpecifiers.resize(uid + 1) [all...] |
/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);
|
TrafficStats.java | 36 * over all interfaces, over the mobile interface, and on a per-UID basis. 55 * Special UID value used when collecting {@link NetworkStatsHistory} for 63 * Special UID value used when collecting {@link NetworkStatsHistory} for 151 * Set specific UID to use when accounting {@link Socket} traffic 163 public static void setThreadStatsUid(int uid) { 164 NetworkManagementSocketTagger.setThreadSocketStatsUid(uid); 193 * Start profiling data usage for current UID. Only one profiling session 210 * Stop profiling data usage for current UID. 251 final int uid = android.os.Process.myUid(); local 253 getStatsService().incrementOperationCount(uid, tag, operationCount) 594 final int uid = android.os.Process.myUid(); local [all...] |
/frameworks/base/core/jni/ |
android_server_NetworkManagementSocketTagger.cpp | 35 jint tagNum, jint uid) { 43 int res = qtaguid_tagSocket(userFd, tagNum, uid); 67 jint setNum, jint uid) { 69 int res = qtaguid_setCounterSet(setNum, uid); 77 jint tagNum, jint uid) { 79 int res = qtaguid_deleteTagData(tagNum, uid);
|
/frameworks/base/services/java/com/android/server/ |
ProcessMap.java | 27 public E get(String name, int uid) { 30 return uids.get(uid); 33 public E put(String name, int uid, E value) { 39 uids.put(uid, value); 43 public void remove(String name, int uid) { 46 uids.remove(uid);
|
/frameworks/base/services/java/com/android/server/pm/ |
PackageVerificationState.java | 70 * @param uid user ID of sufficient verifier 72 public void addSufficientVerifier(int uid) { 73 mSufficientVerifierUids.put(uid, true); 80 * @param uid user ID of the verifying agent 83 public boolean setVerifierResponse(int uid, int code) { 84 if (uid == mRequiredVerifierUid) { 98 if (mSufficientVerifierUids.get(uid)) { 104 mSufficientVerifierUids.delete(uid);
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerProcessErrorStateInfoTest.java | 43 int uid = 3; local 51 mErrorStateInfo.uid = uid; 65 assertEquals(uid, values.uid); 77 int uid = 3; local 85 mErrorStateInfo.uid = uid; 99 assertEquals(uid, values.uid); [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_sync.h | 53 explicit SyncVar(uptr addr, u64 uid); 59 const u64 uid; // Globally unique id. member in struct:__tsan::SyncVar 74 // 47 lsb is addr, then 14 bits is low part of uid, then 3 zero bits. 75 return GetLsb((u64)addr | (uid << 47), 61); 77 bool CheckId(u64 uid) const { 78 CHECK_EQ(uid, GetLsb(uid, 14)); 79 return GetLsb(this->uid, 14) == uid; 81 static uptr SplitId(u64 id, u64 *uid) { [all...] |
/frameworks/base/services/java/com/android/server/am/ |
BatteryStatsService.java | 105 public void noteStartWakelock(int uid, int pid, String name, int type) { 108 mStats.noteStartWakeLocked(uid, pid, name, type); 112 public void noteStopWakelock(int uid, int pid, String name, int type) { 115 mStats.noteStopWakeLocked(uid, pid, name, type); 133 public void noteStartSensor(int uid, int sensor) { 136 mStats.noteStartSensorLocked(uid, sensor); 140 public void noteStopSensor(int uid, int sensor) { 143 mStats.noteStopSensorLocked(uid, sensor); 147 public void noteVibratorOn(int uid, long durationMillis) { 150 mStats.noteVibratorOnLocked(uid, durationMillis) [all...] |
/frameworks/base/keystore/java/android/security/ |
KeyStore.java | 43 // Used for UID field to indicate the calling UID. 97 public boolean put(String key, byte[] value, int uid, int flags) { 99 return mBinder.insert(key, value, uid, flags) == NO_ERROR; 106 public boolean delete(String key, int uid) { 108 return mBinder.del(key, uid) == NO_ERROR; 119 public boolean contains(String key, int uid) { 121 return mBinder.exist(key, uid) == NO_ERROR; 132 public String[] saw(String prefix, int uid) { 134 return mBinder.saw(prefix, uid); [all...] |
/external/webkit/Source/JavaScriptCore/profiler/ |
Profile.h | 38 static PassRefPtr<Profile> create(const UString& title, unsigned uid); 45 unsigned int uid() const { return m_uid; } function in class:JSC::Profile 59 Profile(const UString& title, unsigned uid);
|
/bionic/tests/ |
stubs_test.cpp | 28 #define CHECK_GETPWNAM_FOR(username, uid, uid_type) \ 30 ASSERT_NO_FATAL_FAILURE(check_getpwnam(username, uid, uid_type)); 37 static void check_getpwnam(const char* username, uid_t uid, uid_type_t uid_type) { 39 passwd* pwd = getpwuid(uid); 43 EXPECT_EQ(uid, pwd->pw_uid); 44 EXPECT_EQ(uid, pwd->pw_gid);
|
/libcore/dalvik/src/main/java/dalvik/system/ |
Zygote.java | 111 * @param uid the UNIX uid that the new process should setuid() to after 129 public static int forkAndSpecialize(int uid, int gid, int[] gids, int debugFlags, 133 uid, gid, gids, debugFlags, rlimits, mountExternal, seInfo, niceName); 138 native public static int nativeForkAndSpecialize(int uid, int gid, int[] gids, int debugFlags, 147 * @param uid the UNIX uid that the new process should setuid() to after 164 public static int forkSystemServer(int uid, int gid, int[] gids, int debugFlags, 168 uid, gid, gids, debugFlags, rlimits, permittedCapabilities, effectiveCapabilities); 173 native public static int nativeForkSystemServer(int uid, int gid, int[] gids, int debugFlags [all...] |
/external/kernel-headers/original/linux/ |
ipc.h | 12 __kernel_uid_t uid; member in struct:ipc_perm 47 #define IPC_OLD 0 /* Old version (no 32-bit UID support on many 62 uid_t uid; member in struct:kern_ipc_perm
|
/frameworks/native/libs/binder/ |
AppOpsManager.cpp | 56 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) 59 return service != NULL ? service->checkOperation(op, uid, callingPackage) : MODE_IGNORED; 62 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) { 64 return service != NULL ? service->noteOperation(op, uid, callingPackage) : MODE_IGNORED; 67 int32_t AppOpsManager::startOp(int32_t op, int32_t uid, const String16& callingPackage) { 69 return service != NULL ? service->startOperation(op, uid, callingPackage) : MODE_IGNORED; 72 void AppOpsManager::finishOp(int32_t op, int32_t uid, const String16& callingPackage) { 75 service->finishOperation(op, uid, callingPackage);
|
/packages/apps/Settings/src/com/android/settings/net/ |
UidDetailProvider.java | 38 * Return details about a specific UID, handling special cases like 61 * Resolve best descriptive label for the given UID. 63 public UidDetail getUidDetail(int uid, boolean blocking) { 67 detail = mUidDetailCache.get(uid); 76 detail = buildUidDetail(uid); 79 mUidDetailCache.put(uid, detail); 89 private UidDetail buildUidDetail(int uid) { 94 detail.label = pm.getNameForUid(uid); 98 switch (uid) { 118 if (uid <= -2000) [all...] |
/external/openssh/ |
uidswap.c | 6 * Code for uid-swapping. 49 /* Saved effective uid. */ 54 /* Saved effective uid. */ 61 * Temporarily changes to the given uid. If the effective user 122 /* Set the effective uid to the given (unprivileged) uid. */ 129 /* Propagate the privileged uid to all of our uids. */ 142 permanently_drop_suid(uid_t uid) 146 debug("permanently_drop_suid: %u", (u_int)uid); 148 if (setresuid(uid, uid, uid) < 0 [all...] |
/bionic/libc/kernel/common/linux/netfilter_ipv4/ |
ipt_owner.h | 29 uid_t uid; member in struct:ipt_owner_info
|
/bionic/libc/kernel/common/linux/netfilter_ipv6/ |
ip6t_owner.h | 27 uid_t uid; member in struct:ip6t_owner_info
|
/bootable/recovery/minzip/ |
DirUtil.h | 51 /* chown -R <uid>:<gid> <path> 57 int uid, int gid, int dirMode, int fileMode);
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputBindingTest.java | 33 int uid = 1; local 35 InputBinding inputBinding = new InputBinding(bic, binder, uid, pid); 39 assertEquals(uid, inputBinding.getUid()); 49 assertEquals(uid, target.getUid());
|