Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/java/android/print/
DPrintJob.java44 public PrintJobId getId() { in getId() method in PrintJob
45 return mCachedInfo.getId(); in getId()
62 PrintJobInfo info = mPrintManager.getPrintJobInfo(mCachedInfo.getId()); in getInfo()
84 mPrintManager.cancelPrintJob(mCachedInfo.getId()); in cancel()
96 mPrintManager.restartPrintJob(mCachedInfo.getId()); in restart()
193 return mCachedInfo.getId().equals(other.mCachedInfo.getId()); in equals()
198 return mCachedInfo.getId().hashCode(); in hashCode()
/frameworks/base/core/java/android/printservice/
DPrintJob.java47 mDocument = new PrintDocument(mCachedInfo.getId(), client, in PrintJob()
56 public PrintJobId getId() { in getId() method in PrintJob
58 return mCachedInfo.getId(); in getId()
78 info = mPrintServiceClient.getPrintJobInfo(mCachedInfo.getId()); in getInfo()
80 Log.e(LOG_TAG, "Couldn't get info for job: " + mCachedInfo.getId(), re); in getInfo()
297 return mPrintServiceClient.setPrintJobTag(mCachedInfo.getId(), tag); in setTag()
299 Log.e(LOG_TAG, "Error setting tag for job: " + mCachedInfo.getId(), re); in setTag()
362 return (mCachedInfo.getId().equals(other.mCachedInfo.getId())); in equals()
367 return mCachedInfo.getId().hashCode(); in hashCode()
379 if (mPrintServiceClient.setPrintJobState(mCachedInfo.getId(), state, error)) { in setState()
[all …]
DPrinterDiscoverySession.java122 int getId() { in getId() method in PrinterDiscoverySession
179 PrinterInfo oldPrinter = mPrinters.put(addedPrinter.getId(), addedPrinter); in addPrinters()
206 if (mPrinters.get(addedPrinter.getId()) == null) { in addPrinters()
207 mPrinters.put(addedPrinter.getId(), addedPrinter); in addPrinters()
282 PrinterInfo sentPrinter = mLastSentPrinters.get(printer.getId()); in sendOutOfDiscoveryPeriodPrinterChanges()
303 if (!mPrinters.containsKey(sentPrinter.getId())) { in sendOutOfDiscoveryPeriodPrinterChanges()
307 removedPrinterIds.add(sentPrinter.getId()); in sendOutOfDiscoveryPeriodPrinterChanges()
/frameworks/base/opengl/java/android/opengl/
DGLSurfaceView.java780 Log.i("DefaultContextFactory", "tid=" + Thread.currentThread().getId()); in destroyContext()
996 Log.w("EglHelper", "start() tid=" + Thread.currentThread().getId()); in start()
1037 … Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); in start()
1051 Log.w("EglHelper", "createSurface() tid=" + Thread.currentThread().getId()); in createSurface()
1148 Log.w("EglHelper", "destroySurface() tid=" + Thread.currentThread().getId()); in destroySurface()
1168 Log.w("EglHelper", "finish() tid=" + Thread.currentThread().getId()); in finish()
1190 Log.e("EglHelper", "throwEglException tid=" + Thread.currentThread().getId() + " " in throwEglException()
1234 setName("GLThread " + getId()); in run()
1236 Log.i("GLThread", "starting tid=" + getId()); in run()
1307 … 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()
DGridTouchStackFromBottomManyTest.java64 assertEquals("Item zero not the first child in the grid", 0, firstChild.getId()); in testScrollToTop()
81 lastChild.getId()); in testScrollToBottom()
/frameworks/support/v4/java/android/support/v4/accessibilityservice/
DAccessibilityServiceInfoCompat.java32 public String getId(AccessibilityServiceInfo info); in getId() method
50 public String getId(AccessibilityServiceInfo info) { in getId() method in AccessibilityServiceInfoCompat.AccessibilityServiceInfoStubImpl
80 public String getId(AccessibilityServiceInfo info) { in getId() method in AccessibilityServiceInfoCompat.AccessibilityServiceInfoIcsImpl
81 return AccessibilityServiceInfoCompatIcs.getId(info); in getId()
292 public static String getId(AccessibilityServiceInfo info) { in getId() method in AccessibilityServiceInfoCompat
293 return IMPL.getId(info); in getId()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
DVideoEditorAPITest.java103 mediaVideoItem1.getId().equals("mediaVideoItem1")); in testMediaVideoItem()
362 mediaVideoItem1.getEffect(effectColor.getId())); in testMediaVideoItemEffect()
370 mediaVideoItem1.removeEffect(effectColor.getId())); in testMediaVideoItemEffect()
401 getEndTransition().getId().equals(transition1.getId())); in testMediaVideoItemTransitions()
414 getBeginTransition().getId().equals(transition2.getId())); in testMediaVideoItemTransitions()
451 .getOverlay(overlayFrame.getId())); in testMediaVideoItemOverlays()
459 mediaVideoItem1.removeOverlay(overlayFrame.getId())); in testMediaVideoItemOverlays()
476 mediaImageItem1.getId().equals("mediaImageItem1")); in testMediaImageItem()
608 effectColor, mediaImageItem1.getEffect(effectColor.getId())); in testMediaImageItemEffect()
616 mediaImageItem1.removeEffect(effectColor.getId())); in testMediaImageItemEffect()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DFrameProcessorBase.cpp104 ALOGV("%s: Camera %d: Process new frames", __FUNCTION__, device->getId()); in processNewFrames()
113 __FUNCTION__, device->getId()); in processNewFrames()
129 __FUNCTION__, device->getId(), strerror(-res), res); in processNewFrames()
139 __FUNCTION__, device->getId(), frame.isEmpty()); in processSingleFrame()
154 __FUNCTION__, device->getId()); in processListeners()
161 __FUNCTION__, device->getId()); in processListeners()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DDynamicIdMap.java51 public Integer getId(ResourceType type, String name) { in getId() method in DynamicIdMap
52 return getId(Pair.of(type, name)); in getId()
62 public Integer getId(Pair<ResourceType, String> resource) { in getId() method in DynamicIdMap
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfShortShortTallShortShortTest.java84 assertEquals("new view position", 3, mListView.getChildAt(1).getId()); in testFadeInTwoBottomItems()
85 assertEquals("new view position", 4, mListView.getChildAt(2).getId()); in testFadeInTwoBottomItems()
128 assertEquals("new view position", 0, mListView.getChildAt(0).getId()); in testFadeInTopTwoItems()
129 assertEquals("new view position", 1, mListView.getChildAt(1).getId()); in testFadeInTopTwoItems()
/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()
DListTouchManyTest.java68 assertEquals("Item zero not the first child in the list", 0, firstChild.getId()); in testPullDown()
87 lastChild.getId()); in testPushUp()
159 assertEquals("Wrong view in first position", 0, newFirstChild.getId()); in testNoScroll()
176 assertEquals("Wrong view in first position", 0, newFirstChild.getId()); in testShortScroll()
DListSetSelectionTest.java75 if (child.getId() == targetPosition) { in testSetSelection()
106 if (child.getId() == targetPosition) { in testSetSelectionFromTop()
141 if (child.getId() == 0 && i == 0) { in testSetSelection0()
DListTouchTest.java67 assertEquals("Item zero not the first child in the list", 0, firstChild.getId()); in testPullDown()
85 assertEquals("Item zero not the first child in the list", 0, firstChild.getId()); in testPushUp()
/frameworks/base/media/lib/java/com/android/media/remotedisplay/
DRemoteDisplayProvider.java240 if (display == null || mDisplays.containsKey(display.getId())) { in addDisplay()
243 mDisplays.put(display.getId(), display); in addDisplay()
254 if (display == null || mDisplays.get(display.getId()) != display) { in updateDisplay()
266 if (display == null || mDisplays.get(display.getId()) != display) { in removeDisplay()
269 mDisplays.remove(display.getId()); in removeDisplay()
/frameworks/support/v4/ics/android/support/v4/accessibilityservice/
DAccessibilityServiceInfoCompatIcs.java36 public static String getId(AccessibilityServiceInfo info) { in getId() method in AccessibilityServiceInfoCompatIcs
37 return info.getId(); in getId()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseFragmentPagerAdapter.java77 String name = makeFragmentName(container.getId(), position); in instantiateItem()
93 mCurTransaction.add(container.getId(), fragment, in instantiateItem()
94 makeFragmentName(container.getId(), position)); in instantiateItem()
117 name = makeFragmentName(container.getId(), position); in destroyItem()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/
DFusedPrintersProvider.java102 favoritePrinter.getId()); in computeAndDeliverResult()
115 printer.getId()); in computeAndDeliverResult()
193 printerIds.add(mFavoritePrinters.get(i).getId()); in loadInternal()
216 printersMap.put(printer.getId(), printer); in updatePrinters()
224 favoritePrintersMap.put(favoritePrinter.getId(), favoritePrinter); in updatePrinters()
292 if (favoritePritner.getId().equals(printerId)) { in isFavoritePrinter()
306 if (favoritePrinter.getId().equals(printerId)) { in forgetFavoritePrinter()
395 if (historicalPrinter.getId().equals(printerId)) { in removeHistoricalPrinterAndWritePrinterHistory()
420 PrinterRecord record = recordMap.get(printer.getId()); in computeFavoritePrinters()
423 recordMap.put(printer.getId(), record); in computeFavoritePrinters()
[all …]
/frameworks/base/media/java/android/media/videoeditor/
DMediaItem.java159 public String getId() { in getId() method in MediaItem
303 throw new IllegalArgumentException("Effect already exists: " + effect.getId()); in addEffect()
335 if (effect.getId().equals(effectId)) { in removeEffect()
387 if (effect.getId().equals(effectId)) { in getEffect()
426 throw new IllegalArgumentException("Overlay already exists: " + overlay.getId()); in addOverlay()
499 if (overlay.getId().equals(overlayId)) { in removeOverlay()
522 if (overlay.getId().equals(overlayId)) { in getOverlay()
/frameworks/support/v4/java/android/support/v4/app/
DFragmentPagerAdapter.java91 String name = makeFragmentName(container.getId(), itemId); in instantiateItem()
99 mCurTransaction.add(container.getId(), fragment, in instantiateItem()
100 makeFragmentName(container.getId(), itemId)); in instantiateItem()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentPagerAdapter.java95 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/view/accessibility/
DAccessibilityInteractionClient.java117 final long threadId = Thread.currentThread().getId(); in getInstance()
200 prefetchFlags, Thread.currentThread().getId()); in findAccessibilityNodeInfoByAccessibilityId()
248 Thread.currentThread().getId()); in findAccessibilityNodeInfosByViewId()
296 Thread.currentThread().getId()); in findAccessibilityNodeInfosByText()
343 Thread.currentThread().getId()); in findFocus()
387 Thread.currentThread().getId()); in focusSearch()
430 interactionId, this, Thread.currentThread().getId()); in performAccessibilityAction()

12345678910