/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowTextUtilsTest.java | 7 import android.text.TextUtils; 17 …assertThat(TextUtils.expandTemplate("a^1b^2c^3d", "A", "B", "C", "D").toString()).isEqualTo("aAbBc… in testExpandTemplate() 22 assertThat(TextUtils.isEmpty(null)).isTrue(); in testIsEmpty() 23 assertThat(TextUtils.isEmpty("")).isTrue(); in testIsEmpty() 24 assertThat(TextUtils.isEmpty(" ")).isFalse(); in testIsEmpty() 25 assertThat(TextUtils.isEmpty("123")).isFalse(); in testIsEmpty() 29 assertThat(TextUtils.join(",", new String[]{"1"})).isEqualTo("1"); in testJoin() 30 assertThat(TextUtils.join(",", new String[]{"1", "2", "3"})).isEqualTo("1,2,3"); in testJoin() 31 assertThat(TextUtils.join(",", Arrays.asList("1", "2", "3"))).isEqualTo("1,2,3"); in testJoin() 36 assertThat(TextUtils.isDigitsOnly("123456")).isTrue(); in testIsDigitsOnly() [all …]
|
/external/smali/util/src/test/java/org/jf/util/ |
D | TextUtilsTest.java | 40 Assert.assertEquals("", TextUtils.stripComments("#world")); in testStripComments() 41 Assert.assertEquals("hello", TextUtils.stripComments("hello#world")); in testStripComments() 42 … Assert.assertEquals("multi\nline", TextUtils.stripComments("multi#hello world\nline#world")); in testStripComments() 47 Assert.assertEquals("", TextUtils.normalizeWhitespace(" ")); in testNormalizeWhitespace() 48 Assert.assertEquals("hello", TextUtils.normalizeWhitespace("hello ")); in testNormalizeWhitespace() 49 Assert.assertEquals("hello", TextUtils.normalizeWhitespace(" hello")); in testNormalizeWhitespace() 50 Assert.assertEquals("hello", TextUtils.normalizeWhitespace(" hello ")); in testNormalizeWhitespace() 51 Assert.assertEquals("hello\nworld", TextUtils.normalizeWhitespace("hello \n \n world")); in testNormalizeWhitespace()
|
/external/ims/rcs/rcsmanager/src/java/com/android/ims/internal/ |
D | ContactNumberUtils.java | 35 import android.text.TextUtils; 76 if (TextUtils.isEmpty(number)) { in format() 82 if (TextUtils.isEmpty(number)) { in format() 144 if (TextUtils.isEmpty(number)) { in validate() 150 if (TextUtils.isEmpty(number)) { in validate() 349 if(TextUtils.isEmpty(tempNumber)) { in isInExcludedList() 359 if(TextUtils.isEmpty(tempNumber)) { in isInExcludedList()
|
D | Logger.java | 34 import android.text.TextUtils; 70 if(!TextUtils.isEmpty(tagName)) { in Logger() 202 if(TextUtils.isEmpty(number) || mRcsTestMode || number.length() <= 2) { in hidePhoneNumberPii()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowTextUtils.java | 4 import android.text.TextUtils; 5 import android.text.TextUtils.TruncateAt; 13 @Implements(TextUtils.class)
|
D | ShadowSmsManager.java | 8 import android.text.TextUtils; 42 if (TextUtils.isEmpty(destinationAddress)) { in sendDataMessage() 56 if (TextUtils.isEmpty(destinationAddress)) { in sendTextMessage() 60 if (TextUtils.isEmpty(text)) { in sendTextMessage() 74 if (TextUtils.isEmpty(destinationAddress)) { in sendMultipartTextMessage()
|
D | ShadowMediaRouter.java | 10 import android.text.TextUtils; 80 TextUtils.writeToParcel(bluetoothDeviceName, p, /* parcelableFlags= */ 0); in newAudioRouteInfo()
|
/external/volley/src/main/java/com/android/volley/ |
D | Header.java | 18 import android.text.TextUtils; 45 return TextUtils.equals(mName, header.mName) && TextUtils.equals(mValue, header.mValue); in equals()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
D | GlideUrl.java | 4 import android.text.TextUtils; 39 if (TextUtils.isEmpty(url)) { in GlideUrl() 67 if (TextUtils.isEmpty(stringUrl)) { in toString()
|
/external/droiddriver/src/io/appium/droiddriver/validators/ |
D | DefaultAccessibilityValidator.java | 20 import android.text.TextUtils; 82 return !TextUtils.isEmpty(element.getContentDescription()) in hasContentDescriptionOrText() 83 || !TextUtils.isEmpty(element.getText()); in hasContentDescriptionOrText()
|
D | ExemptedClassesValidator.java | 19 import android.text.TextUtils; 37 if (TextUtils.isEmpty(className)) { in isApplicable()
|
/external/smali/baksmali/src/test/java/org/jf/baksmali/ |
D | BaksmaliTestUtils.java | 42 import org.jf.util.TextUtils; 77 smaliText = TextUtils.stripComments(smaliText); in normalizeSmali() 79 return TextUtils.normalizeWhitespace(smaliText); in normalizeSmali()
|
D | AnalysisTest.java | 45 import org.jf.util.TextUtils; 125 Assert.assertEquals(TextUtils.normalizeWhitespace(smaliContents), in runTest() 126 TextUtils.normalizeWhitespace((stringWriter.toString()))); in runTest()
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | CapabilityPolling.java | 48 import android.text.TextUtils; 318 if (TextUtils.isEmpty(mdn_old) && TextUtils.isEmpty(subscriberId_old)) { in publishStateChanged() 393 if (TextUtils.isEmpty(number)) { in newContactAdded() 758 if (TextUtils.isEmpty(mdn_old)) { in onSimLoaded() 762 if (TextUtils.isEmpty(subscriberId_old)) { in onSimLoaded() 768 if (TextUtils.isEmpty(mdn) && TextUtils.isEmpty(subscriberId)) { in onSimLoaded() 773 if (TextUtils.isEmpty(mdn) || PhoneNumberUtils.compare(mdn_old, mdn)) { in onSimLoaded() 777 if (TextUtils.isEmpty(subscriberId) || subscriberId.equals(subscriberId_old)) { in onSimLoaded()
|
D | EABContactManager.java | 42 import android.text.TextUtils; 152 if (TextUtils.isEmpty(number)) { in Request() 374 if (!TextUtils.isEmpty(mContactNumber)) { in toString() 377 if (!TextUtils.isEmpty(mContactName)) { in toString() 547 if (!TextUtils.isEmpty(mContactNumber)) { in runQuery() 599 if (!TextUtils.isEmpty(mContactNumber)) { in toString() 676 if ((id == -1) && TextUtils.isEmpty(number)) { in update() 877 if (TextUtils.isEmpty(number)) { in update() 904 if (!TextUtils.isEmpty(lteCallContactAddress)) { in update() 922 if (!TextUtils.isEmpty(videoCallContactAddress)) { in update()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | MmsFileProvider.java | 24 import android.text.TextUtils; 74 int mode = (TextUtils.equals(fileMode, "r") ? ParcelFileDescriptor.MODE_READ_ONLY : in openFile()
|
/external/grpc-grpc/examples/android/helloworld/app/src/main/java/io/grpc/helloworldexample/cpp/ |
D | HelloworldActivity.java | 23 import android.text.TextUtils; 99 int port = TextUtils.isEmpty(portStr) ? 50051 : Integer.valueOf(portStr); in startOrStopServer() 136 int port = TextUtils.isEmpty(portStr) ? 50051 : Integer.valueOf(portStr); in doInBackground()
|
/external/droiddriver/src/io/appium/droiddriver/finders/ |
D | XPaths.java | 19 import android.text.TextUtils; 134 sb.append(TextUtils.join("\",'\"',\"", value.split("\""))); in quoteXPathLiteral()
|
D | Predicates.java | 19 import android.text.TextUtils; 117 return "allOf(" + TextUtils.join(", ", components) + ")"; 152 return "anyOf(" + TextUtils.join(", ", components) + ")";
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
D | Logs.java | 19 import android.text.TextUtils; 37 TextUtils.join(", ", args))); in call()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/stream/ |
D | BaseGlideUrlLoader.java | 4 import android.text.TextUtils; 50 if (TextUtils.isEmpty(stringURL)) { in getResourceFetcher()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/ |
D | TelephonyTestProvider.java | 24 import android.text.TextUtils; 88 int mode = (TextUtils.equals(fileMode, "r") ? ParcelFileDescriptor.MODE_READ_ONLY : in openFile()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
D | HttpUrlFetcher.java | 3 import android.text.TextUtils; 74 if (TextUtils.isEmpty(redirectUrlString)) { in loadDataWithRedirects()
|
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/env/ |
D | Size.java | 19 import android.text.TextUtils; 61 if (TextUtils.isEmpty(sizeString)) { in parseFromString()
|
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/env/ |
D | Size.java | 19 import android.text.TextUtils; 61 if (TextUtils.isEmpty(sizeString)) { in parseFromString()
|