/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | CompressedTextureLoader.java | 142 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/graphics/src/android/graphics/cts/ |
D | VulkanFeaturesTest.java | 192 .getInt("samplerYcbcrConversion") != 0); in testVulkan1_1Requirements() 253 if (device.getJSONObject("properties").getInt("deviceType") in hasOnlyCpuDevice() 263 boolean textureCompressionETC2 = features.getInt("textureCompressionETC2") != 0; in determineHardwareLevel() 264 boolean fullDrawIndexUint32 = features.getInt("fullDrawIndexUint32") != 0; in determineHardwareLevel() 265 boolean imageCubeArray = features.getInt("imageCubeArray") != 0; in determineHardwareLevel() 266 boolean independentBlend = features.getInt("independentBlend") != 0; in determineHardwareLevel() 267 boolean geometryShader = features.getInt("geometryShader") != 0; in determineHardwareLevel() 268 boolean tessellationShader = features.getInt("tessellationShader") != 0; in determineHardwareLevel() 269 boolean sampleRateShading = features.getInt("sampleRateShading") != 0; in determineHardwareLevel() 270 boolean textureCompressionASTC_LDR = features.getInt("textureCompressionASTC_LDR") != 0; in determineHardwareLevel() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | VoicemailContractTest.java | 176 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 …]
|
D | ContactsTest.java | 106 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 …]
|
D | Contacts_PeopleTest.java | 126 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 …]
|
/cts/tests/tests/database/src/android/database/cts/ |
D | MatrixCursor_RowBuilderTest.java | 46 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()
|
D | MatrixCursorTest.java | 67 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 …]
|
D | DatabaseUtils_InsertHelperTest.java | 129 assertEquals(1, cursor.getInt(booleanValueIndex)); in testInsert() 130 assertEquals(10, cursor.getInt(intValueIndex)); in testInsert() 161 assertEquals(0, cursor.getInt(booleanValueIndex)); in testInsert() 162 assertEquals(123, cursor.getInt(intValueIndex)); in testInsert() 225 assertEquals(1, cursor.getInt(booleanValueIndex)); in testReplace() 226 assertEquals(10, cursor.getInt(intValueIndex)); in testReplace() 244 assertEquals(42, cursor.getInt(intValueIndex)); in testReplace() 271 assertEquals(0, cursor.getInt(booleanValueIndex)); in testReplace() 272 assertEquals(123, cursor.getInt(intValueIndex)); in testReplace()
|
D | DatabaseCursorTest.java | 179 testCursor.getInt(0); in testCursor1() 186 assertEquals(1, testCursor.getInt(0)); in testCursor1() 212 testCursor.getInt(0); in testCursor1() 218 testCursor.getInt(0); in testCursor1() 236 testCursor.getInt(0); in testCursor2() 245 testCursor.getInt(0); in testCursor2() 249 testCursor.getInt(0); in testCursor2() 301 assertEquals(i, c.getInt(1)); in onChanged() 336 assertEquals(i, testCursor.getInt(0)); in testManyRowsLong() 408 assertEquals(i, testCursor.getInt(1)); in testManyRowsTxtLong()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | PowerManagerTest.java | 69 mInitialPowerSaverMode = Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, 0); in setUp() 71 Global.getInt(resolver, Global.DYNAMIC_POWER_SAVINGS_ENABLED, 0); in setUp() 73 Global.getInt(resolver, Global.DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD, 0); in setUp() 117 assertEquals(1, Global.getInt(resolver, Global.DYNAMIC_POWER_SAVINGS_ENABLED, 0)); in testPowerManager_setDynamicPowerSavings() 118 assertEquals(80, Global.getInt(resolver, in testPowerManager_setDynamicPowerSavings() 122 assertEquals(0, Global.getInt(resolver, Global.DYNAMIC_POWER_SAVINGS_ENABLED, 1)); in testPowerManager_setDynamicPowerSavings() 123 assertEquals(20, Global.getInt(resolver, in testPowerManager_setDynamicPowerSavings()
|
/cts/tests/app/src/android/app/cts/ |
D | TimePickerDialogTest.java | 100 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/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/ |
D | IncludeExcludeTest.java | 289 int value = mIncludeSharedPref1.getInt(SHARED_PREF_KEY1, 0); in checkSharedPrefExist() 291 value = mIncludeSharedPref2.getInt(SHARED_PREF_KEY2, 0); in checkSharedPrefExist() 294 value = mExcludeSharedPref1.getInt(SHARED_PREF_KEY3, 0); in checkSharedPrefExist() 296 value = mExcludeSharedPref2.getInt(SHARED_PREF_KEY4, 0); in checkSharedPrefExist() 317 int value = mIncludeSharedPref1.getInt(SHARED_PREF_KEY1, 0); in checkSharedPrefDontExist() 319 value = mIncludeSharedPref2.getInt(SHARED_PREF_KEY2, 0); in checkSharedPrefDontExist() 322 value = mExcludeSharedPref1.getInt(SHARED_PREF_KEY3, 0); in checkSharedPrefDontExist() 324 value = mExcludeSharedPref2.getInt(SHARED_PREF_KEY4, 0); in checkSharedPrefDontExist() 329 int value = mIncludeSharedPref1.getInt(SHARED_PREF_KEY1, 0); in checkIncludeSharedPrefExist() 332 value = mIncludeSharedPref2.getInt(SHARED_PREF_KEY2, 0); in checkIncludeSharedPrefExist() [all …]
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteDatabaseTest.java | 362 assertEquals(age, cursor.getInt(COLUMN_AGE_INDEX)); in testCompileStatement() 394 assertEquals(30, cursor.getInt(COLUMN_AGE_INDEX)); in testDelete() 398 assertEquals(35, cursor.getInt(COLUMN_AGE_INDEX)); in testDelete() 413 assertEquals(35, cursor.getInt(COLUMN_AGE_INDEX)); in testDelete() 443 assertEquals(20, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL() 455 assertEquals(20, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL() 459 assertEquals(30, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL() 471 assertEquals(20, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL() 483 assertEquals(20, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL() 503 assertEquals(40, cursor.getInt(COLUMN_AGE_INDEX)); in testExecSQL() [all …]
|
D | SQLiteCursorTest.java | 115 assertEquals(TEST_COUNT, cursor.getInt(1)); in testRegisterDataSetObserver() 121 cursor.getInt(1); in testRegisterDataSetObserver() 128 assertEquals(TEST_COUNT, cursor.getInt(1)); in testRegisterDataSetObserver() 176 assertEquals(1, c.getInt(0)); in testRequery2() 178 assertEquals(2, c.getInt(0)); in testRequery2() 184 assertEquals(1, c.getInt(0)); in testRequery2() 186 assertEquals(2, c.getInt(0)); in testRequery2() 188 assertEquals(3, c.getInt(0)); in testRequery2()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeSettings.java | 76 return mBundle.getInt(BACKGROUND_COLOR_KEY, defaultColor); in getBackgroundColor() 85 return mBundle.getInt(NAVIGATION_BAR_COLOR_KEY); in getNavigationBarColor() 89 return mBundle.getInt(INPUT_VIEW_HEIGHT_WITHOUT_SYSTEM_WINDOW_INSET, defaultHeight); in getInputViewHeightWithoutSystemWindowInset() 93 return mBundle.getInt(WINDOW_FLAGS, defaultFlags); in getWindowFlags() 97 return mBundle.getInt(WINDOW_FLAGS_MASK, defaultFlags); in getWindowFlagsMask() 101 return mBundle.getInt(INPUT_VIEW_SYSTEM_UI_VISIBILITY, defaultFlags); in getInputViewSystemUiVisibility()
|
D | MockIme.java | 135 final int n = command.getExtras().getInt("n"); in onHandleCommand() 136 final int flag = command.getExtras().getInt("flag"); in onHandleCommand() 140 final int n = command.getExtras().getInt("n"); in onHandleCommand() 141 final int flag = command.getExtras().getInt("flag"); in onHandleCommand() 145 final int flag = command.getExtras().getInt("flag"); in onHandleCommand() 149 final int reqModes = command.getExtras().getInt("reqModes"); in onHandleCommand() 155 final int flags = command.getExtras().getInt("flags"); in onHandleCommand() 159 final int beforeLength = command.getExtras().getInt("beforeLength"); in onHandleCommand() 160 final int afterLength = command.getExtras().getInt("afterLength"); in onHandleCommand() 165 final int beforeLength = command.getExtras().getInt("beforeLength"); in onHandleCommand() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | SensorFeaturesDeactivator.java | 104 .getInt(contentResolver, Settings.System.AIRPLANE_MODE_ON, defaultValue); in getSettingMode() 107 .getInt(contentResolver, Settings.Global.AIRPLANE_MODE_ON, defaultValue); in getSettingMode() 126 return Settings.System.getInt( in getSettingMode() 140 return Settings.Secure.getInt( in getSettingMode() 155 return Settings.System.getInt( in getSettingMode() 170 return Settings.Global.getInt( in getSettingMode() 184 return Settings.Secure.getInt( in getSettingMode()
|
/cts/hostsidetests/backup/OtherSoundsSettingsApp/src/android/cts/backup/othersoundssettingsapp/ |
D | OtherSoundsSettingsTest.java | 82 Settings.System.getInt( in testOtherSoundsSettings_dialPadTones() 97 Settings.System.getInt( in testOtherSoundsSettings_dialPadTones() 115 Settings.System.getInt( in testOtherSoundsSettings_touchSounds() 129 Settings.System.getInt( in testOtherSoundsSettings_touchSounds() 147 Settings.System.getInt( in testOtherSoundsSettings_touchVibration() 162 Settings.System.getInt( in testOtherSoundsSettings_touchVibration()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentResolverTest.java | 320 assertEquals(3, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_ID_NAME))); in testQuery() 322 assertEquals(VALUE3, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME))); in testQuery() 325 assertEquals(2, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_ID_NAME))); in testQuery() 327 assertEquals(VALUE2, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME))); in testQuery() 342 assertEquals(1, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_ID_NAME))); in testQuery_WithSqlSelectionArgs() 344 assertEquals(VALUE1, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME))); in testQuery_WithSqlSelectionArgs() 355 assertEquals(3, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_ID_NAME))); in testQuery_WithSqlSelectionArgs() 357 assertEquals(VALUE3, mCursor.getInt(mCursor.getColumnIndexOrThrow(COLUMN_VALUE_NAME))); in testQuery_WithSqlSelectionArgs() 449 assertEquals(100, extras.getInt(ContentResolver.EXTRA_TOTAL_COUNT)); in testQuery_PagedResults() 459 assertEquals(10, mCursor.getInt(col)); in testQuery_PagedResults() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SecurityLoggingTest.java | 422 assertEquals(1, getInt(event)); in verifyCryptoSelfTestEventPresent() 450 private static int getInt(SecurityEvent event) { in getInt() method in SecurityLoggingTest 454 private static int getInt(SecurityEvent event, int index) { in getInt() method in SecurityLoggingTest 509 && getInt(e, SUCCESS_INDEX) == SUCCESS_VALUE in verifyKeyGeneratedEventPresent() 511 && getInt(e, UID_INDEX) == Process.myUid()); in verifyKeyGeneratedEventPresent() 524 && getInt(e, SUCCESS_INDEX) == SUCCESS_VALUE in verifyKeyImportedEventPresent() 526 && getInt(e, UID_INDEX) == Process.myUid()); in verifyKeyImportedEventPresent() 538 && getInt(e, SUCCESS_INDEX) == SUCCESS_VALUE in verifyKeyDeletedEventPresent() 540 && getInt(e, UID_INDEX) == Process.myUid()); in verifyKeyDeletedEventPresent() 550 && getInt(e, SUCCESS_INDEX) == SUCCESS_VALUE in verifyCertInstalledEventPresent() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 595 Array.set(val, i, ja.getInt(i)); in deserialize() 597 Array.set(val, i, (byte)ja.getInt(i)); in deserialize() 611 obj.getInt("width"), obj.getInt("height"))); in deserialize() 615 obj.getInt("left"), obj.getInt("top"), in deserialize() 616 obj.getInt("bottom"), obj.getInt("right"))); in deserialize() 620 obj.getInt("numerator"), in deserialize() 621 obj.getInt("denominator"))); in deserialize() 634 arr.getJSONObject(j).getInt("numerator"), in deserialize() 635 arr.getJSONObject(j).getInt("denominator")); in deserialize() 641 obj.getInt("x"), in deserialize() [all …]
|
/cts/suite/audio_quality/client/src/com/android/cts/audiotest/ |
D | AudioProtocol.java | 223 Integer id = new Integer(mDataBuffer.getInt(0)); in handleDownload() 236 final Integer id = new Integer(mDataBuffer.getInt(0)); in handleStartPlayback() 237 final int samplingRate = mDataBuffer.getInt(1 * 4); in handleStartPlayback() 238 final boolean stereo = ((mDataBuffer.getInt(2 * 4) & 0x80000000) != 0); in handleStartPlayback() 239 final int mode = mDataBuffer.getInt(2 * 4) & 0x7fffffff; in handleStartPlayback() 240 final int volume = mDataBuffer.getInt(3 * 4); in handleStartPlayback() 241 final int repeat = mDataBuffer.getInt(4 * 4); in handleStartPlayback() 333 final int samplingRate = mDataBuffer.getInt(0); in handleStartRecording() 334 final boolean stereo = ((mDataBuffer.getInt(1 * 4) & 0x80000000) != 0); in handleStartRecording() 335 final int mode = mDataBuffer.getInt(1 * 4) & 0x7fffffff; in handleStartRecording() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Audio_Playlists_MembersTest.java | 204 members[pos], c.getInt(c.getColumnIndex(Members.AUDIO_ID))); in verifyPlaylist() 208 ordering[pos], c.getInt(c.getColumnIndex(Members.PLAY_ORDER))); in verifyPlaylist() 259 assertEquals(Audio1.SIZE, c.getInt(c.getColumnIndex(Members.SIZE))); in testStoreAudioPlaylistsMembersExternal() 269 assertEquals(Audio1.IS_ALARM, c.getInt(c.getColumnIndex(Members.IS_ALARM))); in testStoreAudioPlaylistsMembersExternal() 270 assertEquals(Audio1.IS_MUSIC, c.getInt(c.getColumnIndex(Members.IS_MUSIC))); in testStoreAudioPlaylistsMembersExternal() 272 c.getInt(c.getColumnIndex(Members.IS_NOTIFICATION))); in testStoreAudioPlaylistsMembersExternal() 273 assertEquals(Audio1.IS_RINGTONE, c.getInt(c.getColumnIndex(Members.IS_RINGTONE))); in testStoreAudioPlaylistsMembersExternal() 274 assertEquals(Audio1.TRACK, c.getInt(c.getColumnIndex(Members.TRACK))); in testStoreAudioPlaylistsMembersExternal() 275 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Members.YEAR))); in testStoreAudioPlaylistsMembersExternal() 295 assertEquals(2, c.getInt(c.getColumnIndex(Members.PLAY_ORDER))); in testStoreAudioPlaylistsMembersExternal() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct_range/d/ |
D | T_invoke_direct_range_2.java | 22 return getInt(); in run() 25 private int getInt() { in getInt() method in T_invoke_direct_range_2
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_direct/d/ |
D | T_invoke_direct_2.java | 22 return getInt(); in run() 25 private int getInt() { in getInt() method in T_invoke_direct_2
|