Home
last modified time | relevance | path

Searched refs:TEST_URI (Results 1 – 21 of 21) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DExportImportSettingsStorageTest.java66 private static final String TEST_URI = "content://com.android.server.healthconnect/testuri"; field in ExportImportSettingsStorageTest
99 new ScheduledExportSettings.Builder().setUri(Uri.parse(TEST_URI)).build()); in testConfigure_uri()
102 .isEqualTo(TEST_URI); in testConfigure_uri()
111 new ScheduledExportSettings.Builder().setUri(Uri.parse(TEST_URI)).build()); in testConfigure_uri_keepsOtherSettings()
122 new ScheduledExportSettings.Builder().setUri(Uri.parse(TEST_URI)).build()); in testConfigure_uri_removeExportLostFileAccessError()
133 new ScheduledExportSettings.Builder().setUri(Uri.parse(TEST_URI)).build()); in testConfigure_uri_removeUnknownError()
151 new ScheduledExportSettings.Builder().setUri(Uri.parse(TEST_URI)).build()); in testConfigure_uri_flagDisabled_setsSequentialNumberToZero()
164 new ScheduledExportSettings.Builder().setUri(Uri.parse(TEST_URI)).build()); in testConfigure_uri_noExportSequentialNumberExists_setsSequentialNumberToOne()
178 new ScheduledExportSettings.Builder().setUri(Uri.parse(TEST_URI)).build()); in testConfigure_uri_sequentialNumberExists_plusOne()
198 new ScheduledExportSettings.Builder().setUri(Uri.parse(TEST_URI)).build()); in testConfigure_periodInDays_keepsOtherSettings()
[all …]
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/exportimport/
DScheduledExportSettingsTest.java33 private static final Uri TEST_URI = field in ScheduledExportSettingsTest
39 new ScheduledExportSettings.Builder().setUri(TEST_URI).build(); in testWithUri()
46 assertThat(deserializedSettings.getUri()).isEqualTo(TEST_URI); in testWithUri()
67 new ScheduledExportSettings.Builder().setPeriodInDays(7).setUri(TEST_URI).build(); in testWithUriAndPeriodInDays()
74 assertThat(deserializedSettings.getUri()).isEqualTo(TEST_URI); in testWithUriAndPeriodInDays()
103 new ScheduledExportSettings.Builder().setUri(TEST_URI).build(); in testEquals_andHashCode_withUri()
105 new ScheduledExportSettings.Builder().setUri(TEST_URI).build(); in testEquals_andHashCode_withUri()
114 new ScheduledExportSettings.Builder().setUri(TEST_URI).build(); in testEquals_andHashCode_withDifferentUri()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAttributesTests.java42 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()
DTransactionTests.java96 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()
324 CallAttributes.DIRECTION_INCOMING, TEST_NAME, TEST_URI) in testIncomingCallTransactionRemapsVideoState()
329 CallAttributes.DIRECTION_INCOMING, TEST_NAME, TEST_URI) in testIncomingCallTransactionRemapsVideoState()
DNewOutgoingCallIntentBroadcasterTest.java79 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);
DCallSequencingTests.java96 private static final Uri TEST_URI = Uri.fromParts("tel", "abc", "123"); field in CallSequencingTests
745 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI) in getOutgoingCallAttributes()
DTelecomServiceImplTest.java129 private static final Uri TEST_URI = Uri.fromParts("tel", "abc", "123"); field in TelecomServiceImplTest
455 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI) in testAddCallWithOutgoingCall()
483 CallAttributes.DIRECTION_INCOMING, TEST_NAME, TEST_URI) in testAddCallWithIncomingCall()
511 CallAttributes.DIRECTION_OUTGOING, TEST_NAME, TEST_URI).build(); in testAddCallWithManagedPhoneAccount()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/logging/
DContextualCardLogUtilsTest.java35 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/
DNormalCallDomainSelectorTest.java81 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()
343 .setAddress(TEST_URI) in testOutOfService()
377 .setAddress(TEST_URI) in testDomainSelection()
398 .setAddress(TEST_URI) in testDomainSelection()
420 .setAddress(TEST_URI) in testDomainSelection()
[all …]
DEmergencyCallDomainSelectorTest.java158 private static final Uri TEST_URI = Uri.fromParts(PhoneAccount.SCHEME_TEL, "911", null); field in EmergencyCallDomainSelectorTest
586 .setAddress(TEST_URI) in testDefaultCombinedImsRegisteredSelectPsThenExtendedServiceRequestFails()
626 .setAddress(TEST_URI) in testDefaultCombinedImsRegisteredSelectPsThenExtendedServiceRequestFailIsoMatch()
666 .setAddress(TEST_URI) in testDefaultCombinedImsRegisteredSelectPsThenExtendedServiceRequestFailIsoNotMatch()
759 .setAddress(TEST_URI) in testAirplaneDefaultCombinedImsNotRegisteredSelectPs()
787 .setAddress(TEST_URI) in testAirplaneRequiresRegCombinedImsNotRegisteredSelectPs()
2591 .setAddress(TEST_URI)
2624 .setAddress(TEST_URI)
2657 .setAddress(TEST_URI)
2690 .setAddress(TEST_URI)
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DProxyInfoTest.java46 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/apps/Car/Settings/tests/deviceless/src/com/android/car/settings/sound/
DRingtonePreferenceControllerTest.java53 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/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/api/
DExportSettingsViewModelTest.kt54 private val TEST_URI: Uri = Uri.parse("content://com.android.server.healthconnect/testuri") constant
139 viewModel.updateExportUri(TEST_URI) in <lambda>()
142 assertThat(updateExportSettingsUseCase.mostRecentSettings.uri).isEqualTo(TEST_URI) in <lambda>()
154 viewModel.updateExportUri(TEST_URI) in <lambda>()
202 viewModel.updateExportUriWithSelectedFrequency(TEST_URI) in <lambda>()
205 assertThat(updateExportSettingsUseCase.mostRecentSettings.uri).isEqualTo(TEST_URI) in <lambda>()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/homepage/contextualcards/
DContextualCardLoaderTest.java40 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/modules/OnDevicePersonalization/tests/commontests/src/com/android/odp/module/common/http/
DHttpClientUtilsTest.java53 private static final String TEST_URI = "https://valid.com"; field in HttpClientUtilsTest
76 TEST_URI, HttpMethod.GET, TEST_REQUEST_HEADERS, HttpClientUtils.EMPTY_BODY);
178 URL testURL = new URL(TEST_URI); in testSetup()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DContentObserverFactoryTest.java45 private static final Uri TEST_URI = Settings.Secure.getUriFor( field in ContentObserverFactoryTest
112 observer.onChange(true, TEST_URI); in onChange_calledWithDifferentUri_doesNotCallCallback()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractDownloadProviderFunctionalTest.java104 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/
DExtrasProvisioningDataParserTest.java229 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/
DBluetoothMapContentObserverTest.java107 static final Uri TEST_URI = Mms.CONTENT_URI; field in BluetoothMapContentObserverTest
1125 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withNonExistingMessage_andVersion11()
1175 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withNonExistingMessage_andVersion12()
1210 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withNonExistingMessage_andVersion10()
1245 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withExistingMessage_andNonNullDeletedFolder()
1282 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withExistingMessage_andNonNullSentFolder()
1323 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withExistingMessage_andNonNullTransparentSentFolder()
1359 mObserver.handleMsgListChangesMsg(TEST_URI); in handleMsgListChangesMsg_withExistingMessage_andUnknownOldFolder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2Test.java140 private static final Uri TEST_URI = Uri.parse("content://test/test"); field in WifiDetailPreferenceController2Test
1893 mController.launchCaptivePortal(TEST_URI); in launchCaptivePortal_uriNotNull_startActivity()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/
DHealthConnectServiceImplTest.java295 private static final String TEST_URI = "content://com.android.server.healthconnect/testuri"; field in HealthConnectServiceImplTest
698 .setUri(Uri.parse(TEST_URI)) in testConfigureScheduledExport_withPeriodZero_schedulesOneInternalTask()
714 .setUri(Uri.parse(TEST_URI)) in testConfigureScheduledExport_withPeriodGreaterThanZero_schedulesTwoInternalTask()