Home
last modified time | relevance | path

Searched refs:initialValue (Results 1 – 11 of 11) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DTimeout.java57 public Timeout(String name, long initialValue, float multiplier, long maxValue) { in Timeout() argument
58 this(DEFAULT_SLEEPER, name, initialValue, multiplier, maxValue); in Timeout()
62 Timeout(@NonNull Sleeper sleeper, String name, long initialValue, float multiplier, in Timeout() argument
64 if (initialValue < 1 || maxValue < 1 || initialValue > maxValue) { in Timeout()
66 "invalid initial and/or max values: " + initialValue + " and " + maxValue); in Timeout()
76 mCurrentValue = initialValue; in Timeout()
/cts/tests/tests/provider/src/android/provider/cts/settings/
DSettingsTest.java253 final int initialValue = Settings.System.getInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromSameProcess() local
266 Settings.System.VIBRATE_WHEN_RINGING, initialValue); in testNoStaleValueModifiedFromSameProcess() local
272 final int initialValue = Settings.System.getInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromOtherProcess() local
285 Settings.System.VIBRATE_WHEN_RINGING, initialValue); in testNoStaleValueModifiedFromOtherProcess() local
291 final int initialValue = Settings.System.getInt(getContext().getContentResolver(), in testNoStaleValueModifiedFromMultipleProcesses() local
310 Settings.System.VIBRATE_WHEN_RINGING, initialValue); in testNoStaleValueModifiedFromMultipleProcesses() local
316 final int initialValue = Settings.System.getInt(getContext().getContentResolver(), in testUriChangesUpdatingFromDifferentProcesses() local
333 final int anotherValue = initialValue == 1 ? 0 : 1; in testUriChangesUpdatingFromDifferentProcesses()
337 + " system " + Settings.System.VIBRATE_WHEN_RINGING + " " + initialValue); in testUriChangesUpdatingFromDifferentProcesses() local
343 + " system " + Settings.System.VIBRATE_WHEN_RINGING + " " + initialValue); in testUriChangesUpdatingFromDifferentProcesses() local
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/settings/
DSettingsSession.java96 T initialValue; in SettingsSession() local
99 initialValue = get(uri, getter); in SettingsSession()
102 initialValue = null; in SettingsSession()
105 mInitialValue = initialValue; in SettingsSession()
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/playback/
DHdmiCecDeviceSelectForPlaybackTest.java77 private int getUnusedPhysicalAddress(int initialValue, int usedValue) { in getUnusedPhysicalAddress() argument
79 if (initialValue == usedValue) { in getUnusedPhysicalAddress()
83 return initialValue; in getUnusedPhysicalAddress()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDevicePolicyLoggingTest.java146 final boolean initialValue = in testDisallowAdjustVolumeMutedLogged()
150 mDevicePolicyManager.setMasterVolumeMuted(ADMIN_RECEIVER_COMPONENT, initialValue); in testDisallowAdjustVolumeMutedLogged()
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/
DAppCompatOverridesServiceTest.java328 private void restoreFlagValue(String flagName, String initialValue) throws Exception { in restoreFlagValue() argument
329 if (initialValue.equals("null")) { in restoreFlagValue()
332 putFlagValue(flagName, initialValue); in restoreFlagValue()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java1073 final AutofillValue initialValue = username.getAutofillValue();
1081 assertBasicRequestInfo(request1, mActivity, usernameId, initialValue);
1114 final AutofillValue initialValue = username.getAutofillValue();
1122 assertBasicRequestInfo(request1, mActivity, usernameId, initialValue);
/cts/tests/tests/widget/src/android/widget/cts/
DNumberPickerTest.java539 final int initialValue = numberPicker.getSelectionDividerHeight(); in testSelectionDividerHeight() local
540 assertEquals("Height set via XML", 4, initialValue); in testSelectionDividerHeight()
DTextViewTest.java8641 final int initialValue = -1;
8642 assertEquals(initialValue, textView.getAutoSizeStepGranularity());
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DTelephonyRegistryManagerTest.java799 boolean initialValue = queue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in testCarrierRoamingNtnModeChanged()
811 SubscriptionManager.getDefaultSubscriptionId(), initialValue)); in testCarrierRoamingNtnModeChanged()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteDatabaseTest.java444 long initialValue = database.getPageSize(); in testAccessPageSize() local
447 database.setPageSize(initialValue); in testAccessPageSize()
448 assertEquals(initialValue, database.getPageSize()); in testAccessPageSize()