Home
last modified time | relevance | path

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

1234567891011

/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/contactsprovider/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_ContactCountsTest.java177 return new long[] {contact.getId(), contact2.getId(), contact3.getId(), contact4.getId(), in setupTestData()
178 contact5.getId(), contact6.getId()}; in setupTestData()
DContactsContract_ContactsTest.java78 Contacts.markAsContacted(mResolver, contact.getId()); in testMarkAsContacted()
104 long contactId = contact.getId(); in testLookupUri()
282 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
291 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
300 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
325 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdateDelete_usageStats_visibilityInWhere()
345 final long contactId = contact.getId(); in testProjection()
388 new long[]{contact.getId()} in testProjection()
395 new long[]{contact.getId()} in testProjection()
404 new long[]{contact.getId()} in testProjection()
[all …]
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_StructuredPhoneticName.java105 rawContact1.getId(), rawContact2.getId()); in testPhoneticStructuredName_phoneticPriority1()
142 rawContact1.getId(), rawContact2.getId()); in testPhoneticStructuredName_phoneticPriority2()
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()
/cts/tests/tests/tv/src/android/media/tv/cts/
DBundledTvInputServiceTest.java138 mCallback.mVideoUnavailableReasonMap.remove(info.getId()); in testTune()
142 mTvView.tune(info.getId(), in testTune()
143 TvContract.buildChannelUriForPassthroughInput(info.getId())); in testTune()
150 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTune()
172 mCallback.mVideoUnavailableReasonMap.remove(info.getId()); in testTuneStress()
177 mTvView.tune(info.getId(), in testTuneStress()
178 TvContract.buildChannelUriForPassthroughInput(info.getId())); in testTuneStress()
185 Integer reason = mCallback.getVideoUnavailableReason(info.getId()); in testTuneStress()
DTvInputInfoTest.java42 return TextUtils.equals(info1.getId(), info2.getId()) in compareTvInputInfos()
88 assertEquals(id, mStubInfo.getId()); in testTvInputInfoOp()
107 assertEquals(mStubInfo.getId(), infoFromParcel.getId()); in testTvInputInfoOp()
129 assertEquals(mStubInfo.getId(), inputId); in testGetIntentForSetupActivity()
192 assertEquals(mStubInfo.getId(), defaultInfo.getId()); in testBuilder()
204 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 …]
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/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/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/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/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DConditionProviderServiceTest.java72 LegacyConditionProviderService.requestRebind(LegacyConditionProviderService.getId()); in setUp()
73 SecondaryConditionProviderService.requestRebind(SecondaryConditionProviderService.getId()); in setUp()
113 final ComponentName cn = SecondaryConditionProviderService.getId(); in testUnboundCPSMaintainsCondition_addsNewRule()
146 addRule(LegacyConditionProviderService.getId(), INTERRUPTION_FILTER_PRIORITY, true); in testUnboundCPSMaintainsCondition_otherConditionChanges()
149 addRule(SecondaryConditionProviderService.getId(), INTERRUPTION_FILTER_ALARMS, true); in testUnboundCPSMaintainsCondition_otherConditionChanges()
179 addRule(LegacyConditionProviderService.getId(), INTERRUPTION_FILTER_PRIORITY, true); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()
182 addRule(SecondaryConditionProviderService.getId(), INTERRUPTION_FILTER_ALARMS, true); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()
195 addRule(SecondaryConditionProviderService.getId(), INTERRUPTION_FILTER_PRIORITY, false); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges()
217 LegacyConditionProviderService.requestRebind(LegacyConditionProviderService.getId()); in testRequestRebindWhenLostAccess()
240 LegacyConditionProviderService.requestRebind(LegacyConditionProviderService.getId()); in testRequestRebindWhenStillHasAccess()
DLegacyNotificationManagerTest.java78 toggleListenerAccess(TestNotificationListener.getId(), in setUp()
80 toggleListenerAccess(SecondaryNotificationListener.getId(), in setUp()
90 toggleListenerAccess(TestNotificationListener.getId(), in tearDown()
92 toggleListenerAccess(SecondaryNotificationListener.getId(), in tearDown()
181 toggleListenerAccess(TestNotificationListener.getId(), in testSuspendPackage()
205 toggleListenerAccess(TestNotificationListener.getId(), in testSuspendPackage()
213 toggleListenerAccess(TestNotificationListener.getId(), in testSuspendedPackageSendNotification()
235 toggleListenerAccess(TestNotificationListener.getId(), in testSuspendedPackageSendNotification()
247 TestNotificationListener.getId(), InstrumentationRegistry.getInstrumentation(), true); in testResetListenerHints_singleListener()
269 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-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/media/src/android/media/cts/
DSystemMediaRouter2Test.java199 String systemControllerId = mSystemRouter2ForCts.getSystemController().getId(); in testGetController()
202 assertEquals(systemControllerId, controllerById.getId()); in testGetController()
361 if (route.getId().equals(selectedSystemRoute.getId()) in testRouteCallbackOnRoutesChanged_whenLocalVolumeChanged()
558 assertNotEquals(controller1.getId(), controller2.getId()); in testTransferToTwice()
646 || !TextUtils.equals(controllers.get(0).getId(), controller.getId())) { in testStop()
657 || !TextUtils.equals(controllers.get(0).getId(), controller.getId())) { in testStop()
721 || !TextUtils.equals(controllers.get(0).getId(), controller.getId())) { in testRoutingControllerSelectAndDeselectRoute()
775 assertEquals(controllers.get(0).getId(), controllers.get(1).getId()); in testRoutingControllerSelectAndDeselectRoute()
814 || !TextUtils.equals(controllers.get(0).getId(), controller.getId())) { in testRoutingControllerTransferToRoute()
890 if (!TextUtils.equals(targetController.getId(), controller.getId())) { in testRoutingControllerSetSessionVolume()
[all …]
DMediaRouter2Test.java367 assertNotEquals(controller1.getId(), controller2.getId()); in testTransferToTwice()
501 if (!TextUtils.equals(targetController.getId(), controller.getId())) { in testSetSessionVolume()
604 || !TextUtils.equals(controllers.get(0).getId(), controller.getId())) { in testRoutingControllerSelectAndDeselectRoute()
701 || !TextUtils.equals(controllers.get(0).getId(), controller.getId())) { in testRoutingControllerTransferToRoute()
769 || !TextUtils.equals(controllers.get(0).getId(), controller.getId())) { in testControllerCallbackUnregister()
837 controllers.get(0).getId(), controller.getId())) { in testStop()
848 || !TextUtils.equals(controllers.get(0).getId(), controller.getId())) { in testStop()
917 controllers.get(0).getId(), controller.getId())) { in testRoutingControllerRelease()
928 || !TextUtils.equals(controllers.get(0).getId(), controller.getId())) { in testRoutingControllerRelease()
992 String systemControllerId = mRouter2.getSystemController().getId(); in testGetController()
[all …]
DStubMediaRoute2ProviderService.java131 mRoutes.put(route1.getId(), route1); in initializeRoutes()
132 mRoutes.put(route2.getId(), route2); in initializeRoutes()
133 mRoutes.put(route3.getId(), route3); in initializeRoutes()
134 mRoutes.put(route4.getId(), route4); in initializeRoutes()
135 mRoutes.put(route5.getId(), route5); in initializeRoutes()
136 mRoutes.put(routeSpecial.getId(), routeSpecial); in initializeRoutes()
137 mRoutes.put(fixedVolumeRoute.getId(), fixedVolumeRoute); in initializeRoutes()
138 mRoutes.put(variableVolumeRoute.getId(), variableVolumeRoute); in initializeRoutes()
152 notifySessionReleased(sessionInfo.getId()); in clear()
/cts/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java71 toggleListenerAccess(TestNotificationListener.getId(), in setUp()
82 toggleListenerAccess(TestNotificationListener.getId(), in tearDown()
90 toggleListenerAccess(TestNotificationListener.getId(), in testNotificationListener_cancelNotifications()
103 mListener.cancelNotification(sbn.getPackageName(), sbn.getTag(), sbn.getId()); in testNotificationListener_cancelNotifications()
207 if (sbn.getId() == id) { in checkNotificationExistence()
231 if (sbn.getId() == id) { in findPostedNotification()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DPutDocumentsRequestCtsTest.java43 assertThat(request.getGenericDocuments().get(0).getId()).isEqualTo("test1"); in addGenericDocument_byCollection()
44 assertThat(request.getGenericDocuments().get(1).getId()).isEqualTo("test2"); in addGenericDocument_byCollection()

1234567891011