Home
last modified time | relevance | path

Searched refs:put (Results 1 – 25 of 487) sorted by relevance

12345678910>>...20

/cts/tests/tests/text/src/android/text/cts/
DFontCoverageTest.java88 EXEMPLAR_MAP.put("agq", new UnicodeSet("[{\u0186\u0302}{\u0186\u0304}{\u0186\u030C}"
94 EXEMPLAR_MAP.put("am", new UnicodeSet("[\u1200-\u1206\u1208-\u1246\u1248\u124A-\u124D"
98 EXEMPLAR_MAP.put("ar", new UnicodeSet("[\u060C\u061B\u061F\u0621-\u063A\u0641-\u0652"
101 EXEMPLAR_MAP.put("ar-DZ", new UnicodeSet("[\u060C\u061B\u061F\u0621-\u063A\u0641-\u0652"
104 EXEMPLAR_MAP.put("ar-EH", new UnicodeSet("[\u060C\u061B\u061F\u0621-\u063A\u0641-\u0652"
107 EXEMPLAR_MAP.put("ar-LY", new UnicodeSet("[\u060C\u061B\u061F\u0621-\u063A\u0641-\u0652"
110 EXEMPLAR_MAP.put("ar-MA", new UnicodeSet("[\u060C\u061B\u061F\u0621-\u063A\u0641-\u0652"
113 EXEMPLAR_MAP.put("ar-TN", new UnicodeSet("[\u060C\u061B\u061F\u0621-\u063A\u0641-\u0652"
116 EXEMPLAR_MAP.put("as", new UnicodeSet("[\u0981-\u0983\u0985-\u098B\u098F\u0990"
120 EXEMPLAR_MAP.put("bas", new UnicodeSet("[{A\u1DC6}{A\u1DC7}{E\u1DC6}{E\u1DC7}{I\u1DC6}"
[all …]
/cts/tests/app/src/android/app/cts/
DActivityManagerMemoryClassTest.java61 expectedMemorySizeForWatch.put(DisplayMetrics.DENSITY_LOW, 32); in expectedMemorySizeForWatch.put()
62 expectedMemorySizeForWatch.put(DisplayMetrics.DENSITY_140, 32); in expectedMemorySizeForWatch.put()
63 expectedMemorySizeForWatch.put(DisplayMetrics.DENSITY_MEDIUM, 32); in expectedMemorySizeForWatch.put()
64 expectedMemorySizeForWatch.put(DisplayMetrics.DENSITY_180, 32); in expectedMemorySizeForWatch.put()
65 expectedMemorySizeForWatch.put(DisplayMetrics.DENSITY_200, 32); in expectedMemorySizeForWatch.put()
66 expectedMemorySizeForWatch.put(DisplayMetrics.DENSITY_TV, 32); in expectedMemorySizeForWatch.put()
67 expectedMemorySizeForWatch.put(DisplayMetrics.DENSITY_220, 36); in expectedMemorySizeForWatch.put()
68 expectedMemorySizeForWatch.put(DisplayMetrics.DENSITY_HIGH, 36); in expectedMemorySizeForWatch.put()
69 expectedMemorySizeForWatch.put(DisplayMetrics.DENSITY_260, 36); in expectedMemorySizeForWatch.put()
70 expectedMemorySizeForWatch.put(DisplayMetrics.DENSITY_280, 36); in expectedMemorySizeForWatch.put()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/renderers/
DMonolith.java54 mVertexBuffer.put(coordinates[i]); in Monolith()
62 mIndexBuffer.put((short) 0); in Monolith()
63 mIndexBuffer.put((short) 1); in Monolith()
64 mIndexBuffer.put((short) 2); in Monolith()
65 mIndexBuffer.put((short) 0); in Monolith()
66 mIndexBuffer.put((short) 2); in Monolith()
67 mIndexBuffer.put((short) 3); in Monolith()
70 mIndexBuffer.put((short) 7); in Monolith()
71 mIndexBuffer.put((short) 6); in Monolith()
72 mIndexBuffer.put((short) 5); in Monolith()
[all …]
DWedge.java90 mFVertexBuffer.put(coords[i * 3 + j] * 2.0f); in Wedge()
96 mTexBuffer.put(coords[i * 3 + j] * 2.0f + 0.5f); in Wedge()
101 mIndexBuffer.put((short) 0); in Wedge()
102 mIndexBuffer.put((short) 1); in Wedge()
103 mIndexBuffer.put((short) 2); in Wedge()
106 mIndexBuffer.put((short) 5); in Wedge()
107 mIndexBuffer.put((short) 4); in Wedge()
108 mIndexBuffer.put((short) 3); in Wedge()
111 mIndexBuffer.put((short) 2); in Wedge()
112 mIndexBuffer.put((short) 5); in Wedge()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DContentValuesTest.java76 mContentValues.put("Long", 10L); in testValueSet()
77 mContentValues.put("Integer", 201); in testValueSet()
102 mContentValues.put("Long", expected); in testGetAsLong()
106 mContentValues.put("Long", expected); in testGetAsLong()
116 mContentValues.put("Byte", expected); in testGetAsByte()
120 mContentValues.put("Byte", expected); in testGetAsByte()
130 mContentValues.put("Integer", expected); in testGetAsInteger()
134 mContentValues.put("Integer", expected); in testGetAsInteger()
145 mContentValues.put("Integer", 10); in testSize()
146 mContentValues.put("Long", 10L); in testSize()
[all …]
/cts/hostsidetests/security/src/android/security/cts/
DKernelConfigTest.java101 cache.put(device, set); in getDeviceConfig()
218 put("EXYNOS990", null);
219 put("EXYNOS980", null);
220 put("EXYNOS850", null);
221 put("EXYNOS3830", null);
222 put("EXYNOS9630", null);
223 put("EXYNOS9830", null);
224 put("EXYNOS7870", null);
225 put("EXYNOS7880", null);
226 put("EXYNOS7570", null);
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDisplayModifier.java86 put("aa", new LinkedHashMap<String, DisplayModifier>() {
88 put("true", new DisplayModifier() {
94 put("false", new DisplayModifier() {
102 put("style", new LinkedHashMap<String, DisplayModifier>() {
104 put("fill", new DisplayModifier() {
110 put("stroke", new DisplayModifier() {
116 put("fillAndStroke", new DisplayModifier() {
124 put("strokeWidth", new LinkedHashMap<String, DisplayModifier>() {
126 put("hair", new DisplayModifier() {
132 put("0.3", new DisplayModifier() {
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreAudioTestHelper.java115 values.put(Media.DATA, data.getAbsolutePath()); in getContentValues()
119 values.put(Media.DATE_MODIFIED, DATE_MODIFIED); in getContentValues()
120 values.put(Media.DISPLAY_NAME, DISPLAY_NAME); in getContentValues()
121 values.put(Media.MIME_TYPE, MIME_TYPE); in getContentValues()
122 values.put(Media.SIZE, SIZE); in getContentValues()
123 values.put(Media.TITLE, TITLE); in getContentValues()
124 values.put(Media.ALBUM, ALBUM); in getContentValues()
125 values.put(Media.ARTIST, ARTIST); in getContentValues()
126 values.put(Media.COMPOSER, COMPOSER); in getContentValues()
127 values.put(Media.DURATION, DURATION); in getContentValues()
[all …]
DCalendarTest.java144 values.put(Calendars.ACCOUNT_TYPE, CTS_TEST_TYPE); in getNewCalendarValues()
146 values.put(Calendars.ACCOUNT_NAME, account); in getNewCalendarValues()
147 values.put(Calendars._SYNC_ID, "SYNC_ID:" + seedString); in getNewCalendarValues()
148 values.put(Calendars.CAL_SYNC7, "SYNC_V:" + seedString); in getNewCalendarValues()
149 values.put(Calendars.CAL_SYNC8, "SYNC_TIME:" + seedString); in getNewCalendarValues()
150 values.put(Calendars.DIRTY, 0); in getNewCalendarValues()
151 values.put(Calendars.OWNER_ACCOUNT, generateCalendarOwnerEmail(account)); in getNewCalendarValues()
153 values.put(Calendars.NAME, seedString); in getNewCalendarValues()
154 values.put(Calendars.CALENDAR_DISPLAY_NAME, "DISPLAY_" + seedString); in getNewCalendarValues()
156 values.put(Calendars.CALENDAR_ACCESS_LEVEL, (seed % 8) * 100); in getNewCalendarValues()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DVoicemailContractTest.java145 value.put(Voicemails.NUMBER, insertCallsNumber); in testVoicemailsTable()
146 value.put(Voicemails.DATE, insertDate); in testVoicemailsTable()
147 value.put(Voicemails.DURATION, insertCallsDuration); in testVoicemailsTable()
148 value.put(Voicemails.NEW, 0); in testVoicemailsTable()
150 value.put(Voicemails.SOURCE_DATA, insertSourceData); in testVoicemailsTable()
151 value.put(Voicemails.MIME_TYPE, insertMimeType); in testVoicemailsTable()
152 value.put(Voicemails.IS_READ, false); in testVoicemailsTable()
153 value.put(Voicemails.HAS_CONTENT, true); in testVoicemailsTable()
154 value.put(Voicemails.TRANSCRIPTION, "foo"); in testVoicemailsTable()
155 value.put(Voicemails.PHONE_ACCOUNT_COMPONENT_NAME, "com.foo"); in testVoicemailsTable()
[all …]
DContactsTest.java93 value.put(PeopleColumns.NAME, insertPeopleName); in testPeopleTable()
94 value.put(PeopleColumns.NOTES, insertPeopleNotes); in testPeopleTable()
95 value.put(PeopleColumns.LAST_TIME_CONTACTED, 0); in testPeopleTable()
96 value.put(PeopleColumns.CUSTOM_RINGTONE, (String) null); in testPeopleTable()
97 value.put(PeopleColumns.SEND_TO_VOICEMAIL, 1); in testPeopleTable()
118 value.put(PeopleColumns.NAME, updatePeopleName); in testPeopleTable()
119 value.put(PeopleColumns.NOTES, updatePeopleNotes); in testPeopleTable()
120 value.put(PeopleColumns.LAST_TIME_CONTACTED, (int) now); in testPeopleTable()
167 value.put(GroupsColumns.NAME, insertGroupsName); in testGroupsTable()
168 value.put(GroupsColumns.NOTES, insertGroupsNotes); in testGroupsTable()
[all …]
DContactsContract_SearchSnippetsTest.java53 cv1.put(Contacts.DISPLAY_NAME, "Hot Tamale"); in cv1.put()
57 cv2.put(Contacts.DISPLAY_NAME, "Cold Tamago"); in cv2.put()
61 cv3.put(Contacts.DISPLAY_NAME, "John Doe"); in cv3.put()
103 expected.put(Contacts._ID, ids[1]); in testSearchSnippets_MatchEmailAddressCorrectSnippet()
104 expected.put(SearchSnippets.SNIPPET, "eggs@[farmers].org"); in testSearchSnippets_MatchEmailAddressCorrectSnippet()
115 expected.put(Contacts._ID, ids[1]); in testEnterpriseSearchSnippets_MatchEmailAddressCorrectSnippet()
116 expected.put(SearchSnippets.SNIPPET, "eggs@[farmers].org"); in testEnterpriseSearchSnippets_MatchEmailAddressCorrectSnippet()
126 expected.put(Contacts._ID, ids[0]); in testSearchSnippets_MatchPhoneNumberCorrectSnippet()
127 expected.put(SearchSnippets.SNIPPET, "[510-123-5769]"); in testSearchSnippets_MatchPhoneNumberCorrectSnippet()
138 expected.put(Contacts._ID, ids[0]); in testEnterpriseSearchSnippets_MatchPhoneNumberCorrectSnippet()
[all …]
DContactsContract_PhoneLookup.java145 expected.put(PhoneLookup._ID, ids[0].contactId); in testPhoneLookup_found1()
146 expected.put(PhoneLookup.CONTACT_ID, ids[0].contactId); in testPhoneLookup_found1()
147 expected.put(PhoneLookup.DATA_ID, ids[0].dataId); in testPhoneLookup_found1()
148 expected.put(PhoneLookup.NUMBER, "1111222333444"); in testPhoneLookup_found1()
162 expected.put(PhoneLookup._ID, ids[1].contactId); in testPhoneLookup_found2()
163 expected.put(PhoneLookup.CONTACT_ID, ids[1].contactId); in testPhoneLookup_found2()
164 expected.put(PhoneLookup.DATA_ID, ids[1].dataId); in testPhoneLookup_found2()
165 expected.put(PhoneLookup.NUMBER, "2111222333444"); in testPhoneLookup_found2()
178 expected.put(PhoneLookup.CONTACT_ID, ids[2].contactId); in testPhoneLookup_sip_found()
179 expected.put(PhoneLookup.DATA_ID, ids[2].dataId); in testPhoneLookup_sip_found()
[all …]
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DTestPropertyReader.java49 mProperties.put(id, value); in readBoolean()
54 mProperties.put(id, value); in readByte()
59 mProperties.put(id, value); in readChar()
64 mProperties.put(id, value); in readDouble()
69 mProperties.put(id, value); in readFloat()
74 mProperties.put(id, value); in readInt()
79 mProperties.put(id, value); in readLong()
84 mProperties.put(id, value); in readShort()
89 mProperties.put(id, value); in readObject()
94 mProperties.put(id, value); in readColor()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java75 ratObj.put("numerator", rat.getNumerator()); in serializeRational()
76 ratObj.put("denominator", rat.getDenominator()); in serializeRational()
83 sizeObj.put("width", size.getWidth()); in serializeSize()
84 sizeObj.put("height", size.getHeight()); in serializeSize()
91 sizeObj.put("width", size.getWidth()); in serializeSizeF()
92 sizeObj.put("height", size.getHeight()); in serializeSizeF()
99 rectObj.put("left", rect.left); in serializeRect()
100 rectObj.put("right", rect.right); in serializeRect()
101 rectObj.put("top", rect.top); in serializeRect()
102 rectObj.put("bottom", rect.bottom); in serializeRect()
[all …]
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DApnDatabaseTest.java76 put(Carriers.NAME, NAME);
77 put(Carriers.APN, APN);
78 put(Carriers.PROXY, PROXY);
79 put(Carriers.PORT, PORT);
80 put(Carriers.MMSC, MMSC);
81 put(Carriers.MMSPROXY, MMSPROXY);
82 put(Carriers.MMSPORT, MMSPORT);
83 put(Carriers.NUMERIC, NUMERIC);
84 put(Carriers.USER, USER);
85 put(Carriers.PASSWORD, PASSWORD);
[all …]
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java250 ratObj.put("numerator", rat.getNumerator()); in serializeRational()
251 ratObj.put("denominator", rat.getDenominator()); in serializeRational()
258 sizeObj.put("width", size.getWidth()); in serializeSize()
259 sizeObj.put("height", size.getHeight()); in serializeSize()
266 sizeObj.put("width", size.getWidth()); in serializeSizeF()
267 sizeObj.put("height", size.getHeight()); in serializeSizeF()
274 rectObj.put("left", rect.left); in serializeRect()
275 rectObj.put("right", rect.right); in serializeRect()
276 rectObj.put("top", rect.top); in serializeRect()
277 rectObj.put("bottom", rect.bottom); in serializeRect()
[all …]
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DBasePermissionsTest.java125 sPermissionToLabelResNameMap.put( in initPermissionToLabelMap()
127 sPermissionToLabelResNameMap.put( in initPermissionToLabelMap()
130 sPermissionToLabelResNameMap.put( in initPermissionToLabelMap()
132 sPermissionToLabelResNameMap.put( in initPermissionToLabelMap()
135 sPermissionToLabelResNameMap.put( in initPermissionToLabelMap()
137 sPermissionToLabelResNameMap.put( in initPermissionToLabelMap()
139 sPermissionToLabelResNameMap.put( in initPermissionToLabelMap()
141 sPermissionToLabelResNameMap.put( in initPermissionToLabelMap()
143 sPermissionToLabelResNameMap.put( in initPermissionToLabelMap()
145 sPermissionToLabelResNameMap.put( in initPermissionToLabelMap()
[all …]
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java141 values.put(Channels.COLUMN_INPUT_ID, inputId); in createDummyChannelValues()
142 values.put(Channels.COLUMN_INTERNAL_PROVIDER_ID, "ID-4321"); in createDummyChannelValues()
143 values.put(Channels.COLUMN_TYPE, preview ? Channels.TYPE_PREVIEW : Channels.TYPE_OTHER); in createDummyChannelValues()
144 values.put(Channels.COLUMN_SERVICE_TYPE, Channels.SERVICE_TYPE_AUDIO_VIDEO); in createDummyChannelValues()
145 values.put(Channels.COLUMN_DISPLAY_NUMBER, "1"); in createDummyChannelValues()
146 values.put(Channels.COLUMN_VIDEO_FORMAT, Channels.VIDEO_FORMAT_480P); in createDummyChannelValues()
153 values.put(Programs.COLUMN_CHANNEL_ID, channelId); in createDummyProgramValues()
154 values.put(Programs.COLUMN_EPISODE_DISPLAY_NUMBER , "1A"); in createDummyProgramValues()
155 values.put(Programs.COLUMN_EPISODE_TITLE, "episode_title"); in createDummyProgramValues()
156 values.put(Programs.COLUMN_SEASON_DISPLAY_NUMBER , "2B"); in createDummyProgramValues()
[all …]
/cts/tests/tests/net/ipsec/src/android/net/ipsec/ike/cts/
DPacketUtils.java115 bb.put((byte) (0x45)); in buildHeader()
118 bb.put((byte) 0); in buildHeader()
125 bb.put((byte) 0x40); in buildHeader()
126 bb.put((byte) 0x00); in buildHeader()
129 bb.put((byte) 64); in buildHeader()
132 bb.put(proto); in buildHeader()
139 bb.put(srcAddr.getAddress()); in buildHeader()
140 bb.put(dstAddr.getAddress()); in buildHeader()
177 bb.put((byte) 0x60); in getPacketBytes()
180 bb.put((byte) 0); in getPacketBytes()
[all …]
/cts/tests/tests/net/src/android/net/cts/
DPacketUtils.java109 bb.put((byte) (0x45)); in buildHeader()
112 bb.put((byte) 0); in buildHeader()
119 bb.put((byte) 0x40); in buildHeader()
120 bb.put((byte) 0x00); in buildHeader()
123 bb.put((byte) 64); in buildHeader()
126 bb.put(proto); in buildHeader()
133 bb.put(srcAddr.getAddress()); in buildHeader()
134 bb.put(dstAddr.getAddress()); in buildHeader()
171 bb.put((byte) 0x60); in getPacketBytes()
174 bb.put((byte) 0); in getPacketBytes()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleScannerPowerLevelActivity.java70 mMacText.put(AdvertiseSettings.ADVERTISE_TX_POWER_ULTRA_LOW, in onCreate()
72 mMacText.put(AdvertiseSettings.ADVERTISE_TX_POWER_LOW, in onCreate()
74 mMacText.put(AdvertiseSettings.ADVERTISE_TX_POWER_MEDIUM, in onCreate()
76 mMacText.put(AdvertiseSettings.ADVERTISE_TX_POWER_HIGH, in onCreate()
79 mCountText.put(AdvertiseSettings.ADVERTISE_TX_POWER_ULTRA_LOW, in onCreate()
81 mCountText.put(AdvertiseSettings.ADVERTISE_TX_POWER_LOW, in onCreate()
83 mCountText.put(AdvertiseSettings.ADVERTISE_TX_POWER_MEDIUM, in onCreate()
85 mCountText.put(AdvertiseSettings.ADVERTISE_TX_POWER_HIGH, in onCreate()
88 mRssiText.put(AdvertiseSettings.ADVERTISE_TX_POWER_ULTRA_LOW, in onCreate()
90 mRssiText.put(AdvertiseSettings.ADVERTISE_TX_POWER_LOW, in onCreate()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMockTvInputSetupActivity.java78 values.put(TvContract.Channels.COLUMN_INPUT_ID, inputId); in onCreate()
79 values.put(TvContract.Channels.COLUMN_DISPLAY_NUMBER, CHANNEL_NUMBER); in onCreate()
80 values.put(TvContract.Channels.COLUMN_DISPLAY_NAME, CHANNEL_NAME); in onCreate()
81 values.put(TvContract.Channels.COLUMN_APP_LINK_TEXT, APP_LINK_TEXT); in onCreate()
82 values.put(TvContract.Channels.COLUMN_APP_LINK_COLOR, Color.RED); in onCreate()
83 values.put(TvContract.Channels.COLUMN_APP_LINK_ICON_URI, in onCreate()
85 values.put(TvContract.Channels.COLUMN_APP_LINK_POSTER_ART_URI, in onCreate()
90 values.put(TvContract.Channels.COLUMN_APP_LINK_INTENT_URI, in onCreate()
102 values.put(Programs.COLUMN_CHANNEL_ID, ContentUris.parseId(channelUri)); in onCreate()
103 values.put(Programs.COLUMN_TITLE, PROGRAM_TITLE); in onCreate()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DMockListener.java137 note.put(JSON_RANK, rank.getRank()); in onNotificationRankingUpdate()
138 note.put(JSON_AMBIENT, rank.isAmbient()); in onNotificationRankingUpdate()
139 note.put(JSON_MATCHES_ZEN_FILTER, rank.matchesInterruptionFilter()); in onNotificationRankingUpdate()
140 note.put(JSON_LAST_AUDIBLY_ALERTED, rank.getLastAudiblyAlertedMillis()); in onNotificationRankingUpdate()
156 notification.put(JSON_TAG, sbn.getTag()); in onNotificationPosted()
157 notification.put(JSON_ID, sbn.getId()); in onNotificationPosted()
158 notification.put(JSON_PACKAGE, sbn.getPackageName()); in onNotificationPosted()
159 notification.put(JSON_WHEN, sbn.getNotification().when); in onNotificationPosted()
160 notification.put(JSON_ICON, sbn.getNotification().icon); in onNotificationPosted()
161 notification.put(JSON_FLAGS, sbn.getNotification().flags); in onNotificationPosted()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewFontWeightTest.java76 map.put('a', new FontStyle(100, false));
77 map.put('b', new FontStyle(100, true));
78 map.put('c', new FontStyle(200, false));
79 map.put('d', new FontStyle(200, true));
80 map.put('e', new FontStyle(300, false));
81 map.put('f', new FontStyle(300, true));
82 map.put('g', new FontStyle(400, false));
83 map.put('h', new FontStyle(400, true));
84 map.put('i', new FontStyle(500, false));
85 map.put('j', new FontStyle(500, true));
[all …]

12345678910>>...20