Home
last modified time | relevance | path

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

12345678

/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodManagerDeviceTest.java75 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID)), in testIme1InInputMethodList()
87 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID))); in testIme1NotInInputMethodList()
97 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID)), in testIme1InEnabledInputMethodList()
109 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID))); in testIme1NotInEnabledInputMethodList()
119 imi -> TextUtils.equals(imi.getId(), Ime2Constants.IME_ID)), in testIme2InInputMethodList()
131 imi -> TextUtils.equals(imi.getId(), Ime2Constants.IME_ID))); in testIme2NotInInputMethodList()
141 imi -> TextUtils.equals(imi.getId(), Ime2Constants.IME_ID)), in testIme2InEnabledInputMethodList()
153 imi -> TextUtils.equals(imi.getId(), Ime2Constants.IME_ID))); in testIme2NotInEnabledInputMethodList()
164 .filter(imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID)) in testIme1ImplicitlyEnabledSubtypeExists()
179 .filter(imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID)) in testIme1ImplicitlyEnabledSubtypeNotExist()
/cts/tests/tests/print/src/android/print/cts/
DClassParametersTest.java107 assertEquals("testId", testResolution.getId()); in legalPrintAttributesResolution()
114 assertEquals("testId2", testResolution2.getId()); in legalPrintAttributesResolution()
122 assertEquals("testId3", testResolution3.getId()); in legalPrintAttributesResolution()
162 assertEquals("testId", testMediaSize1.getId()); in legalPrintAttributesMediaSize()
169 assertEquals("testId", testMediaSize1L.getId()); in legalPrintAttributesMediaSize()
176 assertEquals("testId", testMediaSize1P.getId()); in legalPrintAttributesMediaSize()
184 assertEquals("testId2", testMediaSize2.getId()); in legalPrintAttributesMediaSize()
191 assertEquals("testId2", testMediaSize2L.getId()); in legalPrintAttributesMediaSize()
198 assertEquals("testId2", testMediaSize2P.getId()); in legalPrintAttributesMediaSize()
207 assertEquals("testId3", testMediaSize3.getId()); in legalPrintAttributesMediaSize()
[all …]
DInterfaceForAppsTest.java331 assertFalse(job1.getId().equals(job2.getId()));
335 assertEquals(job1.getId(), job1.getInfo().getId());
336 assertEquals(job1.getId(),
338 "testGetTwoPrintJobStates-block").getId());
341 assertEquals(job2.getId(), job2.getInfo().getId());
342 assertEquals(job2.getId(), getPrintJob(getPrintManager(getActivity()),
343 "testGetTwoPrintJobStates-complete").getId());
/cts/tests/tests/tv/src/android/media/tv/cts/
DBundledTvInputServiceTest.java136 mCallback.mVideoUnavailableReasonMap.remove(info.getId()); in testTune()
140 mTvView.tune(info.getId(), in testTune()
141 TvContract.buildChannelUriForPassthroughInput(info.getId())); in testTune()
148 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTune()
170 mCallback.mVideoUnavailableReasonMap.remove(info.getId()); in testTuneStress()
175 mTvView.tune(info.getId(), in testTuneStress()
176 TvContract.buildChannelUriForPassthroughInput(info.getId())); in testTuneStress()
183 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTuneStress()
DTvInputInfoTest.java40 return TextUtils.equals(info1.getId(), info2.getId()) in compareTvInputInfos()
85 assertEquals(id, mStubInfo.getId()); in testTvInputInfoOp()
104 assertEquals(mStubInfo.getId(), infoFromParcel.getId()); in testTvInputInfoOp()
126 assertEquals(mStubInfo.getId(), inputId); in testGetIntentForSetupActivity()
188 assertEquals(mStubInfo.getId(), defaultInfo.getId()); in testBuilder()
199 assertEquals(mStubInfo.getId(), updatedInfo.getId()); in testBuilder()
DTvViewTest.java228 Uri uri = TvContract.buildChannelsUriForInput(mStubInfo.getId()); in tryTuneAllChannels()
236 mTvView.tune(mStubInfo.getId(), channelUri, params); in tryTuneAllChannels()
238 mTvView.tune(mStubInfo.getId(), channelUri); in tryTuneAllChannels()
244 return mCallback.isVideoAvailable(mStubInfo.getId()); in tryTuneAllChannels()
267 params.putString("android.media.tv.cts.TvViewTest.inputId", mStubInfo.getId()); in testSimpleTuneWithBundle()
275 mStubInfo.getId(), type); in selectTrackAndVerify()
276 mTvView.selectTrack(type, track == null ? null : track.getId()); in selectTrackAndVerify()
279 || (track != null && !track.getId().equals(selectedTrackId))) { in selectTrackAndVerify()
285 mStubInfo.getId(), type) > previousGeneration; in selectTrackAndVerify()
291 assertEquals(selectedTrackId, track == null ? null : track.getId()); in selectTrackAndVerify()
[all …]
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()
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/provider/src/android/provider/cts/contacts/
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_ContactsTest.java78 Contacts.markAsContacted(mResolver, contact.getId()); in testMarkAsContacted()
104 long contactId = contact.getId(); in testLookupUri()
195 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
204 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
213 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
238 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdateDelete_usageStats_visibilityInWhere()
258 final long contactId = contact.getId(); in testProjection()
301 new long[]{contact.getId()} in testProjection()
308 new long[]{contact.getId()} in testProjection()
317 new long[]{contact.getId()} in testProjection()
[all …]
DContactsContract_ContactCountsTest.java177 return new long[] {contact.getId(), contact2.getId(), contact3.getId(), contact4.getId(), in setupTestData()
178 contact5.getId(), contact6.getId()}; in setupTestData()
DContactsContract_DataUsageTest.java164 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate()
168 assertEquals(1, RawContactUtil.update(mResolver, rawContact.getId(), values)); in testUsageUpdate()
172 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate()
176 assertEquals(1, RawContactUtil.update(mResolver, rawContact.getId(), values)); in testUsageUpdate()
182 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate()
187 assertEquals(1, RawContactUtil.update(mResolver, rawContact.getId(), values)); in testUsageUpdate()
DContactsContract_PhoneLookup.java84 .insert().load().getId(); in setupTestData()
98 .insert().load().getId(); in setupTestData()
113 .insert().load().getId(); in setupTestData()
118 new Id(contact.getId(), dataId), in setupTestData()
119 new Id(contact2.getId(), dataId2), in setupTestData()
120 new Id(contact3.getId(), dataId3) in setupTestData()
DContactsContract_StructuredPhoneticName.java105 rawContact1.getId(), rawContact2.getId()); in testPhoneticStructuredName_phoneticPriority1()
142 rawContact1.getId(), rawContact2.getId()); in testPhoneticStructuredName_phoneticPriority2()
/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/app/src/android/app/cts/
DNotificationManagerTest.java169 if (NotificationChannel.DEFAULT_CHANNEL_ID.equals(nc.getId())) { in tearDown()
172 mNotificationManager.deleteNotificationChannel(nc.getId()); in tearDown()
175 toggleListenerAccess(TestNotificationListener.getId(), in tearDown()
183 mNotificationManager.deleteNotificationChannelGroup(ncg.getId()); in tearDown()
272 if (sbn.getId() == id) { in findPostedNotification()
307 || autoGroupedIds.contains(sbn.getId())) { in assertOnlySomeNotificationsAutogrouped()
436 if (sbn.getId() == id) { in checkNotificationExistence()
478 assertEquals(expected.getId(), actual.getId()); in compareChannels()
656 channel.setGroup(ncg.getId()); in testCreateChannelGroup()
669 assertEquals(channel.getId(), ncgs.get(0).getChannels().get(0).getId()); in testCreateChannelGroup()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DResourceCursorAdapterTest.java94 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testSetViewResource()
100 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testSetViewResource()
112 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testSetDropDownViewResource()
120 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testSetDropDownViewResource()
125 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testSetDropDownViewResource()
136 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testNewDropDownView()
142 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testNewDropDownView()
153 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testNewView()
159 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testNewView()
DResourceCursorTreeAdapterTest.java116 assertEquals(mChildId, result.getId()); in testNewChildView()
119 assertEquals(mChildId, result.getId()); in testNewChildView()
125 assertEquals(mLastChildId, result.getId()); in testNewChildView()
128 assertEquals(mNormalChildId, result.getId()); in testNewChildView()
139 assertEquals(mGroupId, result.getId()); in testNewGroupView()
142 assertEquals(mGroupId, result.getId()); in testNewGroupView()
148 assertEquals(mExpandedGroupId, result.getId()); in testNewGroupView()
151 assertEquals(mCollapsedGroupId, result.getId()); in testNewGroupView()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DConditionProviderServiceTest.java79 LegacyConditionProviderService.requestRebind(LegacyConditionProviderService.getId()); in setUp()
80 SecondaryConditionProviderService.requestRebind(SecondaryConditionProviderService.getId()); in setUp()
124 final ComponentName cn = SecondaryConditionProviderService.getId(); in testUnboundCPSMaintainsCondition_addsNewRule()
161 addRule(LegacyConditionProviderService.getId(), INTERRUPTION_FILTER_PRIORITY, true); in testUnboundCPSMaintainsCondition_otherConditionChanges()
164 addRule(SecondaryConditionProviderService.getId(), INTERRUPTION_FILTER_ALARMS, true); in testUnboundCPSMaintainsCondition_otherConditionChanges()
198 addRule(LegacyConditionProviderService.getId(), INTERRUPTION_FILTER_PRIORITY, true); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()
201 addRule(SecondaryConditionProviderService.getId(), INTERRUPTION_FILTER_ALARMS, true); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()
214 addRule(SecondaryConditionProviderService.getId(), INTERRUPTION_FILTER_PRIORITY, false); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()
240 LegacyConditionProviderService.requestRebind(LegacyConditionProviderService.getId()); in testRequestRebindWhenLostAccess()
267 LegacyConditionProviderService.requestRebind(LegacyConditionProviderService.getId()); in testRequestRebindWhenStillHasAccess()
DLegacyNotificationManagerTest.java77 toggleListenerAccess(TestNotificationListener.getId(), in setUp()
79 toggleListenerAccess(SecondaryNotificationListener.getId(), in setUp()
90 toggleListenerAccess(TestNotificationListener.getId(), in tearDown()
92 toggleListenerAccess(SecondaryNotificationListener.getId(), in tearDown()
193 toggleListenerAccess(TestNotificationListener.getId(), in testSuspendPackage()
217 toggleListenerAccess(TestNotificationListener.getId(), in testSuspendPackage()
228 toggleListenerAccess(TestNotificationListener.getId(), in testSuspendedPackageSendNotification()
250 toggleListenerAccess(TestNotificationListener.getId(), in testSuspendedPackageSendNotification()
261 toggleListenerAccess(TestNotificationListener.getId(), in testResetListenerHints_singleListener()
283 toggleListenerAccess(TestNotificationListener.getId(), in testResetListenerHints_multiListener()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DFocusFinderTest.java211 mBottomRight.setNextFocusForwardId(mBottomLeft.getId()); in testFindNextAndPrevFocusAvoidingChain()
212 mBottomLeft.setNextFocusForwardId(mTopRight.getId()); in testFindNextAndPrevFocusAvoidingChain()
228 mTopRight.setNextFocusForwardId(mBottomRight.getId()); in testFindNextAndPrevFocusAvoidingChain()
235 mBottomRight.setNextFocusForwardId(mTopRight.getId()); in testFindNextAndPrevFocusAvoidingChain()
258 mBottomRight.setNextFocusForwardId(mBottomLeft.getId()); in testChainVisibility()
259 mBottomLeft.setNextFocusForwardId(mTopRight.getId()); in testChainVisibility()
269 mBottomRight.setNextFocusForwardId(mTopRight.getId()); in testChainVisibility()
270 mTopLeft.setNextFocusForwardId(mTopRight.getId()); in testChainVisibility()
271 mTopRight.setNextFocusForwardId(mBottomLeft.getId()); in testChainVisibility()
272 mBottomLeft.setNextFocusForwardId(mTopLeft.getId()); in testChainVisibility()
[all …]
/cts/tests/core/runner/src/com/android/cts/core/runner/support/
DSingleTestNGTestRunListener.java80 String id = getId(result); in onTestFailure()
90 getId(result))); in onTestSkipped()
97 getId(result))); in onTestStart()
105 private String getId(org.testng.ITestResult test) { in getId() method in SingleTestNGTestRunListener
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DSingleTestNGTestRunListener.java80 String id = getId(result); in onTestFailure()
90 getId(result))); in onTestSkipped()
97 getId(result))); in onTestStart()
105 private String getId(org.testng.ITestResult test) { in getId() method in SingleTestNGTestRunListener
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java75 toggleListenerAccess(TestNotificationListener.getId(), in setUp()
87 toggleListenerAccess(TestNotificationListener.getId(), in tearDown()
99 toggleListenerAccess(TestNotificationListener.getId(), in testNotificationListener_cancelNotifications()
112 mListener.cancelNotification(sbn.getPackageName(), sbn.getTag(), sbn.getId()); in testNotificationListener_cancelNotifications()
216 if (sbn.getId() == id) { in checkNotificationExistence()
240 if (sbn.getId() == id) { in findPostedNotification()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNetworkLoggingTest.java192 assertEquals("First event has the wrong id.", 0L, mNetworkEvents.get(0).getId()); in generateBatches()
242 assertThat(event1.getId()).isEqualTo(event2.getId()); in verifyDnsEventsEqual()
272 assertThat(event1.getId()).isEqualTo(event2.getId()); in verifyConnectEventsEqual()
291 assertTrue(currentEvent.getId() == (networkEvents.get(i - 1).getId() + 1)); in verifyNetworkLogs()

12345678