Home
last modified time | relevance | path

Searched refs:isEmpty (Results 1 – 25 of 167) sorted by relevance

1234567

/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java46 assertTrue(path.isEmpty()); in testAddRect1()
49 assertFalse(path.isEmpty()); in testAddRect1()
56 assertTrue(path.isEmpty()); in testAddRect2()
58 assertFalse(path.isEmpty()); in testAddRect2()
70 assertTrue(path.isEmpty()); in testSet()
74 assertFalse(path.isEmpty()); in testSet()
100 assertTrue(path.isEmpty()); in testRQuadTo()
102 assertFalse(path.isEmpty()); in testRQuadTo()
108 assertTrue(path.isEmpty()); in testTransform1()
112 assertFalse(dst.isEmpty()); in testTransform1()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DResultReporter.java43 if (isEmpty(mServerUrl)) { in reportResult()
53 if (!isEmpty(referenceUrl)) { in reportResult()
62 private static boolean isEmpty(String value) { in isEmpty() method in ResultReporter
63 return value == null || value.trim().isEmpty(); in isEmpty()
DIssueReporter.java178 if (isEmpty(mServerUrl) in call()
179 || isEmpty(mBuildId) in call()
180 || isEmpty(mBuildType) in call()
181 || isEmpty(mProductName) in call()
182 || isEmpty(mTestName) in call()
183 || isEmpty(mStackTrace)) { in call()
199 private boolean isEmpty(String value) { in isEmpty() method in IssueReporter.Issue
200 return value == null || value.trim().isEmpty(); in isEmpty()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestFilter.java158 if ((!mIncludedTests.isEmpty() || !mIncludedClasses.isEmpty()) in filter()
174 return !mExcludedClasses.isEmpty() || !mExcludedTests.isEmpty(); in hasExclusion()
181 return !mIncludedClasses.isEmpty() || !mIncludedTests.isEmpty(); in hasInclusion()
DGeeTest.java80 if (mPositiveFilters.isEmpty() && mNegativeFilters.isEmpty()) { in getGTestFilters()
87 if (mPositiveFilters != null && !mPositiveFilters.isEmpty()) { in getGTestFilters()
91 if (mNegativeFilters != null && ! mNegativeFilters.isEmpty()) { in getGTestFilters()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dsplay.js147 SplayTree.prototype.isEmpty = function() { method in SplayTree
161 if (this.isEmpty()) {
194 if (this.isEmpty()) {
225 if (this.isEmpty()) {
237 if (this.isEmpty()) {
253 if (this.isEmpty()) {
276 if (!this.isEmpty()) {
294 if (this.isEmpty()) {
/cts/tools/signature-tools/src/signature/model/impl/
DSigConstructor.java39 if (getTypeParameters() != null && !getTypeParameters().isEmpty()) { in toString()
46 builder.append(getParameters().isEmpty() ? "" : ModelUtil.separate( in toString()
49 if (getExceptions() != null && !getExceptions().isEmpty()) { in toString()
DSigMethod.java56 && !method.getTypeParameters().isEmpty()) { in toString()
65 builder.append(method.getParameters().isEmpty() ? "" : ModelUtil in toString()
69 && !method.getExceptions().isEmpty()) { in toString()
/cts/libs/vogar-expect/src/vogar/
DAnnotatedOutcome.java86 return previousResultValues.isEmpty() ? in getMostRecentResultValue()
112 return previousOutcomesList.isEmpty() in outcomeChanged()
125 if (previousResultValues.isEmpty()) { in recentlyChanged()
145 return runTimes.isEmpty() ? defaultValue : runTimes.get(runTimes.size() - 1); in lastRun()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeScanTest.java91 assertTrue("Scan results shouldn't be empty", !scanResults.isEmpty()); in testBasicBleScan()
129 assertTrue("Scan results shouldn't be empty", !scanResults.isEmpty()); in createScanFilter()
139 if (serviceData != null && !serviceData.isEmpty()) { in createScanFilter()
150 if (serviceUuids != null && !serviceUuids.isEmpty()) { in createScanFilter()
172 assertTrue(emptyScanCallback.getScanResults().isEmpty()); in testOpportunisticScan()
188 !emptyScanCallback.getScanResults().isEmpty()); in testOpportunisticScan()
198 emptyScanCallback.getScanResults().isEmpty()); in testOpportunisticScan()
220 assertTrue(!results.isEmpty()); in testBatchScan()
DAdvertiseDataTest.java52 assertTrue(dataFromParcel.getServiceData().isEmpty()); in testEmptyData()
53 assertTrue(dataFromParcel.getServiceUuids().isEmpty()); in testEmptyData()
66 assertTrue(dataFromParcel.getServiceUuids().isEmpty()); in testEmptyServiceUuid()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DListenerTest.java97 if (mExArgList.isEmpty()) { in check()
107 if (!mExArgList.isEmpty()) { in check()
145 if (mExArgList.isEmpty()) { in receiveCallback()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfoInstrument.java51 if (!TextUtils.isEmpty(collectorList)) { in onCreate()
53 if (!TextUtils.isEmpty(collector)) { in onCreate()
125 if (TextUtils.isEmpty(errorMessage)) { in runActivity()
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/
DTestFilterTest.java131 assertTrue(mFilter.filter(mTestList).isEmpty()); in testFilter_includeAndExcludeClasses()
141 assertTrue(mFilter.filter(mTestList).isEmpty()); in testFilter_includeAndExcludeTests()
151 assertTrue(mFilter.filter(mTestList).isEmpty()); in testFilter_includeTestAndExcludeClass()
175 assertTrue(mFilter.filter(mTestList).isEmpty()); in testFilter_includeClassAndExcludeTests()
DTestPackageXmlParserTest.java187 assertTrue(parser.getTestPackageDefs().isEmpty()); in testParse_noData()
253 assertTrue(firstInstance.isEmpty()); in testParse_instancedEmptys()
254 assertTrue(secondInstance.isEmpty()); in testParse_instancedEmptys()
270 assertTrue(targetInstances.isEmpty()); in testParse_instancedNoInstances()
/cts/tests/tests/os/src/android/os/cts/
DBuildTest.java73 if (!Build.CPU_ABI2.isEmpty()) { in testCpuAbiCommon()
82 if (!Build.CPU_ABI2.isEmpty()) { in testCpuAbi32()
91 if (!Build.CPU_ABI2.isEmpty()) { in testCpuAbi64()
98 if (value.isEmpty()) { in getStringList()
243 assertFalse(value.isEmpty()); in assertNotEmpty()
/cts/common/util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java53 assertFalse(summary.getLocation().isEmpty()); in testEncodeDecode()
61 assertFalse(detail.getLocation().isEmpty()); in testEncodeDecode()
/cts/tests/tests/telecom/src/android/telecom/cts/
DSimCallManagerTest.java72 if (!TextUtils.isEmpty(mSystemDialer)) { in setUp()
80 if (!TextUtils.isEmpty(mPreviousDefaultDialer)) { in tearDown()
105 if (!TextUtils.isEmpty(componentString)) { in testGetSimCallManager()
DDefaultDialerOperationsTest.java54 if (!TextUtils.isEmpty(mSystemDialer)) { in setUp()
59 if (accounts != null && !accounts.isEmpty()) { in setUp()
66 if (!TextUtils.isEmpty(mPreviousDefaultDialer)) { in tearDown()
/cts/tests/tests/permission2/src/android/permission2/cts/
DPermissionPolicyTest.java59 TextUtils.isEmpty(permission.loadLabel(packageManager))); in testPlatformDefinedRuntimePermissionValid()
61 TextUtils.isEmpty(permission.loadDescription(packageManager))); in testPlatformDefinedRuntimePermissionValid()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWifiConfigCreator.java140 if (!TextUtils.isEmpty(ssid)) { in createConfig()
161 if (!TextUtils.isEmpty(wifiPassword)) { in updateForWPAConfiguration()
170 if (!TextUtils.isEmpty(password)) { in updateForWEPConfiguration()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DPackageFilter.java39 if (mFilters.isEmpty()) { in accept()
/cts/tests/tests/telecom2/src/android/telecom/cts/
DDefaultDialerOperationsNoPermissionsTest.java45 if (!TextUtils.isEmpty(mSystemDialer)) { in setUp()
53 if (!TextUtils.isEmpty(mPreviousDefaultDialer)) { in tearDown()
/cts/tests/tests/widget/src/android/widget/cts/
DBaseAdapterTest.java96 assertTrue(baseAdapter.isEmpty()); in testIsEmpty()
99 assertFalse(baseAdapter.isEmpty()); in testIsEmpty()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensoroperations/
DParallelSensorOperation.java144 if (!exceptions.isEmpty() || !timeoutIndices.isEmpty()) { in execute()
183 if (!timeoutIndices.isEmpty()) { in getSummaryMessage()

1234567