Home
last modified time | relevance | path

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

1234

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_GroupMembershipTest.java54 .with(GroupMembership.GROUP_ROW_ID, group.getId()) in testAddGroupMembershipWithGroupRowId()
58 groupMembership.assertColumn(GroupMembership.RAW_CONTACT_ID, rawContact.getId()); in testAddGroupMembershipWithGroupRowId()
59 groupMembership.assertColumn(GroupMembership.GROUP_ROW_ID, group.getId()); in testAddGroupMembershipWithGroupRowId()
77 groupMembership.assertColumn(GroupMembership.RAW_CONTACT_ID, rawContact.getId()); in testAddGroupMembershipWithGroupSourceId()
79 groupMembership.assertColumn(GroupMembership.GROUP_ROW_ID, group.getId()); in testAddGroupMembershipWithGroupSourceId()
98 groupMembership.assertColumn(GroupMembership.RAW_CONTACT_ID, rawContact.getId()); in testAddGroupMembershipWithUnknownGroupSourceId()
100 groupMembership.assertColumn(GroupMembership.GROUP_ROW_ID, group.getId()); in testAddGroupMembershipWithUnknownGroupSourceId()
DContactsContract_ContactCountsTest.java177 return new long[] {contact.getId(), contact2.getId(), contact3.getId(), contact4.getId(), in setupTestData()
178 contact5.getId(), contact6.getId()}; in setupTestData()
DContactsContract_ContactsTest.java70 Contacts.markAsContacted(mResolver, contact.getId()); in testMarkAsContacted()
77 Contacts.markAsContacted(mResolver, contact.getId()); in testMarkAsContacted()
98 long contactId = contact.getId();
178 final long contactId = contact.getId();
221 new long[]{contact.getId()}
228 new long[]{contact.getId()}
235 new long[]{contact.getId()}
DContactsContract_StructuredPhoneticName.java99 rawContact1.getId(), rawContact2.getId()); in testPhoneticStructuredName_phoneticPriority1()
136 rawContact1.getId(), rawContact2.getId()); in testPhoneticStructuredName_phoneticPriority2()
DContactsContract_IsSuperPrimaryName.java95 setAggregationException(rawContact1.getId(), rawContact2.getId()); in testInner_displayNameFromIsSuperPrimary()
156 setAggregationException(rawContact1.getId(), rawContact2.getId()); in testIsSuperPrimaryName_mergeBothSuperPrimary()
DContactsContract_SearchSnippetsTest.java227 .insert().load().getId(); in setupTestData()
260 .insert().load().getId(); in setupTestData()
268 contact.getId(), contact2.getId(), contact3.getId() in setupTestData()
DContactsContract_FrequentsStrequentsTest.java446 .insert().load().getId(); in setupTestData()
460 .insert().load().getId(); in setupTestData()
474 .insert().load().getId(); in setupTestData()
478 return new long[] {contact.getId(), contact2.getId(), contact3.getId()}; in setupTestData()
DContactsContract_PhoneLookup.java74 .insert().load().getId(); in setupTestData()
94 contact.getId(), contact2.getId() in setupTestData()
/cts/tests/tests/widget/src/android/widget/cts/
DResourceCursorAdapterTest.java80 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testSetViewResource()
86 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testSetViewResource()
97 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testSetDropDownViewResource()
105 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testSetDropDownViewResource()
110 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testSetDropDownViewResource()
120 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testNewDropDownView()
126 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testNewDropDownView()
136 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testNewView()
142 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testNewView()
DResourceCursorTreeAdapterTest.java106 assertEquals(mChildId, result.getId()); in testNewChildView()
109 assertEquals(mChildId, result.getId()); in testNewChildView()
115 assertEquals(mLastChildId, result.getId()); in testNewChildView()
118 assertEquals(mNormalChildId, result.getId()); in testNewChildView()
128 assertEquals(mGroupId, result.getId()); in testNewGroupView()
131 assertEquals(mGroupId, result.getId()); in testNewGroupView()
137 assertEquals(mExpandedGroupId, result.getId()); in testNewGroupView()
140 assertEquals(mCollapsedGroupId, result.getId()); in testNewGroupView()
/cts/tests/tests/tv/src/android/media/tv/cts/
DBundledTvInputServiceTest.java139 mTvView.tune(info.getId(), in testTune()
140 TvContract.buildChannelUriForPassthroughInput(info.getId())); in testTune()
147 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTune()
168 mTvView.tune(info.getId(), in testTuneStress()
169 TvContract.buildChannelUriForPassthroughInput(info.getId())); in testTuneStress()
177 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTuneStress()
DTvTrackInfoTest.java41 assertEquals("id_audio", info.getId()); in testAudioTrackInfoOp()
54 assertEquals("id_audio", infoFromParcel.getId()); in testAudioTrackInfoOp()
77 assertEquals("id_video", info.getId()); in testVideoTrackInfoOp()
91 assertEquals("id_video", infoFromParcel.getId()); in testVideoTrackInfoOp()
112 assertEquals("id_subtitle", info.getId()); in testSubtitleTrackInfoOp()
123 assertEquals("id_subtitle", infoFromParcel.getId()); in testSubtitleTrackInfoOp()
DStubTunerTvInputService.java53 redValues.put(TvContract.Channels.COLUMN_INPUT_ID, info.getId()); in insertChannels()
58 greenValues.put(TvContract.Channels.COLUMN_INPUT_ID, info.getId()); in insertChannels()
63 blueValues.put(TvContract.Channels.COLUMN_INPUT_ID, info.getId()); in insertChannels()
75 resolver.delete(TvContract.buildChannelsUriForInput(info.getId()), null, null); in deleteChannels()
148 notifyTrackSelected(TvTrackInfo.TYPE_VIDEO, track.getId()); in onTune()
154 notifyTrackSelected(TvTrackInfo.TYPE_AUDIO, track.getId()); in onTune()
DTvViewTest.java209 Uri uri = TvContract.buildChannelsUriForInput(mStubInfo.getId()); in tryTuneAllChannels()
216 mTvView.tune(mStubInfo.getId(), channelUri); in tryTuneAllChannels()
221 return mCallback.isVideoAvailable(mStubInfo.getId()); in tryTuneAllChannels()
243 mStubInfo.getId(), type); in selectTrackAndVerify()
244 mTvView.selectTrack(type, track == null ? null : track.getId()); in selectTrackAndVerify()
247 || (track != null && !track.getId().equals(selectedTrackId))) { in selectTrackAndVerify()
253 mStubInfo.getId(), type) > previousGeneration; in selectTrackAndVerify()
259 assertEquals(selectedTrackId, track == null ? null : track.getId()); in selectTrackAndVerify()
263 if (item.getId().equals(selectedTrackId)) { in selectTrackAndVerify()
375 Uri uri = TvContract.buildChannelsUriForInput(mStubInfo.getId()); in testOnUnhandledInputEventListener()
[all …]
DTvInputInfoTest.java67 assertEquals(id, mStubInfo.getId()); in testTvInputInfoOp()
87 assertEquals(mStubInfo.getId(), infoFromParcel.getId()); in testTvInputInfoOp()
109 assertEquals(mStubInfo.getId(), inputId); in testGetIntentForSettingsActivity()
121 assertEquals(mStubInfo.getId(), inputId); in testGetIntentForSetupActivity()
DHardwareSessionTest.java87 HardwareProxyTvInputService.sHardwareInputId = passthroughInfo.getId(); in verifyCommandTuneAndHardwareVideoAvailable()
89 mTvView.tune(mStubInfo.getId(), fakeChannelUri); in verifyCommandTuneAndHardwareVideoAvailable()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java790 Log.i("DefaultContextFactory", "tid=" + Thread.currentThread().getId()); in destroyContext()
1006 Log.w("EglHelper", "start() tid=" + Thread.currentThread().getId()); in start()
1047 … Log.w("EglHelper", "createContext " + mEglContext + " tid=" + Thread.currentThread().getId()); in start()
1061 Log.w("EglHelper", "createSurface() tid=" + Thread.currentThread().getId()); in createSurface()
1158 Log.w("EglHelper", "destroySurface() tid=" + Thread.currentThread().getId()); in destroySurface()
1178 Log.w("EglHelper", "finish() tid=" + Thread.currentThread().getId()); in finish()
1200 Log.e("EglHelper", "throwEglException tid=" + Thread.currentThread().getId() + " " in throwEglException()
1244 setName("GLThread " + getId()); in run()
1246 Log.i("GLThread", "starting tid=" + getId()); in run()
1317 … Log.i("GLThread", "mPaused is now " + mPaused + " tid=" + getId()); in guardedRun()
[all …]
/cts/tests/tests/app/src/android/app/cts/
DNotificationManagerTest.java65 if (sbn.getId() != id) { in testNotify()
79 assertFalse("canceled notification was still alive, id=" + id, sbn.getId() == id); in testCancel()
121 if (sbn.getId() == id) return; in sendNotification()
/cts/tests/tests/view/src/android/view/cts/
DView_IdsTest.java55 assertEquals(0x1111, editText.getId()); in testIds()
59 assertEquals(0x9999, buttonCancel.getId()); in testIds()
DSearchEventTest.java49 assertEquals(-1, id.getId()); in testTest()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestResults.java72 if (pkg.getId() != null) { in parse()
73 mPackageResults.put(pkg.getId(), pkg); in parse()
180 return lhs.getId().compareTo(rhs.getId()); in compare()
DITestSummary.java26 public int getId(); in getId() method
DCtsTestLogReporter.java62 if (mCurrentPkgResult != null && !id.equals(mCurrentPkgResult.getId())) { in testRunStarted()
73 if (mCurrentPkgResult == null || !id.equals(mCurrentPkgResult.getId())) { in testRunStarted()
148 pkgResult.getId(), pkgResult.countTests(CtsTestStatus.PASS), in logCompleteRun()
/cts/tests/tests/transition/src/android/transition/cts/
DTransitionTest.java91 assertEquals(R.id.hello, mTargets.get(0).getId()); in testAddTargetId()
107 assertEquals(R.id.hello, mTargets.get(0).getId()); in testRemoveTargetId()
202 assertEquals(R.id.redSquare, mTargets.get(0).getId()); in testAddTargetName()
219 assertEquals(R.id.redSquare, mTargets.get(0).getId()); in testRemoveTargetName()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTestUtils.java88 + handle.getId()); in enablePhoneAccount()
96 + handle.getId() + " " + label + " " + address); in registerSimPhoneAccount()

1234