HomeSort by relevance Sort by last modified time
    Searched refs:appId (Results 1 - 25 of 51) sorted by null

1 2 3

  /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...]
  /external/chromium_org/chrome/browser/extensions/
external_component_loader.cc 18 std::string appId = extension_misc::kInAppPaymentsSupportAppId;
19 prefs_->SetString(appId + ".external_update_url",
  /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/services/java/com/android/server/pm/
PackageSetting.java 28 int appId;
45 appId = orig.appId;
54 + " " + name + "/" + appId + "}";
Settings.java 301 p.nativeLibraryPathString, p.appId, p.versionCode, p.pkgFlags);
318 if (p.appId == uid) {
327 p.appId = uid;
450 p.appId = origPackage.appId;
491 p.appId = sharedUser.userId;
503 p.appId = dis.appId;
518 addUserIdLPw(p.appId, p, name);
521 p.appId = newUserIdLPw(p)
    [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);
PrintJobInfo.java 342 * @param appId The owning app id.
346 public void setAppId(int appId) {
347 mAppId = appId;
  /system/core/include/cutils/
multiuser.h 35 extern uid_t multiuser_get_uid(userid_t userId, appid_t appId);
  /external/chromium_org/chrome/browser/resources/chromeos/app_launch/
app_launch.js 14 var appId = params['app'] || '';
16 chrome.send('initialize', [appId]);
  /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)
  /frameworks/base/services/java/com/android/server/print/
PrintManagerService.java 101 PrintAttributes attributes, String packageName, int appId, int userId) {
102 final int resolvedAppId = resolveCallingAppEnforcingPermissions(appId);
119 public List<PrintJobInfo> getPrintJobInfos(int appId, int userId) {
120 final int resolvedAppId = resolveCallingAppEnforcingPermissions(appId);
135 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId, int userId) {
136 final int resolvedAppId = resolveCallingAppEnforcingPermissions(appId);
151 public void cancelPrintJob(PrintJobId printJobId, int appId, int userId) {
152 final int resolvedAppId = resolveCallingAppEnforcingPermissions(appId);
167 public void restartPrintJob(PrintJobId printJobId, int appId, int userId) {
168 final int resolvedAppId = resolveCallingAppEnforcingPermissions(appId);
    [all...]
UserState.java 168 PrintAttributes attributes, String packageName, int appId) {
172 printJob.setAppId(appId);
180 if (!mPrintJobForAppCache.onPrintJobCreated(adapter.asBinder(), appId,
218 public List<PrintJobInfo> getPrintJobInfos(int appId) {
219 List<PrintJobInfo> cachedPrintJobs = mPrintJobForAppCache.getPrintJobs(appId);
242 PrintJobInfo.STATE_ANY, appId);
258 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId) {
259 PrintJobInfo printJob = mPrintJobForAppCache.getPrintJob(printJobId, appId);
261 printJob = mSpooler.getPrintJobInfo(printJobId, appId);
272 public void cancelPrintJob(PrintJobId printJobId, int appId) {
    [all...]
RemotePrintSpooler.java 106 int appId) {
114 componentName, state, appId);
180 public final PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId) {
188 printJobId, appId);
475 ComponentName componentName, int state, int appId)
478 target.getPrintJobInfos(mCallback, componentName, state, appId, sequence);
497 int appId) throws RemoteException, TimeoutException {
499 target.getPrintJobInfo(printJobId, mCallback, appId, sequence);
  /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/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/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 %> )
  /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/extensions/chromeos/
kiosk_apps_browsertest.js 100 var appId = appItem.data.id;
102 this.mockHandler.expects(once()).removeKioskApp([appId]);
109 var appId = appItem.data.id;
112 this.mockHandler.expects(once()).enableKioskAutoLaunch([appId]).
120 this.mockHandler.expects(once()).disableKioskAutoLaunch([appId]).
  /external/chromium_org/chrome/browser/extensions/api/webstore_private/
webstore_private_apitest.cc 273 std::string appId = "iladmdjkfniedhfhcfoefgojhgaiaccc";
278 WebstorePrivateApi::PopApprovalForTesting(browser()->profile(), appId);
279 EXPECT_EQ(appId, approval->extension_id);
  /frameworks/base/services/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,
  /frameworks/base/core/java/android/bluetooth/
IBluetoothGatt.aidl 36 void registerClient(in ParcelUuid appId, in IBluetoothGattCallback callback);
72 void registerServer(in ParcelUuid appId, in IBluetoothGattServerCallback callback);
  /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);
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
PrintSpoolerService.java 255 int state, int appId) {
265 final boolean sameAppId = appId == PrintManager.APP_ID_ANY
266 || printJob.getAppId() == appId;
292 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId) {
298 && (appId == PrintManager.APP_ID_ANY
299 || appId == printJob.getAppId())) {
714 private static final String ATTR_APP_ID = "appId";
    [all...]
  /external/chromium_org/chrome/browser/resources/file_manager/js/
test_util.js 76 function(appId) {
78 if (!appWindows[appId])
80 var contentWindow = appWindows[appId].contentWindow;
84 callback(appId);
102 for (var appId in appWindows) {
103 if (appId.indexOf(appIdPrefix) == 0 &&
104 appWindows[appId].contentWindow) {
105 callback(appId);
136 for (var appId in appWindows) {
137 var contentWindow = appWindows[appId].contentWindow
    [all...]

Completed in 1099 milliseconds

1 2 3