Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapbMessage.java432 public void expect(String subString) throws IllegalArgumentException { in expect() argument
434 if (line == null || subString == null) { in expect()
436 } else if (!line.toUpperCase().contains(subString.toUpperCase())) { in expect()
438 "Expected \"" + subString + "\" in: \"" + line + "\""); in expect()
447 public void expect(String subString, String subString2) throws IllegalArgumentException { in expect() argument
449 if (!line.toUpperCase().contains(subString.toUpperCase())) { in expect()
451 "Expected \"" + subString + "\" in: \"" + line + "\""); in expect()
455 "Expected \"" + subString + "\" in: \"" + line + "\""); in expect()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DPermissionHelperTest.java130 private void assertExceptionMessageContains(Exception exception, String subString) { in assertExceptionMessageContains() argument
132 .contains(subString); in assertExceptionMessageContains()