/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiLockManagerTest.java | 287 assertTrue(wifiLockManagerDumpString.contains( 289 assertTrue(wifiLockManagerDumpString.contains( 291 assertTrue(wifiLockManagerDumpString.contains("Locks held:")); 292 assertFalse(wifiLockManagerDumpString.contains("WifiLock{")); 296 * Verifies that dump() contains lock information when there are locks held. 311 assertTrue(wifiLockManagerDumpString.contains( 313 assertTrue(wifiLockManagerDumpString.contains( 315 assertTrue(wifiLockManagerDumpString.contains("Locks held:")); 316 assertTrue(wifiLockManagerDumpString.contains(
|
/frameworks/support/design/jvm-tests/src/android/support/design/widget/ |
DirectedAcyclicGraphTest.java | 50 assertTrue(mGraph.contains(node)); 60 assertTrue(mGraph.contains(node)); 111 assertTrue(outgoingEdges.contains(node)); 130 assertTrue(outgoingEdges.contains(node1)); 131 assertTrue(outgoingEdges.contains(node2)); 161 // Now assert the graph is empty and that contains returns false 163 assertFalse(mGraph.contains(node1)); 164 assertFalse(mGraph.contains(node2)); 165 assertFalse(mGraph.contains(edge));
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ClassPresenterSelector.java | 37 if (!mPresenters.contains(presenter)) { 55 if (!mPresenters.contains(innerPresenters[i])) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
HashSetTest.java | 94 .contains(objArray[counter])); 117 assertTrue("Failed to add element to set", hs.contains(new Integer(-9))); 130 assertTrue("Failed to clear set", !hs.contains(i.next())); 144 * java.util.HashSet#contains(java.lang.Object) 147 // Test for method boolean java.util.HashSet.contains(java.lang.Object) 148 assertTrue("Returned false for valid object", hs.contains(objArray[90])); 150 .contains(new Object())); 154 assertTrue("Cannot handle null", s.contains(null)); 174 assertTrue("Failed to iterate over all elements", hs.contains(i 192 assertTrue("Failed to remove element", !hs.contains(new Integer(98))) [all...] |
TimeZoneTest.java | 231 assertTrue(ids.toString(), ids.contains("America/Los_Angeles")); 235 assertTrue(ids.toString(), ids.contains("America/Dawson")); 236 assertTrue(ids.toString(), ids.contains("America/Tijuana")); 237 assertTrue(ids.toString(), ids.contains("America/Vancouver")); 238 assertTrue(ids.toString(), ids.contains("Canada/Pacific")); 239 assertTrue(ids.toString(), ids.contains("Canada/Yukon")); 240 assertTrue(ids.toString(), ids.contains("Pacific/Pitcairn")); 248 assertTrue(idList.toString(), idList.contains("Asia/Hong_Kong"));
|
/libcore/support/src/test/java/libcore/java/security/ |
CpuFeatures.java | 35 if (features != null && features.contains("aes")) { 40 if (flags != null && flags.contains("aes")) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
PhoneNumberHelper.java | 42 * regular PSTN phone number, based on whether or not the number contains an "@" character. 45 * @return true if number contains @ 53 return number != null && (number.contains("@") || number.contains("%40"));
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
AudioModeProvider.java | 74 if (!mListeners.contains(listener)) { 83 if (mListeners.contains(listener)) {
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapListTest.java | 197 assertTrue(list.contains("abc")); 198 assertTrue(list.contains("abcd")); 199 assertTrue(list.contains("def")); 200 assertFalse(list.contains("")); 201 assertFalse(list.contains("a")); 202 assertFalse(list.contains(null)); 205 assertFalse(list.contains(null)); 208 assertFalse(ImapList.EMPTY.contains(null));
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
ComboPreferences.java | 85 if (isGlobal(key) || !mPrefLocal.contains(key)) { 93 if (isGlobal(key) || !mPrefLocal.contains(key)) { 101 if (isGlobal(key) || !mPrefLocal.contains(key)) { 109 if (isGlobal(key) || !mPrefLocal.contains(key)) { 117 if (isGlobal(key) || !mPrefLocal.contains(key)) { 129 public boolean contains(String key) { method in class:ComboPreferences 130 if (mPrefLocal.contains(key)) return true; 131 if (mPrefGlobal.contains(key)) return true;
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerWhitelistBackend.java | 51 return mSysWhitelistedApps.contains(pkg); 55 return mWhitelistedApps.contains(pkg);
|
/prebuilts/go/darwin-x86/misc/cgo/test/ |
duplicate_symbol.go | 5 // This file contains test cases for cgo.
|
issue1222.go | 5 // This file contains test cases for cgo.
|
/prebuilts/go/darwin-x86/src/cmd/vet/testdata/ |
assign.go | 5 // This file contains tests for the useless-assignment checker.
|
buildtag.go | 5 // This file contains tests for the buildtag checker.
|
/prebuilts/go/darwin-x86/src/hash/crc32/ |
crc32_generic.go | 9 // The file contains the generic version of updateCastagnoli which just calls
|
/prebuilts/go/darwin-x86/src/image/internal/imageutil/ |
imageutil.go | 7 // Package imageutil contains code shared by image-related packages.
|
/prebuilts/go/darwin-x86/test/fixedbugs/bug302.dir/ |
main.go | 10 // Check that it's still correct in pp.a (which contains p.6).
|
/prebuilts/go/linux-x86/misc/cgo/test/ |
duplicate_symbol.go | 5 // This file contains test cases for cgo.
|
issue1222.go | 5 // This file contains test cases for cgo.
|
/prebuilts/go/linux-x86/src/cmd/vet/testdata/ |
assign.go | 5 // This file contains tests for the useless-assignment checker.
|
buildtag.go | 5 // This file contains tests for the buildtag checker.
|
/prebuilts/go/linux-x86/src/hash/crc32/ |
crc32_generic.go | 9 // The file contains the generic version of updateCastagnoli which just calls
|
/prebuilts/go/linux-x86/src/image/internal/imageutil/ |
imageutil.go | 7 // Package imageutil contains code shared by image-related packages.
|
/prebuilts/go/linux-x86/test/fixedbugs/bug302.dir/ |
main.go | 10 // Check that it's still correct in pp.a (which contains p.6).
|