/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);
|
/frameworks/base/core/java/android/os/ |
UserHandle.java | 89 * @return whether the appId is the same for both uids 99 final int appId = getAppId(uid); 100 return appId >= Process.FIRST_ISOLATED_UID && appId <= Process.LAST_ISOLATED_UID; 109 final int appId = getAppId(uid); 110 return appId >= Process.FIRST_APPLICATION_UID && appId <= Process.LAST_APPLICATION_UID; 146 * Returns the uid that is composed from the userId and the appId. 149 public static final int getUid(int userId, int appId) { 151 return userId * PER_USER_RANGE + (appId % PER_USER_RANGE) [all...] |
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
appid.js | 43 var appId = request['appId']; 44 if (appId) { 45 appIds[appId] = appId; 116 * Checks if a single appId can be asserted by the given origin. 117 * @param {string} appId The appId to check 121 AppIdChecker.prototype.checkAppId_ = function(appId) { 122 if (appId == this.origin_) [all...] |
gstaticorigincheck.js | 33 * Checks if a single appId can be asserted by the given origin. 35 * @param {string} appId The appId to check. 39 GstaticOriginChecker.prototype.checkAppId_ = function(origin, appId) { 40 if (appId == origin) { 45 return (appId.indexOf('https://www.gstatic.com') == 0 || 46 appId.indexOf('https://static.corp.google.com') == 0);
|
signer.js | 148 var appId; 149 if (request['appId']) { 150 appId = request['appId']; 152 // A valid sign data has at least one challenge, so get the appId from 154 appId = signChallenges[0]['appId']; 157 if (!appId) { 158 console.warn(UTIL_fmt('empty sign appId?')); 169 timer, nonNullOrigin, errorCb, successCb, appId, sender.tlsChannelId [all...] |
enroller.js | 52 enroller.doEnroll(registerRequests, signRequests, request['appId']); 99 enroller.doEnroll(registerRequests, signRequests, request['appId']); 161 var hasAppId = request.hasOwnProperty('appId'); 183 * appId: string 191 * @param {boolean} appIdRequired Whether the appId property is required on 213 if (appIdRequired && !enrollChallenge['appId']) { 354 * existing enrollments for this user and appId. 379 if (enrollChallenges[i].hasOwnProperty('appId')) { 380 enrollAppIds.push(enrollChallenges[i]['appId']); 425 var appId; [all...] |
webrequest.js | 31 * @param {boolean} appIdRequired Whether the appId property is required on 36 if (appIdRequired && !registeredKey.hasOwnProperty('appId')) { 53 * @param {boolean} appIdRequired Whether the appId property is required on 66 * @param {boolean} appIdRequired Whether the appId property is required on 394 var appId; 395 if (challenge.hasOwnProperty('appId')) { 396 appId = challenge['appId']; 398 appId = opt_defaultAppId; 402 'appIdHash': B64_encode(sha256HashOfString(appId)), [all...] |
/frameworks/base/core/java/android/print/ |
IPrintManager.aidl | 35 List<PrintJobInfo> getPrintJobInfos(int appId, int userId); 36 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId); 38 in PrintAttributes attributes, String packageName, int appId, int userId); 39 void cancelPrintJob(in PrintJobId printJobId, int appId, int userId); 40 void restartPrintJob(in PrintJobId printJobId, int appId, int userId); 43 int appId, int userId);
|
IPrintSpooler.aidl | 38 int state, int appId, int sequence); 40 int appId, int sequence);
|
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageSetting.java | 28 int appId; 48 appId = orig.appId; 57 + " " + name + "/" + appId + "}";
|
/system/core/include/cutils/ |
multiuser.h | 35 extern uid_t multiuser_get_uid(userid_t userId, appid_t appId);
|
/external/chromium_org/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/ |
GCMDriver.java | 78 private void register(final String appId, final String[] senderIds) { 79 setLastAppId(appId); 94 // TODO(johnme): Pass appId to GCM. 107 nativeOnRegisterFinished(mNativeGCMDriverAndroid, appId, registrationId, 116 private void unregister(final String appId) { 128 // TODO(johnme): Pass appId to GCM. 138 nativeOnUnregisterFinished(mNativeGCMDriverAndroid, appId, 144 static void onRegisterFinished(String appId, String registrationId) { 154 static void onUnregisterFinished(String appId) { 164 static void onMessageReceived(Context context, final String appId, final Bundle extras) [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; 245 return getById(connection.appId); 261 if (connection.address.equals(address) && connection.appId == id) 279 List<Connection> getConnectionByApp(int appId) { 284 if (connection.appId == appId)
|
/external/chromium_org/chrome/browser/extensions/ |
external_component_loader.cc | 46 std::string appId = extension_misc::kInAppPaymentsSupportAppId; 47 prefs_->SetString(appId + ".external_update_url",
|
/frameworks/base/services/print/java/com/android/server/print/ |
PrintManagerService.java | 119 PrintAttributes attributes, String packageName, int appId, int userId) { 129 resolvedAppId = resolveCallingAppEnforcingPermissions(appId); 143 public List<PrintJobInfo> getPrintJobInfos(int appId, int userId) { 152 resolvedAppId = resolveCallingAppEnforcingPermissions(appId); 164 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId, int userId) { 173 resolvedAppId = resolveCallingAppEnforcingPermissions(appId); 185 public void cancelPrintJob(PrintJobId printJobId, int appId, int userId) { 194 resolvedAppId = resolveCallingAppEnforcingPermissions(appId); 206 public void restartPrintJob(PrintJobId printJobId, int appId, int userId) { 215 resolvedAppId = resolveCallingAppEnforcingPermissions(appId); [all...] |
UserState.java | 170 PrintAttributes attributes, String packageName, int appId) { 174 printJob.setAppId(appId); 182 if (!mPrintJobForAppCache.onPrintJobCreated(adapter.asBinder(), appId, 220 public List<PrintJobInfo> getPrintJobInfos(int appId) { 221 List<PrintJobInfo> cachedPrintJobs = mPrintJobForAppCache.getPrintJobs(appId); 244 PrintJobInfo.STATE_ANY, appId); 260 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId) { 261 PrintJobInfo printJob = mPrintJobForAppCache.getPrintJob(printJobId, appId); 263 printJob = mSpooler.getPrintJobInfo(printJobId, appId); 274 public void cancelPrintJob(PrintJobId printJobId, int appId) { [all...] |
RemotePrintSpooler.java | 108 int appId) { 116 componentName, state, appId); 182 public final PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId) { 190 printJobId, appId); 477 ComponentName componentName, int state, int appId) 480 target.getPrintJobInfos(mCallback, componentName, state, appId, sequence); 499 int appId) throws RemoteException, TimeoutException { 501 target.getPrintJobInfo(printJobId, mCallback, appId, sequence);
|
/external/chromium_org/remoting/webapp/background/ |
app_launcher.js | 13 * var appId = ""; 15 * appId = id; 19 * appLauncher.close(appId); 33 * provide the caller with the appId (which is either the id of the hosting tab 34 * or window). The caller can use the appId to close the app.
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
HealthService.java | 166 int appId = registerHealthAppNative(appConfig.getDataType(), halRole, 168 if (appId == -1) { 182 appInfo.mAppId = appId; 192 int appId = (mApps.get(appConfig)).mAppId; 193 if (!unregisterHealthAppNative(appId)) { 194 Log.e(TAG, "Failed to unregister application: id: " + appId); 204 int appId = (mApps.get(chan.mConfig)).mAppId; 205 chan.mChannelId = connectChannelNative(devAddr, appId); 487 private void onAppRegistrationState(int appId, int state) { 489 msg.arg1 = appId; [all...] |
/packages/apps/Browser/src/com/android/browser/ |
IntentHandler.java | 126 * 2-phone) Reuse tab with same appId 129 final String appId = intent 138 && (appId != null) 139 && appId.startsWith(mActivity.getPackageName())) { 140 Tab appTab = mTabControl.getTabFromAppId(appId); 148 && !mActivity.getPackageName().equals(appId)) { 151 Tab appTab = mTabControl.getTabFromAppId(appId); 162 appTab.setAppId(appId); 175 tab.setAppId(appId);
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omaha/ |
ResponseParser.java | 18 * <app appid="{appid}" status="ok"> 37 * The appid is dependent on the variant of Chrome that is running. 70 public ResponseParser(String appId, boolean expectInstallEvent, boolean expectPing, 72 this(false, appId, expectInstallEvent, expectPing, expectUpdatecheck); 75 public ResponseParser(boolean strictParsing, String appId, boolean expectInstallEvent, 78 mAppId = appId; 190 success &= TextUtils.equals(mAppId, node.attributes.get("appid"));
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/ |
index.php | 12 * 1. This user has FREE_TRIAL access to this application ( appId: 1 ) 13 * 2. This user has FULL access to this application ( appId: 1 ) 14 * 3. This user has NO access to this application ( appId: 1 ) 170 This user has <span class="<%= accessLevel.toLowerCase() %>"><%= accessLevel %></span> access to this application ( appId: <%= appId %> ) 172 This user has <span class="<%= result.toLowerCase() %>"><%= result %></span> access to this application ( appId: <%= appId %> )
|
/external/chromium_org/chrome/browser/ui/webui/app_list/ |
start_page_browsertest.js | 45 'appId': 'app_id_1', 50 'appId': 'app_id_2', 147 assertEquals(this.recommendedApps_[i].appId, 148 recommendedApp.children[i].appId); 156 [this.recommendedApps_[i].appId]);
|
/frameworks/base/services/core/java/com/android/server/am/ |
ProviderMap.java | 187 private boolean collectForceStopProvidersLocked(String name, int appId, 205 boolean collectForceStopProviders(String name, int appId, 208 boolean didSomething = collectForceStopProvidersLocked(name, appId, doit, 215 if (collectForceStopProvidersLocked(name, appId, doit, evenPersistent, 227 didSomething |= collectForceStopProvidersLocked(name, appId, doit,
|
/external/chromium_org/chrome/browser/ui/webui/extensions/chromeos/ |
kiosk_apps_browsertest.js | 119 var appId = appItem.data.id; 121 this.mockHandler.expects(once()).removeKioskApp([appId]); 128 var appId = appItem.data.id; 131 this.mockHandler.expects(once()).enableKioskAutoLaunch([appId]). 139 this.mockHandler.expects(once()).disableKioskAutoLaunch([appId]).
|