/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...] |
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);
|
/frameworks/base/core/java/android/os/ |
UserHandle.java | 83 * @return whether the appId is the same for both uids 93 final int appId = getAppId(uid); 94 return appId >= Process.FIRST_ISOLATED_UID && appId <= Process.LAST_ISOLATED_UID; 103 final int appId = getAppId(uid); 104 return appId >= Process.FIRST_APPLICATION_UID && appId <= Process.LAST_APPLICATION_UID; 128 * Returns the uid that is composed from the userId and the appId. 131 public static final int getUid(int userId, int appId) { 133 return userId * PER_USER_RANGE + (appId % PER_USER_RANGE) [all...] |
/frameworks/base/services/java/com/android/server/pm/ |
PackageSetting.java | 27 int appId; 44 appId = orig.appId; 53 + " " + name + "/" + appId + "}";
|
/system/core/libcutils/ |
multiuser.c | 27 uid_t multiuser_get_uid(userid_t userId, appid_t appId) { 28 return userId * MULTIUSER_APP_PER_USER_RANGE + (appId % MULTIUSER_APP_PER_USER_RANGE);
|
/external/chromium/chrome/common/extensions/ |
update_manifest_unittest.cc | 13 " <app appid='12345'>" 22 " <app appid='12345'>" 41 " <app appid='12345' status='ok'>" 50 " <app appid='12345' status='ok'>" 58 " <app appid='12345' status='ok'>" 67 " <g:app appid='12345'>" 81 " <app appid='12345'>" 92 " <app appid='12345'>" 102 " <app appid='12345'>" 111 " <app appid='aaaaaaaa' status='error-unknownApplication'> [all...] |
update_manifest.h | 22 // <app appid='12345'> 32 // The "appid" attribute of the <app> tag refers to the unique id of the
|
/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/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
ContextMap.java | 45 int appId; 47 Connection(int connId, String address,int appId) { 50 this.appId = appId; 213 return getById(connection.appId); 229 if (connection.address.equals(address) && connection.appId == id) 247 List<Connection> getConnectionByApp(int appId) { 252 if (connection.appId == appId)
|
/system/core/include/cutils/ |
multiuser.h | 35 extern uid_t multiuser_get_uid(userid_t userId, appid_t appId);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
HealthService.java | 163 int appId = registerHealthAppNative(appConfig.getDataType(), halRole, 165 if (appId == -1) { 179 appInfo.mAppId = appId; 189 int appId = (mApps.get(appConfig)).mAppId; 190 if (!unregisterHealthAppNative(appId)) { 191 Log.e(TAG, "Failed to unregister application: id: " + appId); 201 int appId = (mApps.get(chan.mConfig)).mAppId; 202 chan.mChannelId = connectChannelNative(devAddr, appId); 484 private void onAppRegistrationState(int appId, int state) { 486 msg.arg1 = appId; [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/chromium/chrome/browser/password_manager/ |
native_backend_kwallet_x.cc | 192 G_TYPE_STRING, kAppId, // appid 206 G_TYPE_STRING, kAppId, // appid 281 G_TYPE_STRING, kAppId, // appid 298 G_TYPE_STRING, kAppId, // appid 369 G_TYPE_STRING, kAppId, // appid 382 G_TYPE_STRING, kAppId, // appid 410 G_TYPE_STRING, kAppId, // appid 435 G_TYPE_STRING, kAppId, // appid 574 G_TYPE_STRING, kAppId, // appid 586 G_TYPE_STRING, kAppId, // appid [all...] |
/external/bluetooth/bluedroid/bta/hh/ |
bta_hh_cfg.c | 57 p_devt_list, /* ToD & AppID list */
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/ |
index.php | 8 * 1. This user has FREE_TRIAL access to this application ( appId: 1 ) 9 * 2. This user has FULL access to this application ( appId: 1 ) 10 * 3. This user has NO access to this application ( appId: 1 ) 171 This user has <span class="<%= accessLevel.toLowerCase() %>"><%= accessLevel %></span> access to this application ( appId: <%= appId %> ) 173 This user has <span class="<%= result.toLowerCase() %>"><%= result %></span> access to this application ( appId: <%= appId %> )
|
/packages/apps/Browser/src/com/android/browser/ |
IntentHandler.java | 119 * 2-phone) Reuse tab with same appId 122 final String appId = intent 131 && (appId != null) 132 && appId.startsWith(mActivity.getPackageName())) { 133 Tab appTab = mTabControl.getTabFromAppId(appId); 141 && !mActivity.getPackageName().equals(appId)) { 144 Tab appTab = mTabControl.getTabFromAppId(appId); 155 appTab.setAppId(appId); 168 tab.setAppId(appId);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/ |
PAssertedServiceParser.java | 86 String appID = urn.split(ParameterNamesIms.APPLICATION_ID_LABEL+".")[1]; 87 if(appID.trim().equals(""))
|
PPreferredServiceParser.java | 124 String appID = urn.split(ParameterNamesIms.APPLICATION_ID_LABEL)[1]; 125 if(appID.trim().equals("")) 132 pps.setApplicationIdentifiers(appID);
|
/frameworks/base/core/java/android/bluetooth/ |
IBluetoothGatt.aidl | 36 void registerClient(in ParcelUuid appId, in IBluetoothGattCallback callback); 67 void registerServer(in ParcelUuid appId, in IBluetoothGattServerCallback callback);
|
/external/webkit/Tools/wx/packaging/ |
wxWebKitInstaller.iss.in | 5 AppId=wxWebKit
|
/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/services/java/com/android/server/am/ |
ProviderMap.java | 186 private boolean collectForceStopProvidersLocked(String name, int appId, 204 boolean collectForceStopProviders(String name, int appId, 207 boolean didSomething = collectForceStopProvidersLocked(name, appId, doit, 214 if (collectForceStopProvidersLocked(name, appId, doit, evenPersistent, 226 didSomething |= collectForceStopProvidersLocked(name, appId, doit,
|
/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/chrome/browser/resources/ntp/ |
apps.js | 152 function launchAppAfterEnable(appId) { 153 chrome.send('launchApp', [appId, APP_LAUNCH.NTP_APP_RE_ENABLE]); 174 * @param {string} appId Application to launch. 179 function launchApp(appId, opt_mouseEvent) { 180 var args = [appId, getAppLaunchType()]; 215 var appId = e.currentTarget.getAttribute('app-id'); 217 launchApp(appId, e); 450 var appId = this.dragItem.querySelector('a').getAttribute('app-id'); 451 var current = this.data.indexOf(appId);
|