/frameworks/base/include/binder/ |
IPermissionController.h | 33 int32_t pid, int32_t uid) = 0;
|
/frameworks/base/location/java/android/location/ |
ILocationProvider.aidl | 51 void addListener(int uid); 52 void removeListener(int uid);
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
KeyChainServiceTestSupport.java | 47 @Override public void revokeAppPermission(final int uid, final String alias) 50 blockingSetGrantPermission(uid, alias, false); 53 @Override public void grantAppPermission(final int uid, final String alias) 56 blockingSetGrantPermission(uid, alias, true);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
ipc.h | 22 __kernel_uid_t uid; member in struct:ipc_perm
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
ipc.h | 22 __kernel_uid_t uid; member in struct:ipc_perm
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
ipc.h | 22 __kernel_uid_t uid; member in struct:ipc_perm
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
ipc.h | 22 __kernel_uid_t uid; member in struct:ipc_perm
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
ipc.h | 22 __kernel_uid_t uid; member in struct:ipc_perm
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
ipc.h | 22 __kernel_uid_t uid; member in struct:ipc_perm
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/ |
ipc.h | 22 __kernel_uid_t uid; member in struct:ipc_perm
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/ |
ipc.h | 22 __kernel_uid_t uid; member in struct:ipc_perm
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
ipc.h | 22 __kernel_uid_t uid; member in struct:ipc_perm
|
/external/kernel-headers/original/linux/ |
ncp_mount.h | 38 __kernel_uid_t uid; member in struct:ncp_mount_data 62 unsigned long uid; member in struct:ncp_mount_data_v4 84 __kernel_uid32_t uid; member in struct:ncp_mount_data_kernel
|
/frameworks/base/media/libstagefright/include/ |
HTTPBase.h | 51 void setUID(uid_t uid); 52 bool getUID(uid_t *uid) const; 56 static void RegisterSocketUserTag(int sockfd, uid_t uid, uint32_t kTag);
|
/packages/apps/Settings/src/com/android/settings/net/ |
ChartDataLoader.java | 34 * Loader for historical chart data for both network and UID details. 92 // load stats for current uid and template 93 for (int uid : uids) { 95 template, uid, SET_DEFAULT, data.detailDefault); 97 template, uid, SET_FOREGROUND, data.detailForeground); 121 * Collect {@link NetworkStatsHistory} for the requested UID, combining with 125 NetworkTemplate template, int uid, int set, NetworkStatsHistory existing) 128 template, uid, set, TAG_NONE, FIELD_RX_BYTES | FIELD_TX_BYTES);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
RealSystemFacade.java | 30 public NetworkInfo getActiveNetworkInfo(int uid) { 38 final NetworkInfo activeInfo = connectivity.getActiveNetworkInfoForUid(uid); 77 public boolean userOwnsPackage(int uid, String packageName) throws NameNotFoundException { 78 return mContext.getPackageManager().getApplicationInfo(packageName, 0).uid == uid;
|
/system/extras/tests/fstest/ |
perm_checker.c | 78 printf("# ERROR # Invalid uid '%s' reading line %d\n", str, line_num); 200 static void print_new_rule(const char *name, mode_t mode, uid_t uid, gid_t gid) 205 pw = getpwuid(uid); 206 printf("%s %4o %4o %s %d %s %d\n", name, mode, mode, pw->pw_name, uid, 211 static int pass_rule(const perm_rule_t *pr, mode_t mode, uid_t uid, gid_t gid) 216 (pr->min_uid <= uid) && (pr->max_uid >= uid)) 223 static int validate_file(const char *name, mode_t mode, uid_t uid, gid_t gid) 232 if (!pass_rule(pr, mode, uid, gid)) 245 print_new_rule(name, mode, uid, gid) [all...] |
/frameworks/base/cmds/servicemanager/ |
service_manager.c | 24 * uid can register media.*, etc) 27 unsigned uid; member in struct:__anon14476 77 int svc_can_register(unsigned uid, uint16_t *name) 81 if ((uid == 0) || (uid == AID_SYSTEM)) 85 if ((uid == allowed[n].uid) && str16eq(name, allowed[n].name)) 146 void *ptr, unsigned uid) 149 // LOGI("add_service('%s',%p) uid=%d\n", str8(s), ptr, uid); [all...] |
/frameworks/base/core/java/android/os/ |
WorkSource.java | 52 public WorkSource(int uid) { 54 mUids = new int[] { uid, 0 }; 122 public void set(int uid) { 125 mUids[0] = uid; 166 public boolean add(int uid) { 168 sTmpWorkSource.mUids[0] = uid; 174 public WorkSource addReturningNewbs(int uid) { 177 sTmpWorkSource.mUids[0] = uid; 214 // Need to insert a new uid. 260 // If there is a matching uid, skip it [all...] |
/frameworks/base/services/java/com/android/server/ |
ClipboardService.java | 150 private final void checkUriOwnerLocked(Uri uri, int uid) { 158 mAm.checkGrantUriPermission(uid, null, uri, Intent.FLAG_GRANT_READ_URI_PERMISSION); 165 private final void checkItemOwnerLocked(ClipData.Item item, int uid) { 167 checkUriOwnerLocked(item.getUri(), uid); local 171 checkUriOwnerLocked(intent.getData(), uid); local 175 private final void checkDataOwnerLocked(ClipData data, int uid) { 178 checkItemOwnerLocked(data.getItemAt(i), uid); local 203 private final void addActiveOwnerLocked(int uid, String pkg) { 207 if (pi.applicationInfo.uid != uid) { [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatterySipper.java | 28 import android.os.BatteryStats.Uid; 41 Uid uidObj; 65 int iconId, Uid uid, double[] values) { 76 if ((label == null || iconId == 0) && uid != null) { 77 getQuickNameIconForUid(uid); 79 uidObj = uid; 99 void getQuickNameIconForUid(Uid uidObj) { 100 final int uid = uidObj.getUid(); local 101 final String uidString = Integer.toString(uid); 137 final int uid = uidObj.getUid(); local [all...] |
/system/core/run-as/ |
package.c | 28 * the run-as command has dropped the uid/gid. Hence be very 108 * - is owned by a given uid/gid 116 check_directory_ownership(const char* path, uid_t uid) 132 /* must be owned by specific uid/gid */ 133 if (st.st_uid != uid || st.st_gid != uid) 156 check_data_path(const char* dataPath, uid_t uid) 207 * directory is owned by the application uid 209 if (check_directory_ownership(dataPath, uid) < 0) 380 info->uid = 0 409 int uid, debugFlag; local [all...] |
/external/chromium/chrome/browser/ |
process_info_snapshot_mac_unittest.cc | 34 EXPECT_EQ(0, static_cast<int64>(proc_info.uid)); 61 uid_t uid = getuid(); local 76 EXPECT_EQ(uid, proc_info.uid); 89 EXPECT_EQ(uid, proc_info.uid); // This (and the following) should be true 95 // To verify that ProcessInfoSnapshot is getting the actual uid and effective 96 // uid, this test runs top. top should have a uid of the caller and effective 97 // uid of 0 (root) [all...] |
/frameworks/base/services/java/com/android/server/net/ |
NetworkPolicyManagerService.java | 168 private static final String TAG_UID_POLICY = "uid-policy"; 178 private static final String ATTR_UID = "uid"; 217 /** Defined UID policies. */ 219 /** Currently derived rules for each UID. */ 230 /** Foreground at both UID and PID granularity. */ 319 // listen for package/uid changes to update policy 338 public void onForegroundActivitiesChanged(int pid, int uid, boolean foregroundActivities) { 340 pid, uid, foregroundActivities).sendToTarget(); 344 public void onProcessDied(int pid, int uid) { 345 mHandler.obtainMessage(MSG_PROCESS_DIED, pid, uid).sendToTarget() 945 final int uid = readIntAttribute(in, ATTR_UID); local 1019 final int uid = mUidPolicy.keyAt(i); local 1252 final int uid = knownUids.keyAt(i); local 1339 final int uid = mUidForeground.keyAt(i); local [all...] |
/device/moto/stingray/ril/ |
wrigley-iptables.sh | 57 $IPTABLES -A oem_out_wrigley_sens -m owner --uid-owner 0 -j ACCEPT 58 $IPTABLES -A oem_out_wrigley_sens -m owner --uid-owner 1001 -j ACCEPT 62 $IPTABLES -A oem_out_wrigley_other -m owner --uid-owner 0 -j ACCEPT 63 $IPTABLES -A oem_out_wrigley_other -m owner --uid-owner 1001 -j ACCEPT 64 $IPTABLES -A oem_out_wrigley_other -m owner --uid-owner 2000 -j ACCEPT
|