/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...] |
/external/chromium_org/chrome/browser/background/ |
background_contents_service_unittest.cc | 40 std::string GetPrefURLForApp(Profile* profile, const base::string16& appid) { 42 EXPECT_TRUE(pref->HasKey(UTF16ToUTF8(appid))); 44 pref->GetDictionaryWithoutPathExpansion(UTF16ToUTF8(appid), &value); 95 const base::string16& appid() { return appid_; } function in class:MockBackgroundContents 140 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); 145 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); 163 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); 181 &profile, "appid")); 185 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); 194 &profile, "appid")); [all...] |
background_contents_service.cc | 369 const base::string16& appid = GetParentApplicationId(bgcontents); local 375 extension_service->GetExtensionById(UTF16ToUTF8(appid), false); 667 const base::string16& appid = GetParentApplicationId(background_contents); local 669 if (pref->GetDictionaryWithoutPathExpansion(UTF16ToUTF8(appid), ¤t)) 675 dict->SetString(kFrameNameKey, contents_map_[appid].frame_name); 676 pref->SetWithoutPathExpansion(UTF16ToUTF8(appid), dict); 694 const base::string16 appid = GetParentApplicationId(background_contents); local 696 update.Get()->RemoveWithoutPathExpansion(UTF16ToUTF8(appid), NULL); 700 const base::string16& appid) { 701 BackgroundContents* contents = GetAppBackgroundContents(appid); 731 base::string16 appid = GetParentApplicationId(background_contents); local [all...] |
/external/chromium_org/win8/metro_driver/ |
toast_notification_handler.cc | 209 string16 appid = ShellUtil::GetBrowserModelId(dist, is_per_user_install); local 210 DVLOG(1) << "Chrome Appid is " << appid.c_str(); 213 app_user_model_id.Attach(MakeHString(appid));
|
/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 | 168 int appId = cursor.getInt(COLUMN_APPID); 172 String out = name + SEPARATOR + frequency + SEPARATOR + locale + SEPARATOR + appId 227 String appid = null; local 231 if (st.hasMoreTokens()) appid = st.nextToken(); 235 int appidInt = appid != null? Integer.parseInt(appid) : 0;
|
/external/libselinux/src/ |
android.c | 344 uid_t appid; local 347 appid = uid % AID_USER; 348 if (appid < AID_APP) { 350 if (android_ids[n].aid == appid) { 357 } else if (appid < AID_ISOLATED_START) { 359 appid -= AID_APP; 362 appid -= AID_ISOLATED_START; 365 if (appid >= CAT_MAPPING_MAX_ID || userid >= CAT_MAPPING_MAX_ID) 423 context_range_get(ctx), appid & 0xff, 424 256 + (appid>>8 & 0xff)) [all...] |
/system/core/sdcard/ |
sdcard.c | 423 appid_t appid; local 490 appid = (appid_t) hashmapGet(fuse->package_to_appid, node->name); 491 if (appid != 0) { 492 node->uid = multiuser_get_uid(parent->userid, appid); 513 appid_t appid = multiuser_get_app_id(hdr->uid); local 514 return hashmapContainsKey(fuse->appid_with_rw, (void*) appid); 1619 int appid; local [all...] |
/frameworks/base/services/java/com/android/server/ |
NotificationManagerService.java | 2184 final int appid = UserHandle.getAppId(uid); local [all...] |
/frameworks/base/core/java/android/app/ |
ActivityManagerNative.java | 1465 int appid = data.readInt(); local [all...] |