/packages/modules/AppSearch/testing/servicestests/src/com/android/server/appsearch/external/localstorage/converter/ |
D | GenericDocumentToProtoConverterTest.java | 101 "longKey1", PropertyProto.newBuilder().setName("longKey1").addInt64Values(1L)); in testDocumentProtoConvert() 104 PropertyProto.newBuilder().setName("doubleKey1").addDoubleValues(1.0)); in testDocumentProtoConvert() 107 PropertyProto.newBuilder().setName("booleanKey1").addBooleanValues(true)); in testDocumentProtoConvert() 110 PropertyProto.newBuilder().setName("stringKey1").addStringValues("test-value1")); in testDocumentProtoConvert() 114 .setName("byteKey1") in testDocumentProtoConvert() 120 .setName("documentKey1") in testDocumentProtoConvert() 127 .setName("documentKey2") in testDocumentProtoConvert() 179 propertyProtoMap.put("emptyLongKey", PropertyProto.newBuilder().setName("emptyLongKey")); in testConvertDocument_whenPropertyHasEmptyList() 181 "emptyDoubleKey", PropertyProto.newBuilder().setName("emptyDoubleKey")); in testConvertDocument_whenPropertyHasEmptyList() 183 "emptyBooleanKey", PropertyProto.newBuilder().setName("emptyBooleanKey")); in testConvertDocument_whenPropertyHasEmptyList() [all …]
|
D | SnippetTest.java | 74 .setName(propertyKeyString) in testSingleStringSnippet() 143 .setName(propertyKeyString) in testNoSnippets() 173 .setName("senderName") in testMultipleStringSnippet() 177 .setName("senderEmail") in testMultipleStringSnippet() 266 .setName("sender") in testNestedDocumentSnippet() 273 .setName("name") in testNestedDocumentSnippet() 278 .setName("email") in testNestedDocumentSnippet()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/cts/ |
D | FetchAndJoinCustomAudienceRequestTest.java | 47 .setName(CustomAudienceFixture.VALID_NAME) in testBuildValidRequest_all_success() 75 .setName(CustomAudienceFixture.VALID_NAME) in testBuildValidRequest_withName_success() 137 .setName(CustomAudienceFixture.VALID_NAME) in testBuildNullFetchUri_throws() 145 .setName(CustomAudienceFixture.VALID_NAME) in testEquals_identical() 153 .setName(CustomAudienceFixture.VALID_NAME) in testEquals_identical() 167 .setName(CustomAudienceFixture.VALID_NAME) in testEquals_different() 175 .setName(CustomAudienceFixture.VALID_NAME + "123") in testEquals_different() 189 .setName(CustomAudienceFixture.VALID_NAME) in testEquals_null() 204 .setName(CustomAudienceFixture.VALID_NAME) in testHashCode_identical() 213 .setName(CustomAudienceFixture.VALID_NAME) in testHashCode_identical() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothRouteTransitionTests.java | 91 public BluetoothRouteTestParametersBuilder setName(String name) { in setName() method in BluetoothRouteTransitionTests.BluetoothRouteTestParametersBuilder 439 .setName("New device connected while audio off") in generateTestCases() 453 .setName("Nonspecific connection request while audio off with BT-active device") in generateTestCases() 467 .setName("Connection to a device succeeds after pending") in generateTestCases() 482 .setName("Device loses BT audio but remains connected. No fallback.") in generateTestCases() 495 .setName("Device loses BT audio but remains connected." in generateTestCases() 509 .setName("Switch the device that audio is being routed to") in generateTestCases() 523 .setName("Switch to another device before first device has connected") in generateTestCases() 537 .setName("Device gets disconnected while active. No fallback.") in generateTestCases() 552 .setName("Device gets disconnected while active." in generateTestCases() [all …]
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/ |
D | ColumnSchemaTest.java | 32 ColumnSchema columnSchema1 = new ColumnSchema.Builder().setName(columnName).setType( in testBuilderAndEquals() 48 ColumnSchema columnSchema = new ColumnSchema.Builder().setName(columnName).setType( in testToString() 52 columnSchema = new ColumnSchema.Builder().setName(columnName).setType( in testToString() 56 columnSchema = new ColumnSchema.Builder().setName(columnName).setType( in testToString() 60 columnSchema = new ColumnSchema.Builder().setName(columnName).setType( in testToString() 71 ColumnSchema.Builder builder = new ColumnSchema.Builder().setName(columnName).setType( in testBuildTwiceThrows()
|
D | JoinedTableDaoTest.java | 71 columnSchemaList.add(new ColumnSchema.Builder().setName( in invalidProvidedColumns() 88 columnSchemaList.add(new ColumnSchema.Builder().setName("ColumnName").setType( in duplicateProvidedColumnNames() 90 columnSchemaList.add(new ColumnSchema.Builder().setName("ColumnName").setType( in duplicateProvidedColumnNames() 102 columnSchemaList.add(new ColumnSchema.Builder().setName("eventCol1").setType( in testRawQuery() 104 columnSchemaList.add(new ColumnSchema.Builder().setName("eventCol2").setType( in testRawQuery() 106 columnSchemaList.add(new ColumnSchema.Builder().setName("eventCol4").setType( in testRawQuery() 108 columnSchemaList.add(new ColumnSchema.Builder().setName("queryCol1").setType( in testRawQuery()
|
/packages/modules/AdServices/adservices/tests/unittest/framework/src/android/adservices/customaudience/ |
D | FetchAndJoinCustomAudienceInputTest.java | 42 .setName(CustomAudienceFixture.VALID_NAME) in testBuildValidRequest_all_success() 84 .setName(CustomAudienceFixture.VALID_NAME) in testBuildValidRequest_withName_success() 154 .setName(CustomAudienceFixture.VALID_NAME) in testBuildNullFetchUri_throws() 164 .setName(CustomAudienceFixture.VALID_NAME) in testBuildNullCallerPackageName_throws() 175 .setName(CustomAudienceFixture.VALID_NAME) in testEquals_identical() 184 .setName(CustomAudienceFixture.VALID_NAME) in testEquals_identical() 200 .setName(CustomAudienceFixture.VALID_NAME) in testEquals_different() 209 .setName(CustomAudienceFixture.VALID_NAME + "123") in testEquals_different() 223 .setName(CustomAudienceFixture.VALID_NAME) in testEquals_null() 237 .setName(CustomAudienceFixture.VALID_NAME) in testToString()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/customaudience/ |
D | CustomAudienceOverrideTest.java | 47 .setName(NAME) in testBuildDBAdSelectionOverride() 70 .setName(NAME) in testThrowsExceptionWithNoOwner() 86 .setName(NAME) in testThrowsExceptionWithNoBuyer() 119 .setName(NAME) in testThrowsExceptionWithNoAppPackageName() 135 .setName(NAME) in testThrowsExceptionWithNoBiddingLogicJS() 151 .setName(NAME) in testThrowsExceptionWithNoTrustedBiddingData() 165 .setName(NAME) in testNoBiddingLogicJsVersion()
|
D | CustomAudienceDaoTest.java | 176 .setName(NAME_1) 192 .setName(NAME_1) 205 .setName(NAME_1) 221 .setName(NAME_1) 234 .setName(NAME_1) 257 .setName(NAME_1) 272 .setName(NAME_2) 287 .setName(NAME_2) 300 .setName(NAME_1) 315 .setName(NAME_1) [all …]
|
/packages/apps/Dialer/java/com/android/dialer/databasepopulator/ |
D | ContactsPopulator.java | 47 .setName("Michelangelo") 56 .setName("Leonardo da Vinci") 65 .setName("Raphael") 74 .setName("Donatello di Niccolò di Betto Bardi") 84 .setName("Splinter") 91 .setName("スパイク・スピーゲル") 97 .setName("עקב אריה טברסק") 103 .setName("سلام دنیا") 116 .setName("Anonymous") 122 .setName("No Phone Number") [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | DebugReportProcessorTest.java | 95 .setName(CUSTOM_AUDIENCE_NAME_2) in multiBuyerSessionFailedCase_returnsLosingUri() 204 .setName(CUSTOM_AUDIENCE_NAME_1 + "_" + i) in singleBuyerSessionWithTooManyUrisPerAdTech_returnsLimitedUris() 213 .setName(CUSTOM_AUDIENCE_NAME_2 + "_" + i) in singleBuyerSessionWithTooManyUrisPerAdTech_returnsLimitedUris() 335 .setName(CUSTOM_AUDIENCE_NAME_2) in multiBuyerWonSession_returnsMadeWinningBid() 368 .setName(CUSTOM_AUDIENCE_NAME_2) in multiBuyerWonSession_returnsOtherWinningBidOnlyForWinner() 377 .setName(CUSTOM_AUDIENCE_NAME_3) in multiBuyerWonSession_returnsOtherWinningBidOnlyForWinner() 423 .setName(CUSTOM_AUDIENCE_NAME_2) in singleBuyerLostSession_returnsMadeOtherWinningBidOnlyForWinner() 432 .setName(CUSTOM_AUDIENCE_NAME_3) in singleBuyerLostSession_returnsMadeOtherWinningBidOnlyForWinner() 458 .setName(CUSTOM_AUDIENCE_NAME_2) in singleBuyerWithPartialResults_returnsBuyerLossUriCorrectly() 478 .setName(CUSTOM_AUDIENCE_NAME_2) in singleBuyerLoss_rejectReasonIsNotAvailable() [all …]
|
D | AuctionServerCustomAudienceFiltererTest.java | 58 .setName(CustomAudienceFixture.VALID_NAME) in test_isValidCustomAudience_nullBiddingData_returnsFalse() 79 .setName(CustomAudienceFixture.VALID_NAME) in test_isValidCustomAudience_emptyBiddingKeyList_returnsFalse() 101 .setName(CustomAudienceFixture.VALID_NAME) in test_isValidCustomAudience_nullBiddingKeys_returnsFalse() 126 .setName(CustomAudienceFixture.VALID_NAME) in test_isValidCustomAudience_emptyBiddingKeys_returnsFalse() 151 .setName(CustomAudienceFixture.VALID_NAME) in test_isValidCustomAudience_noAds_returnsFalse() 177 .setName(CustomAudienceFixture.VALID_NAME) in test_isValidCustomAudience_emptyAdRenderId_returnsFalse() 212 .setName(CustomAudienceFixture.VALID_NAME) in test_isValidCustomAudience_nullAdRenderId_returnsFalse() 273 .setName(CustomAudienceFixture.VALID_NAME) in test_isValidCustomAudience_atLeastOneNonNullNonEmptyKeyAndAdRenderId_returnsTrue()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/command/ |
D | PpsMoDataTest.java | 59 propertyInfo.setName(ADD_MO_COMMAND); in verifyGetPpsMo() 74 propertyInfo.setName(ADD_MO_COMMAND); in verifyMissingPpsMoReturnNull() 90 propertyInfo.setName(ADD_MO_COMMAND); in verifyMissingTreeURIAttributeReturnNull() 105 propertyInfo.setName(ADD_MO_COMMAND); in verifyMissingMoUrnAttributeReturnNull() 119 propertyInfo.setName("InvalidCommand"); in verifyNonAddMoCommandMessageReturnNull()
|
D | SppCommandTest.java | 56 propertyInfo.setName(EXEC); in verifyLaunchBrowserCommand() 74 propertyInfo.setName(EXEC); in verifyOtherCommandTypesReturnNull() 90 propertyInfo.setName(EXEC); in verifyIncompleteCommandReturnNull() 102 propertyInfo.setName("invalidCommand"); in verifyInvalidCommandReturnNull()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | LocationAccessPolicyTest.java | 107 public Builder setName(String name) { in setName() method in LocationAccessPolicyTest.Scenario.Builder 246 .setName("System location is off") in getScenarios() 259 .setName("System location is off but package is allowlisted for location") in getScenarios() 273 .setName("App on latest SDK level has all proper permissions for fine") in getScenarios() 286 .setName("App on older SDK level missing permissions for fine but has coarse") in getScenarios() 299 .setName("App on latest SDK level missing fine app ops permission") in getScenarios() 312 .setName("App has coarse permission but fine permission isn't being enforced yet") in getScenarios() 326 .setName("App on latest SDK level has coarse but missing fine when fine is req.") in getScenarios() 339 .setName("App on latest SDK level has MODE_IGNORED for app ops on fine") in getScenarios() 353 .setName("App has no permissions but it's sdk level grandfathers it in") in getScenarios() [all …]
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | FledgeCtsDebuggableTest.java | 608 .setName(customAudience1.getName()) in testFledgeAuctionSelectionFlow_overall_Success() 615 .setName(customAudience2.getName()) in testFledgeAuctionSelectionFlow_overall_Success() 688 .setName(customAudience1.getName()) in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success() 697 .setName(customAudience2.getName()) in testFledgeAuctionSelectionFlow_v3BiddingLogic_overall_Success() 772 .setName(customAudience1.getName()) in testFledgeAuctionSelectionFlow_v3HeaderV2Logic_overall_fail() 781 .setName(customAudience2.getName()) in testFledgeAuctionSelectionFlow_v3HeaderV2Logic_overall_fail() 851 .setName(customAudience1.getName()) in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingEnabled() 858 .setName(customAudience2.getName()) in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingEnabled() 934 .setName(customAudience1.getName()) in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingDisabled() 941 .setName(customAudience2.getName()) in testFledgeAuctionSelectionFlow_overall_SuccessWithCpcBillingDisabled() [all …]
|
D | CustomAudienceCtsDebuggableTest.java | 86 .setName(NAME) in testAddOverrideSucceeds() 104 .setName(NAME) in testRemoveNotExistingOverrideSucceeds() 120 .setName(NAME) in testRemoveExistingOverrideSucceeds() 133 .setName(NAME) in testRemoveExistingOverrideSucceeds()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/oem/ |
D | CarAudioFadeConfigurationUnitTest.java | 44 .setName(TEST_NAME_AGGRESSIVE_FADING).build(); in build() 69 .setName(/* name= */ null) in builder_withNullName_fails() 117 .setName(TEST_NAME_RELAXED_FADING).build(); in equals_withDifferentFadeManagerConfiguration() 120 .setName(TEST_NAME_DISABLED_FADING).build(); in equals_withDifferentFadeManagerConfiguration() 141 .setName(TEST_NAME_RELAXED_FADING).build(); in createAndWriteToParcel()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | LocalRenameDialogFragmentTest.java | 69 BluetoothAdapter.getDefaultAdapter().setName(NAME); in getDeviceName_adapterEnabled_returnsLocalAdapterName() 76 BluetoothAdapter.getDefaultAdapter().setName(NAME); in getDeviceName_adapterDisabled_returnsNull() 84 BluetoothAdapter.getDefaultAdapter().setName(NAME); in localNameChangedBroadcast_updatesDeviceName() 89 BluetoothAdapter.getDefaultAdapter().setName(NAME_UPDATED); in localNameChangedBroadcast_updatesDeviceName() 100 BluetoothAdapter.getDefaultAdapter().setName(NAME); in setDeviceName_updatesLocalAdapterName()
|
D | BluetoothNamePreferenceControllerTest.java | 90 BluetoothAdapter.getDefaultAdapter().setName(NAME); in refreshUi_setsNameAsSummary() 116 BluetoothAdapter.getDefaultAdapter().setName(NAME); in started_localNameChangedBroadcast_updatesSummary() 120 BluetoothAdapter.getDefaultAdapter().setName(NAME_UPDATED); in started_localNameChangedBroadcast_updatesSummary() 129 BluetoothAdapter.getDefaultAdapter().setName(NAME); in stopped_noUpdateOnLocalNameChangedBroadcast() 134 BluetoothAdapter.getDefaultAdapter().setName(NAME_UPDATED); in stopped_noUpdateOnLocalNameChangedBroadcast()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardLoaderTest.java | 157 .setName("test_low_storage") in getContextualCardList() 162 .setName("test_flashlight") in getContextualCardList() 168 .setName("test_dark_theme") in getContextualCardList() 174 .setName("test_gesture") in getContextualCardList() 180 .setName("test_connected") in getContextualCardList() 186 .setName("test_sticky") in getContextualCardList()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | CustomAudienceSignalsTest.java | 82 .setName("the-same-name") in testEqualCustomAudienceSignalsHaveSameHashCode() 87 .setName("the-same-name") in testEqualCustomAudienceSignalsHaveSameHashCode() 98 .setName("a-name") in testNotEqualCustomAudienceSignalsHaveDifferentHashCodes() 103 .setName("a-different-name") in testNotEqualCustomAudienceSignalsHaveDifferentHashCodes()
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/customaudience/ |
D | DBCustomAudienceFixture.java | 40 .setName(CustomAudienceFixture.VALID_NAME) in getValidBuilderByBuyer() 57 .setName(name) in getValidBuilderByBuyer() 79 .setName(name) in getValidBuilderByBuyerWithAdRenderId() 95 .setName(CustomAudienceFixture.VALID_NAME) in getValidBuilderByBuyerNoFilters()
|
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/registration/ |
D | DiscoveryRegistrationTest.java | 135 123).setName("test").setTxPower(RSSI + 1).setRssi(RSSI).setScanType( in test_presenceFilterMatches_match() 144 123).setName("test").setScanType(ScanRequest.SCAN_TYPE_NEARBY_PRESENCE).build(); in test_presenceFilterMatches_emptyFilter() 151 12).setName("test").setRssi(RSSI).setScanType( in test_presenceFilterMatches_actionNotMatch() 161 deviceId).setName("test").setTxPower(RSSI + 1).setRssi(RSSI).setScanType( in test_onDiscoveredOnUpdatedCalled() 187 deviceId).setName("test").setTxPower(RSSI + 1).setRssi(RSSI).setScanType( in test_onLost() 217 123).setName("test").setTxPower(RSSI + 1).setRssi(RSSI).setScanType( in test_onError()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/devapi/ |
D | CustomAudienceDevOverridesHelperTest.java | 70 .setName(NAME) in testGetOverridesFindsMatchingOverride() 103 .setName(NAME) in testGetOverridesFindsMatchingOverride_nullJsVersion() 130 .setName(NAME) in testGetOverridesReturnsNullIfDevOptionsAreDisabled() 151 .setName(NAME) in testGetOverridesReturnsNullIfTheOverrideBelongsToAnotherApp()
|