/external/chromium_org/chrome/tools/build/ |
appid.py | 7 appid.py -- Chromium appid header file generation utility. 14 // This file is automatically generated by appid.py. 15 // It contains the Google Update Appid used for this build. Note that 16 // the Appid will be empty for non Google Chrome builds. 23 contents = GENERATED_APPID_INCLUDE_FILE_CONTENTS % opts.appid 37 parser.add_option('-a', '--appid', 44 if opts.appid is None or not opts.output_file: 49 print "Generating appid header... ",
|
/external/chromium_org/chrome/browser/background/ |
background_contents_service.h | 53 BackgroundContents* GetAppBackgroundContents(const string16& appid); 59 bool HasRegisteredBackgroundContents(const string16& appid); 131 // Creates a single BackgroundContents associated with the specified |appid|, 137 const string16& appid); 156 void ShutdownAssociatedBackgroundContents(const string16& appid);
|
background_contents_service_unittest.cc | 40 std::string GetPrefURLForApp(Profile* profile, const string16& appid) { 42 EXPECT_TRUE(pref->HasKey(UTF16ToUTF8(appid))); 44 pref->GetDictionaryWithoutPathExpansion(UTF16ToUTF8(appid), &value); 95 const 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 | 317 const string16& appid = GetParentApplicationId(bgcontents); local 323 extension_service->GetExtensionById(UTF16ToUTF8(appid), false); 601 const string16& appid = GetParentApplicationId(background_contents); local 603 if (pref->GetDictionaryWithoutPathExpansion(UTF16ToUTF8(appid), ¤t)) 609 dict->SetString(kFrameNameKey, contents_map_[appid].frame_name); 610 pref->SetWithoutPathExpansion(UTF16ToUTF8(appid), dict); 628 const string16 appid = GetParentApplicationId(background_contents); local 630 update.Get()->RemoveWithoutPathExpansion(UTF16ToUTF8(appid), NULL); 634 const string16& appid) { 635 BackgroundContents* contents = GetAppBackgroundContents(appid); 665 string16 appid = GetParentApplicationId(background_contents); local [all...] |
/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.h | 53 BackgroundContents* GetAppBackgroundContents(const string16& appid); 125 // Creates a single BackgroundContents associated with the specified |appid|, 131 const string16& appid); 150 void ShutdownAssociatedBackgroundContents(const string16& appid);
|
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...] |
/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...] |
/external/libselinux/src/ |
android.c | 348 uid_t appid; local 351 appid = uid % AID_USER; 352 if (appid < AID_APP) { 354 if (android_ids[n].aid == appid) { 361 } else if (appid < AID_ISOLATED_START) { 363 appid -= AID_APP; 366 appid -= AID_ISOLATED_START; 369 if (appid >= CAT_MAPPING_MAX_ID || userid >= CAT_MAPPING_MAX_ID) 427 context_range_get(ctx), appid & 0xff, 428 256 + (appid>>8 & 0xff)) [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/chromium_org/win8/metro_driver/ |
toast_notification_handler.cc | 204 string16 appid = delegate_execute::GetAppId(chrome_path); local 205 DVLOG(1) << "Chrome Appid is " << appid.c_str(); 210 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) {
|
/external/chromium_org/remoting/host/setup/ |
daemon_installer_win.cc | 145 ScopedVariant appid(kHostOmahaAppid); 149 appid, empty, language, empty, NULL);
|
/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 | 2173 final int appid = UserHandle.getAppId(uid); local [all...] |
/frameworks/base/core/java/android/app/ |
IActivityManager.java | 294 public void killApplicationWithAppId(String pkg, int appid, String reason) [all...] |
ActivityManagerNative.java | 1465 int appid = data.readInt(); local [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ActivityManagerService.java | [all...] |