Home
last modified time | relevance | path

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

12345678910>>...16

/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java62 assertTrue(path.isEmpty()); in testAddRect1()
65 assertFalse(path.isEmpty()); in testAddRect1()
71 assertTrue(path.isEmpty()); in testAddRect2()
73 assertFalse(path.isEmpty()); in testAddRect2()
85 assertTrue(path.isEmpty()); in testSet()
136 assertTrue(path.isEmpty()); in testRQuadTo()
138 assertFalse(path.isEmpty()); in testRQuadTo()
144 assertTrue(path.isEmpty()); in testTransform1()
148 assertFalse(dst.isEmpty()); in testTransform1()
154 assertTrue(path.isEmpty()); in testLineTo()
[all …]
DOutlineTest.java41 assertTrue(outline.isEmpty()); in testDefaults()
102 assertTrue(outline.isEmpty());
105 assertTrue(outline.isEmpty());
108 assertTrue(outline.isEmpty());
111 assertFalse(outline.isEmpty());
117 assertFalse(outline.isEmpty());
129 assertTrue(outline.isEmpty());
132 assertTrue(outline.isEmpty());
135 assertTrue(outline.isEmpty());
138 assertFalse(outline.isEmpty());
[all …]
/cts/hostsidetests/appsecurity/test-apps/PermissionPolicy25/src/com/android/cts/permission/policy/
DPermissionPolicyTest25.java69 flagsToString += flagsToString.isEmpty() ? "runtimeOnly" : "|runtimeOnly"; in protectionFlagsToString()
73 flagsToString += flagsToString.isEmpty() ? "ephemeral" : "|ephemeral"; in protectionFlagsToString()
77 flagsToString += flagsToString.isEmpty() ? "appop" : "|appop"; in protectionFlagsToString()
81 flagsToString += flagsToString.isEmpty() ? "development" : "|development"; in protectionFlagsToString()
85 flagsToString += flagsToString.isEmpty() ? "installer" : "|installer"; in protectionFlagsToString()
89 flagsToString += flagsToString.isEmpty() ? "pre23" : "|pre23"; in protectionFlagsToString()
93 flagsToString += flagsToString.isEmpty() ? "privileged" : "|privileged"; in protectionFlagsToString()
97 flagsToString += flagsToString.isEmpty() ? "preinstalled" : "|preinstalled"; in protectionFlagsToString()
101 flagsToString += flagsToString.isEmpty() ? "system" : "|system"; in protectionFlagsToString()
105 flagsToString += flagsToString.isEmpty() ? "setup" : "|setup"; in protectionFlagsToString()
[all …]
/cts/hostsidetests/incident/src/com/android/server/cts/
DNotificationIncidentTest.java115 assertTrue(!rp.getPackage().isEmpty()); in verifyRecordProto()
144 assertTrue(zr.getId().isEmpty()); in verifyZenModeProto()
145 assertTrue(zr.getName().isEmpty()); in verifyZenModeProto()
146 assertTrue(zr.getConditionId().isEmpty()); in verifyZenModeProto()
148 assertTrue(cp.getId().isEmpty()); in verifyZenModeProto()
149 assertTrue(cp.getSummary().isEmpty()); in verifyZenModeProto()
150 assertTrue(cp.getLine1().isEmpty()); in verifyZenModeProto()
151 assertTrue(cp.getLine2().isEmpty()); in verifyZenModeProto()
155 assertFalse(zr.getId().isEmpty()); in verifyZenModeProto()
156 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.getSerial().isEmpty()); in verifyUsbAccessoryProto()
67 assertTrue(uap.getUri().isEmpty()); in verifyUsbAccessoryProto()
74 assertTrue(udmp.getSystemKeys().isEmpty()); in verifyUsbDebuggingManagerProto()
75 assertTrue(udmp.getUserKeys().isEmpty()); in verifyUsbDebuggingManagerProto()
77 assertTrue(udmp.getLastKeyReceived().isEmpty()); in verifyUsbDebuggingManagerProto()
90 assertTrue(udp.getSerialNumber().isEmpty()); in verifyUsbDeviceProto()
108 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/tests/tests/permission2/src/android/permission2/cts/
DPrivappPermissionsTest.java139 if (!factoryRequestedPrivPermissions.isEmpty() && !requestedPrivPermissions.isEmpty()) { in privappPermissionsNeedToBeWhitelisted()
178 if (!grantedNotInWhitelist.isEmpty()) { in privappPermissionsNeedToBeWhitelisted()
182 if (!factoryNotGrantedNotRemovedNotInDenylist.isEmpty()) { in privappPermissionsNeedToBeWhitelisted()
189 if (!packagesGrantedNotInWhitelist.isEmpty()) { in privappPermissionsNeedToBeWhitelisted()
193 if (!packagesNotGrantedNotRemovedNotInDenylist.isEmpty()) { in privappPermissionsNeedToBeWhitelisted()
200 if (!packagesGrantedNotInWhitelist.isEmpty() in privappPermissionsNeedToBeWhitelisted()
201 || !packagesNotGrantedNotRemovedNotInDenylist.isEmpty()) { in privappPermissionsNeedToBeWhitelisted()
207 if (set.isEmpty()) { in getPrintableSet()
214 if (!TextUtils.isEmpty(e.toString().trim())) { in getPrintableSet()
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DRoundRectShapeTest.java118 assertTrue(outline.isEmpty()); in testGetOutline()
124 assertFalse(outline.isEmpty()); in testGetOutline()
135 assertTrue(outline.isEmpty()); in testGetOutline()
141 assertFalse(outline.isEmpty()); in testGetOutline()
152 assertTrue(outline.isEmpty()); in testGetOutline()
158 assertFalse(outline.isEmpty()); in testGetOutline()
/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/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerClientApiTest.java270 .isEmpty(); in testSetDynamicShortcuts()
272 .isEmpty(); in testSetDynamicShortcuts()
290 .isEmpty(); in testSetDynamicShortcuts()
292 .isEmpty(); in testSetDynamicShortcuts()
311 .isEmpty(); in testSetDynamicShortcuts()
313 .isEmpty(); in testSetDynamicShortcuts()
330 .isEmpty(); in testSetDynamicShortcuts()
332 .isEmpty(); in testSetDynamicShortcuts()
341 .isEmpty(); in testSetDynamicShortcuts()
343 .isEmpty(); in testSetDynamicShortcuts()
[all …]
/cts/tests/tests/view/src/android/view/textclassifier/cts/
DTextClassifierEventTest.java143 assertThat(event.getEntityTypes()).isEmpty(); in assertMinimalTextSelectionEvent()
149 assertThat(event.getActionIndices()).isEmpty(); in assertMinimalTextSelectionEvent()
152 assertThat(event.getEntityTypes()).isEmpty(); in assertMinimalTextSelectionEvent()
212 assertThat(event.getEntityTypes()).isEmpty(); in assertMinimalTextLinkifyEvent()
214 assertThat(event.getActionIndices()).isEmpty(); in assertMinimalTextLinkifyEvent()
217 assertThat(event.getEntityTypes()).isEmpty(); in assertMinimalTextLinkifyEvent()
271 assertThat(event.getEntityTypes()).isEmpty(); in assertMinimalConversationActionsEvent()
273 assertThat(event.getActionIndices()).isEmpty(); in assertMinimalConversationActionsEvent()
276 assertThat(event.getEntityTypes()).isEmpty(); in assertMinimalConversationActionsEvent()
332 assertThat(event.getEntityTypes()).isEmpty(); in assertMinimalLanguageDetectionEvent()
[all …]
/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.java89 if (!appErrors.isEmpty()) { in assertSwitchToNewUser()
102 if (!appErrors.isEmpty()) { in assertSwitchToUser()
128 if (!appErrors.isEmpty()) { in waitForUserSwitchComplete()
172 if (errors.isEmpty()) { in apply()
179 errors.isEmpty()); in apply()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraTestInstrumentation.java70 if (keys.isEmpty()) { in sendStatus()
92 if ((message == null) || (message.isEmpty()) || (values == null) || in sendStatus()
93 (values.length == 0) || (source == null) || (source.isEmpty())) { in sendStatus()
/cts/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/
DShortcutManagerPostBackupTest.java25 .isEmpty(); in testWithUninstall()
43 .isEmpty(); in testWithNoUninstall()
/cts/tests/app/src/android/app/cts/
DActivityManagerMemoryInfoTest.java93 isEmpty(result[0]); in testGetProcessMemoryInfo()
94 isEmpty(result[2]); in testGetProcessMemoryInfo()
98 private static void isEmpty(Debug.MemoryInfo mi) { in isEmpty() method in ActivityManagerMemoryInfoTest
/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.java143 .getDelegatedScopes(ADMIN_RECEIVER_COMPONENT, NON_EXISTENT_PKG).isEmpty()); in testCantDelegateToUninstalledPackage()
156 .isEmpty()); in testCanRetrieveDelegates()
158 .isEmpty()); in testCanRetrieveDelegates()
160 .isEmpty()); in testCanRetrieveDelegates()
234 .isEmpty(); in testExclusiveDelegation()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DFillEventHistoryTest.java640 assertThat(event2.getSelectedDatasetIds()).isEmpty(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
646 assertThat(event2.getManuallyEnteredField()).isEmpty(); in testContextCommitted_idlessDatasetSelected_datasetWithIdIgnored()
703 assertThat(event2.getIgnoredDatasetIds()).isEmpty(); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
708 assertThat(event2.getManuallyEnteredField()).isEmpty(); in testContextCommitted_idlessDatasetIgnored_datasetWithIdSelected()
761 assertThat(event.getChangedFields()).isEmpty(); in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered()
762 assertThat(event.getManuallyEnteredField()).isEmpty(); in testContextCommitted_noDatasetSelected_valuesNotManuallyEntered()
832 assertThat(event2.getManuallyEnteredField()).isEmpty(); in testContextCommitted_oneDatasetSelected()
907 assertThat(event3.getIgnoredDatasetIds()).isEmpty(); in testContextCommitted_multipleDatasetsSelected()
912 assertThat(event3.getManuallyEnteredField()).isEmpty(); in testContextCommitted_multipleDatasetsSelected()
985 assertThat(event3.getIgnoredDatasetIds()).isEmpty(); in testContextCommitted_multipleDatasetsSelected_butNotChanged()
[all …]
/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()

12345678910>>...16