Home
last modified time | relevance | path

Searched refs:setLong (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java223 .setLong("screen_threshold_active", 0)
224 .setLong("screen_threshold_working_set", 0)
225 .setLong("screen_threshold_frequent", 0)
226 .setLong("screen_threshold_rare", HOUR_MS)
228 .setLong("elapsed_threshold_active", 0)
229 .setLong("elapsed_threshold_working_set", WORKING_SET_THRESHOLD)
230 .setLong("elapsed_threshold_frequent", FREQUENT_THRESHOLD)
231 .setLong("elapsed_threshold_rare", RARE_THRESHOLD)
232 .setLong("elapsed_threshold_restricted", RESTRICTED_THRESHOLD);
1035 .setLong("screen_threshold_active", -1) in testTimeout_InvalidThresholds()
[all …]
/frameworks/base/core/java/android/net/
DNetworkStatsHistory.java310 setLong(activeTime, i, entry.activeTime); in setValues()
311 setLong(rxBytes, i, entry.rxBytes); in setValues()
312 setLong(rxPackets, i, entry.rxPackets); in setValues()
313 setLong(txBytes, i, entry.txBytes); in setValues()
314 setLong(txPackets, i, entry.txPackets); in setValues()
315 setLong(operations, i, entry.operations); in setValues()
472 setLong(activeTime, index, 0L); in insertBucket()
473 setLong(rxBytes, index, 0L); in insertBucket()
474 setLong(rxPackets, index, 0L); in insertBucket()
475 setLong(txBytes, index, 0L); in insertBucket()
[all …]
/frameworks/base/core/java/android/os/
DBatteryProperty.java49 public void setLong(long val) { in setLong() method in BatteryProperty
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java496 return setLong(userId, uid, rootAlias, RootOfTrustEntry.COLUMN_NAME_CERT_SERIAL, in setRecoveryServiceCertSerial()
791 return setLong(userId, uid, in setCounterId()
851 return setLong(userId, uid, in setSnapshotVersion()
890 return setLong(userId, uid, in setShouldCreateSnapshot()
977 private long setLong(int userId, int uid, String key, long value) { in setLong() method in RecoverableKeyStoreDb
1227 private long setLong(int userId, int uid, String rootAlias, String key, long value) { in setLong() method in RecoverableKeyStoreDb
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java915 setLong(LOCK_PASSWORD_SALT_KEY, salt, userId); in getSalt()
1105 private void setLong(String secureSettingKey, long value, int userHandle) { in setLong() method in LockPatternUtils
1107 getLockSettings().setLong(secureSettingKey, value, userHandle); in setLong()
1661 setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 1L, UserHandle.USER_SYSTEM); in enableSyntheticPassword()
1665 setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 0L, UserHandle.USER_SYSTEM); in disableSyntheticPassword()
DILockSettings.aidl37 void setLong(in String key, in long value, in int userId); in setLong() method
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java1279 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
1285 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
1291 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
1297 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
1303 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
1309 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java891 setLong(OWNER_INFO_ENABLED, enabled ? 1 : 0, userId); in migrateOldData()
895 setLong(OWNER_INFO_ENABLED, 1, userId); in migrateOldData()
917 setLong(LockPatternUtils.PASSWORD_TYPE_KEY, in migrateOldData()
921 setLong(LockPatternUtils.PASSWORD_TYPE_ALTERNATE_KEY, in migrateOldData()
1198 public void setLong(String key, long value, int userId) { in setLong() method in LockSettingsService
1200 mStorage.setLong(key, value, userId); in setLong()
1232 mStorage.setLong(LockPatternUtils.PASSWORD_TYPE_KEY, quality, userId); in setKeyguardStoredQuality()
1843 setLong(LockPatternUtils.LOCK_PASSWORD_SALT_KEY, salt, userId); in getSalt()
2870 setLong(SYNTHETIC_PASSWORD_HANDLE_KEY, handle, userId); in setSyntheticPasswordHandleLocked()
2871 setLong(PREV_SYNTHETIC_PASSWORD_HANDLE_KEY, oldHandle, userId); in setSyntheticPasswordHandleLocked()
[all …]
DRebootEscrowManager.java729 mStorage.setLong(REBOOT_ESCROW_KEY_ARMED_TIMESTAMP, mInjector.getCurrentTimeMillis(), in armRebootEscrowIfNeeded()
DLockSettingsStorage.java606 public void setLong(String key, long value, int userId) { in setLong() method in LockSettingsStorage
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java71 Array.setLong(arr, index, i); in getPrimitiveArrayFiller()
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.cpp212 virtual bool setLong(ExifIfd ifd, ExifTag tag, uint32_t value, const std::string& msg);
250 if (setLong(ifd, tag, value, #tag) == false) \
818 bool ExifUtilsImpl::setLong(ExifIfd ifd, ExifTag tag, uint32_t value, const std::string& msg) { in setLong() function in android::camera3::ExifUtilsImpl
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DSyntheticPasswordTests.java94 mService.setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 0, UserHandle.USER_SYSTEM); in disableSyntheticPassword()
98 mService.setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 1, UserHandle.USER_SYSTEM); in enableSyntheticPassword()
DRebootEscrowManagerTests.java494 mStorage.setLong(RebootEscrowManager.REBOOT_ESCROW_KEY_ARMED_TIMESTAMP, 10000L, in loadRebootEscrowDataIfAvailable_Success()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarTest.java194 .setLong(HOME_BUTTON_LONG_PRESS_DURATION_MS, 100) in testHomeLongPressWithCustomDuration()
/frameworks/base/media/java/android/media/
DMediaFormat.java1632 public final void setLong(@NonNull String name, long value) { in setLong() method in MediaFormat
/frameworks/base/core/java/android/provider/
DDeviceConfig.java1293 public Builder setLong(@NonNull String name, long value) { in setLong() method in DeviceConfig.Properties.Builder
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java606 mField.setLong(object, Long.parseLong(value.trim())); in setField()
/frameworks/base/core/tests/coretests/src/android/provider/
DDeviceConfigTest.java576 .setBoolean(KEY2, booleanValue).setInt(KEY3, intValue).setLong(key4, longValue) in propertiesBuilder()
/frameworks/base/apex/media/framework/java/android/media/
DMediaParser.java2058 result.setLong("subsample-offset-us-long", format.subsampleOffsetUs); in toMediaFormat()
/frameworks/base/core/java/android/app/
DNotification.java5406 contentView.setLong(R.id.chronometer, "setBase", in bindHeaderChronometerAndTime()
5414 contentView.setLong(R.id.time, "setTime", mN.when); in bindHeaderChronometerAndTime()
5420 contentView.setLong(R.id.time, "setTime", mN.when != 0 ? mN.when : mN.creationTime); in bindHeaderChronometerAndTime()
/frameworks/base/core/java/android/widget/
DRemoteViews.java4203 setLong(viewId, "setBase", base);
4950 public void setLong(@IdRes int viewId, String methodName, long value) {
/frameworks/base/config/
Dboot-profile.txt849 Landroid/net/NetworkStatsHistory;->setLong([JIJ)V
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java400 mDeviceConfigPropertiesBuilder.setLong(key, val); in setDeviceConfigLong()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt14945 method public final void setLong(java.lang.String, long);
38228 method public void setLong(int, java.lang.String, long);
42367 …method public static void setLong(java.lang.Object, int, long) throws java.lang.ArrayIndexOutOfBou…
42413 …method public void setLong(java.lang.Object, long) throws java.lang.IllegalAccessException, java.l…
45913 method public abstract void setLong(java.lang.String, long) throws java.sql.SQLException;
46359 method public abstract void setLong(int, long) throws java.sql.SQLException;
53203 method public abstract void setLong(int, long) throws java.sql.SQLException;
53204 method public abstract void setLong(java.lang.String, long) throws java.sql.SQLException;

12