Home
last modified time | relevance | path

Searched refs:subString (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessage.java413 public void expect(String subString) throws IllegalArgumentException { in expect() argument
415 if (line == null || subString == null) { in expect()
417 } else if (!line.toUpperCase().contains(subString.toUpperCase())) { in expect()
419 "Expected \"" + subString + "\" in: \"" + line + "\""); in expect()
430 public void expect(String subString, String subString2) throws IllegalArgumentException { in expect() argument
432 if (!line.toUpperCase().contains(subString.toUpperCase())) { in expect()
434 "Expected \"" + subString + "\" in: \"" + line + "\""); in expect()
438 "Expected \"" + subString + "\" in: \"" + line + "\""); in expect()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DPermissionHelperTest.java127 private void assertExceptionMessageContains(Exception exception, String subString) { in assertExceptionMessageContains() argument
129 .contains(subString); in assertExceptionMessageContains()