Home
last modified time | relevance | path

Searched refs:setType (Results 1 – 25 of 400) sorted by relevance

12345678910>>...16

/packages/apps/Dialer/java/com/android/dialer/databasepopulator/
DCallLogPopulator.java39 CallEntry.builder().setType(Calls.MISSED_TYPE).setNumber("+1-302-6365454"),
41 .setType(Calls.MISSED_TYPE)
44 CallEntry.builder().setType(Calls.REJECTED_TYPE).setNumber("+1-302-6365454"),
45 CallEntry.builder().setType(Calls.INCOMING_TYPE).setNumber("+1-302-6365454"),
47 .setType(Calls.MISSED_TYPE)
50 CallEntry.builder().setType(Calls.OUTGOING_TYPE).setNumber("+1-302-6365454"),
51 CallEntry.builder().setType(Calls.BLOCKED_TYPE).setNumber("+1-302-6365454"),
52 CallEntry.builder().setType(Calls.OUTGOING_TYPE).setNumber("(425) 739-5600"),
53 CallEntry.builder().setType(Calls.ANSWERED_EXTERNALLY_TYPE).setNumber("(425) 739-5600"),
54 CallEntry.builder().setType(Calls.MISSED_TYPE).setNumber("+1 (425) 739-5600"),
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/modes/
DZenModesSummaryHelperTest.java62 .setType(AutomaticZenRule.TYPE_BEDTIME) in getPeopleSummary_noOne()
74 .setType(AutomaticZenRule.TYPE_BEDTIME) in getPeopleSummary_some()
86 .setType(AutomaticZenRule.TYPE_BEDTIME) in getPeopleSummary_all()
100 .setType(AutomaticZenRule.TYPE_BEDTIME) in getOtherSoundCategoriesSummary_single()
113 .setType(AutomaticZenRule.TYPE_BEDTIME) in getOtherSoundCategoriesSummary_duo()
126 .setType(AutomaticZenRule.TYPE_BEDTIME) in getOtherSoundCategoriesSummary_trio()
143 .setType(AutomaticZenRule.TYPE_BEDTIME) in getOtherSoundCategoriesSummary_quad()
161 .setType(AutomaticZenRule.TYPE_BEDTIME) in getOtherSoundCategoriesSummary_all()
180 .setType(AutomaticZenRule.TYPE_BEDTIME) in getBlockedEffectsSummary_none()
195 .setType(AutomaticZenRule.TYPE_BEDTIME) in getBlockedEffectsSummary_some()
[all …]
DZenModeOtherPreferenceControllerTest.java66 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_alarms()
84 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange_alarms()
109 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_media()
127 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange_media()
152 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_system()
170 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange_system()
195 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_reminders()
214 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange_reminders()
240 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_events()
258 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange_events()
DZenModeButtonPreferenceControllerTest.java76 .setType(AutomaticZenRule.TYPE_DRIVING) in isAvailable_notIfAppOptsOut()
90 .setType(AutomaticZenRule.TYPE_DRIVING) in isAvailable_notIfModeDisabled()
104 .setType(AutomaticZenRule.TYPE_DRIVING) in isAvailable_appOptedIn_modeEnabled()
121 .setType(AutomaticZenRule.TYPE_DRIVING) in updateState_ruleActive()
139 .setType(AutomaticZenRule.TYPE_DRIVING) in updateState_ruleNotActive()
157 .setType(AutomaticZenRule.TYPE_DRIVING) in updateStateThenClick_ruleActive()
176 .setType(AutomaticZenRule.TYPE_DRIVING) in updateStateThenClick_ruleNotActive()
DZenModeDisplayEffectPreferenceControllerTest.java67 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_grayscale()
89 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange_grayscale()
115 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_aod()
136 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange_aod()
162 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_wallpaper()
184 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange_wallpaper()
210 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_darkTheme()
232 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange_darkTheme()
DZenModeAppsPreferenceControllerTest.java119 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_All()
134 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_All_Unchecked()
149 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_None()
164 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_None_Unchecked()
179 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_Priority()
194 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_Priority_Unchecked()
209 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange_All()
229 .setType(AutomaticZenRule.TYPE_DRIVING) in testPreferenceClick_passesCorrectCheckedState_All()
269 .setType(AutomaticZenRule.TYPE_DRIVING) in testPreferenceClick_passesCorrectCheckedState_None()
309 .setType(AutomaticZenRule.TYPE_DRIVING) in testPreferenceClick_passesCorrectCheckedState_Priority()
DZenModeNotifVisPreferenceControllerTest.java101 .setType(AutomaticZenRule.TYPE_DRIVING) in updateState_notChecked()
120 .setType(AutomaticZenRule.TYPE_DRIVING) in updateState_checked()
143 .setType(AutomaticZenRule.TYPE_DRIVING) in updateState_checkedFalse_parentChecked()
173 .setType(AutomaticZenRule.TYPE_DRIVING) in updateState_checkedFalse_parentNotChecked()
193 .setType(AutomaticZenRule.TYPE_DRIVING) in onPreferenceChanged_checkedFalse()
218 .setType(AutomaticZenRule.TYPE_DRIVING) in onPreferenceChanged_checkedTrue()
DZenModeSetTriggerLinkPreferenceControllerTest.java99 .setType(AutomaticZenRule.TYPE_DRIVING) in testIsAvailable()
112 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState()
132 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange()
157 .setType(TYPE_SCHEDULE_CALENDAR) in testRuleLink_calendar()
182 .setType(TYPE_SCHEDULE_TIME) in testRuleLink_schedule()
DZenModeRepeatCallersPreferenceControllerTest.java69 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_allCalls()
90 .setType(AutomaticZenRule.TYPE_DRIVING) in testUpdateState_someCalls()
112 .setType(AutomaticZenRule.TYPE_DRIVING) in testOnPreferenceChange()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/util/
DMimeFilterUtilsTest.java37 intent.setType(mimeType); in testRequiresUnsupportedFilters_imagesType()
46 intent.setType(mimeType); in testRequiresUnsupportedFilters_videosType()
55 intent.setType(mimeType); in testRequiresUnsupportedFilters_allType()
64 intent.setType(mimeType); in testRequiresUnsupportedFilters_extraMimeTypeImagesVideos()
74 intent.setType(mimeType); in testRequiresUnsupportedFilters_extraMimeTypeAllFiles()
85 intent.setType(mimeType); in testRequiresUnsupportedFilters_multipleFilters()
114 intent.setType(mimeType); in testGetMimeTypeFilter_setType()
119 intent.setType(mimeType); in testGetMimeTypeFilter_setType()
122 intent.setType(mimeType); in testGetMimeTypeFilter_setType()
127 intent.setType(mimeType); in testGetMimeTypeFilter_setType()
/packages/modules/Connectivity/service-t/src/com/android/metrics/
DNetworkNsdReportedMetrics.java108 builder.setType(NsdEventType.NET_REGISTER); in reportServiceRegistrationSucceeded()
124 builder.setType(NsdEventType.NET_REGISTER); in reportServiceRegistrationFailed()
145 builder.setType(NsdEventType.NET_REGISTER); in reportServiceUnregistration()
163 builder.setType(NsdEventType.NET_DISCOVER); in reportServiceDiscoveryStarted()
178 builder.setType(NsdEventType.NET_DISCOVER); in reportServiceDiscoveryFailed()
199 builder.setType(NsdEventType.NET_DISCOVER); in reportServiceDiscoveryStop()
222 builder.setType(NsdEventType.NET_RESOLVE); in reportServiceResolved()
240 builder.setType(NsdEventType.NET_RESOLVE); in reportServiceResolutionFailed()
257 builder.setType(NsdEventType.NET_RESOLVE); in reportServiceResolutionStop()
272 builder.setType(NsdEventType.NET_SERVICE_INFO_CALLBACK); in reportServiceInfoCallbackRegistered()
[all …]
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/events/
DColumnSchemaTest.java32 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()
DJoinedTableDaoTest.java72 JoinedTableDao.SERVICE_NAME_COL).setType( 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()
198 .setType(EVENT_TYPE_B2D) in insertEventAndQueryData()
214 .setType(EVENT_TYPE_CLICK) in insertEventAndQueryData()
DEventsDaoTest.java56 .setType(EVENT_TYPE_B2D)
92 .setType(EVENT_TYPE_CLICK) in testInsertQueryAndEvent()
106 .setType(EVENT_TYPE_CLICK) in testInsertEvents()
180 .setType(EVENT_TYPE_B2D) in testDeleteEventsAndQueries()
238 .setType(EVENT_TYPE_B2D) in testReadAllNewRowsForPackage()
280 .setType(EVENT_TYPE_B2D) in testReadAllNewRows()
363 .setType(EVENT_TYPE_B2D) in testReadAllEventIds()
372 .setType(EVENT_TYPE_B2D) in testReadAllEventIds()
381 .setType(EVENT_TYPE_B2D) in testReadAllEventIds()
420 .setType(EVENT_TYPE_B2D) in testReadEventIdsForRequest()
[all …]
/packages/apps/Gallery2/src/com/android/photos/
DSelectionManager.java93 mShareIntent.setAction(null).setType(null); in onItemSelectedStateChanged()
97 mShareIntent.setAction(null).setType(null); in onItemSelectedStateChanged()
100 mShareIntent.setType(GalleryUtils.MIME_TYPE_IMAGE); in onItemSelectedStateChanged()
102 mShareIntent.setType(GalleryUtils.MIME_TYPE_VIDEO); in onItemSelectedStateChanged()
104 mShareIntent.setType(GalleryUtils.MIME_TYPE_ALL); in onItemSelectedStateChanged()
159 mShareIntent.setAction(null).setType(null); in onClearSelection()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkIdentityTest.kt148 .setType(TYPE_ETHERNET) in <lambda>()
156 .setType(TYPE_WIFI) in <lambda>()
168 NetworkIdentity.Builder().setType(type).build() in <lambda>()
174 NetworkIdentity.Builder().setType(type).build().also { in <lambda>()
188 .setType(TYPE_MOBILE) in <lambda>()
200 .setType(TYPE_MOBILE) in <lambda>()
216 .setType(TYPE_MOBILE) in <lambda>()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
DAllIntentsActivity.java173 intent.setType(ContactMethods.CONTENT_POSTAL_TYPE); in onListItemClick()
201 intent.setType(Contacts.CONTENT_ITEM_TYPE); in onListItemClick()
207 intent.setType(People.CONTENT_ITEM_TYPE); in onListItemClick()
213 intent.setType(Phone.CONTENT_ITEM_TYPE); in onListItemClick()
219 intent.setType(Phones.CONTENT_ITEM_TYPE); in onListItemClick()
225 intent.setType(StructuredPostal.CONTENT_ITEM_TYPE); in onListItemClick()
231 intent.setType(ContactMethods.CONTENT_POSTAL_ITEM_TYPE); in onListItemClick()
237 intent.setType(Contacts.CONTENT_ITEM_TYPE); in onListItemClick()
244 intent.setType(Contacts.CONTENT_ITEM_TYPE); in onListItemClick()
251 intent.setType(Contacts.CONTENT_ITEM_TYPE); in onListItemClick()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/registration/
DAsyncRegistrationTest.java70 .setType(AsyncRegistration.RegistrationType.APP_SOURCE) in createAsyncRegistrationForAppSource()
86 .setType(AsyncRegistration.RegistrationType.APP_TRIGGER) in createAsyncRegistrationForAppTrigger()
104 .setType(AsyncRegistration.RegistrationType.WEB_SOURCE) in createAsyncRegistrationForWebSource()
120 .setType(AsyncRegistration.RegistrationType.WEB_TRIGGER) in createAsyncRegistrationForWebTrigger()
135 .setType(AsyncRegistration.RegistrationType.APP_SOURCES) in createAsyncRegistrationForAppSources()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/
DSafetySourcesGroupTest.kt218 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_HIDDEN) in build_hiddenGroupWithDynamicSource_throwsIllegalStateException()
235 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_HIDDEN) in build_hiddenGroupWithStaticSource_throwsIllegalStateException()
252 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL) in build_statefulGroupWithIssueOnlySource_throwsIllegalStateException()
271 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS) in build_statelessGroupWithIssueOnlySource_throwsIllegalStateException()
460 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL)
470 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL)
491 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS)
501 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS)
521 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_HIDDEN)
530 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_HIDDEN)
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParserConfigValidTest.kt255 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL) in validConfig_matchesExpected()
270 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATEFUL) in validConfig_matchesExpected()
289 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS) in validConfig_matchesExpected()
304 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_STATELESS) in validConfig_matchesExpected()
323 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_HIDDEN) in validConfig_matchesExpected()
336 .setType(SafetySourcesGroup.SAFETY_SOURCES_GROUP_TYPE_HIDDEN) in validConfig_matchesExpected()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryLevelDataTest.java194 .setType(BatteryEventType.FULL_CHARGED) in combine_normalFlow_returnExpectedResult()
199 .setType(BatteryEventType.EVEN_HOUR) in combine_normalFlow_returnExpectedResult()
226 .setType(BatteryEventType.FULL_CHARGED) in combine_existingBatteryLevelDataIsNull_returnExpectedResult()
231 .setType(BatteryEventType.EVEN_HOUR) in combine_existingBatteryLevelDataIsNull_returnExpectedResult()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DDebugReportTest.java98 .setType(mType) in testEqualsPass()
116 .setType(mType) in createExample1()
129 .setType(mType) in createExample2()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DReadMedicalResourcesResponseTest.java73 .setType(MEDICAL_RESOURCE_TYPE_UNKNOWN) in testReadMedicalResourcesResponse_constructor_multipleEntries()
101 .setType(MEDICAL_RESOURCE_TYPE_UNKNOWN) in testReadMedicalResourcesResponse_equals_comparesAllValues()
117 .setType(MEDICAL_RESOURCE_TYPE_UNKNOWN) in testWriteToParcelThenRestore_objectsAreIdentical()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DJoinedTableDao.java53 SERVICE_NAME_COL).setType(ColumnSchema.SQL_DATA_TYPE_TEXT).build()); in ODP_PROVIDED_COLUMNS.put()
54 ODP_PROVIDED_COLUMNS.put(TYPE_COL, new ColumnSchema.Builder().setName(TYPE_COL).setType( in ODP_PROVIDED_COLUMNS.put()
57 EVENT_TIME_MILLIS_COL).setType(ColumnSchema.SQL_DATA_TYPE_INTEGER).build()); in ODP_PROVIDED_COLUMNS.put()
59 QUERY_TIME_MILLIS_COL).setType(ColumnSchema.SQL_DATA_TYPE_INTEGER).build()); in ODP_PROVIDED_COLUMNS.put()
/packages/modules/Telephony/libs/TelephonyStatsLib/tests/com/android/telephony/statslib/
DStatsLibStorageTest.java146 first.setType(1); in testPulledAtomsBaseInfo()
147 second.setType(1); in testPulledAtomsBaseInfo()
199 first.setType(1); in testSerializableAtoms()
202 second.setType(1); in testSerializableAtoms()

12345678910>>...16