/bionic/libc/bionic/ |
stubs.cpp | 226 unsigned long appid = 0; local 230 appid = strtoul(end+2, &end, 10) + AID_SHARED_GID_START; 231 if (appid > AID_SHARED_GID_END) { 237 appid = strtoul(end+2, &end, 10) + AID_APP; 241 appid = strtoul(end+2, &end, 10) + AID_ISOLATED_START; 245 appid = android_ids[n].aid; 266 if (appid >= AID_USER) { 271 return (appid + userid*AID_USER); 275 const uid_t appid = uid % AID_USER; local 277 if (appid >= AID_ISOLATED_START) 292 const uid_t appid = gid % AID_USER; local 324 const uid_t appid = uid % AID_USER; local [all...] |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
DictionaryBackupAgent.java | 169 int appId = cursor.getInt(COLUMN_APPID); 173 String out = name + SEPARATOR + frequency + SEPARATOR + locale + SEPARATOR + appId 228 String appid = null; local 232 if (st.hasMoreTokens()) appid = st.nextToken(); 236 int appidInt = appid != null? Integer.parseInt(appid) : 0;
|
/external/libselinux/src/ |
android.c | 604 uid_t appid; local 610 appid = uid % AID_USER; 611 if (appid < AID_APP) { 613 if (android_ids[n].aid == appid) { 620 } else if (appid < AID_ISOLATED_START) { 622 appid -= AID_APP; 625 appid -= AID_ISOLATED_START; 628 if (appid >= CAT_MAPPING_MAX_ID || userid >= CAT_MAPPING_MAX_ID) 699 appid & 0xff, 700 256 + (appid>>8 & 0xff)) [all...] |
/frameworks/native/cmds/servicemanager/ |
service_manager.c | 181 uid_t appid = uid % AID_USER; local 182 if (appid >= AID_ISOLATED_START && appid <= AID_ISOLATED_END) {
|
/frameworks/base/services/core/java/com/android/server/ |
DeviceIdleController.java | 797 public void addPowerSaveTempWhitelistAppDirect(int appId, long duration, boolean sync, 831 int appid = UserHandle.getAppId(ai.uid); local 844 int appid = UserHandle.getAppId(ai.uid); local [all...] |
/frameworks/native/cmds/installd/ |
installd.h | 229 const char *package_name, const char *data_app_name, appid_t appid,
|
commands.cpp | 181 const char *package_name, const char *data_app_name, appid_t appid, 235 uid_t uid = multiuser_get_uid(user, appid); 262 if (restorecon_data(to_uuid, package_name, seinfo, multiuser_get_uid(0, appid)) != 0) { [all...] |
/system/core/sdcard/ |
sdcard.c | 458 appid_t appid; local 502 appid = (appid_t) (uintptr_t) hashmapGet(fuse->global->package_to_appid, node->name); 503 if (appid != 0) { 504 node->uid = multiuser_get_uid(parent->userid, appid); 1654 int appid; local [all...] |
/frameworks/base/services/core/java/com/android/server/power/ |
PowerManagerService.java | 2405 final int appid = UserHandle.getAppId(wakeLock.mOwnerUid); local [all...] |
/frameworks/base/core/java/android/app/ |
IActivityManager.java | 321 public void killApplicationWithAppId(String pkg, int appid, String reason) 450 public void killUid(int appId, int userId, String reason) throws RemoteException; [all...] |
ActivityManagerNative.java | 1621 int appid = data.readInt(); local [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
NotificationManagerService.java | 3114 final int appid = UserHandle.getAppId(uid); local [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityManagerService.java | 1699 int appid = msg.arg1; local [all...] |