Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/health/
DHealthServiceWrapperAidl.java123 prop.setLong(service.getChargeCounterUah()); in getPropertyInternal()
126 prop.setLong(service.getCurrentNowMicroamps()); in getPropertyInternal()
129 prop.setLong(service.getCurrentAverageMicroamps()); in getPropertyInternal()
132 prop.setLong(service.getCapacity()); in getPropertyInternal()
135 prop.setLong(service.getChargeStatus()); in getPropertyInternal()
138 prop.setLong(service.getEnergyCounterNwh()); in getPropertyInternal()
142 prop.setLong(healthData.batteryManufacturingDateSeconds); in getPropertyInternal()
146 prop.setLong(healthData.batteryFirstUsageSeconds); in getPropertyInternal()
149 prop.setLong(service.getChargingPolicy()); in getPropertyInternal()
153 prop.setLong(healthData.batteryStateOfHealth); in getPropertyInternal()
[all …]
DHealthServiceWrapperHidl.java81 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
88 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
95 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
102 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
109 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
116 if (result == Result.SUCCESS) prop.setLong(value); in getProperty()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java250 .setLong("screen_threshold_active", 0)
251 .setLong("screen_threshold_working_set", 0)
252 .setLong("screen_threshold_frequent", 0)
253 .setLong("screen_threshold_rare", HOUR_MS)
255 .setLong("elapsed_threshold_active", 0)
256 .setLong("elapsed_threshold_working_set", WORKING_SET_THRESHOLD)
257 .setLong("elapsed_threshold_frequent", FREQUENT_THRESHOLD)
258 .setLong("elapsed_threshold_rare", RARE_THRESHOLD)
259 .setLong("elapsed_threshold_restricted", RESTRICTED_THRESHOLD);
1178 .setLong("screen_threshold_active", -1) in testTimeout_InvalidThresholds()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DUserSettingDeviceConfigMediatorTest.java42 .setLong("long", 123456789) in testDeviceConfigOnly()
124 .setLong("long", 60000001) in testSettingsOverridesAll()
125 .setLong("longOnlyInDeviceConfig", 7357) in testSettingsOverridesAll()
207 .setLong("long", 60000001) in testSettingsOverridesIndividual()
208 .setLong("longOnlyInDeviceConfig", 7357) in testSettingsOverridesIndividual()
/frameworks/base/core/java/android/os/
DBatteryProperty.java58 public void setLong(long val) { in setLong() method in BatteryProperty
/frameworks/native/libs/binder/tests/
DIBinderRecordReplayTest.aidl34 void setLong(long input); in setLong() method
DbinderRecordReplayTest.cpp269 recordReplay(&IBinderRecordReplayTest::setLong, int64_t{1LL << 55}, in TEST_F()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDeferredDisplayUpdaterDiffTest.java175 field.setLong(first, 1L); in setDifferentFieldValues()
176 field.setLong(second, 2L); in setDifferentFieldValues()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDb.java544 return setLong(userId, uid, rootAlias, RootOfTrustEntry.COLUMN_NAME_CERT_SERIAL, in setRecoveryServiceCertSerial()
839 return setLong(userId, uid, in setCounterId()
899 return setLong(userId, uid, in setSnapshotVersion()
938 return setLong(userId, uid, in setShouldCreateSnapshot()
1025 private long setLong(int userId, int uid, String key, long value) { in setLong() method in RecoverableKeyStoreDb
1275 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/
DILockSettings.aidl41 void setLong(in String key, in long value, in int userId); in setLong() method
DLockPatternUtils.java994 setLong(LOCK_PASSWORD_SALT_KEY, salt, userId); in getSalt()
1178 private void setLong(String secureSettingKey, long value, int userHandle) { in setLong() method in LockPatternUtils
1180 getLockSettings().setLong(secureSettingKey, value, userHandle); in setLong()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeDiffTest.java398 f.setLong(a, 200L); in generateFieldDiffs()
400 f.setLong(b, 100L); in generateFieldDiffs()
/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/mockingservicestests/src/com/android/server/job/controllers/idle/
DDeviceIdlenessTrackerTest.java161 mDeviceConfigPropertiesBuilder.setLong(key, val); in setDeviceConfigLong()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java1377 public void setLong(String key, long value, int userId) { in setLong() method in LockSettingsService
1380 mStorage.setLong(key, value, userId); in setLong()
1991 setLong(LockPatternUtils.LOCK_PASSWORD_SALT_KEY, salt, userId); in getSalt()
2993 setLong(CURRENT_LSKF_BASED_PROTECTOR_ID_KEY, newProtectorId, userId); in setCurrentLskfBasedProtectorId()
2994 setLong(PREV_LSKF_BASED_PROTECTOR_ID_KEY, oldProtectorId, userId); in setCurrentLskfBasedProtectorId()
2995 setLong(LSKF_LAST_CHANGED_TIME_KEY, System.currentTimeMillis(), userId); in setCurrentLskfBasedProtectorId()
DRebootEscrowManager.java976 mStorage.setLong(REBOOT_ESCROW_KEY_ARMED_TIMESTAMP, mInjector.getCurrentTimeMillis(), in armRebootEscrowIfNeeded()
DLockSettingsStorage.java531 public void setLong(String key, long value, int userId) { in setLong() method in LockSettingsStorage
/frameworks/base/media/java/android/media/
DMediaFormat.java2095 public final void setLong(@NonNull String name, long value) { in setLong() method in MediaFormat
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DApnSettingTest.java230 f.setLong(testApn, dummyLong + f.getLong(testApn)); in testEquals()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DPrefetchControllerTest.java221 mDeviceConfigPropertiesBuilder.setLong(key, val); in setDeviceConfigLong()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTests.java547 mService.setLong(null, 0, 0); in testSetLongRejectsNullKey()
DRebootEscrowManagerTests.java587 mStorage.setLong(RebootEscrowManager.REBOOT_ESCROW_KEY_ARMED_TIMESTAMP, 10000L, in loadRebootEscrowDataIfAvailable_Success()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java390 mConfigBuilder.setLong(JobConcurrencyManager.KEY_MAX_WAIT_UI_MS, 2 * 60_000L); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyRegRunning()
462 mConfigBuilder.setLong(JobConcurrencyManager.KEY_MAX_WAIT_UI_MS, 2 * 60_000L); in testDetermineAssignments_allPreferredUidOnly_mediumTimeLeft_onlyUiRunning()
/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.java675 .setBoolean(KEY2, booleanValue).setInt(KEY3, intValue).setLong(key4, longValue) in propertiesBuilder()

12