/external/chromium/chrome/browser/ |
background_contents_service_unittest.cc | 42 std::string GetPrefURLForApp(Profile* profile, const string16& appid) { 44 EXPECT_TRUE(pref->HasKey(UTF16ToUTF8(appid))); 46 pref->GetDictionaryWithoutPathExpansion(UTF16ToUTF8(appid), &value); 97 const string16& appid() { return appid_; } function in class:MockBackgroundContents 141 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); 146 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); 162 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); 178 &profile, "appid")); 182 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); 191 &profile, "appid")); [all...] |
background_contents_service.cc | 223 const string16& appid = GetParentApplicationId(bgcontents); local 228 extension_service->GetExtensionById(UTF16ToUTF8(appid), false); 480 const string16& appid = GetParentApplicationId(background_contents); local 482 if (pref->GetDictionaryWithoutPathExpansion(UTF16ToUTF8(appid), ¤t)) 488 dict->SetString(kFrameNameKey, contents_map_[appid].frame_name); 489 pref->SetWithoutPathExpansion(UTF16ToUTF8(appid), dict); 498 const string16 appid = GetParentApplicationId(background_contents); local 500 update.Get()->RemoveWithoutPathExpansion(UTF16ToUTF8(appid), NULL); 505 const string16& appid) { 506 BackgroundContents* contents = GetAppBackgroundContents(appid); 534 string16 appid = GetParentApplicationId(background_contents); local [all...] |
/frameworks/native/cmds/servicemanager/ |
service_manager.c | 144 unsigned appid = uid % AID_USER; local 145 if (appid >= AID_ISOLATED_START && appid <= AID_ISOLATED_END) {
|
/bionic/libc/bionic/ |
stubs.cpp | 226 unsigned long appid = 0; local 229 appid = strtoul(end+2, &end, 10) + AID_APP; 232 appid = strtoul(end+2, &end, 10) + AID_ISOLATED_START; 236 appid = android_ids[n].aid; 256 if (appid >= AID_USER) { 261 return (unsigned)(appid + userid*AID_USER); 264 static void print_app_name_from_appid_userid(const uid_t appid, 266 if (appid >= AID_ISOLATED_START) { 267 snprintf(buffer, bufferlen, "u%u_i%u", userid, appid - AID_ISOLATED_START); 268 } else if (userid == 0 && appid >= AID_SHARED_GID_START) 283 const uid_t appid = uid % AID_USER; local 302 const uid_t appid = uid % AID_USER; local [all...] |
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
DictionaryBackupAgent.java | 165 int appId = cursor.getInt(COLUMN_APPID); 169 String out = name + SEPARATOR + frequency + SEPARATOR + locale + SEPARATOR + appId 223 String appid = null; local 227 if (st.hasMoreTokens()) appid = st.nextToken(); 231 int appidInt = appid != null? Integer.parseInt(appid) : 0;
|
/external/libselinux/src/ |
android.c | 336 uid_t appid; local 339 appid = uid % AID_USER; 340 if (appid < AID_APP) { 342 if (android_ids[n].aid == appid) { 349 } else if (appid < AID_ISOLATED_START) { 351 appid -= AID_APP; 354 appid -= AID_ISOLATED_START; 357 if (appid >= CAT_MAPPING_MAX_ID || userid >= CAT_MAPPING_MAX_ID) 415 context_range_get(ctx), appid & 0xff, 416 256 + (appid>>8 & 0xff)) [all...] |
/frameworks/base/core/java/android/app/ |
ActivityManagerNative.java | 1365 int appid = data.readInt(); local [all...] |
/frameworks/base/services/java/com/android/server/ |
NotificationManagerService.java | 2090 final int appid = UserHandle.getAppId(uid); local [all...] |