Searched defs:id (Results 251 - 275 of 399) sorted by path

<<111213141516

/frameworks/base/services/input/
H A DPointerController.cpp248 uint32_t id = idBits.firstMarkedBit(); local
249 idBits.clearBit(id);
250 const PointerCoords& c = spotCoords[spotIdToIndex[id]];
251 ALOGD(" spot %d: position=(%0.3f, %0.3f), pressure=%0.3f", id,
264 uint32_t id = idBits.clearFirstMarkedBit(); local
265 const PointerCoords& c = spotCoords[spotIdToIndex[id]];
271 Spot* spot = getSpotLocked(id);
273 spot = createAndAddSpotLocked(id);
282 if (spot->id != Spot::INVALID_ID
283 && !spotIdBits.hasBit(spot->id)) {
506 getSpotLocked(uint32_t id) argument
516 createAndAddSpotLocked(uint32_t id) argument
[all...]
H A DPointerController.h189 uint32_t id; member in struct:android::PointerController::Spot
195 inline Spot(uint32_t id, const sp<Sprite>& sprite) argument
196 : id(id), sprite(sprite), alpha(1.0f), scale(1.0f),
254 Spot* getSpotLocked(uint32_t id);
255 Spot* createAndAddSpotLocked(uint32_t id);
/frameworks/base/services/input/tests/
H A DInputReader_test.cpp1037 << "Should return unknown when the device id is >= 0 but unknown.";
1041 << "Should return unknown when the device id is valid but the sources are not supported by the device.";
1045 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1049 << "Should return unknown when the device id is < 0 but the sources are not supported by any device.";
1053 << "Should return value provided by mapper when device id is < 0 and one of the devices supports some of the sources.";
1064 << "Should return unknown when the device id is >= 0 but unknown.";
1068 << "Should return unknown when the device id is valid but the sources are not supported by the device.";
1072 << "Should return value provided by mapper when device id is valid and the device supports some of the sources.";
1076 << "Should return unknown when the device id is < 0 but the sources are not supported by any device.";
1080 << "Should return value provided by mapper when device id i
3775 processId( MultiTouchInputMapper* mapper, int32_t id) argument
4445 int32_t id = 5; local
[all...]
/frameworks/base/services/java/com/android/server/
H A DAppWidgetServiceImpl.java122 // For a host that's in the system process, ignore the user id
362 private void dumpAppWidgetId(AppWidgetId id, int index, PrintWriter pw) { argument
363 pw.print(" ["); pw.print(index); pw.print("] id=");
364 pw.println(id.appWidgetId);
366 pw.print(id.host.hostId); pw.print(' ');
367 pw.print(id.host.packageName); pw.print('/');
368 pw.println(id.host.uid);
369 if (id.provider != null) {
371 pw.println(id.provider.info.provider.flattenToShortString());
373 if (id
512 deleteAppWidgetLocked(AppWidgetId id) argument
761 unbindAppWidgetRemoteViewsServicesLocked(AppWidgetId id) argument
783 destroyRemoteViewsService(final Intent intent, AppWidgetId id) argument
829 decrementAppWidgetServiceRefCount(AppWidgetId id) argument
1025 updateAppWidgetInstanceLocked(AppWidgetId id, RemoteViews views) argument
1029 updateAppWidgetInstanceLocked(AppWidgetId id, RemoteViews views, boolean isPartialUpdate) argument
1057 notifyAppWidgetViewDataChangedInstanceLocked(AppWidgetId id, int viewId) argument
1178 canAccessAppWidgetId(AppWidgetId id, int callingUid) argument
[all...]
H A DInputMethodManagerService.java591 com.android.internal.R.id.hard_keyboard_section).setVisibility(
659 userId = ActivityManagerNative.getDefault().getCurrentUser().id;
900 // 2) the calling process' user id is identical to the current user id IMMS thinks.
907 + " calling userId = " + userId + ", foreground user id = "
1213 throw new IllegalArgumentException("Unknown id: " + mCurMethodId);
1593 String id = mSettings.getSelectedInputMethod();
1595 if (TextUtils.isEmpty(id) && chooseNewDefaultIMELocked()) {
1596 id = mSettings.getSelectedInputMethod();
1598 if (!TextUtils.isEmpty(id)) {
1614 setInputMethodLocked(String id, int subtypeId) argument
1997 setInputMethod(IBinder token, String id) argument
2005 setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) argument
2183 setInputMethodWithSubtypeId(IBinder token, String id, int subtypeId) argument
2826 setInputMethodEnabled(String id, boolean enabled) argument
2849 setInputMethodEnabledLocked(String id, boolean enabled) argument
2959 getSelectedInputMethodSubtypeId(String id) argument
3555 appendAndPutEnabledInputMethodLocked(String id, boolean reloadInputMethodStr) argument
3572 buildAndPutEnabledInputMethodsStrRemovingIdLocked( StringBuilder builder, List<Pair<String, ArrayList<String>>> imsList, String id) argument
[all...]
H A DLightsService.java62 private Light(int id) { argument
63 mId = id;
192 public Light getLight(int id) { argument
193 return mLights[id];
H A DMountService.java1137 int id = com.android.internal.R.xml.storage_list;
1138 XmlResourceParser parser = resources.getXml(id);
1602 public int createSecureContainer(String id, int sizeMb, String fstype, String key, argument
1610 mConnector.execute("asec", "create", id, sizeMb, fstype, key, ownerUid,
1618 mAsecMountSet.add(id);
1624 public int finalizeSecureContainer(String id) { argument
1630 mConnector.execute("asec", "finalize", id);
1641 public int fixPermissionsSecureContainer(String id, int gid, String filename) { argument
1647 mConnector.execute("asec", "fixperms", id, gid, filename);
1658 public int destroySecureContainer(String id, boolea argument
1698 mountSecureContainer(String id, String key, int ownerUid) argument
1727 unmountSecureContainer(String id, boolean force) argument
1770 isSecureContainerMounted(String id) argument
1805 getSecureContainerPath(String id) argument
1826 getSecureContainerFilesystemPath(String id) argument
[all...]
H A DNotificationManagerService.java297 private static String idDebugString(Context baseContext, String packageName, int id) { argument
316 return r.getResourceName(id);
326 final int id; field in class:NotificationManagerService.NotificationRecord
334 NotificationRecord(String pkg, String tag, int id, int uid, int initialPid, argument
339 this.id = id;
373 + " id=" + Integer.toHexString(id)
449 public void onNotificationClick(String pkg, String tag, int id) {
452 cancelNotification(pkg, tag, id, Notificatio
901 enqueueNotificationWithTag(String pkg, String tag, int id, Notification notification, int[] idOut, int userId) argument
914 enqueueNotificationInternal(String pkg, int callingUid, int callingPid, String tag, int id, Notification notification, int[] idOut, int userId) argument
1282 cancelNotification(String pkg, String tag, int id, int mustHaveFlags, int mustNotHaveFlags, boolean sendDelete, int userId) argument
1365 cancelNotificationWithTag(String pkg, String tag, int id, int userId) argument
1465 indexOfNotificationLocked(String pkg, String tag, int id, int userId) argument
[all...]
H A DStatusBarManagerService.java96 void onNotificationClick(String pkg, String tag, int id); argument
97 void onNotificationClear(String pkg, String tag, int id); argument
99 void onNotificationError(String pkg, String tag, int id, argument
459 public void onNotificationClick(String pkg, String tag, int id) { argument
462 mNotificationCallbacks.onNotificationClick(pkg, tag, id);
465 public void onNotificationError(String pkg, String tag, int id, argument
470 mNotificationCallbacks.onNotificationError(pkg, tag, id, uid, initialPid, message);
473 public void onNotificationClear(String pkg, String tag, int id) { argument
476 mNotificationCallbacks.onNotificationClear(pkg, tag, id);
H A DTextServicesManagerService.java109 userId = ActivityManagerNative.getDefault().getCurrentUser().id;
217 // 2) the calling process' user id is identical to the current user id TSMS thinks.
224 + " calling userId = " + userId + ", foreground user id = "
660 pw.print(" "); pw.print("id="); pw.println(info.getId());
848 String id, String locale, Bundle bundle) {
849 mSciId = id;
847 InternalServiceConnection( String id, String locale, Bundle bundle) argument
/frameworks/base/services/java/com/android/server/am/
H A DActiveServices.java369 int id, Notification notification, boolean removeNotification) {
375 if (id != 0) {
379 if (r.foregroundId != id) {
381 r.foregroundId = id;
1161 r.app.thread.scheduleServiceArgs(r, si.taskRemoved, si.id, flags, si.intent);
368 setServiceForegroundLocked(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument
H A DActivityManagerService.java615 * any user id that can impact battery performance.
726 * Current sequence id for oom_adj computation traversal.
731 * Current sequence id for process LRU updating.
3598 * The pkg name and app id have to be specified.
3780 // give user id.
3959 // Different app id, skip it.
5679 ci.id = curTask.taskId;
5781 rti.id = tr.numActivities > 0 ? tr.taskId : -1;
5818 private TaskRecord taskForIdLocked(int id) { argument
5822 if (tr.taskId == id) {
5829 getTaskThumbnails(int id) argument
5841 getTaskTopThumbnail(int id) argument
10294 final int id; field in class:ActivityManagerService.MemItem
10977 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument
[all...]
H A DServiceRecord.java108 final int id; field in class:ServiceRecord.StartItem
122 id = _id;
151 .append(" id=").append(id).append('}');
166 pw.print(" id="); pw.print(si.id);
329 public StartItem findDeliveredStart(int id, boolean remove) { argument
333 if (si.id == id) {
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java5384 for (int id : userIds) {
5395 if (uid > 0 && UserHandle.getUserId(uid) != id) {
5396 uid = UserHandle.getUid(id, UserHandle.getAppId(uid));
5399 intent.putExtra(Intent.EXTRA_USER_HANDLE, id);
5404 Slog.d(TAG, "Sending to user " + id + ": "
5409 0, null, null, null, finishedReceiver != null, false, id);
5688 public void verifyPendingInstall(int id, int verificationCode) throws RemoteException { argument
5696 msg.arg1 = id;
5702 public void extendVerificationTimeout(int id, int verificationCodeAtTimeout, argument
5708 final PackageVerificationState state = mPendingVerification.get(id);
[all...]
H A DUserManagerService.java75 private static final String ATTR_ID = "id";
184 removeUserStateLocked(ui.id);
201 if (!excludeDying || !mRemovingUserIds.get(ui.id)) {
306 removeUser(user.id);
374 File dir = new File(mUsersDir, Integer.toString(info.id));
456 String id = parser.getAttributeValue(null, ATTR_ID);
457 UserInfo user = readUser(Integer.parseInt(id));
460 mUsers.put(user.id, user);
464 if (mNextSerialNumber < 0 || mNextSerialNumber <= user.id) {
465 mNextSerialNumber = user.id
623 readUser(int id) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerTest.java63 if (user.id == userInfo.id && user.name.equals("Guest 1")
71 removeUser(userInfo.id);
82 assertTrue(findUser(user1.id));
83 assertTrue(findUser(user2.id));
84 removeUser(user1.id);
85 removeUser(user2.id);
90 removeUser(userInfo.id);
92 assertFalse(findUser(userInfo.id));
95 private boolean findUser(int id) { argument
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockPackageManager.java581 public void verifyPendingInstall(int id, int verificationCode) { argument
586 public void extendVerificationTimeout(int id, int verificationCodeAtTimeout, argument
H A DMockResources.java51 public CharSequence getText(int id) throws NotFoundException { argument
56 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { argument
61 public String getString(int id) throws NotFoundException { argument
66 public String getString(int id, Object... formatArgs) throws NotFoundException { argument
71 public String getQuantityString(int id, int quantity, Object... formatArgs) argument
77 public String getQuantityString(int id, int quantity) throws NotFoundException { argument
82 public CharSequence getText(int id, CharSequence def) { argument
87 public CharSequence[] getTextArray(int id) throws NotFoundException { argument
92 public String[] getStringArray(int id) throws NotFoundException { argument
97 public int[] getIntArray(int id) throw argument
102 obtainTypedArray(int id) argument
107 getDimension(int id) argument
112 getDimensionPixelOffset(int id) argument
117 getDimensionPixelSize(int id) argument
122 getDrawable(int id) argument
127 getMovie(int id) argument
132 getColor(int id) argument
137 getColorStateList(int id) argument
142 getInteger(int id) argument
147 getLayout(int id) argument
152 getAnimation(int id) argument
157 getXml(int id) argument
162 openRawResource(int id) argument
167 openRawResourceFd(int id) argument
172 getValue(int id, TypedValue outValue, boolean resolveRefs) argument
[all...]
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestActivity.java39 private static final String KEY_FRAGMENT_ID = "id";
45 public void onItemClick(AdapterView<?> parent, View v, int position, long id) {
46 onListItemClick((ListView)parent, v, position, id);
50 private void onListItemClick(ListView lv, View v, int position, long id) { argument
63 ft.replace(R.id.testframe, fragment);
78 mList = (ListView) findViewById(R.id.testlist);
84 new int[]{android.R.id.text1});
102 addItem(result, "Basic", BiDiTestBasic.class, R.id.basic);
104 addItem(result, "Canvas", BiDiTestCanvas.class, R.id.canvas);
105 addItem(result, "Canvas2", BiDiTestCanvas2.class, R.id
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DTestEventHandler.java453 * @param id Status code of the error
456 public void error(int id, String description) { argument
458 Log.v(LOGTAG, "TestEventHandler: error() called Id:" + id +
468 if (expectErrorId == id) {
472 " got:"+id);
519 expectDetails.append("SslCertificateError id expected:"+
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/
H A DDpiTestActivity.java214 private Bitmap loadAndPrintDpi(int id, boolean scale) { argument
217 bitmap = BitmapFactory.decodeResource(getResources(), id);
221 bitmap = BitmapFactory.decodeResource(getResources(), id, opts);
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DCallbackProxy.java145 int id = args.getInt("id");
146 mEventSender.updateTouchPoint(id, x, y);
331 public void updateTouchPoint(int id, int x, int y) { argument
335 map.putInt("id", id);
350 public void releaseTouchPoint(int id) { argument
351 obtainMessage(EVENT_RELEASE_TOUCH_POINT, id, 0).sendToTarget();
367 public void cancelTouchPoint(int id) { argument
368 obtainMessage(EVENT_CANCEL_TOUCH_POINT, id,
[all...]
H A DEventSender.java34 public void updateTouchPoint(int id, int x, int y); argument
36 public void releaseTouchPoint(int id); argument
38 public void cancelTouchPoint(int id); argument
H A DFileList.java121 protected void onListItemClick(ListView l, View v, int position, long id) argument
177 new int[] {android.R.id.text1}));
H A DWebViewEventSender.java294 public void cancelTouchPoint(int id) { argument
295 TouchPoint tp = mTouchPoints.get(id);
305 int id;
307 id = 0;
309 id = mTouchPoints.get(numPoints - 1).getId() + 1;
312 mTouchPoints.add(new TouchPoint(id, contentsToWindowX(x), contentsToWindowY(y)));
342 public void releaseTouchPoint(int id) { argument
343 TouchPoint tp = mTouchPoints.get(id);
380 public TouchPoint(int id, int x, int y) { argument
381 mId = id;
[all...]

Completed in 515 milliseconds

<<111213141516