/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/ |
D | ExportImportSettingsStorageTest.java | 46 private static final String TEST_URI = "content://com.android.server.healthconnect/testuri"; field in ExportImportSettingsStorageTest 61 ExportImportSettingsStorage.configure(ScheduledExportSettings.withUri(Uri.parse(TEST_URI))); in testConfigure_uri() 64 .isEqualTo(TEST_URI); in testConfigure_uri() 71 ExportImportSettingsStorage.configure(ScheduledExportSettings.withUri(Uri.parse(TEST_URI))); in testConfigure_uri_keepsOtherSettings() 87 ExportImportSettingsStorage.configure(ScheduledExportSettings.withUri(Uri.parse(TEST_URI))); in testConfigure_periodInDays_keepsOtherSettings() 92 .isEqualTo(TEST_URI); in testConfigure_periodInDays_keepsOtherSettings() 97 ExportImportSettingsStorage.configure(ScheduledExportSettings.withUri(Uri.parse(TEST_URI))); in testConfigure_clear() 115 ExportImportSettingsStorage.configure(ScheduledExportSettings.withUri(Uri.parse(TEST_URI))); in getUri_returnsUri() 117 assertThat(ExportImportSettingsStorage.getUri()).isEqualTo(Uri.parse(TEST_URI)); in getUri_returnsUri()
|
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/exportimport/ |
D | ScheduledExportSettingsTest.java | 33 private static final Uri TEST_URI = field in ScheduledExportSettingsTest 38 ScheduledExportSettings settings = ScheduledExportSettings.withUri(TEST_URI); in testWithUri() 45 assertThat(deserializedSettings.getUri()).isEqualTo(TEST_URI); in testWithUri() 65 ScheduledExportSettings.withUriAndPeriodInDays(TEST_URI, 7); in testWithUriAndPeriodInDays() 72 assertThat(deserializedSettings.getUri()).isEqualTo(TEST_URI); in testWithUriAndPeriodInDays() 96 ScheduledExportSettings settingsA = ScheduledExportSettings.withUri(TEST_URI); in testEquals_andHashCode_withUri() 97 ScheduledExportSettings settingsB = ScheduledExportSettings.withUri(TEST_URI); in testEquals_andHashCode_withUri() 105 ScheduledExportSettings settingsA = ScheduledExportSettings.withUri(TEST_URI); in testEquals_andHashCode_withDifferentUri()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAttributesTests.java | 42 private static final Uri TEST_URI = Uri.fromParts("tel", "abc", "123"); field in CallAttributesTests 61 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI).build(); in testRequiredAttributes() 70 new CallAttributes.Builder(mHandle, -1, TEST_NAME, TEST_URI).build() in testInvalidDirectionAttributes() 78 TEST_NAME, TEST_URI).setCallType(-1).build() in testInvalidCallType() 85 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI) in testOptionalAttributes() 94 assertEquals(TEST_URI, callAttributes.getAddress()); in testOptionalAttributes() 101 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI).build(); in testDescribeContents() 110 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI) in testWriteToParcel()
|
D | TransactionTests.java | 98 private static final Uri TEST_URI = Uri.fromParts("tel", "abc", "123"); field in TransactionTests 235 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI).build(); in testOutgoingCallTransaction() 263 CallAttributes.DIRECTION_INCOMING, TEST_NAME, TEST_URI).build(); in testIncomingCallTransaction() 289 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI) in testOutgoingCallTransactionRemapsVideoState() 294 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI) in testOutgoingCallTransactionRemapsVideoState() 323 CallAttributes.DIRECTION_INCOMING, TEST_NAME, TEST_URI) in testIncomingCallTransactionRemapsVideoState() 328 CallAttributes.DIRECTION_INCOMING, TEST_NAME, TEST_URI) in testIncomingCallTransactionRemapsVideoState()
|
D | NewOutgoingCallIntentBroadcasterTest.java | 79 private static final Uri TEST_URI = Uri.parse("tel:16505551212"); field in NewOutgoingCallIntentBroadcasterTest 526 Intent intent = new Intent(Intent.ACTION_CALL, TEST_URI); 540 verifyBroadcastSent(TEST_URI.getSchemeSpecificPart(), 541 createNumberExtras(TEST_URI.getSchemeSpecificPart())); 559 Intent intent = new Intent(Intent.ACTION_CALL, TEST_URI);
|
D | TelecomServiceImplTest.java | 126 private static final Uri TEST_URI = Uri.fromParts("tel", "abc", "123"); field in TelecomServiceImplTest 445 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI) in testAddCallWithOutgoingCall() 470 CallAttributes.DIRECTION_INCOMING, TEST_NAME, TEST_URI) in testAddCallWithIncomingCall() 495 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI).build(); in testAddCallWithManagedPhoneAccount()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/logging/ |
D | ContextualCardLogUtilsTest.java | 35 private static final String TEST_URI = "content://test/test2"; field in ContextualCardLogUtilsTest 40 .setSliceUri(Uri.parse(TEST_URI)) 46 assertThat(ContextualCardLogUtils.parseCardDismissLog(TEST_URI + "|" + TEST_URI)).isNull(); in parseCardDismissLog_notValid_returnNull() 56 assertThat(cardLog.getSliceUri()).isEqualTo(TEST_URI); in parseCardDismissLog_isValid_returnCorrectData() 71 assertThat(cardClickLog.getSliceUri()).isEqualTo(TEST_URI); in parseCardClickLog_isValid_returnCorrectData() 95 assertThat(cardClickLogList.get(0).getSliceUri()).isEqualTo(TEST_URI); in parseCardClickList_isValid_returnCorrectData()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/ |
D | NormalCallDomainSelectorTest.java | 81 private static final Uri TEST_URI = Uri.fromParts(PhoneAccount.SCHEME_TEL, "123456789", null); field in NormalCallDomainSelectorTest 203 .setAddress(TEST_URI) in testDestroyedDuringActiveState() 229 .setAddress(TEST_URI) in testSelectDomainInputParams() 276 .setAddress(TEST_URI) in testSelectDomainInputParams() 297 .setAddress(TEST_URI) in testSelectDomainInputParams() 317 .setAddress(TEST_URI) in testSelectDomainInputParams() 344 .setAddress(TEST_URI) in testOutOfService() 378 .setAddress(TEST_URI) in testDomainSelection() 399 .setAddress(TEST_URI) in testDomainSelection() 421 .setAddress(TEST_URI) in testDomainSelection() [all …]
|
D | EmergencyCallDomainSelectorTest.java | 156 private static final Uri TEST_URI = Uri.fromParts(PhoneAccount.SCHEME_TEL, "911", null); field in EmergencyCallDomainSelectorTest 575 .setAddress(TEST_URI) in testDefaultCombinedImsRegisteredSelectPsThenExtendedServiceRequestFails() 614 .setAddress(TEST_URI) in testDefaultCombinedImsRegisteredSelectPsThenExtendedServiceRequestFailIsoMatch() 653 .setAddress(TEST_URI) in testDefaultCombinedImsRegisteredSelectPsThenExtendedServiceRequestFailIsoNotMatch() 746 .setAddress(TEST_URI) in testAirplaneDefaultCombinedImsNotRegisteredSelectPs() 774 .setAddress(TEST_URI) in testAirplaneRequiresRegCombinedImsNotRegisteredSelectPs() 2425 .setAddress(TEST_URI) 2458 .setAddress(TEST_URI) 2491 .setAddress(TEST_URI) 2524 .setAddress(TEST_URI) [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ProxyInfoTest.java | 46 private static final Uri TEST_URI = Uri.parse("https://test.example.com"); field in ProxyInfoTest 87 final ProxyInfo proxy1 = ProxyInfo.buildPacProxy(TEST_URI); in testBuildPacProxy() 93 assertEquals(TEST_URI, proxy1.getPacFileUrl()); in testBuildPacProxy() 95 final ProxyInfo proxy2 = ProxyInfo.buildPacProxy(TEST_URI, TEST_PORT); in testBuildPacProxy() 101 assertEquals(TEST_URI, proxy2.getPacFileUrl()); in testBuildPacProxy()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/api/ |
D | ExportSettingsViewModelTest.kt | 54 private val TEST_URI: Uri = Uri.parse("content://com.android.server.healthconnect/testuri") constant 131 viewModel.updateExportUri(TEST_URI) in <lambda>() 134 assertThat(updateExportSettingsUseCase.mostRecentSettings.uri).isEqualTo(TEST_URI) in <lambda>() 146 viewModel.updateExportUri(TEST_URI) in <lambda>() 194 viewModel.updateExportUriWithSelectedFrequency(TEST_URI) in <lambda>() 197 assertThat(updateExportSettingsUseCase.mostRecentSettings.uri).isEqualTo(TEST_URI) in <lambda>()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/sound/ |
D | RingtonePreferenceControllerTest.java | 53 private static final Uri TEST_URI = new Uri.Builder().appendPath(TEST_PATH).build(); field in RingtonePreferenceControllerTest 94 ShadowRingtoneManager.setActualDefaultRingtoneUri(mContext, TEST_RINGTONE_TYPE, TEST_URI); in testRefreshUi_ringtoneTitleSet() 95 ShadowRingtone.setExpectedTitleForUri(TEST_URI, TEST_RINGTONE_TITLE); in testRefreshUi_ringtoneTitleSet() 109 ShadowRingtoneManager.setActualDefaultRingtoneUri(mContext, TEST_RINGTONE_TYPE, TEST_URI); in testHandlePreferenceClicked_captureIntent_checkDefaultUri() 115 RingtoneManager.EXTRA_RINGTONE_EXISTING_URI)).isEqualTo(TEST_URI); in testHandlePreferenceClicked_captureIntent_checkDefaultUri()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardLoaderTest.java | 40 private static final Uri TEST_URI = Uri.parse("content://test/test"); field in ContextualCardLoaderTest 50 mEligibleCardChecker = new EligibleCardChecker(mContext, getContextualCard(TEST_URI)); in setUp()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | ContentObserverFactoryTest.java | 40 private static final Uri TEST_URI = Settings.Secure.getUriFor( field in ContentObserverFactoryTest 91 observer.onChange(true, TEST_URI); in onChange_calledWithDifferentUri_doesNotCallCallback()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractDownloadProviderFunctionalTest.java | 104 private static final Uri TEST_URI = Uri.parse("content://media/external/11111111"); field in AbstractDownloadProviderFunctionalTest.MockMediaProvider 112 return TEST_URI; in insert()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | ExtrasProvisioningDataParserTest.java | 229 private static final Uri TEST_URI = Uri.parse("https://www.google.com/"); field in ExtrasProvisioningDataParserTest 1152 bundleShort.putParcelable(EXTRA_PROVISIONING_DISCLAIMER_CONTENT_SHORT, TEST_URI); in buildIntentWithAllShortExtras() 1182 bundleLong.putParcelable(EXTRA_PROVISIONING_DISCLAIMER_CONTENT, TEST_URI); in buildIntentWithAllLongExtras() 1199 .putExtra(EXTRA_PROVISIONING_LOGO_URI, TEST_URI) in buildIntentWithAllLongExtras()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserverTest.java | 105 static final Uri TEST_URI = Mms.CONTENT_URI; field in BluetoothMapContentObserverTest 1116 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withNonExistingMessage_andVersion11() 1166 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withNonExistingMessage_andVersion12() 1201 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withNonExistingMessage_andVersion10() 1236 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withExistingMessage_andNonNullDeletedFolder() 1273 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withExistingMessage_andNonNullSentFolder() 1314 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withExistingMessage_andNonNullTransparentSentFolder() 1350 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withExistingMessage_andUnknownOldFolder()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/ |
D | HealthConnectServiceImplTest.java | 172 private static final String TEST_URI = "content://com.android.server.healthconnect/testuri"; field in HealthConnectServiceImplTest 483 ScheduledExportSettings.withUri(Uri.parse(TEST_URI)), mUserHandle); in testConfigureScheduledExport_schedulesAnInternalTask()
|