Searched refs:check (Results 1 - 24 of 24) sorted by relevance

/packages/apps/ExactCalculator/tests/src/com/android/calculator2/
H A DEvaluatorTest.java28 private static void check(boolean x, String s) { method in class:EvaluatorTest
32 check(Evaluator.unflipZeroes("9.99", 2, "9.998", 3).equals("9.998"), "test 1");
33 check(Evaluator.unflipZeroes("9.99", 2, "10.0000", 4).equals("9.9999"), "test 2");
34 check(Evaluator.unflipZeroes("0.99", 2, "1.00000", 5).equals("0.99999"), "test 3");
35 check(Evaluator.unflipZeroes("0.99", 2, "1.00", 2).equals("0.99"), "test 4");
36 check(Evaluator.unflipZeroes("10.00", 2, "9.9999", 4).equals("9.9999"), "test 5");
37 check(Evaluator.unflipZeroes("-10.00", 2, "-9.9999", 4).equals("-9.9999"), "test 6");
38 check(Evaluator.unflipZeroes("-0.99", 2, "-1.00000000000000", 14)
40 check(Evaluator.unflipZeroes("12349.99", 2, "12350.00000", 5).equals("12349.99999"),
42 check(Evaluato
[all...]
H A DBRTest.java30 private static void check(boolean x, String s) { method in class:BRTest
36 check(x.CRValue().compareTo(y, TEST_PREC) == 0, s);
69 check(x != null, "test data should not be null");
91 check((long_x - 90) % 180 != 0, "missed undefined tan: " + x);
93 check((long_x - 90) % 180 == 0, "exception on defined tan: " + x);
130 check(b.toString().equals("4/-6"), "toString(4/-6)");
131 check(b.toNiceString().equals("-2/3"),"toNiceString(4/-6)");
139 check(BR_0.signum() == 0, "signum(0)");
140 check(BR_M1.signum() == -1, "signum(-1)");
141 check(BR_
[all...]
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
H A DCarrierConfigTest.java32 public void check(XmlPullParser parser) throws XmlPullParserException, IOException {
46 public void check(XmlPullParser parser) throws XmlPullParserException, IOException {
80 public void check(XmlPullParser parser) throws XmlPullParserException, IOException {
90 // NOTE: This doesn't check for other valid Bundle values, but it
119 * {@link #check} should {@link #fail} if the test does not pass.
122 void check(XmlPullParser parser) throws XmlPullParserException, IOException; method in interface:CarrierConfigTest.ParserChecker
142 checker.check(parser);
151 checker.check(res.getXml(R.xml.vendor));
/packages/services/Car/
H A Dapicheck.mk24 # $(api_check_current_msg_file) - file containing error message for current API check
25 # $(api_check_last_msg_file) - file containing error message for last SDK API check
109 .PHONY: $(car_module)-check-public-api
110 checkapi: $(car_module)-check-public-api
111 $(car_module): $(car_module)-check-public-api
121 $(eval $(call check-api, \
131 $(car_module)-check-public-api, \
137 $(eval $(call check-api, \
147 $(car_module)-check-public-api, \
168 .PHONY: $(car_module)-check
[all...]
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/
H A DCarPackageManagerTest.java59 public boolean check() {
67 public boolean check() {
140 boolean check(); method in interface:CarPackageManagerTest.PollingChecker
146 boolean checked = checker.check();
150 checked = checker.check();
/packages/apps/Settings/tests/app/src/com/android/settings/notification/
H A DSoundSettingsIntegrationTest.java58 onView(withText(R.string.sound_settings_summary_silent)).check(matches(isDisplayed()));
68 onView(withText(R.string.sound_settings_summary_vibrate)).check(matches(isDisplayed()));
81 onView(withText(containsString(TRUNCATED_SUMMARY))).check(matches(isDisplayed()));
/packages/apps/Settings/tests/app/src/com/android/settings/dashboard/
H A DTabSelectionOnLaunchTest.java87 check(matches(not(isSelected())));
93 check(matches(isSelected()));
/packages/apps/Messaging/
H A DForceProguard.mk37 # End local intermediates directory existence check
40 # End LOCAL_MODULE is a build target check
/packages/apps/Settings/tests/app/src/com/android/settings/tests/
H A DPrivateVolumeSettingsTest.java41 onView(withText(com.android.settings.R.string.storage_menu_manage)).check(doesNotExist());
/packages/apps/Settings/src/com/android/settings/inputmethod/
H A DInputMethodAndSubtypeEnabler.java258 updateImplicitlyEnabledSubtypes(imiId, true /* check */);
262 private void updateImplicitlyEnabledSubtypes(final String targetImiId, final boolean check) { argument
273 updateImplicitlyEnabledSubtypesOf(imi, check);
278 private void updateImplicitlyEnabledSubtypesOf(final InputMethodInfo imi, final boolean check) { argument
292 if (check) {
308 updateImplicitlyEnabledSubtypes(null /* targetImiId */, true /* check */);
/packages/apps/Nfc/src/com/android/nfc/
H A DNfceeAccessControl.java77 public boolean check(int uid, String pkg) { method in class:NfceeAccessControl
109 public boolean check(ApplicationInfo info) { method in class:NfceeAccessControl
240 // check for duplicate package names
H A DNfcService.java493 // Sanity check mState
1996 if (mNfceeAccessControl.check(pkg.applicationInfo)) {
/packages/apps/Messaging/build/
H A Dgcheckstyle.mk24 # The set of input files to check
/packages/apps/Calculator/
H A Darity-2.1.2.jar ... arity.Complex) static boolean equal (double, double) static void check (double, double) static void check (org.javia.arity ...
/packages/apps/Settings/src/com/android/settings/notification/
H A DRedactionInterstitial.java174 mRadioGroup.check(checkedButtonId);
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndbdic.c85 static void get_stem_word(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, STEM_DATA_SET *stem_set, NJ_UINT8 check);
209 static void get_stem_word(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, STEM_DATA_SET *stem_set, NJ_UINT8 check) argument
295 if (check != 1) {
313 if (check == 0) {
1326 NJ_UINT8 check; local
1340 check = 0;
1349 check = 2;
1353 get_stem_word(loctset->loct.handle, data, &stem_set, check);
1361 if (check != 1) {
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DCompactPhotoSelectionFragment.java248 // Display a check icon over the primary photo
249 final ImageView checkImageView = (ImageView) photoItemView.findViewById(R.id.check);
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
H A DSelectPhoneAccountDialogFragment.java184 public void onCheckedChanged(CompoundButton check, boolean isChecked) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DAndroidWordLevelSpellCheckerSession.java149 // TODO: check if an equivalent processing can't be done more quickly with a
164 // words or a URI - in either case we don't want to spell check that
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
H A DAudioTestFragment.java551 mRequestSelection.check(R.id.focus_gain);
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
H A DRecurrencePickerDialog.java943 mMonthRepeatByRadioGroup.check(R.id.repeatMonthlyByNthDayOfMonth);
945 mMonthRepeatByRadioGroup.check(R.id.repeatMonthlyByNthDayOfTheWeek);
/packages/apps/Calendar/src/com/android/calendar/
H A DEventInfoFragment.java828 mResponseRadioGroup.check(buttonToCheck);
2004 mResponseRadioGroup.check(buttonToCheck); // -1 clear all radio buttons
2097 mResponseRadioGroup.check(buttonId);
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DStringUtil.java81 * @param string the string reference to check
389 // Have to check this argument, for compatibility with the old impl.
1331 // if it's numeric, also check for hex
1578 // If in JSON escaping mode, check JSON *and* JS escaping rules. The JS
1588 // Finally, just check the default JS escaping rules.
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventView.java1188 mResponseRadioGroup.check(buttonToCheck); // -1 clear all radio buttons
1398 // Extra canModify check just in case
1727 // TODO: can this happen? should we drop this check?

Completed in 1913 milliseconds