/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/ |
D | PutDocumentsRequestCtsTest.java | 45 assertThat(request.getGenericDocuments().get(0).getId()).isEqualTo("test1"); in addGenericDocument_byCollection() 46 assertThat(request.getGenericDocuments().get(1).getId()).isEqualTo("test2"); in addGenericDocument_byCollection() 66 + takenActionGenericDocument.getId() in duplicateIdForNormalAndTakenActionGenericDocumentThrowsException() 106 assertThat(request.getTakenActionGenericDocuments().get(0).getId()).isEqualTo("search1"); in addTakenActionGenericDocuments() 107 assertThat(request.getTakenActionGenericDocuments().get(1).getId()).isEqualTo("click1"); in addTakenActionGenericDocuments() 108 assertThat(request.getTakenActionGenericDocuments().get(2).getId()).isEqualTo("click2"); in addTakenActionGenericDocuments() 109 assertThat(request.getTakenActionGenericDocuments().get(3).getId()).isEqualTo("search2"); in addTakenActionGenericDocuments() 110 assertThat(request.getTakenActionGenericDocuments().get(4).getId()).isEqualTo("click3"); in addTakenActionGenericDocuments() 111 assertThat(request.getTakenActionGenericDocuments().get(5).getId()).isEqualTo("click4"); in addTakenActionGenericDocuments() 112 assertThat(request.getTakenActionGenericDocuments().get(6).getId()).isEqualTo("click5"); in addTakenActionGenericDocuments() [all …]
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodManagerDeviceTest.java | 81 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID)), in testIme1InInputMethodList() 92 mImm.getCurrentInputMethodInfo().getId(), Ime1Constants.IME_ID), in testIme1InCurrentInputMethodInfo() 94 + mImm.getCurrentInputMethodInfo().getId()); in testIme1InCurrentInputMethodInfo() 108 return !TextUtils.equals(info.getId(), Ime1Constants.IME_ID); in testIme1NotCurrentInputMethodInfo() 119 mImm.getCurrentInputMethodInfo().getId(), Ime2Constants.IME_ID), in testIme2InCurrentInputMethodInfo() 121 + mImm.getCurrentInputMethodInfo().getId()); in testIme2InCurrentInputMethodInfo() 135 return !TextUtils.equals(info.getId(), Ime2Constants.IME_ID); in testIme2NotCurrentInputMethodInfo() 147 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID))); in testIme1NotInInputMethodList() 157 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID)), in testIme1InEnabledInputMethodList() 169 imi -> TextUtils.equals(imi.getId(), Ime1Constants.IME_ID))); in testIme1NotInEnabledInputMethodList() [all …]
|
/cts/tests/tests/contactsprovider/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_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_DataUsageTest.java | 164 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()
|
D | ContactsContract_ContactsTest.java | 78 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() 359 final long contactId = contact.getId(); in testProjection() 402 new long[]{contact.getId()} in testProjection() 409 new long[]{contact.getId()} in testProjection() 418 new long[]{contact.getId()} in testProjection() [all …]
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | BundledTvInputServiceTest.java | 138 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()
|
D | TvInputInfoTest.java | 42 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()
|
D | TvViewTest.java | 246 Uri uri = TvContract.buildChannelsUriForInput(mStubInfo.getId()); in tryTuneAllChannels() 254 mTvView.tune(mStubInfo.getId(), channelUri, params); in tryTuneAllChannels() 256 mTvView.tune(mStubInfo.getId(), channelUri); in tryTuneAllChannels() 262 return mCallback.isVideoAvailable(mStubInfo.getId()); in tryTuneAllChannels() 285 params.putString("android.media.tv.cts.TvViewTest.inputId", mStubInfo.getId()); in testSimpleTuneWithBundle() 293 mStubInfo.getId(), type); in selectTrackAndVerify() 294 mTvView.selectTrack(type, track == null ? null : track.getId()); in selectTrackAndVerify() 297 || (track != null && !track.getId().equals(selectedTrackId))) { in selectTrackAndVerify() 303 mStubInfo.getId(), type) > previousGeneration; in selectTrackAndVerify() 309 assertEquals(selectedTrackId, track == null ? null : track.getId()); in selectTrackAndVerify() [all …]
|
D | StubTunerTvInputService.java | 57 redValues.put(TvContract.Channels.COLUMN_INPUT_ID, info.getId()); in insertChannels() 62 greenValues.put(TvContract.Channels.COLUMN_INPUT_ID, info.getId()); in insertChannels() 67 blueValues.put(TvContract.Channels.COLUMN_INPUT_ID, info.getId()); in insertChannels() 79 resolver.delete(TvContract.buildChannelsUriForInput(info.getId()), null, null); in deleteChannels() 152 notifyTrackSelected(TvTrackInfo.TYPE_VIDEO, track.getId()); in onTune() 158 notifyTrackSelected(TvTrackInfo.TYPE_AUDIO, track.getId()); in onTune()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | ClassParametersTest.java | 107 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 …]
|
D | InterfaceForAppsTest.java | 331 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/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/ |
D | MainActivity.java | 102 mCompanionDeviceManager.disassociate(mAssociationInfo.getId()); in onCreate() 109 .isPermissionTransferUserConsented(mAssociationInfo.getId())) { in onCreate() 123 .max(Comparator.comparingInt(AssociationInfo::getId)) in onCreate() 163 String text = "association id=" + mAssociationInfo.getId() in updateAssociationInfo() 167 .isPermissionTransferUserConsented(mAssociationInfo.getId()); in updateAssociationInfo() 188 .buildPermissionTransferUserConsentIntent(mAssociationInfo.getId()); in requestPermissionsSyncUserConsent() 202 mAssociationInfo.getId(), in startPermissionsSync() 209 mCompanionDeviceManager.startSystemDataTransfer(mAssociationInfo.getId(), in startPermissionsSync() 216 mAssociationInfo.getId()); in startPermissionsSync() 224 mAssociationInfo.getId()); in startPermissionsSync() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ResourceCursorAdapterTest.java | 94 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()
|
D | ResourceCursorTreeAdapterTest.java | 116 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/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 204 assertNotEquals(0, buffer1.getId()); in testGetId() 205 assertNotEquals(0, buffer2.getId()); in testGetId() 206 assertNotEquals(buffer1.getId(), buffer2.getId()); in testGetId() 222 assertThrows(IllegalStateException.class, buffer::getId); in testClosedFails() 232 long beforeId = inBuffer.getId(); in testWriteJavaReadNativeParcel() 245 assertNotEquals(0, outBuffer.getId()); in testWriteJavaReadNativeParcel() 246 assertEquals(beforeId, outBuffer.getId()); in testWriteJavaReadNativeParcel() 256 long beforeId = inBuffer.getId(); in testWriteNativeReadJavaParcel() 269 assertNotEquals(0, outBuffer.getId()); in testWriteNativeReadJavaParcel() 270 assertEquals(beforeId, outBuffer.getId()); in testWriteNativeReadJavaParcel()
|
/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/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | ConditionProviderServiceTest.java | 81 LegacyConditionProviderService.requestRebind(LegacyConditionProviderService.getId()); in setUp() 82 SecondaryConditionProviderService.requestRebind(SecondaryConditionProviderService.getId()); in setUp() 125 final ComponentName cn = SecondaryConditionProviderService.getId(); in testUnboundCPSMaintainsCondition_addsNewRule() 158 addRule(LegacyConditionProviderService.getId(), INTERRUPTION_FILTER_PRIORITY, true); in testUnboundCPSMaintainsCondition_otherConditionChanges() 161 addRule(SecondaryConditionProviderService.getId(), INTERRUPTION_FILTER_ALARMS, true); in testUnboundCPSMaintainsCondition_otherConditionChanges() 191 addRule(LegacyConditionProviderService.getId(), INTERRUPTION_FILTER_PRIORITY, true); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges() 194 addRule(SecondaryConditionProviderService.getId(), INTERRUPTION_FILTER_ALARMS, true); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges() 207 addRule(SecondaryConditionProviderService.getId(), INTERRUPTION_FILTER_PRIORITY, false); in testUnboundCPSMaintainsCondition_otherProviderRuleChanges() 229 LegacyConditionProviderService.requestRebind(LegacyConditionProviderService.getId()); in testRequestRebindWhenLostAccess() 252 LegacyConditionProviderService.requestRebind(LegacyConditionProviderService.getId()); in testRequestRebindWhenStillHasAccess()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | BlockingIntentSenderService.java | 75 private static String getId(Intent intent) { in getId() method in BlockingIntentSenderService 82 String id = getId(intent); in unregister() 94 String id = getId(intent); in await() 113 String id = getId(intent); in onHandleIntent()
|
/cts/tests/core/runner-axt/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 | 222 mBottomRight.setNextFocusForwardId(mBottomLeft.getId()); in testFindNextAndPrevFocusAvoidingChain() 223 mBottomLeft.setNextFocusForwardId(mTopRight.getId()); in testFindNextAndPrevFocusAvoidingChain() 239 mTopRight.setNextFocusForwardId(mBottomRight.getId()); in testFindNextAndPrevFocusAvoidingChain() 246 mBottomRight.setNextFocusForwardId(mTopRight.getId()); in testFindNextAndPrevFocusAvoidingChain() 269 mBottomRight.setNextFocusForwardId(mBottomLeft.getId()); in testChainVisibility() 270 mBottomLeft.setNextFocusForwardId(mTopRight.getId()); in testChainVisibility() 280 mBottomRight.setNextFocusForwardId(mTopRight.getId()); in testChainVisibility() 281 mTopLeft.setNextFocusForwardId(mTopRight.getId()); in testChainVisibility() 282 mTopRight.setNextFocusForwardId(mBottomLeft.getId()); in testChainVisibility() 283 mBottomLeft.setNextFocusForwardId(mTopLeft.getId()); in testChainVisibility() [all …]
|
/cts/tests/tests/broadcastradio/src/android/broadcastradio/cts/ |
D | RadioManagerTest.java | 58 mRadioTuner = mRadioManager.openTuner(mModule.getId(), mFmBandConfig, in openTuner_withAmFmBand_succeeds() 70 mRadioTuner = mRadioManager.openTuner(mModule.getId(), mFmBandConfig, in openTuner_withAmFmBandAfterCloseTuner_succeeds() 76 mRadioTuner = mRadioManager.openTuner(mModule.getId(), mFmBandConfig, in openTuner_withAmFmBandAfterCloseTuner_succeeds()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | StubMediaRoute2ProviderService.java | 169 mRoutes.put(route1.getId(), route1); in initializeRoutes() 170 mRoutes.put(route2.getId(), route2); in initializeRoutes() 171 mRoutes.put(route3.getId(), route3); in initializeRoutes() 172 mRoutes.put(route4.getId(), route4); in initializeRoutes() 173 mRoutes.put(route5.getId(), route5); in initializeRoutes() 174 mRoutes.put(route6.getId(), route6); in initializeRoutes() 175 mRoutes.put(route7.getId(), route7); in initializeRoutes() 176 mRoutes.put(route8.getId(), route8); in initializeRoutes() 177 mRoutes.put(routeSpecial.getId(), routeSpecial); in initializeRoutes() 178 mRoutes.put(fixedVolumeRoute.getId(), fixedVolumeRoute); in initializeRoutes() [all …]
|
/cts/tests/credentials/src/android/credentials/cts/unittests/service/ |
D | BeginGetCredentialOptionTest.java | 76 assertThat(option.getId()).isEqualTo(id); in testConstructor_success() 92 assertThat(option2.getId()).isEqualTo(option1.getId()); in testWriteToParcel_success()
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraTest.java | 195 String virtualCameraId = virtualCamera.getId(); in virtualCamera_triggersCameraAvailabilityCallbacks() 212 String virtualCameraId = virtualCamera.getId(); in defaultContext_virtualCamera_doesNotTriggerCameraAvailabilityCallbacks() 273 .onCameraUnavailable(virtualCamera.getId()); in virtualCamera_virtualDeviceCloseRemovesCamera() 275 .doesNotContain(virtualCamera.getId()); in virtualCamera_virtualDeviceCloseRemovesCamera() 285 .contains(virtualCamera.getId()); in virtualCamera_presentInListOfCameras() 296 .doesNotContain(virtualCamera.getId()); in defaultContext_virtualCamera_notPresentInListOfCameras() 335 String virtualCameraId = virtualCamera.getId(); in virtualCamera_close_notPresentInListOfCameras() 378 virtualCamera.getId()); in virtualCamera_hasCorrectDeviceId() 390 verifyCameraSensorOrientation(virtualCamera.getId(), sensorOrientation); in virtualCamera_hasCorrectOrientation() 411 verifyCameraMaximumFramesPerSecond(virtualCamera.getId(), CAMERA_MAX_FPS); in virtualCamera_hasCorrectMinFrameDuration() [all …]
|