Home
last modified time | relevance | path

Searched refs:with (Results 1 – 25 of 3510) sorted by relevance

12345678910>>...141

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_GroupMembershipTest.java54 .with(GroupMembership.GROUP_ROW_ID, group.getId()) in testAddGroupMembershipWithGroupRowId()
64 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testAddGroupMembershipWithGroupSourceId()
65 .with(RawContacts.ACCOUNT_NAME, "test_name") in testAddGroupMembershipWithGroupSourceId()
68 .with(Groups.SOURCE_ID, "test_source_id") in testAddGroupMembershipWithGroupSourceId()
69 .with(Groups.ACCOUNT_TYPE, "test_type") in testAddGroupMembershipWithGroupSourceId()
70 .with(Groups.ACCOUNT_NAME, "test_name") in testAddGroupMembershipWithGroupSourceId()
73 .with(GroupMembership.GROUP_SOURCE_ID, "test_source_id") in testAddGroupMembershipWithGroupSourceId()
84 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testAddGroupMembershipWithUnknownGroupSourceId()
85 .with(RawContacts.ACCOUNT_NAME, "test_name") in testAddGroupMembershipWithUnknownGroupSourceId()
88 .with(GroupMembership.GROUP_SOURCE_ID, "test_source_id") in testAddGroupMembershipWithUnknownGroupSourceId()
[all …]
DContactsContract_ContactCountsTest.java118 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
119 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
122 .with(StructuredName.DISPLAY_NAME, "Apple Pie") in setupTestData()
128 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
129 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
132 .with(StructuredName.DISPLAY_NAME, "Banana Split") in setupTestData()
138 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
139 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
142 .with(StructuredName.DISPLAY_NAME, "Blackberry Shortcake") in setupTestData()
148 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
[all …]
DContactsContract_IsSuperPrimaryName.java73 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testInner_displayNameFromIsSuperPrimary()
74 .with(RawContacts.ACCOUNT_NAME, "test_name") in testInner_displayNameFromIsSuperPrimary()
77 .with(StructuredName.GIVEN_NAME, "name1") in testInner_displayNameFromIsSuperPrimary()
78 .with(StructuredName.IS_SUPER_PRIMARY, isFirstNamePrimary ? 1 : 0) in testInner_displayNameFromIsSuperPrimary()
84 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testInner_displayNameFromIsSuperPrimary()
85 .with(RawContacts.ACCOUNT_NAME, "test_name") in testInner_displayNameFromIsSuperPrimary()
88 .with(StructuredName.GIVEN_NAME, "name2") in testInner_displayNameFromIsSuperPrimary()
89 .with(StructuredName.IS_SUPER_PRIMARY, !isFirstNamePrimary ? 1 : 0) in testInner_displayNameFromIsSuperPrimary()
134 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testIsSuperPrimaryName_mergeBothSuperPrimary()
135 .with(RawContacts.ACCOUNT_NAME, "test_name") in testIsSuperPrimaryName_mergeBothSuperPrimary()
[all …]
DContactsContract_StructuredPhoneticName.java76 .with(RawContacts.ACCOUNT_TYPE, mTestAccount.getAccountType()) in testPhoneticStructuredName()
77 .with(RawContacts.ACCOUNT_NAME, mTestAccount.getAccountName()) in testPhoneticStructuredName()
80 .with(StructuredName.PHONETIC_FAMILY_NAME, "phonetic name") in testPhoneticStructuredName()
100 .with(RawContacts.ACCOUNT_TYPE, mTestAccount.getAccountType()) in testPhoneticStructuredName_phoneticPriority1()
101 .with(RawContacts.ACCOUNT_NAME, mTestAccount.getAccountName()) in testPhoneticStructuredName_phoneticPriority1()
104 .with(StructuredName.GIVEN_NAME, "name") in testPhoneticStructuredName_phoneticPriority1()
110 .with(RawContacts.ACCOUNT_TYPE, mTestAccount.getAccountType()) in testPhoneticStructuredName_phoneticPriority1()
111 .with(RawContacts.ACCOUNT_NAME, mTestAccount.getAccountName()) in testPhoneticStructuredName_phoneticPriority1()
114 .with(StructuredName.PHONETIC_FAMILY_NAME, "name phonetic") in testPhoneticStructuredName_phoneticPriority1()
137 .with(RawContacts.ACCOUNT_TYPE, mTestAccount.getAccountType()) in testPhoneticStructuredName_phoneticPriority2()
[all …]
DContactsContract_RawContactsTest.java90 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testGetLookupUriBySourceId()
91 .with(RawContacts.ACCOUNT_NAME, "test_name") in testGetLookupUriBySourceId()
92 .with(RawContacts.SOURCE_ID, "source_id") in testGetLookupUriBySourceId()
98 .with(StructuredName.DISPLAY_NAME, "test name") in testGetLookupUriBySourceId()
111 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testGetLookupUriByDisplayName()
112 .with(RawContacts.ACCOUNT_NAME, "test_name") in testGetLookupUriByDisplayName()
115 .with(StructuredName.DISPLAY_NAME, "test name") in testGetLookupUriByDisplayName()
235 .with(RawContacts.ACCOUNT_TYPE, (String) null) in testRawContactCreate_nullAccountUsesLocalAccount()
236 .with(RawContacts.ACCOUNT_NAME, (String) null) in testRawContactCreate_nullAccountUsesLocalAccount()
301 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testProjection()
[all …]
DContactsContract_DataTest.java210 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testGetLookupUriBySourceId()
211 .with(RawContacts.ACCOUNT_NAME, "test_name") in testGetLookupUriBySourceId()
212 .with(RawContacts.SOURCE_ID, "source_id") in testGetLookupUriBySourceId()
218 .with(CommonDataKinds.StructuredName.DISPLAY_NAME, "test name") in testGetLookupUriBySourceId()
231 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testDataProjection()
232 .with(RawContacts.ACCOUNT_NAME, "test_name") in testDataProjection()
233 .with(RawContacts.SOURCE_ID, "source_id") in testDataProjection()
236 .with(CommonDataKinds.StructuredName.DISPLAY_NAME, "test name") in testDataProjection()
247 .with(RawContacts.ACCOUNT_TYPE, "test_type") in testRawContactsEntityProjection()
248 .with(RawContacts.ACCOUNT_NAME, "test_name") in testRawContactsEntityProjection()
[all …]
DContactsContract_AggregationSuggestionsTest.java161 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupThreeContacts()
162 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupThreeContacts()
165 .with(StructuredName.GIVEN_NAME, "first1") in setupThreeContacts()
166 .with(StructuredName.FAMILY_NAME, "last1") in setupThreeContacts()
171 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupThreeContacts()
172 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupThreeContacts()
175 .with(StructuredName.GIVEN_NAME, "first2") in setupThreeContacts()
176 .with(StructuredName.FAMILY_NAME, "last2") in setupThreeContacts()
181 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupThreeContacts()
182 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupThreeContacts()
[all …]
DContactsContract_PhoneLookup.java75 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
76 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
79 .with(StructuredName.DISPLAY_NAME, "Hot Tamale") in setupTestData()
82 .with(Phone.DATA, "1111222333444") in setupTestData()
83 .with(Email.TYPE, Phone.TYPE_HOME) in setupTestData()
89 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
90 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
93 .with(StructuredName.DISPLAY_NAME, "Cold Tamago") in setupTestData()
96 .with(Phone.DATA, "2111222333444") in setupTestData()
97 .with(Phone.TYPE, Phone.TYPE_OTHER) in setupTestData()
[all …]
DContactsContract_SearchSnippetsTest.java330 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
331 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
334 .with(StructuredName.DISPLAY_NAME, "Hot Tamale") in setupTestData()
337 .with(Phone.DATA, "510-123-5769") in setupTestData()
338 .with(Email.TYPE, Phone.TYPE_HOME) in setupTestData()
344 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
345 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
348 .with(StructuredName.DISPLAY_NAME, "Cold Tamago") in setupTestData()
351 .with(Email.DATA, "eggs@farmers.org") in setupTestData()
352 .with(Email.TYPE, Email.TYPE_HOME) in setupTestData()
[all …]
DContactsContract_FrequentsStrequentsTest.java425 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
426 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
429 .with(StructuredName.DISPLAY_NAME, "Hot Tamale") in setupTestData()
432 .with(Phone.DATA, "510-123-5769") in setupTestData()
433 .with(Email.TYPE, Phone.TYPE_HOME) in setupTestData()
439 .with(RawContacts.ACCOUNT_TYPE, "test_account") in setupTestData()
440 .with(RawContacts.ACCOUNT_NAME, "test_name") in setupTestData()
443 .with(StructuredName.DISPLAY_NAME, "Cold Tamago") in setupTestData()
446 .with(Email.DATA, "eggs@farmers.org") in setupTestData()
447 .with(Email.TYPE, Email.TYPE_HOME) in setupTestData()
[all …]
DContactsContract_ProviderStatus.java59 .with(RawContacts.ACCOUNT_TYPE, "test_account") in testProviderStatus_addedContacts()
60 .with(RawContacts.ACCOUNT_NAME, "test_name") in testProviderStatus_addedContacts()
63 .with(StructuredName.GIVEN_NAME, "first1") in testProviderStatus_addedContacts()
64 .with(StructuredName.FAMILY_NAME, "last1") in testProviderStatus_addedContacts()
/cts/hostsidetests/appsecurity/test-apps/tinyapp/
DAndroid.bp5 // you may not use this file except in compliance with the License.
23 // This is the default test package signed with the default key.
35 // This is the test package v2 signed with the default key.
48 // This is the test package signed using the V1/V2 signature schemes with
49 // two signers targeting SDK version 30 with sandbox version 1. From this
50 // package the v1-ec-p256-two-signers-targetSdk-30.apk is created with the
71 // with the previous key in the lineage and part of a sharedUid.
85 // This is the test package signed using the V3 signature scheme with
86 // a rotated key and one signer in the lineage with default capabilities.
88 name: "v3-ec-p256-with-por_1_2-default-caps",
[all …]
/cts/tests/AlarmManager/util/src/android/alarmmanager/util/
DAlarmManagerDeviceConfigHelper.java62 public AlarmManagerDeviceConfigHelper with(String key, long value) { in with() method in AlarmManagerDeviceConfigHelper
63 return with(key, Long.toString(value)); in with()
66 public AlarmManagerDeviceConfigHelper with(String key, int value) { in with() method in AlarmManagerDeviceConfigHelper
67 return with(key, Integer.toString(value)); in with()
70 public AlarmManagerDeviceConfigHelper with(String key, boolean value) { in with() method in AlarmManagerDeviceConfigHelper
71 return with(key, Boolean.toString(value)); in with()
74 public AlarmManagerDeviceConfigHelper with(String key, String value) { in with() method in AlarmManagerDeviceConfigHelper
/cts/hostsidetests/appsecurity/
DAndroid.bp4 // you may not use this file except in compliance with the License.
180 ":v3-ec-p256-with-por_1_2_3-1-no-caps-2-default-declperm",
181 ":v3-ec-p256-with-por-1_2_3_4_5-default-caps",
182 ":v3-ec-p256-with-por_1_2_3-no-caps-declperm",
183 ":v3-ec-p256-with-por_1_2_4-companion-usesperm",
184 ":v3-ec-p256-with-por_1_2-companion-uses-knownSigner",
185 ":v3-ec-p256-with-por_1_2-default-caps",
186 ":v3-ec-p256-with-por_1_2-default-caps-sharedUid",
187 ":v3-ec-p256-with-por_1_2-default-caps-sharedUid-companion",
188 ":v3-ec-p256-with-por_1_2-default-caps-sharedUid-companion3",
[all …]
/cts/hostsidetests/appsecurity/test-apps/KeyRotationTest/
DAndroid.bp5 // you may not use this file except in compliance with the License.
32 // This is the first version of the test app signed with the initial signing
34 // library and is used to verify end to end updates with key rotation.
49 // This is the second version of the test app signed with the rotated signing
50 // key with an updated version number. This app is intended to verify that an
51 // app continues to function as expected after an update with a rotated key.
69 // This is the third version of the test app signed with the same rotated
89 // This is the second version of the test app signed with the rotated signing
90 // key targeting SDK version 33 for rotation with an updated version number.
92 // after an update with a rotated key in the v3.1 block.
[all …]
/cts/hostsidetests/incrementalinstall/app/
DAndroid.bp4 // you may not use this file except in compliance with the License.
15 // v1 implementation of test app built with v1 manifest.
47 // v1 implementation of test app built with v1 manifest with uncompressed native libs.
75 // v2 implementation of test app built with v1 manifest for zero version update test.
99 // v2 implementation of test app built with v2 manifest for version update test.
/cts/tests/tests/webkit/shared/
DREADME.md1 # Shared with SDK resources
4 should be shared with the WebView SDK Runtime tests.
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DRequirements.java.tmpl85 * you may not use this file except in compliance with the License.
111 {{- with $r.GetDescription}}
126 {{- with $r.GetDescription}}
140 {{- with $r.GetDescription}}
148 {{- with $r.GetDescription}}
161 {{- with index $s.GetRequiredValues $m_id}}
177 * {{ $r.GetId }} {{$r.GetName}}{{- with $v.GetDescription}} {{.}}{{end}}
178 {{- with $r.GetDescription}}
193 {{- with index $vs.GetRequiredValues $m_id}}
197 {{- end}}{{/* with rv */}}
/cts/tests/tests/telecom/CallScreeningServiceTestApp/
DAndroid.bp4 // you may not use this file except in compliance with the License.
17 // package name which does not conflict with the CallScreeningService
18 // associated with the CTS InCallService.
/cts/tests/tests/time/shell_utils/
DAndroid.bp5 // you may not use this file except in compliance with the License.
21 // A library for interacting with time-related shell "cmd" commands from host
39 // A library for interacting with time-related shell "cmd" commands from
/cts/hostsidetests/appsecurity/certs/keysets/
DREADME1 # Generated with:
6 # Display public key (for use in Manifest) with:
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpEventCollectionTest.kt353 with(getOpEntry(otherUid, otherPkg, OPSTR_RESERVED_FOR_TESTING)!!) { in startStopTrustedProxyVerifyRunningAndTime()
364 with(getOpEntry(shellUid, SHELL_PACKAGE_NAME, OPSTR_RESERVED_FOR_TESTING)!!) { in startStopTrustedProxyVerifyRunningAndTime()
406 with(getOpEntry(otherUid, otherPkg, OPSTR_RESERVED_FOR_TESTING)!!) { in startStopUntrustedProxyVerifyRunningAndTime()
413 with(getOpEntry(myUid, myPackage, OPSTR_RESERVED_FOR_TESTING)!!) { in startStopUntrustedProxyVerifyRunningAndTime()
501 with(getOpEntry(myUid, myPackage, OPSTR_RESERVED_FOR_TESTING)!!) { in startStopMultipleOpsAndVerifyIsRunning()
509 with(getOpEntry(myUid, myPackage, OPSTR_RESERVED_FOR_TESTING)!!) { in startStopMultipleOpsAndVerifyIsRunning()
517 with(getOpEntry(myUid, myPackage, OPSTR_RESERVED_FOR_TESTING)!!) { in startStopMultipleOpsAndVerifyIsRunning()
525 with(getOpEntry(myUid, myPackage, OPSTR_RESERVED_FOR_TESTING)!!) { in startStopMultipleOpsAndVerifyIsRunning()
533 with(getOpEntry(myUid, myPackage, OPSTR_RESERVED_FOR_TESTING)!!) { in startStopMultipleOpsAndVerifyIsRunning()
541 with(getOpEntry(myUid, myPackage, OPSTR_RESERVED_FOR_TESTING)!!) { in startStopMultipleOpsAndVerifyIsRunning()
[all …]
/cts/tests/mediapc/
DREADME.md29 …ix* can be passed to media codec tests to select one or more codecs that start with a given prefix.
31 Example: To limit the tests to run for media types whose names start with video/avc
37 …an be passed to media codec tests to select one or more codecs that match with a specified regular…
46 …ix* can be passed to media codec tests to select one or more codecs that start with a given prefix.
48 Example: To limit the tests to run for codecs whose names start with c2.android.
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DNinePatchTests.kt51 val np = with(ImageDecoder.createSource(activity.resources, R.drawable.padding_0)) { in <lambda>()
57 with(createTest()) { in <lambda>()
69 val np = with(ImageDecoder.createSource(activity.resources, R.drawable.padding_0)) { in <lambda>()
/cts/
DAndroid.bp40 // Goal is to eventually merge with cts_error_prone_rules
58 // Used with an android_test / android_test_helper_app, this is equivalent to
71 // Used with different module types, this is equivalent to:

12345678910>>...141