Home
last modified time | relevance | path

Searched refs:getInt (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java142 header.mHeaderSize = headerBuffer.getInt(); in readPVRHeader()
143 header.mHeight = headerBuffer.getInt(); in readPVRHeader()
144 header.mWidth = headerBuffer.getInt(); in readPVRHeader()
145 header.mMipMapCount = headerBuffer.getInt(); in readPVRHeader()
146 header.mpfFlags = headerBuffer.getInt(); in readPVRHeader()
147 header.mDataSize = headerBuffer.getInt(); in readPVRHeader()
148 header.mBitCount = headerBuffer.getInt(); in readPVRHeader()
149 header.mRBitMask = headerBuffer.getInt(); in readPVRHeader()
150 header.mGBitMask = headerBuffer.getInt(); in readPVRHeader()
151 header.mBBitMask = headerBuffer.getInt(); in readPVRHeader()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaMetricsTest.java54 assertEquals(1, bundle.getInt("int")); in testBasicItem()
60 assertEquals(-1, bundle.getInt(MediaMetrics.Item.BUNDLE_PID)); // default PID in testBasicItem()
61 assertEquals(-1, bundle.getInt(MediaMetrics.Item.BUNDLE_UID)); // default UID in testBasicItem()
65 assertEquals(4, bundle.getInt(MediaMetrics.Item.BUNDLE_PROPERTY_COUNT)); in testBasicItem()
93 assertEquals(1, bundle.getInt("int")); in testBigItem()
99 assertEquals(1, bundle.getInt(MediaMetrics.Item.BUNDLE_PID)); in testBigItem()
100 assertEquals(2, bundle.getInt(MediaMetrics.Item.BUNDLE_UID)); in testBigItem()
106 assertEquals((int) i, bundle.getInt(i.toString())); in testBigItem()
109 assertEquals(intKeyCount + 4, bundle.getInt(MediaMetrics.Item.BUNDLE_PROPERTY_COUNT)); in testBigItem()
117 assertEquals(1, bundle2.getInt(MediaMetrics.Item.BUNDLE_PID)); in testBigItem()
[all …]
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontFileTestUtil.java42 int magicNumber = buffer.getInt(0); in getPostScriptName()
46 fontOffset = buffer.getInt(12); // 0th offset in getPostScriptName()
47 magicNumber = buffer.getInt(fontOffset); in getPostScriptName()
59 int tableTag = buffer.getInt(tableEntryOffset); in getPostScriptName()
61 nameTableOffset = buffer.getInt(tableEntryOffset + 8); in getPostScriptName()
101 int magicNumber = buffer.getInt(0); in containsEmojiCompatMetadata()
114 int tableTag = buffer.getInt(tableEntryOffset); in containsEmojiCompatMetadata()
116 metaTableOffset = buffer.getInt(tableEntryOffset + 8); in containsEmojiCompatMetadata()
125 int dataMapsCount = buffer.getInt(metaTableOffset + 12); in containsEmojiCompatMetadata()
128 int tag = buffer.getInt(metaTableOffset + 16 + 12 * i); in containsEmojiCompatMetadata()
[all …]
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/settings/
DSecureSettings.java92 public int getInt(ContentResolver contentResolver, String key) { in getInt() method in SecureSettings
104 public int getInt(ContentResolver contentResolver, String key, int defaultValue) { in getInt() method in SecureSettings
114 return Settings.Secure.getInt(contentResolver, key); in getIntInner()
121 return Settings.Secure.getInt(contentResolver, key, defaultValue); in getIntInner()
133 public int getInt(UserReference user, String key) { in getInt() method in SecureSettings
135 return getInt(key); in getInt()
137 return getInt(sTestApis.context().androidContextAsUser(user).getContentResolver(), key); in getInt()
149 public int getInt(UserReference user, String key, int defaultValue) { in getInt() method in SecureSettings
151 return getInt(key, defaultValue); in getInt()
153 return getInt( in getInt()
[all …]
DGlobalSettings.java133 public int getInt(ContentResolver contentResolver, String key) { in getInt() method in GlobalSettings
145 public int getInt(ContentResolver contentResolver, String key, int defaultValue) { in getInt() method in GlobalSettings
155 return Settings.Global.getInt(contentResolver, key); in getIntInner()
162 return Settings.Global.getInt(contentResolver, key, defaultValue); in getIntInner()
174 public int getInt(UserReference user, String key) { in getInt() method in GlobalSettings
176 return getInt(key); in getInt()
178 return getInt(sTestApis.context().androidContextAsUser(user).getContentResolver(), key); in getInt()
190 public int getInt(UserReference user, String key, int defaultValue) { in getInt() method in GlobalSettings
192 return getInt(key, defaultValue); in getInt()
194 return getInt( in getInt()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanFeaturesTest.java193 .getInt("samplerYcbcrConversion") != 0); in testVulkan1_1Requirements()
274 if (device.getJSONObject("properties").getInt("deviceType") in hasOnlyCpuDevice()
284 boolean textureCompressionETC2 = features.getInt("textureCompressionETC2") != 0; in determineHardwareLevel()
285 boolean fullDrawIndexUint32 = features.getInt("fullDrawIndexUint32") != 0; in determineHardwareLevel()
286 boolean imageCubeArray = features.getInt("imageCubeArray") != 0; in determineHardwareLevel()
287 boolean independentBlend = features.getInt("independentBlend") != 0; in determineHardwareLevel()
288 boolean geometryShader = features.getInt("geometryShader") != 0; in determineHardwareLevel()
289 boolean tessellationShader = features.getInt("tessellationShader") != 0; in determineHardwareLevel()
290 boolean sampleRateShading = features.getInt("sampleRateShading") != 0; in determineHardwareLevel()
291 boolean textureCompressionASTC_LDR = features.getInt("textureCompressionASTC_LDR") != 0; in determineHardwareLevel()
[all …]
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/settings/
DSecureSettingsTest.java65 assertThat(android.provider.Settings.Secure.getInt(sContext.getContentResolver(), KEY)) in putInt_putsIntIntoSecureSettingsOnInstrumentedUser()
74 assertThat(android.provider.Settings.Secure.getInt(sContext.getContentResolver(), KEY)) in putIntWithContentResolver_putsIntIntoSecureSettings()
89 assertThat(android.provider.Settings.Secure.getInt(sContext.getContentResolver(), KEY)) in putIntWithUser_instrumentedUser_putsIntIntoSecureSettings()
101 assertThat(android.provider.Settings.Secure.getInt( in putIntWithUser_differentUser_putsIntIntoSecureSettings()
119 assertThat(TestApis.settings().secure().getInt(KEY)).isEqualTo(INT_VALUE); in getInt_getsIntFromSecureSettingsOnInstrumentedUser()
125 () -> TestApis.settings().secure().getInt(INVALID_KEY)); in getInt_invalidKey_throwsException()
130 assertThat(TestApis.settings().secure().getInt(INVALID_KEY, INT_VALUE)).isEqualTo( in getInt_invalidKey_withDefault_returnsDefault()
140 assertThat(TestApis.settings().secure().getInt( in getIntWithContentResolver_getsIntFromSecureSettings()
148 assertThrows(UnsupportedOperationException.class, () -> TestApis.settings().secure().getInt( in getIntWithContentResolver_preS_throwsException()
156 () -> TestApis.settings().secure().getInt( in getIntWithContentResolver_invalidKey_throwsException()
[all …]
DGlobalSettingsTest.java66 assertThat(android.provider.Settings.Global.getInt(sContext.getContentResolver(), KEY)) in putInt_putsIntIntoGlobalSettingsOnInstrumentedUser()
75 assertThat(android.provider.Settings.Global.getInt(sContext.getContentResolver(), KEY)) in putIntWithContentResolver_putsIntIntoGlobalSettings()
91 assertThat(android.provider.Settings.Global.getInt(sContext.getContentResolver(), KEY)) in putIntWithUser_instrumentedUser_putsIntIntoGlobalSettings()
103 assertThat(android.provider.Settings.Global.getInt( in putIntWithUser_differentUser_putsIntIntoGlobalSettings()
121 assertThat(TestApis.settings().global().getInt(KEY)).isEqualTo(INT_VALUE); in getInt_getsIntFromGlobalSettingsOnInstrumentedUser()
127 () -> TestApis.settings().global().getInt(INVALID_KEY)); in getInt_invalidKey_throwsException()
132 assertThat(TestApis.settings().global().getInt(INVALID_KEY, INT_VALUE)).isEqualTo( in getInt_invalidKey_withDefault_returnsDefault()
142 assertThat(TestApis.settings().global().getInt( in getIntWithContentResolver_getsIntFromGlobalSettings()
151 () -> TestApis.settings().global().getInt( in getIntWithContentResolver_invalidKey_throwsException()
159 assertThat(TestApis.settings().global().getInt( in getIntWithContentResolver_invalidKey_withDefault_returnsDefault()
[all …]
/cts/tests/tests/database/src/android/database/cts/
DMatrixCursor_RowBuilderTest.java46 assertEquals(Integer.MIN_VALUE, cursor.getInt(COLUMN0_INDEX)); in testAdd()
52 assertEquals(Integer.MIN_VALUE, cursor.getInt(COLUMN0_INDEX)); in testAdd()
54 assertEquals(0, cursor.getInt(COLUMN1_INDEX)); in testAdd()
59 assertEquals(Integer.MIN_VALUE, cursor.getInt(COLUMN0_INDEX)); in testAdd()
61 assertEquals(0, cursor.getInt(COLUMN1_INDEX)); in testAdd()
63 assertEquals(Integer.MAX_VALUE, cursor.getInt(COLUMN2_INDEX)); in testAdd()
DMatrixCursorTest.java67 assertEquals(Integer.MIN_VALUE, mMatrixCursor.getInt(COLUMN0_INDEX)); in testNewRow()
73 assertEquals(Integer.MIN_VALUE, mMatrixCursor.getInt(COLUMN0_INDEX)); in testNewRow()
75 assertEquals(0, mMatrixCursor.getInt(COLUMN1_INDEX)); in testNewRow()
80 assertEquals(Integer.MIN_VALUE, mMatrixCursor.getInt(COLUMN0_INDEX)); in testNewRow()
82 assertEquals(0, mMatrixCursor.getInt(COLUMN1_INDEX)); in testNewRow()
84 assertEquals(Integer.MAX_VALUE, mMatrixCursor.getInt(COLUMN2_INDEX)); in testNewRow()
183 assertEquals(Short.MIN_VALUE, mMatrixCursor.getInt(COLUMN0_INDEX)); in testGetters()
184 assertEquals(0, mMatrixCursor.getInt(COLUMN1_INDEX)); in testGetters()
185 assertEquals(Short.MAX_VALUE, mMatrixCursor.getInt(COLUMN2_INDEX)); in testGetters()
214 assertEquals(0, mMatrixCursor.getInt(COLUMN0_INDEX)); in testGetters()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DVoicemailContractTest.java176 assertEquals(0, cursor.getInt(NEW_INDEX)); in testVoicemailsTable()
177 assertEquals(0, cursor.getInt(IS_READ_INDEX)); in testVoicemailsTable()
178 assertEquals(1, cursor.getInt(HAS_CONTENT_INDEX)); in testVoicemailsTable()
182 assertEquals(0, cursor.getInt(DIRTY_INDEX)); in testVoicemailsTable()
183 assertEquals(0, cursor.getInt(DELETED_INDEX)); in testVoicemailsTable()
184 assertEquals(0, cursor.getInt(BACKED_UP_INDEX)); in testVoicemailsTable()
185 assertEquals(0, cursor.getInt(RESTORED_INDEX)); in testVoicemailsTable()
186 assertEquals(0, cursor.getInt(ARCHIVED_INDEX)); in testVoicemailsTable()
187 assertEquals(0, cursor.getInt(IS_OMTP_VOICEMAIL_INDEX)); in testVoicemailsTable()
188 int id = cursor.getInt(ID_INDEX); in testVoicemailsTable()
[all …]
/cts/tests/app/src/android/app/cts/
DTimePickerDialogTest.java100 assertEquals(TARGET_HOUR, b.getInt(HOUR)); in testSaveInstanceState()
101 assertEquals(TARGET_MINUTE, b.getInt(MINUTE)); in testSaveInstanceState()
111 assertEquals(TARGET_HOUR, b.getInt(HOUR)); in testSaveInstanceState()
112 assertEquals(minute, b.getInt(MINUTE)); in testSaveInstanceState()
144 assertEquals(TARGET_HOUR, b.getInt(HOUR)); in testUpdateTime()
145 assertEquals(minute, b.getInt(MINUTE)); in testUpdateTime()
163 assertEquals(TARGET_HOUR, b2.getInt(HOUR)); in testOnRestoreInstanceState()
164 assertEquals(minute, b2.getInt(MINUTE)); in testOnRestoreInstanceState()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContacts_PeopleTest.java126 int personId = cursor.getInt(PEOPLE_ID_INDEX); in testAddToGroup()
132 int groupId = cursor.getInt(GROUPS_ID_INDEX); in testAddToGroup()
142 assertEquals(personId, cursor.getInt(membershipPersonIdIndex)); in testAddToGroup()
143 assertEquals(groupId, cursor.getInt(membershipGroupIdIndex)); in testAddToGroup()
156 personId = cursor.getInt(PEOPLE_ID_INDEX); in testAddToGroup()
162 groupId = cursor.getInt(GROUPS_ID_INDEX); in testAddToGroup()
166 assertEquals(personId, cursor.getInt(membershipPersonIdIndex)); in testAddToGroup()
167 assertEquals(groupId, cursor.getInt(membershipGroupIdIndex)); in testAddToGroup()
174 personId = cursor.getInt(PEOPLE_ID_INDEX); in testAddToGroup()
179 groupId = cursor.getInt(GROUPS_ID_INDEX); in testAddToGroup()
[all …]
DContactsTest.java106 assertEquals(0, cursor.getInt(LAST_TIME_CONTACTED_INDEX)); in testPeopleTable()
108 assertEquals(1, cursor.getInt(SEND_TO_VOICEMAIL_INDEX)); in testPeopleTable()
109 assertEquals(0, cursor.getInt(TIMES_CONTACTED_INDEX)); in testPeopleTable()
110 assertEquals(0, cursor.getInt(STARRED_INDEX)); in testPeopleTable()
112 int id = cursor.getInt(ID_INDEX); in testPeopleTable()
128 assertEquals(0, cursor.getInt(LAST_TIME_CONTACTED_INDEX)); // Not supported by CP1 in testPeopleTable()
130 assertEquals(1, cursor.getInt(SEND_TO_VOICEMAIL_INDEX)); // Not supported by CP1 in testPeopleTable()
131 assertEquals(0, cursor.getInt(TIMES_CONTACTED_INDEX)); in testPeopleTable()
132 assertEquals(0, cursor.getInt(STARRED_INDEX)); in testPeopleTable()
179 int id = cursor.getInt(ID_INDEX); in testGroupsTable()
[all …]
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/
DIncludeExcludeTest.java290 int value = mIncludeSharedPref1.getInt(SHARED_PREF_KEY1, 0); in checkSharedPrefExist()
292 value = mIncludeSharedPref2.getInt(SHARED_PREF_KEY2, 0); in checkSharedPrefExist()
295 value = mExcludeSharedPref1.getInt(SHARED_PREF_KEY3, 0); in checkSharedPrefExist()
297 value = mExcludeSharedPref2.getInt(SHARED_PREF_KEY4, 0); in checkSharedPrefExist()
318 int value = mIncludeSharedPref1.getInt(SHARED_PREF_KEY1, 0); in checkSharedPrefDontExist()
320 value = mIncludeSharedPref2.getInt(SHARED_PREF_KEY2, 0); in checkSharedPrefDontExist()
323 value = mExcludeSharedPref1.getInt(SHARED_PREF_KEY3, 0); in checkSharedPrefDontExist()
325 value = mExcludeSharedPref2.getInt(SHARED_PREF_KEY4, 0); in checkSharedPrefDontExist()
330 int value = mIncludeSharedPref1.getInt(SHARED_PREF_KEY1, 0); in checkIncludeSharedPrefExist()
333 value = mIncludeSharedPref2.getInt(SHARED_PREF_KEY2, 0); in checkIncludeSharedPrefExist()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DSensorFeaturesDeactivator.java109 .getInt(contentResolver, Settings.System.AIRPLANE_MODE_ON, defaultValue); in getSettingMode()
112 .getInt(contentResolver, Settings.Global.AIRPLANE_MODE_ON, defaultValue); in getSettingMode()
131 return Settings.System.getInt( in getSettingMode()
145 return Settings.Secure.getInt( in getSettingMode()
160 return Settings.System.getInt( in getSettingMode()
175 return Settings.Global.getInt( in getSettingMode()
189 return Settings.Secure.getInt( in getSettingMode()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/d/
DT_invoke_direct_2.java22 return getInt(); in run()
25 private int getInt() { in getInt() method in T_invoke_direct_2
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/
DT_invoke_direct_range_2.java22 return getInt(); in run()
25 private int getInt() { in getInt() method in T_invoke_direct_range_2
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSecurityLoggingTest.java294 assertEquals(userId, UserHandle.getUserId(getInt(event, UID_INDEX))); in verifyEventsRedacted()
298 assertEquals(userId, getInt(event, USERID_INDEX)); in verifyEventsRedacted()
301 assertEquals(userId, UserHandle.getUserId(getInt(event, 1))); in verifyEventsRedacted()
483 assertEquals(1, getInt(event)); in verifyCryptoSelfTestEventPresent()
511 private static int getInt(SecurityEvent event) { in getInt() method in SecurityLoggingTest
515 private static int getInt(SecurityEvent event, int index) { in getInt() method in SecurityLoggingTest
586 && getInt(e, SUCCESS_INDEX) == SUCCESS_VALUE in verifyKeyGeneratedEventPresent()
588 && getInt(e, UID_INDEX) == Process.myUid()); in verifyKeyGeneratedEventPresent()
601 && getInt(e, SUCCESS_INDEX) == SUCCESS_VALUE in verifyKeyImportedEventPresent()
603 && getInt(e, UID_INDEX) == Process.myUid()); in verifyKeyImportedEventPresent()
[all …]
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DRingtoneTest.java99 int originalSyncParentSounds = TestApis.settings().secure().getInt(SYNC_PARENT_SOUNDS); in setActualDefaultRingtoneUri_ringtone_setsSyncParentSoundsToFalse()
111 .that(TestApis.settings().secure().getInt( in setActualDefaultRingtoneUri_ringtone_setsSyncParentSoundsToFalse()
124 int originalSyncParentSounds = TestApis.settings().secure().getInt(SYNC_PARENT_SOUNDS); in getActualDefaultRingtoneUri_ringtone_syncParentSoundsIsFalse_returnsSetRingtone()
145 int originalSyncParentSounds = TestApis.settings().secure().getInt(SYNC_PARENT_SOUNDS); in getActualDefaultRingtoneUri_ringtone_syncParentSoundsIsTrue_returnsDefaultRingtone()
166 int originalSyncParentSounds = TestApis.settings().secure().getInt(SYNC_PARENT_SOUNDS); in getActualDefaultRingtoneUri_ringtone_syncParentSoundsIsFalseAndUriWasPreviouslySet_returnsPreviouslySetRingtone()
188 int originalSyncParentSounds = TestApis.settings().secure().getInt(SYNC_PARENT_SOUNDS); in setActualDefaultRingtoneUri_notification_setsSyncParentSoundsToFalse()
199 .that(TestApis.settings().secure().getInt( in setActualDefaultRingtoneUri_notification_setsSyncParentSoundsToFalse()
212 int originalSyncParentSounds = TestApis.settings().secure().getInt(SYNC_PARENT_SOUNDS); in getActualDefaultRingtoneUri_notification_syncParentSoundsIsFalse_returnsSetRingtone()
233 int originalSyncParentSounds = TestApis.settings().secure().getInt(SYNC_PARENT_SOUNDS); in getActualDefaultRingtoneUri_notification_syncParentSoundsIsTrue_returnsDefaultRingtone()
254 int originalSyncParentSounds = TestApis.settings().secure().getInt(SYNC_PARENT_SOUNDS); in getActualDefaultRingtoneUri_notification_syncParentSoundsIsFalseAndUriWasPreviouslySet_returnsPreviouslySetRingtone()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStore_Audio_Artists_AlbumsTest.java117 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Albums.FIRST_YEAR))); in testStoreAudioArtistsAlbums()
118 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Albums.LAST_YEAR))); in testStoreAudioArtistsAlbums()
119 assertEquals(1, c.getInt(c.getColumnIndex(Albums.NUMBER_OF_SONGS))); in testStoreAudioArtistsAlbums()
120 assertEquals(1, c.getInt(c.getColumnIndex(Albums.NUMBER_OF_SONGS_FOR_ARTIST))); in testStoreAudioArtistsAlbums()
201 assertThat(c.getInt(c.getColumnIndex(Albums.FIRST_YEAR))).isEqualTo(Audio1.YEAR); in testDifferentArtistInSameAlbum()
202 assertThat(c.getInt(c.getColumnIndex(Albums.LAST_YEAR))).isEqualTo(Audio1.YEAR); in testDifferentArtistInSameAlbum()
203 assertThat(c.getInt(c.getColumnIndex(Albums.NUMBER_OF_SONGS))).isEqualTo(3); in testDifferentArtistInSameAlbum()
204 assertThat(c.getInt(c.getColumnIndex(Albums.NUMBER_OF_SONGS_FOR_ARTIST))).isEqualTo(2); in testDifferentArtistInSameAlbum()
218 assertThat(c.getInt(c.getColumnIndex(Albums.FIRST_YEAR))).isEqualTo(Audio3.YEAR); in testDifferentArtistInSameAlbum()
219 assertThat(c.getInt(c.getColumnIndex(Albums.LAST_YEAR))).isEqualTo(Audio3.YEAR); in testDifferentArtistInSameAlbum()
[all …]
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteDatabaseTest.java376 assertEquals(age, cursor.getInt(COLUMN_AGE_INDEX)); in testCompileStatement()
408 assertEquals(30, cursor.getInt(COLUMN_AGE_INDEX)); in testDelete()
412 assertEquals(35, cursor.getInt(COLUMN_AGE_INDEX)); in testDelete()
427 assertEquals(35, cursor.getInt(COLUMN_AGE_INDEX)); in testDelete()
457 assertEquals(20, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL()
469 assertEquals(20, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL()
473 assertEquals(30, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL()
485 assertEquals(20, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL()
497 assertEquals(20, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL()
517 assertEquals(40, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL()
[all …]
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeSettings.java83 return mBundle.getInt(BACKGROUND_COLOR_KEY, defaultColor); in getBackgroundColor()
92 return mBundle.getInt(NAVIGATION_BAR_COLOR_KEY); in getNavigationBarColor()
96 return mBundle.getInt(INPUT_VIEW_HEIGHT, defaultHeight); in getInputViewHeight()
104 return mBundle.getInt(WINDOW_FLAGS, defaultFlags); in getWindowFlags()
108 return mBundle.getInt(WINDOW_FLAGS_MASK, defaultFlags); in getWindowFlagsMask()
112 return mBundle.getInt(INPUT_VIEW_SYSTEM_UI_VISIBILITY, defaultFlags); in getInputViewSystemUiVisibility()
/cts/tests/tests/os/src/android/os/cts/
DPowerManagerTest.java82 mInitialPowerSaverMode = Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, 0); in setUp()
84 Global.getInt(resolver, Global.DYNAMIC_POWER_SAVINGS_ENABLED, 0); in setUp()
86 Global.getInt(resolver, Global.DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD, 0); in setUp()
130 assertEquals(1, Global.getInt(resolver, Global.DYNAMIC_POWER_SAVINGS_ENABLED, 0)); in testPowerManager_setDynamicPowerSavings()
131 assertEquals(80, Global.getInt(resolver, in testPowerManager_setDynamicPowerSavings()
135 assertEquals(0, Global.getInt(resolver, Global.DYNAMIC_POWER_SAVINGS_ENABLED, 1)); in testPowerManager_setDynamicPowerSavings()
136 assertEquals(20, Global.getInt(resolver, in testPowerManager_setDynamicPowerSavings()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java601 Array.set(val, i, ja.getInt(i)); in deserialize()
603 Array.set(val, i, (byte)ja.getInt(i)); in deserialize()
617 obj.getInt("width"), obj.getInt("height"))); in deserialize()
621 obj.getInt("left"), obj.getInt("top"), in deserialize()
622 obj.getInt("bottom"), obj.getInt("right"))); in deserialize()
626 obj.getInt("numerator"), in deserialize()
627 obj.getInt("denominator"))); in deserialize()
640 arr.getJSONObject(j).getInt("numerator"), in deserialize()
641 arr.getJSONObject(j).getInt("denominator")); in deserialize()
647 obj.getInt("x"), in deserialize()
[all …]

12345678910>>...13