Home
last modified time | relevance | path

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

123456

/cts/common/util/src/com/android/compatibility/common/util/
DModuleResult.java63 public String getId() { in getId() method in ModuleResult
147 return getId().compareTo(another.getId()); in compareTo()
155 if (!otherModuleResult.getId().equals(getId())) { in mergeFrom()
158 otherModuleResult.getId(), getId())); in mergeFrom()
/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.java106 rawContact1.getId(), rawContact2.getId()); in testPhoneticStructuredName_phoneticPriority1()
143 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_PhoneLookup.java85 .insert().load().getId(); in setupTestData()
99 .insert().load().getId(); in setupTestData()
114 .insert().load().getId(); in setupTestData()
119 new Id(contact.getId(), dataId), in setupTestData()
120 new Id(contact2.getId(), dataId2), in setupTestData()
121 new Id(contact3.getId(), dataId3) in setupTestData()
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()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputInfoTest.java40 return TextUtils.equals(info1.getId(), info2.getId()) in compareTvInputInfos()
85 assertEquals(id, mStubInfo.getId()); in testTvInputInfoOp()
106 assertEquals(mStubInfo.getId(), infoFromParcel.getId()); in testTvInputInfoOp()
128 assertEquals(mStubInfo.getId(), inputId); in testGetIntentForSettingsActivity()
140 assertEquals(mStubInfo.getId(), inputId); in testGetIntentForSetupActivity()
202 assertEquals(mStubInfo.getId(), defaultInfo.getId()); in testBuilder()
213 assertEquals(mStubInfo.getId(), updatedInfo.getId()); in testBuilder()
DBundledTvInputServiceTest.java139 mTvView.tune(info.getId(), in testTune()
140 TvContract.buildChannelUriForPassthroughInput(info.getId())); in testTune()
147 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTune()
171 mTvView.tune(info.getId(), in testTuneStress()
172 TvContract.buildChannelUriForPassthroughInput(info.getId())); in testTuneStress()
179 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()
79 assertEquals("id_video", info.getId()); in testVideoTrackInfoOp()
95 assertEquals("id_video", infoFromParcel.getId()); in testVideoTrackInfoOp()
118 assertEquals("id_subtitle", info.getId()); in testSubtitleTrackInfoOp()
129 assertEquals("id_subtitle", infoFromParcel.getId()); in testSubtitleTrackInfoOp()
DTvViewTest.java227 Uri uri = TvContract.buildChannelsUriForInput(mStubInfo.getId()); in tryTuneAllChannels()
235 mTvView.tune(mStubInfo.getId(), channelUri, params); in tryTuneAllChannels()
237 mTvView.tune(mStubInfo.getId(), channelUri); in tryTuneAllChannels()
243 return mCallback.isVideoAvailable(mStubInfo.getId()); in tryTuneAllChannels()
266 params.putString("android.media.tv.cts.TvViewTest.inputId", mStubInfo.getId()); in testSimpleTuneWithBundle()
274 mStubInfo.getId(), type); in selectTrackAndVerify()
275 mTvView.selectTrack(type, track == null ? null : track.getId()); in selectTrackAndVerify()
278 || (track != null && !track.getId().equals(selectedTrackId))) { in selectTrackAndVerify()
284 mStubInfo.getId(), type) > previousGeneration; in selectTrackAndVerify()
290 assertEquals(selectedTrackId, track == null ? null : track.getId()); in selectTrackAndVerify()
[all …]
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()
/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/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/tools/testng/src/com/android/cts/testng/
DSingleTestNGTestRunListener.java56 getId(result), stringify(result.getThrowable()))); in onTestFailure()
62 getId(result))); in onTestSkipped()
68 getId(result))); in onTestStart()
76 private String getId(org.testng.ITestResult test) { in getId() method in SingleTestNGTestRunListener
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DSingleTestNGTestRunListener.java72 getId(result), stringify(result.getThrowable()))); in onTestFailure()
78 getId(result))); in onTestSkipped()
85 getId(result))); in onTestStart()
93 private String getId(org.testng.ITestResult test) { in getId() method in SingleTestNGTestRunListener
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPackageDef.java107 public String getId() { in getId() method in TestPackageDef
243 hostTest.setRunName(getId()); in createTest()
252 vmHostTest.setRunName(getId()); in createTest()
275 jUnitDeviceTest.setRunName(getId()); in createTest()
285 testNGDeviceTest.setRunName(getId()); in createTest()
315 instrTest.setRunName(getId()); in setInstrumentationTest()
452 return getId().compareTo(testPackageDef.getId()); in compareTo()
/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()
DCtsTestLogReporter.java64 if (mCurrentPkgResult != null && !id.equals(mCurrentPkgResult.getId())) { in testRunStarted()
75 if (mCurrentPkgResult == null || !id.equals(mCurrentPkgResult.getId())) { in testRunStarted()
173 pkgResult.getId(), pkgResult.countTests(CtsTestStatus.PASS), in logCompleteRun()
/cts/tests/tests/view/src/android/view/cts/
DView_IdsTest.java55 assertEquals(0x1111, editText.getId()); in testIds()
59 assertEquals(0x9999, buttonCancel.getId()); in testIds()
DFocusFinderTest.java178 mBottomRight.setNextFocusForwardId(mBottomLeft.getId()); in testFindNextAndPrevFocusAvoidingChain()
179 mBottomLeft.setNextFocusForwardId(mTopRight.getId()); in testFindNextAndPrevFocusAvoidingChain()
195 mTopRight.setNextFocusForwardId(mBottomRight.getId()); in testFindNextAndPrevFocusAvoidingChain()
202 mBottomRight.setNextFocusForwardId(mTopRight.getId()); in testFindNextAndPrevFocusAvoidingChain()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DOrganizationInfoTestActivity.java55 if (view.getId() == R.id.organization_info_set_button) { in onClick()
64 } else if (view.getId() == R.id.go_button) { in onClick()

123456