Home
last modified time | relevance | path

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

12345678910>>...13

/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java61 assertTrue(path.isEmpty()); in testAddRect1()
64 assertFalse(path.isEmpty()); in testAddRect1()
70 assertTrue(path.isEmpty()); in testAddRect2()
72 assertFalse(path.isEmpty()); in testAddRect2()
84 assertTrue(path.isEmpty()); in testSet()
135 assertTrue(path.isEmpty()); in testRQuadTo()
137 assertFalse(path.isEmpty()); in testRQuadTo()
143 assertTrue(path.isEmpty()); in testTransform1()
147 assertFalse(dst.isEmpty()); in testTransform1()
153 assertTrue(path.isEmpty()); in testLineTo()
[all …]
DOutlineTest.java40 assertTrue(outline.isEmpty()); in testDefaults()
101 assertTrue(outline.isEmpty());
104 assertTrue(outline.isEmpty());
107 assertTrue(outline.isEmpty());
110 assertFalse(outline.isEmpty());
116 assertFalse(outline.isEmpty());
128 assertTrue(outline.isEmpty());
131 assertTrue(outline.isEmpty());
134 assertTrue(outline.isEmpty());
137 assertFalse(outline.isEmpty());
[all …]
/cts/hostsidetests/appsecurity/test-apps/PermissionPolicy25/src/com/android/cts/permission/policy/
DPermissionPolicyTest25.java67 flagsToString += flagsToString.isEmpty() ? "runtimeOnly" : "|runtimeOnly"; in protectionFlagsToString()
71 flagsToString += flagsToString.isEmpty() ? "ephemeral" : "|ephemeral"; in protectionFlagsToString()
75 flagsToString += flagsToString.isEmpty() ? "appop" : "|appop"; in protectionFlagsToString()
79 flagsToString += flagsToString.isEmpty() ? "development" : "|development"; in protectionFlagsToString()
83 flagsToString += flagsToString.isEmpty() ? "installer" : "|installer"; in protectionFlagsToString()
87 flagsToString += flagsToString.isEmpty() ? "pre23" : "|pre23"; in protectionFlagsToString()
91 flagsToString += flagsToString.isEmpty() ? "privileged" : "|privileged"; in protectionFlagsToString()
95 flagsToString += flagsToString.isEmpty() ? "preinstalled" : "|preinstalled"; in protectionFlagsToString()
99 flagsToString += flagsToString.isEmpty() ? "system" : "|system"; in protectionFlagsToString()
103 flagsToString += flagsToString.isEmpty() ? "setup" : "|setup"; in protectionFlagsToString()
[all …]
/cts/hostsidetests/incident/src/com/android/server/cts/
DNotificationIncidentTest.java103 assertTrue(!rp.getPackage().isEmpty()); in verifyRecordProto()
132 assertTrue(zr.getId().isEmpty()); in verifyZenModeProto()
133 assertTrue(zr.getName().isEmpty()); in verifyZenModeProto()
134 assertTrue(zr.getConditionId().isEmpty()); in verifyZenModeProto()
136 assertTrue(cp.getId().isEmpty()); in verifyZenModeProto()
137 assertTrue(cp.getSummary().isEmpty()); in verifyZenModeProto()
138 assertTrue(cp.getLine1().isEmpty()); in verifyZenModeProto()
139 assertTrue(cp.getLine2().isEmpty()); in verifyZenModeProto()
143 assertFalse(zr.getId().isEmpty()); in verifyZenModeProto()
144 assertFalse(zr.getName().isEmpty()); in verifyZenModeProto()
[all …]
DSettingsIncidentTest.java85 assertTrue(op.getOperation().isEmpty()); in verifySettings()
86 assertTrue(op.getSetting().isEmpty()); in verifySettings()
151 assertFalse(settings.isEmpty()); in verifySettings()
159 if (!id.isEmpty()) { in verifySettings()
168 assertTrue(err, setting.getId().isEmpty()); in verifySettings()
169 assertTrue(err, setting.getName().isEmpty()); in verifySettings()
170 assertTrue(err, setting.getPkg().isEmpty()); in verifySettings()
171 assertTrue(err, setting.getValue().isEmpty()); in verifySettings()
172 assertTrue(err, setting.getDefaultValue().isEmpty()); in verifySettings()
177 assertTrue(err, setting.getId().isEmpty()); in verifySettings()
[all …]
DActivityManagerIncidentTest.java102 assertFalse(service.getShortName().isEmpty()); in testDumpServices()
103 assertFalse(service.getPackageName().isEmpty()); in testDumpServices()
104 assertFalse(service.getProcessName().isEmpty()); in testDumpServices()
105 assertFalse(service.getAppinfo().getBaseDir().isEmpty()); in testDumpServices()
106 assertFalse(service.getAppinfo().getDataDir().isEmpty()); in testDumpServices()
123 assertTrue(srp.getAppinfo().getBaseDir().isEmpty()); in verifyServiceRecordProto()
124 assertTrue(srp.getAppinfo().getResDir().isEmpty()); in verifyServiceRecordProto()
125 assertTrue(srp.getAppinfo().getDataDir().isEmpty()); in verifyServiceRecordProto()
127 assertFalse(srp.getAppinfo().getBaseDir().isEmpty()); in verifyServiceRecordProto()
128 assertFalse(srp.getAppinfo().getDataDir().isEmpty()); in verifyServiceRecordProto()
[all …]
DUsbIncidentTest.java65 assertTrue(uap.getUri().isEmpty()); in verifyUsbAccessoryProto()
66 assertTrue(uap.getSerial().isEmpty()); in verifyUsbAccessoryProto()
72 assertTrue(udmp.getSystemKeys().isEmpty()); in verifyUsbDebuggingManagerProto()
73 assertTrue(udmp.getUserKeys().isEmpty()); in verifyUsbDebuggingManagerProto()
75 assertTrue(udmp.getLastKeyReceived().isEmpty()); in verifyUsbDebuggingManagerProto()
88 assertTrue(udp.getSerialNumber().isEmpty()); in verifyUsbDeviceProto()
106 assertTrue(udfp.getSerialNumber().isEmpty()); in verifyUsbDeviceFilterProto()
DPrintProtoTest.java94 assertTrue(pdi.getName().isEmpty()); in verifyPrintDocumentInfoProto()
102 assertTrue(pip.getLocalId().isEmpty()); in verifyPrinterIdProto()
109 assertTrue(pip.getName().isEmpty()); in verifyPrinterInfoProto()
110 assertTrue(pip.getDescription().isEmpty()); in verifyPrinterInfoProto()
119 assertTrue(pji.getLabel().isEmpty()); in verifyPrintJobInfoProto()
120 assertTrue(pji.getPrintJobId().isEmpty()); in verifyPrintJobInfoProto()
121 assertTrue(pji.getTag().isEmpty()); in verifyPrintJobInfoProto()
DSystemPropertiesTest.java35 … assertEquals(filterLevel == PRIVACY_AUTO, properties.getPersist().getSysTimezone().isEmpty()); in verifySystemPropertiesProto()
37 assertFalse(properties.getRo().getBuild().getDisplayId().isEmpty()); in verifySystemPropertiesProto()
DAlarmManagerIncidentTest.java137 assertTrue(f.getTag().isEmpty()); in verifyAlarmManagerServiceDumpProto()
163 assertTrue(id.getTag().isEmpty()); in verifyAlarmManagerServiceDumpProto()
183 assertTrue(alarm.getTag().isEmpty()); in testAlarmProto()
184 assertTrue(alarm.getListener().isEmpty()); in testAlarmProto()
208 assertTrue(filter.getTag().isEmpty()); in testFilterStatsProto()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher4old/src/android/content/pm/cts/shortcut/backup/publisher4/
DShortcutManagerPostBackupTest.java39 .isEmpty(); in testRestoredOnOldVersion()
107 .isEmpty(); in testBackupDisabled()
145 .isEmpty(); in testRestoreWrongKey()
180 .isEmpty(); in testRestoreNoManifestOnOldVersion()
183 .isEmpty(); in testRestoreNoManifestOnOldVersion()
186 .isEmpty(); in testRestoreNoManifestOnOldVersion()
223 .isEmpty(); in testRestoreNoManifestOnOldVersion()
250 .isEmpty(); in testRestoreNoManifestOnNewVersion()
253 .isEmpty(); in testRestoreNoManifestOnNewVersion()
266 assertWith(getManager().getDynamicShortcuts()).isEmpty(); in assertNoShortcuts()
[all …]
/cts/hostsidetests/shortcuts/deviceside/backup/launcher1/src/android/content/pm/cts/shortcut/backup/launcher1/
DShortcutManagerPostBackupTest.java32 assertWith(getPackageShortcuts(ShortcutManagerPreBackupTest.PUBLISHER1_PKG)).isEmpty(); in testWithUninstall_beforeAppRestore()
33 assertWith(getPackageShortcuts(ShortcutManagerPreBackupTest.PUBLISHER2_PKG)).isEmpty(); in testWithUninstall_beforeAppRestore()
34 assertWith(getPackageShortcuts(ShortcutManagerPreBackupTest.PUBLISHER3_PKG)).isEmpty(); in testWithUninstall_beforeAppRestore()
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DRoundRectShapeTest.java117 assertTrue(outline.isEmpty()); in testGetOutline()
123 assertFalse(outline.isEmpty()); in testGetOutline()
134 assertTrue(outline.isEmpty()); in testGetOutline()
140 assertFalse(outline.isEmpty()); in testGetOutline()
151 assertTrue(outline.isEmpty()); in testGetOutline()
157 assertFalse(outline.isEmpty()); in testGetOutline()
DOvalShapeTest.java91 assertTrue(outline.isEmpty()); in testGetOutline()
98 assertFalse(outline.isEmpty()); in testGetOutline()
109 assertFalse(outline.isEmpty()); in testGetOutline()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/
DShortcutManagerPostBackupTest.java25 .isEmpty(); in testWithUninstall()
43 .isEmpty(); in testWithNoUninstall()
/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/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersNoAppCrashesTest.java98 if (!appErrors.isEmpty()) { in assertSwitchToNewUser()
111 if (!appErrors.isEmpty()) { in assertSwitchToUser()
137 if (!appErrors.isEmpty()) { in waitForUserSwitchComplete()
181 if (errors.isEmpty()) { in apply()
188 errors.isEmpty()); in apply()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerClientApiTest.java262 .isEmpty(); in testSetDynamicShortcuts()
264 .isEmpty(); in testSetDynamicShortcuts()
282 .isEmpty(); in testSetDynamicShortcuts()
284 .isEmpty(); in testSetDynamicShortcuts()
303 .isEmpty(); in testSetDynamicShortcuts()
305 .isEmpty(); in testSetDynamicShortcuts()
322 .isEmpty(); in testSetDynamicShortcuts()
324 .isEmpty(); in testSetDynamicShortcuts()
333 .isEmpty(); in testSetDynamicShortcuts()
335 .isEmpty(); in testSetDynamicShortcuts()
[all …]
/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegationTest.java131 .getDelegatedScopes(ADMIN_RECEIVER_COMPONENT, NON_EXISTENT_PKG).isEmpty()); in testCantDelegateToUninstalledPackage()
144 .isEmpty()); in testCanRetrieveDelegates()
146 .isEmpty()); in testCanRetrieveDelegates()
148 .isEmpty()); in testCanRetrieveDelegates()
/cts/tests/tests/location/src/android/location/cts/
DGnssMeasurementRegistrationTest.java102 if (!events.isEmpty()) { in testGnssMeasurementRegistration()
127 !events.isEmpty()); in testGnssMeasurementRegistration()
/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()
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/
DJvmtiHostTest.java131 if (pwd.isEmpty()) { in run()
141 if (attachReply != null && !attachReply.trim().isEmpty()) { in run()
169 if (runAsCp != null && !runAsCp.trim().isEmpty()) { in installLibToDataData()
175 if (runAsChmod != null && !runAsChmod.trim().isEmpty()) { in installLibToDataData()
213 if (mErrors.isEmpty()) { in getErrors()
/cts/tests/tests/os/src/android/os/cts/
DBuildTest.java77 if (!Build.CPU_ABI2.isEmpty()) { in runTestCpuAbiCommon()
86 if (!Build.CPU_ABI2.isEmpty()) { in runTestCpuAbi32()
95 if (!Build.CPU_ABI2.isEmpty()) { in runTestCpuAbi64()
102 if (value.isEmpty()) { in getStringList()
295 assertFalse(value.isEmpty()); in assertNotEmpty()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DFillEventHistoryTest.java650 assertThat(event2.getSelectedDatasetIds()).isEmpty(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
655 assertThat(event2.getManuallyEnteredField()).isEmpty(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
712 assertThat(event2.getIgnoredDatasetIds()).isEmpty(); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
716 assertThat(event2.getManuallyEnteredField()).isEmpty(); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
769 assertThat(event.getChangedFields()).isEmpty(); in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered()
770 assertThat(event.getManuallyEnteredField()).isEmpty(); in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered()
838 assertThat(event2.getManuallyEnteredField()).isEmpty(); in testContextCommitted_oneDatasetSelected()
913 assertThat(event3.getIgnoredDatasetIds()).isEmpty(); in testContextCommitted_multipleDatasetsSelected()
917 assertThat(event3.getManuallyEnteredField()).isEmpty(); in testContextCommitted_multipleDatasetsSelected()
990 assertThat(event3.getIgnoredDatasetIds()).isEmpty(); in testContextCommitted_multipleDatasetsSelected_butNotChanged()
[all …]

12345678910>>...13