Home
last modified time | relevance | path

Searched refs:getId (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/frameworks/minikin/tests/
DFontLanguageListCacheTest.cpp29 TEST_F(FontLanguageListCacheTest, getId) { in TEST_F() argument
35 EXPECT_EQ(0UL, FontLanguageListCache::getId("")); in TEST_F()
37 EXPECT_EQ(FontLanguageListCache::getId("en"), FontLanguageListCache::getId("en")); in TEST_F()
38 EXPECT_NE(FontLanguageListCache::getId("en"), FontLanguageListCache::getId("jp")); in TEST_F()
40 EXPECT_EQ(FontLanguageListCache::getId("en,zh-Hans"), in TEST_F()
41 FontLanguageListCache::getId("en,zh-Hans")); in TEST_F()
42 EXPECT_NE(FontLanguageListCache::getId("en,zh-Hans"), in TEST_F()
43 FontLanguageListCache::getId("zh-Hans,en")); in TEST_F()
44 EXPECT_NE(FontLanguageListCache::getId("en,zh-Hans"), in TEST_F()
45 FontLanguageListCache::getId("jp")); in TEST_F()
[all …]
/frameworks/base/core/java/android/printservice/
DPrintJob.java59 mDocument = new PrintDocument(mCachedInfo.getId(), client, in PrintJob()
69 public PrintJobId getId() { in getId() method in PrintJob
71 return mCachedInfo.getId(); in getId()
92 info = mPrintServiceClient.getPrintJobInfo(mCachedInfo.getId()); in getInfo()
94 Log.e(LOG_TAG, "Couldn't get info for job: " + mCachedInfo.getId(), re); in getInfo()
319 mPrintServiceClient.setProgress(mCachedInfo.getId(), progress); in setProgress()
321 Log.e(LOG_TAG, "Error setting progress for job: " + mCachedInfo.getId(), re); in setProgress()
339 mPrintServiceClient.setStatus(mCachedInfo.getId(), status); in setStatus()
341 Log.e(LOG_TAG, "Error setting status for job: " + mCachedInfo.getId(), re); in setStatus()
358 mPrintServiceClient.setStatusRes(mCachedInfo.getId(), statusResId, in setStatus()
[all …]
DPrinterDiscoverySession.java124 int getId() { in getId() method in PrinterDiscoverySession
181 PrinterInfo oldPrinter = mPrinters.put(addedPrinter.getId(), addedPrinter); in addPrinters()
208 if (mPrinters.get(addedPrinter.getId()) == null) { in addPrinters()
209 mPrinters.put(addedPrinter.getId(), addedPrinter); in addPrinters()
284 PrinterInfo sentPrinter = mLastSentPrinters.get(printer.getId()); in sendOutOfDiscoveryPeriodPrinterChanges()
305 if (!mPrinters.containsKey(sentPrinter.getId())) { in sendOutOfDiscoveryPeriodPrinterChanges()
309 removedPrinterIds.add(sentPrinter.getId()); in sendOutOfDiscoveryPeriodPrinterChanges()
/frameworks/base/core/java/android/print/
DPrintJob.java49 public @Nullable PrintJobId getId() { in getId() method in PrintJob
50 return mCachedInfo.getId(); in getId()
67 PrintJobInfo info = mPrintManager.getPrintJobInfo(mCachedInfo.getId()); in getInfo()
89 mPrintManager.cancelPrintJob(mCachedInfo.getId()); in cancel()
101 mPrintManager.restartPrintJob(mCachedInfo.getId()); in restart()
198 return Objects.equals(mCachedInfo.getId(), other.mCachedInfo.getId()); in equals()
203 PrintJobId printJobId = mCachedInfo.getId(); in hashCode()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/
DGuidedStepAttributesTestFragment.java58 Callback callback = sCallbacks.get(action.getId()); in onGuidedActionClicked()
60 callback.onActionClicked(this, action.getId()); in onGuidedActionClicked()
62 LAST_CLICKED_ACTION_ID = action.getId(); in onGuidedActionClicked()
69 LAST_SELECTED_ACTION_ID = action.getId(); in onGuidedActionFocused()
75 LAST_CLICKED_ACTION_ID = action.getId(); in onSubGuidedActionClicked()
82 Callback callback = sCallbacks.get(action.getId()); in onGuidedActionEditedAndProceed()
84 callback.onActionClicked(this, action.getId()); in onGuidedActionEditedAndProceed()
/frameworks/native/libs/gui/
DStreamSplitter.cpp133 bufferItem.mGraphicBuffer->getId()); in onFrameAvailable()
140 mBuffers.add(bufferItem.mGraphicBuffer->getId(), in onFrameAvailable()
159 mBuffers.editValueFor(bufferItem.mGraphicBuffer->getId())-> in onFrameAvailable()
174 mBuffers.editValueFor(bufferItem.mGraphicBuffer->getId())-> in onFrameAvailable()
183 bufferItem.mGraphicBuffer->getId(), output->get()); in onFrameAvailable()
206 buffer->getId(), from.get()); in onBufferReleasedByOutput()
208 const sp<BufferTracker>& tracker = mBuffers.editValueFor(buffer->getId()); in onBufferReleasedByOutput()
216 ALOGV("buffer %#" PRIx64 " reference count %zu (of %zu)", buffer->getId(), in onBufferReleasedByOutput()
225 mBuffers.removeItem(buffer->getId()); in onBufferReleasedByOutput()
240 ALOGV("released buffer %#" PRIx64 " to input", buffer->getId()); in onBufferReleasedByOutput()
[all …]
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java437 actual.add(s.getId()); in assertShortcutIds()
450 actual.add(s.getId()); in assertShortcutIdsOrdered()
459 assertNotNull("ID " + s.getId(), s.getIntent()); in assertAllHaveIntents()
467 assertNull("ID " + s.getId(), s.getIntent()); in assertAllNotHaveIntents()
475 assertNotNull("ID " + s.getId(), s.getShortLabel()); in assertAllHaveTitle()
483 assertNull("ID " + s.getId(), s.getShortLabel()); in assertAllNotHaveTitle()
491 assertTrue("ID " + s.getId(), s.hasKeyFieldsOnly()); in assertAllKeyFieldsOnly()
499 assertFalse("ID " + s.getId(), s.hasKeyFieldsOnly()); in assertAllNotKeyFieldsOnly()
506 assertTrue("ID " + s.getId(), s.isDynamic()); in assertAllDynamic()
513 assertTrue("ID " + s.getId(), s.isPinned()); in assertAllPinned()
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java794 Log.i("DefaultContextFactory", "tid=" + Thread.currentThread().getId()); in destroyContext()
1014 Log.w("EglHelper", "start() tid=" + Thread.currentThread().getId()); in start()
1055 … Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); in start()
1069 Log.w("EglHelper", "createSurface() tid=" + Thread.currentThread().getId()); in createSurface()
1166 Log.w("EglHelper", "destroySurface() tid=" + Thread.currentThread().getId()); in destroySurface()
1186 Log.w("EglHelper", "finish() tid=" + Thread.currentThread().getId()); in finish()
1208 Log.e("EglHelper", "throwEglException tid=" + Thread.currentThread().getId() + " " in throwEglException()
1253 setName("GLThread " + getId()); in run()
1255 Log.i("GLThread", "starting tid=" + getId()); in run()
1328 … Log.i("GLThread", "mPaused is now " + mPaused + " tid=" + getId()); in guardedRun()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
DGridTouchVerticalSpacingTest.java67 assertEquals("Wrong view in first position", 0, newFirstChild.getId()); in testNoScroll()
84 assertEquals("Wrong view in first position", 0, newFirstChild.getId()); in testShortScroll()
118 firstId = firstChild.getId(); in testManyScrolls()
125 lastChild.getId()); in testManyScrolls()
137 firstId = firstChild.getId(); in testManyScrolls()
142 assertEquals("Grid is not scrolled to the top", 0, firstChild.getId()); in testManyScrolls()
DGridTouchVerticalSpacingStackFromBottomTest.java74 newLastChild.getId()); in testNoScroll()
96 newLastChild.getId()); in testShortScroll()
134 firstId = firstChild.getId(); in testManyScrolls()
140 assertEquals("View scrolled to wrong position", 0, firstChild.getId()); in testManyScrolls()
152 firstId = firstChild.getId(); in testManyScrolls()
158 lastChild.getId()); in testManyScrolls()
DGridTouchStackFromBottomTest.java63 mGridView.getAdapter().getCount() - 1, lastChild.getId()); in testPushUp()
80 mGridView.getAdapter().getCount() - 1, lastChild.getId()); in testPullDown()
97 mGridView.getAdapter().getCount() - 1, lastChild.getId()); in testPushUpFast()
114 mGridView.getAdapter().getCount() - 1, lastChild.getId()); in testPullDownFast()
/frameworks/av/services/camera/libcameraservice/common/
DFrameProcessorBase.cpp126 ALOGV("%s: Camera %d: Process new frames", __FUNCTION__, device->getId()); in processNewFrames()
137 __FUNCTION__, device->getId()); in processNewFrames()
153 __FUNCTION__, device->getId(), strerror(-res), res); in processNewFrames()
163 __FUNCTION__, device->getId(), result.mMetadata.isEmpty()); in processSingleFrame()
182 __FUNCTION__, device->getId()); in processListeners()
193 ALOGE("%s: Camera %d: Error reading frame id", __FUNCTION__, device->getId()); in processListeners()
219 device->getId(), listeners.size(), mRangeListeners.size()); in processListeners()
/frameworks/base/telecomm/java/android/telecom/
DRemoteConnectionManager.java79 a.getConnectionService().conference(a.getId(), b.getId()); in conferenceRemoteConnections()
84 a.getConnectionService(), a.getId(), in conferenceRemoteConnections()
85 b.getConnectionService(), b.getId()); in conferenceRemoteConnections()
/frameworks/support/compat/java/android/support/v4/accessibilityservice/
DAccessibilityServiceInfoCompat.java33 public String getId(AccessibilityServiceInfo info); in getId() method
55 public String getId(AccessibilityServiceInfo info) { in getId() method in AccessibilityServiceInfoCompat.AccessibilityServiceInfoStubImpl
93 public String getId(AccessibilityServiceInfo info) { in getId() method in AccessibilityServiceInfoCompat.AccessibilityServiceInfoIcsImpl
94 return AccessibilityServiceInfoCompatIcs.getId(info); in getId()
314 public static String getId(AccessibilityServiceInfo info) { in getId() method in AccessibilityServiceInfoCompat
315 return IMPL.getId(info); in getId()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java172 params.addRule(rule, getId(ID_NAV_BAR)); in createContentFrame()
176 below = getId(ID_TITLE_BAR); in createContentFrame()
178 below = getId(ID_STATUS_BAR); in createContentFrame()
227 params.addRule(START_OF, getId(ID_NAV_BAR)); in createStatusBar()
230 statusBar.setId(getId(ID_STATUS_BAR)); in createStatusBar()
247 layoutParams.addRule(rule, getId(ID_NAV_BAR)); in createActionBar()
250 layoutParams.addRule(BELOW, getId(ID_STATUS_BAR)); in createActionBar()
263 params.addRule(BELOW, getId(ID_STATUS_BAR)); in createTitleBar()
266 params.addRule(START_OF, getId(ID_NAV_BAR)); in createTitleBar()
269 titleBar.setId(getId(ID_TITLE_BAR)); in createTitleBar()
[all …]
/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityWindowInfoCompat.java35 int getId(Object info); in getId() method
83 public int getId(Object info) { in getId() method in AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl
166 public int getId(Object info) { in getId() method in AccessibilityWindowInfoCompat.AccessibilityWindowInfoApi21Impl
167 return AccessibilityWindowInfoCompatApi21.getId(info); in getId()
337 public int getId() { in getId() method in AccessibilityWindowInfoCompat
338 return IMPL.getId(mInfo); in getId()
484 builder.append("id=").append(getId()); in toString()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DDynamicIdMap.java53 public Integer getId(ResourceType type, String name) { in getId() method in DynamicIdMap
54 return getId(Pair.of(type, name)); in getId()
65 public Integer getId(Pair<ResourceType, String> resource) { in getId() method in DynamicIdMap
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java88 public String getId() { in getId() method in LocaleStore.LocaleInfo
264 sLocaleCache.put(li.getId(), li); in fillCache()
283 sLocaleCache.remove(li.getId()); in fillCache()
295 if (sLocaleCache.containsKey(li.getId())) { // the simple case, e.g. fr-CH in fillCache()
296 cachedLocale = sLocaleCache.get(li.getId()); in fillCache()
323 if (ignorables.contains(li.getId())) return 0; in getLevel()
340 String parentId = parent == null ? null : parent.getId(); in getLevelLocales()
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentPagerAdapter.java80 if (container.getId() == View.NO_ID) { in startUpdate()
95 String name = makeFragmentName(container.getId(), itemId); in instantiateItem()
103 mCurTransaction.add(container.getId(), fragment, in instantiateItem()
104 makeFragmentName(container.getId(), itemId)); in instantiateItem()
/frameworks/base/core/java/android/hardware/usb/
DUsbDeviceConnection.java106 return native_claim_interface(intf.getId(), force); in claimInterface()
115 return native_release_interface(intf.getId()); in releaseInterface()
125 return native_set_interface(intf.getId(), intf.getAlternateSetting()); in setInterface()
134 return native_set_configuration(configuration.getId()); in setConfiguration()
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfShortShortTallShortShortTest.java87 assertEquals("new view position", 3, mListView.getChildAt(1).getId()); in testFadeInTwoBottomItems()
88 assertEquals("new view position", 4, mListView.getChildAt(2).getId()); in testFadeInTwoBottomItems()
132 assertEquals("new view position", 0, mListView.getChildAt(0).getId()); in testFadeInTopTwoItems()
133 assertEquals("new view position", 1, mListView.getChildAt(1).getId()); in testFadeInTopTwoItems()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java239 mNotificationManager.notifyAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskScannedInternal()
244 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskScannedInternal()
255 mNotificationManager.cancelAsUser(disk.getId(), SystemMessage.NOTE_STORAGE_DISK, in onDiskDestroyedInternal()
312 mNotificationManager.notifyAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC, in onPublicVolumeStateChangedInternal()
315 mNotificationManager.cancelAsUser(vol.getId(), SystemMessage.NOTE_STORAGE_PUBLIC, in onPublicVolumeStateChangedInternal()
582 intent.putExtra(DiskInfo.EXTRA_DISK_ID, disk.getId()); in buildInitPendingIntent()
584 final int requestKey = disk.getId().hashCode(); in buildInitPendingIntent()
593 intent.putExtra(VolumeInfo.EXTRA_VOLUME_ID, vol.getId()); in buildInitPendingIntent()
595 final int requestKey = vol.getId().hashCode(); in buildInitPendingIntent()
604 intent.putExtra(VolumeInfo.EXTRA_VOLUME_ID, vol.getId()); in buildUnmountPendingIntent()
[all …]
/frameworks/support/v13/java/android/support/v13/app/
DFragmentPagerAdapter.java84 if (container.getId() == View.NO_ID) { in startUpdate()
99 String name = makeFragmentName(container.getId(), itemId); in instantiateItem()
107 mCurTransaction.add(container.getId(), fragment, in instantiateItem()
108 makeFragmentName(container.getId(), itemId)); in instantiateItem()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java177 "Manifest shortcut ID=" + shortcut.getId() in ensureNotImmutable()
194 ensureNotImmutable(shortcuts.get(i).getId()); in ensureImmutableShortcutsNotIncluded()
211 deleteShortcutInner(newShortcut.getId()); in addShortcutInner()
216 mShortcuts.put(newShortcut.getId(), newShortcut); in addShortcutInner()
231 final ShortcutInfo oldShortcut = mShortcuts.get(newShortcut.getId()); in addOrUpdateDynamicShortcut()
267 removeList.add(si.getId()); in removeOrphans()
535 || ((pinnedByCallerSet != null) && pinnedByCallerSet.contains(si.getId())); in findAll()
711 getPackageName(), si.getId())); in rescanPackageIfNeeded()
712 if (disableDynamicWithId(si.getId())) { in rescanPackageIfNeeded()
775 toDisableList.add(si.getId()); in publishManifestShortcuts()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
DListTouchBottomGravityManyTest.java71 assertEquals("Item zero not the first child in the list", 0, firstChild.getId()); in testPullDown()
92 lastChild.getId()); in testPushUp()
112 newLastChild.getId()); in testNoScroll()
134 newLastChild.getId()); in testShortScroll()

12345678910>>...20