/frameworks/opt/gamesdk/src/device_info/ |
D | device_info.cpp | 295 GLint getInt(GLenum e) { in getInt() function 313 ::gl_util::getInt(GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS)); in addGlConstsV2_0() 315 ::gl_util::getInt(GL_MAX_CUBE_MAP_TEXTURE_SIZE)); in addGlConstsV2_0() 317 ::gl_util::getInt(GL_MAX_FRAGMENT_UNIFORM_VECTORS)); in addGlConstsV2_0() 319 ::gl_util::getInt(GL_MAX_RENDERBUFFER_SIZE)); in addGlConstsV2_0() 321 ::gl_util::getInt(GL_MAX_TEXTURE_IMAGE_UNITS)); in addGlConstsV2_0() 323 ::gl_util::getInt(GL_MAX_TEXTURE_SIZE)); in addGlConstsV2_0() 325 ::gl_util::getInt(GL_MAX_VARYING_VECTORS)); in addGlConstsV2_0() 327 ::gl_util::getInt(GL_MAX_VERTEX_ATTRIBS)); in addGlConstsV2_0() 329 ::gl_util::getInt(GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS)); in addGlConstsV2_0() [all …]
|
/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowserUtils.java | 32 return options2.getInt(MediaBrowser.EXTRA_PAGE, -1) == -1 in areSameOptions() 33 && options2.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1) == -1; in areSameOptions() 35 return options1.getInt(MediaBrowser.EXTRA_PAGE, -1) == -1 in areSameOptions() 36 && options1.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1) == -1; in areSameOptions() 38 return options1.getInt(MediaBrowser.EXTRA_PAGE, -1) in areSameOptions() 39 == options2.getInt(MediaBrowser.EXTRA_PAGE, -1) in areSameOptions() 40 && options1.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1) in areSameOptions() 41 == options2.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in areSameOptions() 49 int page1 = options1 == null ? -1 : options1.getInt(MediaBrowser.EXTRA_PAGE, -1); in hasDuplicatedItems() 50 int page2 = options2 == null ? -1 : options2.getInt(MediaBrowser.EXTRA_PAGE, -1); in hasDuplicatedItems() [all …]
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpDatabaseTest.java | 70 private static int getInt(Cursor cursor, String columnName) { in getInt() method in MtpDatabaseTest 71 return cursor.getInt(cursor.getColumnIndex(columnName)); in getInt() 96 assertEquals(2, getInt(cursor, COLUMN_DOCUMENT_ID)); in testPutSingleStorageDocuments() 97 assertEquals(0, getInt(cursor, COLUMN_DEVICE_ID)); in testPutSingleStorageDocuments() 98 assertEquals(1, getInt(cursor, COLUMN_STORAGE_ID)); in testPutSingleStorageDocuments() 105 assertEquals(R.drawable.ic_root_mtp, getInt(cursor, COLUMN_ICON)); in testPutSingleStorageDocuments() 106 assertEquals(Document.FLAG_DIR_SUPPORTS_CREATE, getInt(cursor, COLUMN_FLAGS)); in testPutSingleStorageDocuments() 107 assertEquals(1000, getInt(cursor, COLUMN_SIZE)); in testPutSingleStorageDocuments() 110 getInt(cursor, COLUMN_DOCUMENT_TYPE)); in testPutSingleStorageDocuments() 129 assertEquals(1, getInt(cursor, Root.COLUMN_ROOT_ID)); in testPutSingleStorageDocuments() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/database/ |
D | TableHelper.java | 72 cursor.getInt(cursorIndexOfA); 136 cursor.getInt(cursorIndexOfA); 137 cursor.getInt(cursorIndexOfB); 138 cursor.getInt(cursorIndexOfC); 139 cursor.getInt(cursorIndexOfD); 140 cursor.getInt(cursorIndexOfE); 141 cursor.getInt(cursorIndexOfF); 142 cursor.getInt(cursorIndexOfG); 143 cursor.getInt(cursorIndexOfH); 144 cursor.getInt(cursorIndexOfI); [all …]
|
D | SQLiteDatabasePerfTest.java | 87 assertEquals(index, cursor.getInt(0)); in testSelect() 88 assertEquals(index, cursor.getInt(1)); in testSelect() 109 assertEquals(index, cursor.getInt(0)); in testSelectMultipleRows() 110 assertEquals(index, cursor.getInt(1)); in testSelectMultipleRows() 133 assertEquals(i, cursor.getInt(0)); in testCursorIterateForward() 134 assertEquals(i, cursor.getInt(1)); in testCursorIterateForward() 156 assertEquals(i, cursor.getInt(0)); in testCursorIterateBackwards() 157 assertEquals(i, cursor.getInt(1)); in testCursorIterateBackwards() 186 assertEquals(index, cursor.getInt(0)); in testInnerJoin() 187 assertEquals(index, cursor.getInt(1)); in testInnerJoin()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtilsTest.java | 78 Secure.getInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, -1)); in testSetPowerSaveMode_enable_firstCall_needWarning() 80 Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_enable_firstCall_needWarning() 93 assertEquals(1, Secure.getInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, -1)); in testSetPowerSaveMode_enable_secondCall_needWarning() 94 assertEquals(1, Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_enable_secondCall_needWarning() 107 assertEquals(1, Secure.getInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, -1)); in testSetPowerSaveMode_enable_thridCall_needWarning() 108 assertEquals(2, Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_enable_thridCall_needWarning() 121 assertEquals(1, Secure.getInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, -1)); in testSetPowerSaveMode_enable_firstCall_noWarning() 122 assertEquals(1, Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_enable_firstCall_noWarning() 136 assertEquals(-1, Secure.getInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, -1)); in testSetPowerSaveMode_disable_firstCall_noWarning() 138 Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_disable_firstCall_noWarning() [all …]
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | FontFileUtil.java | 94 int magicNumber = buffer.getInt(0); in analyzeStyle() 97 if (ttcIndex >= buffer.getInt(8 /* offset to number of fonts in TTC */)) { in analyzeStyle() 100 fontFileOffset = buffer.getInt( in analyzeStyle() 103 int sfntVersion = buffer.getInt(fontFileOffset); in analyzeStyle() 114 if (buffer.getInt(tableOffset) == OS2_TABLE_TAG) { in analyzeStyle() 115 os2TableOffset = buffer.getInt(tableOffset + 8 /* offset to the table */); in analyzeStyle()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | RcsEventQueryHelper.java | 82 int eventType = cursor.getInt(cursor.getColumnIndex(EVENT_TYPE_COLUMN)); in performEventQuery() 158 cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN)), in createNewGroupIconChangedEvent() 159 cursor.getInt(cursor.getColumnIndex(SOURCE_PARTICIPANT_ID_COLUMN)), in createNewGroupIconChangedEvent() 166 cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN)), in createNewGroupNameChangedEvent() 167 cursor.getInt(cursor.getColumnIndex(SOURCE_PARTICIPANT_ID_COLUMN)), in createNewGroupNameChangedEvent() 175 cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN)), in createNewParticipantLeftEvent() 176 cursor.getInt(cursor.getColumnIndex(SOURCE_PARTICIPANT_ID_COLUMN)), in createNewParticipantLeftEvent() 177 cursor.getInt(cursor.getColumnIndex(DESTINATION_PARTICIPANT_ID_COLUMN))); in createNewParticipantLeftEvent() 184 cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN)), in createNewParticipantJoinedEvent() 185 cursor.getInt(cursor.getColumnIndex(SOURCE_PARTICIPANT_ID_COLUMN)), in createNewParticipantJoinedEvent() [all …]
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteGlobal.java | 80 return SystemProperties.getInt("debug.sqlite.pagesize", sDefaultPageSize); in getDefaultPageSize() 97 return SystemProperties.getInt("debug.sqlite.journalsizelimit", in getJournalSizeLimit() 134 int value = SystemProperties.getInt("debug.sqlite.wal.autocheckpoint", in getWALAutoCheckpoint() 144 int value = SystemProperties.getInt("debug.sqlite.wal.poolsize", in getWALConnectionPoolSize() 155 return SystemProperties.getInt("debug.sqlite.idle_connection_timeout", in getIdleConnectionTimeout() 172 return SystemProperties.getInt("debug.sqlite.wal.truncatesize", in getWALTruncateSize()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | CellBroadcastMessage.java | 133 int geoScope = cursor.getInt( in createFromCursor() 135 int serialNum = cursor.getInt( in createFromCursor() 137 int category = cursor.getInt( in createFromCursor() 143 int format = cursor.getInt( in createFromCursor() 145 int priority = cursor.getInt( in createFromCursor() 159 lac = cursor.getInt(lacColumn); in createFromCursor() 167 cid = cursor.getInt(cidColumn); in createFromCursor() 178 int warningType = cursor.getInt(etwsWarningTypeColumn); in createFromCursor() 188 int messageClass = cursor.getInt(cmasMessageClassColumn); in createFromCursor() 194 cmasCategory = cursor.getInt(cmasCategoryColumn); in createFromCursor() [all …]
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleProfiling.java | 105 int bufferSize = in.getInt(); in handleMPRS() 106 int flags = in.getInt(); in handleMPRS() 107 int len = in.getInt(); in handleMPRS() 147 int bufferSize = in.getInt(); in handleMPSS() 148 int flags = in.getInt(); in handleMPSS() 200 int bufferSize = in.getInt(); in handleSPSS() 201 int flags = in.getInt(); in handleSPSS() 202 int interval = in.getInt(); in handleSPSS()
|
D | DdmHandleViewDebug.java | 118 int op = in.getInt(); in handleChunk() 185 int viewRootNameLength = in.getInt(); in getRootView() 198 viewLength = in.getInt(); in getTargetView() 217 boolean skipChildren = in.getInt() > 0; in dumpHierarchy() 218 boolean includeProperties = in.getInt() > 0; in dumpHierarchy() 219 boolean v2 = in.hasRemaining() && in.getInt() > 0; in dumpHierarchy() 320 int l = in.getInt(); in invokeViewMethod() 329 int nArgs = in.getInt(); in invokeViewMethod() 355 args[i] = in.getInt(); in invokeViewMethod() 401 int l = in.getInt(); in setLayoutParameter() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtils.java | 100 startNth = parser.getInt("start_nth", AUTO_SAVER_SUGGESTION_START_NTH); in Parameters() 101 endNth = parser.getInt("end_nth", AUTO_SAVER_SUGGESTION_END_NTH); in Parameters() 134 Secure.getInt(cr, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, 0) + 1; in setPowerSaveMode() 141 && Global.getInt(cr, Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0) == 0 in setPowerSaveMode() 142 && Secure.getInt(cr, in setPowerSaveMode() 167 if (Secure.getInt(context.getContentResolver(), in maybeShowBatterySaverConfirmation() 215 if (Global.getInt(context.getContentResolver(), Global.LOW_POWER_MODE_TRIGGER_LEVEL, 0) in ensureAutoBatterySaver() 228 final int currentMode = Global.getInt(resolver, Global.AUTOMATIC_POWER_SAVE_MODE, in revertScheduleToNoneIfNeeded()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | RescuePartyTest.java | 122 ).when(() -> SystemProperties.getInt(anyString(), anyInt())); in setUp() 162 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testBootLoopDetectionWithExecutionForAllRescueLevels() 168 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testBootLoopDetectionWithExecutionForAllRescueLevels() 174 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testBootLoopDetectionWithExecutionForAllRescueLevels() 180 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testBootLoopDetectionWithExecutionForAllRescueLevels() 189 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testPersistentAppCrashDetectionWithExecutionForAllRescueLevels() 195 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testPersistentAppCrashDetectionWithExecutionForAllRescueLevels() 201 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testPersistentAppCrashDetectionWithExecutionForAllRescueLevels() 207 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testPersistentAppCrashDetectionWithExecutionForAllRescueLevels() 220 SystemProperties.getInt(RescueParty.PROP_RESCUE_LEVEL, RescueParty.LEVEL_NONE)); in testBootLoopDetectionWithWrongInterval() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableHighSpeedVideoConfiguration.java | 57 int width = buffer.getInt(); in unmarshal() 58 int height = buffer.getInt(); in unmarshal() 59 int fpsMin = buffer.getInt(); in unmarshal() 60 int fpsMax = buffer.getInt(); in unmarshal() 61 int batchSizeMax = buffer.getInt(); in unmarshal()
|
D | MarshalQueryableRecommendedStreamConfiguration.java | 56 int width = buffer.getInt(); in unmarshal() 57 int height = buffer.getInt(); in unmarshal() 58 int format = buffer.getInt(); in unmarshal() 59 boolean input = buffer.getInt() != 0; in unmarshal() 60 int usecaseBitmap = buffer.getInt(); in unmarshal()
|
D | MarshalQueryableMeteringRectangle.java | 58 int xMin = buffer.getInt(); in unmarshal() 59 int yMin = buffer.getInt(); in unmarshal() 60 int xMax = buffer.getInt(); in unmarshal() 61 int yMax = buffer.getInt(); in unmarshal() 62 int weight = buffer.getInt(); in unmarshal()
|
D | MarshalQueryableStreamConfiguration.java | 54 int format = buffer.getInt(); in unmarshal() 55 int width = buffer.getInt(); in unmarshal() 56 int height = buffer.getInt(); in unmarshal() 57 boolean input = buffer.getInt() != 0; in unmarshal()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GlobalSettingsHelper.java | 34 public static int getInt(Context context, String settingName, int subId, in getInt() method in GlobalSettingsHelper 37 return Settings.Global.getInt(context.getContentResolver(), settingName, defaultValue); in getInt() 46 return Settings.Global.getInt(context.getContentResolver(), settingName, in getBoolean() 56 return Settings.Global.getInt(context.getContentResolver(), settingName) == 1; in getBoolean() 68 needChange = Settings.Global.getInt(context.getContentResolver(), settingName) != value; in setInt()
|
D | NitzStateMachine.java | 106 SystemProperties.getInt("ro.nitz_update_spacing", NITZ_UPDATE_SPACING_DEFAULT); in DeviceState() 108 SystemProperties.getInt("ro.nitz_update_diff", NITZ_UPDATE_DIFF_DEFAULT); in DeviceState() 116 return Settings.Global.getInt(mCr, Settings.Global.NITZ_UPDATE_SPACING, in getNitzUpdateSpacingMillis() 125 return Settings.Global.getInt(mCr, Settings.Global.NITZ_UPDATE_DIFF, mNitzUpdateDiff); in getNitzUpdateDiffMillis()
|
/frameworks/base/services/net/java/android/net/netlink/ |
D | StructNdaCacheInfo.java | 47 struct.ndm_used = byteBuffer.getInt(); in parse() 48 struct.ndm_confirmed = byteBuffer.getInt(); in parse() 49 struct.ndm_updated = byteBuffer.getInt(); in parse() 50 struct.ndm_refcnt = byteBuffer.getInt(); in parse()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | HighRefreshRateBlacklist.java | 40 public int getInt(String key, int def) { in create() 41 return SystemProperties.getInt(key, def); in create() 56 propertyGetter.getInt(SYSPROP_KEY + SYSPROP_KEY_LENGTH_SUFFIX, 0), 72 int getInt(String key, int def);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | BackupManagerMonitorUtilsTest.java | 87 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_ID)).isEqualTo(1); in monitorEvent_packageAndExtrasAreNull_fillsBundleCorrectly() 88 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_CATEGORY)).isEqualTo(2); in monitorEvent_packageAndExtrasAreNull_fillsBundleCorrectly() 108 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_ID)).isEqualTo(1); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() 109 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_CATEGORY)).isEqualTo(2); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() 111 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_PACKAGE_VERSION)).isEqualTo(3); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() 113 assertThat(eventBundle.getInt("key1")).isEqualTo(4); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectly() 135 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_ID)).isEqualTo(1); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong() 136 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_CATEGORY)).isEqualTo(2); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong() 138 assertThat(eventBundle.getInt(EXTRA_LOG_EVENT_PACKAGE_VERSION)).isEqualTo(3); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong() 141 assertThat(eventBundle.getInt("key1")).isEqualTo(4); in monitorEvent_packageAndExtrasAreNotNull_fillsBundleCorrectlyLong()
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
D | ZipEntryReader.java | 52 int sig = in.getInt(); in readEntry() 69 long crc = ((long) in.getInt()) & 0xffffffffL; in readEntry() 70 long compressedSize = ((long) in.getInt()) & 0xffffffffL; in readEntry() 71 long size = ((long) in.getInt()) & 0xffffffffL; in readEntry() 79 long localHeaderRelOffset = ((long) in.getInt()) & 0xffffffffL; in readEntry()
|
/frameworks/base/core/java/android/util/ |
D | EventLog.java | 94 return mBuffer.getInt(PROCESS_OFFSET); in getProcessId() 104 return mBuffer.getInt(UID_OFFSET); in getUid() 113 return mBuffer.getInt(THREAD_OFFSET); in getThreadId() 118 return mBuffer.getInt(SECONDS_OFFSET) * 1000000000l in getTimeNanos() 119 + mBuffer.getInt(NANOSECONDS_OFFSET); in getTimeNanos() 128 return mBuffer.getInt(offset); in getTag() 161 return mBuffer.getInt(); in decodeObject() 171 int length = mBuffer.getInt(); in decodeObject()
|