Searched refs:getId (Results 76 - 100 of 705) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/mtp/
H A DMtpStorageManager.java166 public int getId() { method in class:MtpStorageManager.MtpObject
179 return getRoot().getId();
553 Log.w(TAG, "Can't find children of " + (object == null ? "null" : object.getId()));
592 if (!parent.isRoot() && getObject(parent.getId()) != parent)
605 mObjects.put(obj.getId(), obj);
624 ret = mRoots.remove(removed.getId(), removed) && ret;
626 ret = mObjects.remove(removed.getId(), removed) && ret;
673 MtpStorageManager.this.mMtpNotifier.sendObjectAdded(obj.getId());
729 MtpStorageManager.this.mMtpNotifier.sendObjectRemoved(obj.getId());
758 Log.i(TAG, key + " | " + (obj.getParent() == null ? obj.getParent().getId()
[all...]
/frameworks/support/navigation/runtime/src/main/java/androidx/navigation/
H A DNavController.java103 && mBackStack.peekLast().getId() != destId) {
259 if (inclusive || destination.getId() != destinationId) {
262 if (destination.getId() == destinationId) {
271 while (!mBackStack.isEmpty() && mBackStack.peekLast().getId() != destination.getId()) {
305 int destId = currentDestination.getId();
310 .setDestination(parent.getId())
318 destId = parent.getId();
502 .setPopUpTo(mGraph.getId(), true)
533 .setPopUpTo(mGraph.getId(), tru
[all...]
/frameworks/base/core/java/android/widget/
H A DRadioGroup.java151 setCheckedId(button.getId());
374 int id = buttonView.getId();
394 int id = child.getId();
446 check(child.getId());
461 if (child.getId() == mCheckedId) {
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
H A DAbstractService.java35 private final String TAG = "MultidexLegacyTestService" + getId();
57 File resultFile = new File(applicationContext.getFilesDir(), getId());
90 new File(applicationContext.getFilesDir(), getId() + ".complete"), "rw");
102 Log.i("Service" + getId(), "Received start id " + startId + ": " + intent);
108 private String getId() { method in class:AbstractService
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplayProvider.java240 if (display == null || mDisplays.containsKey(display.getId())) {
243 mDisplays.put(display.getId(), display);
254 if (display == null || mDisplays.get(display.getId()) != display) {
266 if (display == null || mDisplays.get(display.getId()) != display) {
269 mDisplays.remove(display.getId());
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java252 mNotificationManager.notifyAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK,
257 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK,
268 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK,
325 mNotificationManager.notifyAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC,
328 mNotificationManager.cancelAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC,
598 intent.putExtra(DiskInfo.EXTRA_DISK_ID, disk.getId());
600 final int requestKey = disk.getId().hashCode();
614 intent.putExtra(VolumeInfo.EXTRA_VOLUME_ID, vol.getId());
616 final int requestKey = vol.getId().hashCode();
626 intent.putExtra(VolumeInfo.EXTRA_VOLUME_ID, vol.getId());
[all...]
/frameworks/base/cmds/hid/src/com/android/commands/hid/
H A DHid.java94 final int index = mDevices.indexOfKey(e.getId());
103 error("Device id=" + e.getId() + " is already registered. Ignoring event.");
120 int id = e.getId();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
H A DInputMethodSettingValuesWrapper.java88 mMethodMap.put(imi.getId(), imi);
160 if (tempImi.getId().equals(imi.getId())) {
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingCameraManager.java209 Log.v(TAG, "onOpened: camera " + ((camera != null) ? camera.getId() : "null"));
232 + ((camera != null) ? camera.getId() : "null"));
254 Log.v(TAG, "onError: camera " + ((camera != null) ? camera.getId() : "null"));
/frameworks/rs/rsov/compiler/spirit/
H A Dtransformer_test.cpp35 ret->setId(mul->getId());
53 IdResult id = ret->getId();
54 ret->setId(mul->getId());
/frameworks/support/compat/src/main/java/androidx/core/view/accessibility/
H A DAccessibilityWindowInfoCompat.java150 public int getId() { method in class:AccessibilityWindowInfoCompat
152 return ((AccessibilityWindowInfo) mInfo).getId();
345 builder.append("id=").append(getId());
/frameworks/support/content/src/androidTest/java/androidx/contentpager/content/
H A DTestQueryCallback.java49 extras.putInt(URI_PAGE_ID, query.getId());
57 mReplyLatch.accept(new Pair<>(query.getId(), cursor));
74 return expectedPageId == query.getId();
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutPackage.java206 "Manifest shortcut ID=" + shortcut.getId()
225 ensureNotImmutable(shortcuts.get(i).getId(), ignoreInvisible);
249 forceDeleteShortcutInner(newShortcut.getId());
254 mShortcuts.put(newShortcut.getId(), newShortcut);
270 final ShortcutInfo oldShortcut = mShortcuts.get(newShortcut.getId());
306 removeList.add(si.getId());
437 final ShortcutInfo source = mShortcuts.get(shortcut.getId());
605 || ((pinnedByCallerSet != null) && pinnedByCallerSet.contains(si.getId()));
778 si.getId(), getPackageInfo().getBackupSourceVersionCode()));
782 Slog.i(TAG, String.format("Restoring shortcut: %s", si.getId()));
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DLocaleStore.java91 public String getId() { method in class:LocaleStore.LocaleInfo
285 sLocaleCache.put(li.getId(), li);
303 if (sLocaleCache.containsKey(li.getId())) { // the simple case, e.g. fr-CH
304 cachedLocale = sLocaleCache.get(li.getId());
328 if (ignorables.contains(li.getId())) return 0;
345 String parentId = parent == null ? null : parent.getId();
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
H A DPojoWithRelationTest.java54 Pet[] pets = TestUtil.createPetsForUser(user.getId(), user.getId() * 10,
55 user.getId() - 1);
57 userPets[user.getId() - 1] = pets;
146 assertThat(relationContainer.getUserAndAllPets().user.getId(), is(1));
218 pet.setUserId(user.getId());
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationManagerServiceTest.java321 Notification.Builder nb = new Notification.Builder(mContext, channel.getId())
341 Notification.Builder nb = new Notification.Builder(mContext, channel.getId())
521 sbn.getId(), sbn.getNotification(), sbn.getUserId());
539 sbn.getId(), sbn.getNotification(), sbn.getUserId());
545 mBinderService.getNotificationChannel(PKG, channel.getId()).getImportance());
563 mBinderService.getNotificationChannel(PKG, channel.getId()).getImportance());
568 sbn.getId(), sbn.getNotification(), sbn.getUserId());
576 mBinderService.getNotificationChannel(PKG, channel.getId()).getImportance());
577 mBinderService.cancelNotificationWithTag(PKG, "tag", sbn.getId(), sbn.getUserId());
585 mBinderService.getNotificationChannel(PKG, channel.getId())
[all...]
/frameworks/av/services/mediaresourcemanager/test/
H A DResourceManagerService_test.cpp32 static int64_t getId(const sp<IResourceManagerClient>& client) { function in namespace:android
156 mService->addResource(kTestPid1, getId(mTestClient1), mTestClient1, resources1);
160 mService->addResource(kTestPid1, getId(mTestClient1), mTestClient1, resources11);
166 mService->addResource(kTestPid2, getId(mTestClient2), mTestClient2, resources2);
170 mService->addResource(kTestPid2, getId(mTestClient3), mTestClient3, resources3);
173 mService->addResource(kTestPid2, getId(mTestClient3), mTestClient3, resources3);
225 mService->removeResource(kTestPid2, getId(mTestClient2));
441 mService->removeResource(kTestPid2, getId(mTestClient3));
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareRequestParcelable.java40 public int getId() { method in class:GeofenceHardwareRequestParcelable
185 parcel.writeInt(getId());
/frameworks/base/core/jni/
H A Dandroid_view_InputDevice.cpp52 android_view_KeyCharacterMap_create(env, deviceInfo.getId(),
64 gInputDeviceClassInfo.ctor, deviceInfo.getId(), deviceInfo.getGeneration(),
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
H A DSuggestionTest.java63 assertThat(suggestion.getId()).isEqualTo(TEST_ID);
96 assertThat(newSuggestion.getId()).isEqualTo(TEST_ID);
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListOfThinItemsTest.java64 final int lastVisiblePosition = lastChild.getId();
107 final int firstVisiblePosition = firstChild.getId();
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpDocumentsService.java101 if (!openedNotification.contains(notification.getId())) {
102 mNotificationManager.cancel(notification.getId());
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
H A DSuggestionController.java118 Log.w(TAG, "SuggestionController not ready, cannot dismiss " + suggestion.getId());
130 Log.w(TAG, "SuggestionController not ready, cannot launch " + suggestion.getId());
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
H A DAbstractItemHierarchy.java55 public int getId() { method in class:AbstractItemHierarchy
60 return getId();
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
H A DEmojiMetadata.java147 public int getId() { method in class:EmojiMetadata
226 builder.append(Integer.toHexString(getId()));

Completed in 688 milliseconds

1234567891011>>