Home
last modified time | relevance | path

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

12

/packages/apps/ExactCalculator/tests/src/com/android/calculator2/
DEvaluatorTest.java28 private static void check(boolean x, String s) { in check() method in EvaluatorTest
32 check(Evaluator.unflipZeroes("9.99", 2, "9.998", 3).equals("9.998"), "test 1"); in testUnflipZeroes()
33 check(Evaluator.unflipZeroes("9.99", 2, "10.0000", 4).equals("9.9999"), "test 2"); in testUnflipZeroes()
34 check(Evaluator.unflipZeroes("0.99", 2, "1.00000", 5).equals("0.99999"), "test 3"); in testUnflipZeroes()
35 check(Evaluator.unflipZeroes("0.99", 2, "1.00", 2).equals("0.99"), "test 4"); in testUnflipZeroes()
36 check(Evaluator.unflipZeroes("10.00", 2, "9.9999", 4).equals("9.9999"), "test 5"); in testUnflipZeroes()
37 check(Evaluator.unflipZeroes("-10.00", 2, "-9.9999", 4).equals("-9.9999"), "test 6"); in testUnflipZeroes()
38 check(Evaluator.unflipZeroes("-0.99", 2, "-1.00000000000000", 14) in testUnflipZeroes()
40 check(Evaluator.unflipZeroes("12349.99", 2, "12350.00000", 5).equals("12349.99999"), in testUnflipZeroes()
42 check(Evaluator.unflipZeroes("123.4999", 4, "123.5000000", 7).equals("123.4999999"), in testUnflipZeroes()
[all …]
DBRTest.java30 private static void check(boolean x, String s) { in check() method in BRTest
36 check(x.CRValue().compareTo(y, TEST_PREC) == 0, s); in checkEq()
69 check(x != null, "test data should not be null"); in checkBR()
91 check((long_x - 90) % 180 != 0, "missed undefined tan: " + x); in checkBR()
93 check((long_x - 90) % 180 == 0, "exception on defined tan: " + x); in checkBR()
130 check(b.toString().equals("4/-6"), "toString(4/-6)"); in testBR()
131 check(b.toNiceString().equals("-2/3"),"toNiceString(4/-6)"); in testBR()
139 check(BR_0.signum() == 0, "signum(0)"); in testBR()
140 check(BR_M1.signum() == -1, "signum(-1)"); in testBR()
141 check(BR_2.signum() == 1, "signum(2)"); in testBR()
[all …]
/packages/services/Car/
Dapicheck.mk109 .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-system-api
169 checkapi: $(car_module)-check-system-api
170 $(car_module): $(car_module)-check-system-api
[all …]
/packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/
DCarrierConfigTest.java32 public void check(XmlPullParser parser) throws XmlPullParserException, IOException { in testAllFilesParse()
46 public void check(XmlPullParser parser) throws XmlPullParserException, IOException { in testFilterValidAttributes()
80 public void check(XmlPullParser parser) throws XmlPullParserException, IOException { in testVariableNames()
122 void check(XmlPullParser parser) throws XmlPullParserException, IOException; in check() method
142 checker.check(parser); in forEachConfigXml()
151 checker.check(res.getXml(R.xml.vendor)); in forEachConfigXml()
/packages/services/Car/tests/carservice_test/src/com/android/support/car/test/
DCarPackageManagerTest.java59 public boolean check() { in testServiceLaunched()
67 public boolean check() { in testServiceLaunched()
140 boolean check(); in check() method
146 boolean checked = checker.check(); in pollingCheck()
150 checked = checker.check(); in pollingCheck()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndSubtypeEnabler.java262 private void updateImplicitlyEnabledSubtypes(final String targetImiId, final boolean check) { in updateImplicitlyEnabledSubtypes() argument
273 updateImplicitlyEnabledSubtypesOf(imi, check); in updateImplicitlyEnabledSubtypes()
278 private void updateImplicitlyEnabledSubtypesOf(final InputMethodInfo imi, final boolean check) { in updateImplicitlyEnabledSubtypesOf() argument
292 if (check) { in updateImplicitlyEnabledSubtypesOf()
/packages/apps/Nfc/src/com/android/nfc/
DNfceeAccessControl.java77 public boolean check(int uid, String pkg) { in check() method in NfceeAccessControl
109 public boolean check(ApplicationInfo info) { in check() method in NfceeAccessControl
DNfcService.java1953 if (mNfceeAccessControl.check(pkg.applicationInfo)) { in sendNfcEeAccessProtectedBroadcast()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTODO3 * ComponentContextFixture to have "setUp/tearDown" to check for things like un-released providers
/packages/apps/Calculator/
Darity-2.1.2.jar ... static boolean equal (double, double) static void check (double, double) static void check (org ...
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndbdic.c85 …oid get_stem_word(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, STEM_DATA_SET *stem_set, NJ_UINT8 check);
209 …void get_stem_word(NJ_DIC_HANDLE hdl, NJ_UINT8 *stem_data, STEM_DATA_SET *stem_set, NJ_UINT8 check) in get_stem_word() argument
295 if (check != 1) { in get_stem_word()
313 if (check == 0) { in get_stem_word()
1326 NJ_UINT8 check; in njd_b_get_word() local
1340 check = 0; in njd_b_get_word()
1349 check = 2; in njd_b_get_word()
1353 get_stem_word(loctset->loct.handle, data, &stem_set, check); in njd_b_get_word()
1361 if (check != 1) { in njd_b_get_word()
/packages/apps/Settings/src/com/android/settings/notification/
DRedactionInterstitial.java156 mRadioGroup.check(checkedButtonId); in loadFromSettings()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsTable.tmpl63 // Sanity check.
/packages/apps/ContactsCommon/src/com/android/contacts/common/widget/
DSelectPhoneAccountDialogFragment.java184 public void onCheckedChanged(CompoundButton check, boolean isChecked) { in onCreateDialog()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dfeatures.md35 …* For example, you can read a UTF-8 file, and let RapidJSON check whether all JSON strings are val…
Dfaq.md9 …RapidJSON is a C++ library for parsing and generating JSON. You may check all [features](doc/featu…
21 …Yes, it is free under MIT license. It can be used in commercial applications. Please check the det…
Dencoding.md76 For a detail example, please check the example in [DOM's Encoding](doc/stream.md) section.
Dpointer.md110 …nnot match a value in the DOM, it returns `nullptr`. User can use this to check whether a value ex…
Dtutorial.md164 …this incurs two lookup. A better way is to call `FindMember()`, which can check the existence of m…
188 When querying a number, you can check whether the number can be obtained as target type:
Dstream.md214 You can obtain the type of UTF via `UTFType GetType()`. And check whether a BOM is found by `HasBOM…
/packages/apps/Contacts/src/com/android/contacts/editor/
DCompactPhotoSelectionFragment.java249 final ImageView checkImageView = (ImageView) photoItemView.findViewById(R.id.check); in getView()
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
DRecurrencePickerDialog.java943 mMonthRepeatByRadioGroup.check(R.id.repeatMonthlyByNthDayOfMonth); in updateDialog()
945 mMonthRepeatByRadioGroup.check(R.id.repeatMonthlyByNthDayOfTheWeek); in updateDialog()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java551 mRequestSelection.check(R.id.focus_gain); in FocusHandler()
/packages/apps/Calendar/src/com/android/calendar/
DEventInfoFragment.java828 mResponseRadioGroup.check(buttonToCheck); in onAttach()
2004 mResponseRadioGroup.check(buttonToCheck); // -1 clear all radio buttons in updateResponse()
2097 mResponseRadioGroup.check(buttonId); in onResume()
/packages/apps/Calendar/src/com/android/calendar/event/
DEditEventView.java1188 mResponseRadioGroup.check(buttonToCheck); // -1 clear all radio buttons in setModel()

12