Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
H A DAppStandbyControllerTests.java1035 .setLong("screen_threshold_active", -1) in testTimeout_InvalidThresholds()
1037 .setLong("screen_threshold_frequent", -1) in testTimeout_InvalidThresholds()
1038 .setLong("screen_threshold_rare", -1) in testTimeout_InvalidThresholds()
1040 .setLong("elapsed_threshold_active", -1) in testTimeout_InvalidThresholds()
1042 .setLong("elapsed_threshold_frequent", -1) in testTimeout_InvalidThresholds()
1043 .setLong("elapsed_threshold_rare", -1) in testTimeout_InvalidThresholds()
1846 .setLong("elapsed_threshold_active", -1) in testChangingSettings_ElapsedThreshold_Invalid()
1849 .setLong("elapsed_threshold_rare", -1) in testChangingSettings_ElapsedThreshold_Invalid()
1910 .setLong("screen_threshold_active", -1) in testChangingSettings_ScreenThreshold_Invalid()
1912 .setLong("screen_threshold_frequent", -1) in testChangingSettings_ScreenThreshold_Invalid()
[all …]
/aosp12/frameworks/base/core/java/android/net/
H A 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()
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()
476 setLong(txPackets, index, 0L); in insertBucket()
[all …]
/aosp12/frameworks/base/core/java/android/os/
H A DBatteryProperty.java49 public void setLong(long val) { in setLong() method in BatteryProperty
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
H A DSampleChunkIoHelper.java212 mediaFormat.setLong(MediaFormat.KEY_DURATION, mBufferDurationUs); in init()
216 mediaFormat.setLong(MediaFormat.KEY_DURATION, mBufferDurationUs); in init()
371 mediaFormat.setLong(MediaFormat.KEY_DURATION, mBufferDurationUs); in release()
375 mediaFormat.setLong(MediaFormat.KEY_DURATION, mBufferDurationUs); in release()
H A DDvrStorageManager.java100 mediaFormat.setLong(key, val); in readFormatLong()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
H A 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
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java916 setLong(LOCK_PASSWORD_SALT_KEY, salt, userId); in getSalt()
1106 private void setLong(String secureSettingKey, long value, int userHandle) { in setLong() method in LockPatternUtils
1108 getLockSettings().setLong(secureSettingKey, value, userHandle); in setLong()
1670 setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 1L, UserHandle.USER_SYSTEM); in enableSyntheticPassword()
1674 setLong(SYNTHETIC_PASSWORD_ENABLED_KEY, 0L, UserHandle.USER_SYSTEM); in disableSyntheticPassword()
H A DILockSettings.aidl37 void setLong(in String key, in long value, in int userId); in setLong() method
/aosp12/art/test/569-checker-pattern-replacement/src/
H A DMain.java246 public static long setLong(Second s, long value) { in setLong() method in Main
1182 assertEquals(111L, setLong(s, 111L)); in main()
/aosp12/frameworks/base/services/core/java/com/android/server/
H A 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()
/aosp12/art/test/959-invoke-polymorphic-accessors/src/
H A DMain.java263 static void setLong(MethodHandle m, ValueHolder v, long value, boolean expectFailure) in setLong() method in Main.InvokeExactTester
280 static void setLong(MethodHandle m, long value, boolean expectFailure) throws Throwable { in setLong() method in Main.InvokeExactTester
281 setLong(m, null, value, expectFailure); in setLong()
523 setLong(methodHandle, valueHolder, longValue, in tryAccessor()
525 setLong(methodHandle, longValue, in tryAccessor()
/aosp12/frameworks/base/services/core/java/com/android/server/locksettings/
H A 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 …]
/aosp12/hardware/interfaces/camera/common/1.0/default/
H A DExif.cpp283 virtual bool setLong(ExifIfd ifd,
327 if (setLong(ifd, tag, value, #tag) == false) \
888 bool ExifUtilsImpl::setLong(ExifIfd ifd, in setLong() function in android::hardware::camera::common::V1_0::helper::ExifUtilsImpl
/aosp12/art/test/045-reflect-array/src/
H A DMain.java140 Array.setLong(longArray, 1, 0x1122334455667788L); in testSingleLong()
/aosp12/frameworks/av/services/camera/libcameraservice/utils/
H A 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
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
H A DSampleChunkIoHelper.java210 format.setLong(android.media.MediaFormat.KEY_DURATION, mBufferDurationUs); in init()
327 format.setLong(android.media.MediaFormat.KEY_DURATION, mBufferDurationUs); in release()
H A DDvrStorageManager.java100 format.setLong(key, val); in readFormatLong()
/aosp12/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableArray.java71 Array.setLong(arr, index, i); in getPrimitiveArrayFiller()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
H A 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()
/aosp12/packages/modules/StatsD/statsd/src/
H A DFieldValue.h312 void setLong(int64_t v) { in setLong() function
H A DFieldValue.cpp329 v.setLong(long_value - that.long_value); in operator -()
/aosp12/packages/modules/StatsD/statsd/src/metrics/
H A DMetricProducer.cpp328 value->mValue.setLong(valueIt->second); in mapStateValue()
/aosp12/art/test/046-reflect/src/
H A DMain.java256 field.setLong(instance, 0x9988776655443322L); in run()
288 field.setLong(instance, 123); in run()
/aosp12/packages/apps/TV/tuner/sampletunertvinput/src/com/android/tv/samples/sampletunertvinput/
H A DSampleTunerTvInputService.java64 VIDEO_FORMAT.setLong(MediaFormat.KEY_DURATION, 9933333); in VIDEO_FORMAT.setLong()
/aosp12/art/test/100-reflect2/src/
H A DMain.java63 f.setLong(null, 63); in testFieldReflection()

123