/cts/tests/app/src/android/app/cts/ |
D | NotificationManagerTest.java | 70 if (NotificationChannel.DEFAULT_CHANNEL_ID.equals(nc.getId())) { in tearDown() 73 mNotificationManager.deleteNotificationChannel(nc.getId()); in tearDown() 81 channel.setGroup(ncg.getId()); in testCreateChannelGroup() 91 mNotificationManager.deleteNotificationChannelGroup(ncg.getId()); in testCreateChannelGroup() 99 channel.setGroup(ncg.getId()); in testDeleteChannelGroup() 103 mNotificationManager.deleteNotificationChannelGroup(ncg.getId()); in testDeleteChannelGroup() 105 assertNull(mNotificationManager.getNotificationChannel(channel.getId())); in testDeleteChannelGroup() 165 compareChannels(channel, mNotificationManager.getNotificationChannel(channel.getId())); in testCreateChannelAlreadyExistsNoOp() 174 channel.setGroup(ncg.getId()); in testCreateChannelWithGroup() 176 compareChannels(channel, mNotificationManager.getNotificationChannel(channel.getId())); in testCreateChannelWithGroup() [all …]
|
D | NotificationChannelGroupTest.java | 38 assertEquals("1", group.getId()); in testConstructor() 55 assertEquals("1", cloned.getId()); in testClone()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | BundledTvInputServiceTest.java | 136 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()
|
D | TvInputInfoTest.java | 40 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()
|
D | TvTrackInfoTest.java | 41 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()
|
D | TvViewTest.java | 228 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 …]
|
D | StubTunerTvInputService.java | 53 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/ |
D | ContactsContract_GroupMembershipTest.java | 54 .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()
|
D | ContactsContract_ContactsTest.java | 75 Contacts.markAsContacted(mResolver, contact.getId()); in testMarkAsContacted() 89 Contacts.markAsContacted(mResolver, contact.getId()); in testMarkAsContacted() 103 Contacts.markAsContacted(mResolver, contact.getId()); in testMarkAsContacted() 131 long contactId = contact.getId(); in testLookupUri() 218 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats() 227 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats() 236 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats() 261 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdateDelete_usageStats_visibilityInWhere() 297 final long contactId = contact.getId(); in testProjection() 340 new long[]{contact.getId()} in testProjection() [all …]
|
D | ContactsContract_ContactCountsTest.java | 177 return new long[] {contact.getId(), contact2.getId(), contact3.getId(), contact4.getId(), in setupTestData() 178 contact5.getId(), contact6.getId()}; in setupTestData()
|
D | ContactsContract_StructuredPhoneticName.java | 105 rawContact1.getId(), rawContact2.getId()); in testPhoneticStructuredName_phoneticPriority1() 142 rawContact1.getId(), rawContact2.getId()); in testPhoneticStructuredName_phoneticPriority2()
|
D | ContactsContract_PhoneLookup.java | 84 .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()
|
D | ContactsContract_IsSuperPrimaryName.java | 95 setAggregationException(rawContact1.getId(), rawContact2.getId()); in testInner_displayNameFromIsSuperPrimary() 156 setAggregationException(rawContact1.getId(), rawContact2.getId()); in testIsSuperPrimaryName_mergeBothSuperPrimary()
|
D | ContactsContract_FrequentsStrequentsTest.java | 441 .insert().load().getId(); in setupTestData() 455 .insert().load().getId(); in setupTestData() 469 .insert().load().getId(); in setupTestData() 473 return new long[] {contact.getId(), contact2.getId(), contact3.getId()}; in setupTestData()
|
/cts/common/util/src/com/android/compatibility/common/util/ |
D | ModuleResult.java | 162 public String getId() { in getId() method in ModuleResult 254 return getId().compareTo(another.getId()); in compareTo() 262 if (!otherModuleResult.getId().equals(getId())) { in mergeFrom() 265 otherModuleResult.getId(), getId())); in mergeFrom()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | ClassParametersTest.java | 102 assertEquals("testId", testResolution.getId()); in legalPrintAttributesResolution() 109 assertEquals("testId2", testResolution2.getId()); in legalPrintAttributesResolution() 117 assertEquals("testId3", testResolution3.getId()); in legalPrintAttributesResolution() 157 assertEquals("testId", testMediaSize1.getId()); in legalPrintAttributesMediaSize() 164 assertEquals("testId", testMediaSize1L.getId()); in legalPrintAttributesMediaSize() 171 assertEquals("testId", testMediaSize1P.getId()); in legalPrintAttributesMediaSize() 179 assertEquals("testId2", testMediaSize2.getId()); in legalPrintAttributesMediaSize() 186 assertEquals("testId2", testMediaSize2L.getId()); in legalPrintAttributesMediaSize() 193 assertEquals("testId2", testMediaSize2P.getId()); in legalPrintAttributesMediaSize() 202 assertEquals("testId3", testMediaSize3.getId()); in legalPrintAttributesMediaSize() [all …]
|
D | InterfaceForAppsTest.java | 323 assertFalse(job1.getId().equals(job2.getId())); 327 assertEquals(job1.getId(), job1.getInfo().getId()); 328 assertEquals(job1.getId(), 330 "testGetTwoPrintJobStates-block").getId()); 333 assertEquals(job2.getId(), job2.getInfo().getId()); 334 assertEquals(job2.getId(), getPrintJob(getPrintManager(getActivity()), 335 "testGetTwoPrintJobStates-complete").getId());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ResourceCursorAdapterTest.java | 93 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testSetViewResource() 99 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testSetViewResource() 111 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testSetDropDownViewResource() 119 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testSetDropDownViewResource() 124 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testSetDropDownViewResource() 135 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testNewDropDownView() 141 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testNewDropDownView() 152 assertEquals(R.id.cursorAdapter_item0, result.getId()); in testNewView() 158 assertEquals(R.id.cursorAdapter_item1, result.getId()); in testNewView()
|
D | ResourceCursorTreeAdapterTest.java | 115 assertEquals(mChildId, result.getId()); in testNewChildView() 118 assertEquals(mChildId, result.getId()); in testNewChildView() 124 assertEquals(mLastChildId, result.getId()); in testNewChildView() 127 assertEquals(mNormalChildId, result.getId()); in testNewChildView() 138 assertEquals(mGroupId, result.getId()); in testNewGroupView() 141 assertEquals(mGroupId, result.getId()); in testNewGroupView() 147 assertEquals(mExpandedGroupId, result.getId()); in testNewGroupView() 150 assertEquals(mCollapsedGroupId, result.getId()); in testNewGroupView()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GLSurfaceViewCustom.java | 790 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/ |
D | SingleTestNGTestRunListener.java | 56 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/ |
D | SingleTestNGTestRunListener.java | 80 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/view/src/android/view/cts/ |
D | FocusFinderTest.java | 203 mBottomRight.setNextFocusForwardId(mBottomLeft.getId()); in testFindNextAndPrevFocusAvoidingChain() 204 mBottomLeft.setNextFocusForwardId(mTopRight.getId()); in testFindNextAndPrevFocusAvoidingChain() 220 mTopRight.setNextFocusForwardId(mBottomRight.getId()); in testFindNextAndPrevFocusAvoidingChain() 227 mBottomRight.setNextFocusForwardId(mTopRight.getId()); in testFindNextAndPrevFocusAvoidingChain() 250 mBottomRight.setNextFocusForwardId(mBottomLeft.getId()); in testChainVisibility() 251 mBottomLeft.setNextFocusForwardId(mTopRight.getId()); in testChainVisibility() 311 mBottomRight.setNextClusterForwardId(mBottomLeft.getId()); in testFindNextAndPrevClusterAvoidingChain() 312 mBottomLeft.setNextClusterForwardId(mTopRight.getId()); in testFindNextAndPrevClusterAvoidingChain() 328 mTopRight.setNextClusterForwardId(mBottomRight.getId()); in testFindNextAndPrevClusterAvoidingChain() 335 mBottomRight.setNextClusterForwardId(mTopRight.getId()); in testFindNextAndPrevClusterAvoidingChain() [all …]
|
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/ |
D | ModuleRepoTest.java | 225 assertEquals("armeabi-v7a FooModuleA", shard1.get(0).getId()); in testGetModulesSharded() 226 assertEquals("arm64-v8a FooModuleA", shard1.get(1).getId()); in testGetModulesSharded() 230 assertEquals("armeabi-v7a FooModuleB", shard2.get(0).getId()); in testGetModulesSharded() 231 assertEquals("arm64-v8a FooModuleB", shard2.get(1).getId()); in testGetModulesSharded() 271 assertTrue(modules1.get(0).getId().contains(MODULE_NAME_C)); in testGetModules_TokenModules_multiDevices() 272 assertTrue(modules1.get(1).getId().contains(MODULE_NAME_C)); in testGetModules_TokenModules_multiDevices() 276 assertTrue(modules2.get(0).getId().contains("FooModuleD")); in testGetModules_TokenModules_multiDevices() 277 assertTrue(modules2.get(1).getId().contains("FooModuleD")); in testGetModules_TokenModules_multiDevices() 293 assertEquals("armeabi-v7a FooModuleA", shard1.get(0).getId()); in testGetModulesSharded_uneven() 297 assertEquals("arm64-v8a FooModuleA", shard2.get(0).getId()); in testGetModulesSharded_uneven() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | OrganizationInfoTestActivity.java | 55 if (view.getId() == R.id.organization_info_set_button) { in onClick() 64 } else if (view.getId() == R.id.go_button) { in onClick()
|