Searched refs:contains (Results 1 - 25 of 130) sorted by relevance

123456

/frameworks/base/tools/preload/
H A DPolicy.java80 return SERVICES.contains(processName);
85 return clazz.systemClass && !EXCLUDED_CLASSES.contains(clazz.name);
/frameworks/base/tests/CoreTests/android/core/
H A DHashSetTest.java74 * Tests performance of HashSet method contains(Object arg 0)
83 flag = set.contains(index);
84 flag = set.contains(index);
85 flag = set.contains(index);
86 flag = set.contains(index);
87 flag = set.contains(index);
88 flag = set.contains(index);
89 flag = set.contains(index);
90 flag = set.contains(index);
91 flag = set.contains(inde
[all...]
H A DArrayListTest.java51 assertFalse(array.contains(null));
52 assertTrue(array.contains(new Integer(2)));
68 assertFalse(array.contains(null));
69 assertFalse(array.contains(new Integer(2)));
H A DArrayListPerformanceTest.java131 flag = mList.contains(i);
132 flag = mList.contains(i);
133 flag = mList.contains(i);
134 flag = mList.contains(i);
135 flag = mList.contains(i);
136 flag = mList.contains(i);
137 flag = mList.contains(i);
138 flag = mList.contains(i);
139 flag = mList.contains(i);
140 flag = mList.contains(
[all...]
H A DTreeSetTest.java119 * Tests performance of the java.util.TreeSet method- contains(Object arg0)
128 flag = set.contains(index);
129 flag = set.contains(index);
130 flag = set.contains(index);
131 flag = set.contains(index);
132 flag = set.contains(index);
133 flag = set.contains(index);
134 flag = set.contains(index);
135 flag = set.contains(index);
136 flag = set.contains(inde
[all...]
H A DHashtableTest.java183 flag = hTable.contains(i);
184 flag = hTable.contains(i);
185 flag = hTable.contains(i);
186 flag = hTable.contains(i);
187 flag = hTable.contains(i);
188 flag = hTable.contains(i);
189 flag = hTable.contains(i);
190 flag = hTable.contains(i);
191 flag = hTable.contains(i);
192 flag = hTable.contains(
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListInterleaveFocusables.java44 if (mFocusablePositions.contains(position)) {
54 return mFocusablePositions.contains(position) ? 0 : 1;
/frameworks/base/core/tests/coretests/src/android/net/http/
H A DCookiesTest.java61 assertTrue(log, log.contains("password"));
62 assertTrue(log, log.contains("fake.domain"));
63 assertFalse(log, log.contains("secret"));
/frameworks/base/keystore/tests/src/android/security/
H A DKeyStoreTest.java84 assertFalse(mKeyStore.contains(TEST_KEYNAME));
91 assertFalse(mKeyStore.contains(TEST_I18N));
94 assertTrue(mKeyStore.contains(TEST_I18N));
107 assertFalse(mKeyStore.contains(TEST_KEYNAME));
110 assertFalse(mKeyStore.contains(TEST_KEYNAME));
113 assertTrue(mKeyStore.contains(TEST_KEYNAME));
/frameworks/base/voip/java/android/net/rtp/
H A DAudioCodec.java140 if (clue.contains("crc=1") || clue.contains("robust-sorting=1") ||
141 clue.contains("interleaving=")) {
/frameworks/base/core/java/android/database/
H A DObservable.java43 if (mObservers.contains(observer)) {
/frameworks/base/core/java/android/pim/vcard/
H A DVCardSourceDetector.java123 if (WINDOWS_MOBILE_PHONE_SIGNS.contains(name)) {
125 } else if (FOMA_SIGNS.contains(name)) {
127 } else if (JAPANESE_MOBILE_PHONE_SIGNS.contains(name)) {
129 } else if (APPLE_SIGNS.contains(name)) {
/frameworks/base/core/java/android/view/
H A DTouchDelegate.java117 if (bounds.contains(x, y)) {
127 if (!slopBounds.contains(x, y)) {
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DDelegateClassAdapter.java73 boolean useDelegate = (isNative && mDelegateMethods.contains(ALL_NATIVES)) ||
74 mDelegateMethods.contains(name);
/frameworks/base/core/java/android/test/
H A DAndroidTestCase.java101 expected.getMessage().contains(permission));
120 expected.getMessage().contains(permission));
139 expected.getMessage().contains(permission));
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
H A DInstrumentationTestSuiteBuilderTest.java96 return testsSeen.contains(testName);
100 return failures.contains(testName);
104 return errors.contains(testName);
H A DUnitTestSuiteBuilderTest.java89 return testsSeen.contains(testName);
93 return failures.contains(testName);
97 return errors.contains(testName);
/frameworks/base/core/java/android/webkit/
H A DPluginList.java65 if (!mPlugins.contains(plugin)) {
H A DUrlInterceptRegistry.java85 if (!getHandlers().contains(handler)) {
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
H A DForwardServer.java119 if(!forwarders.contains(forwarder)) {
127 if(forwarders.contains(recyclable)) {
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java87 public boolean contains(byte[] key) { method in class:KeyStore
92 public boolean contains(String key) { method in class:KeyStore
93 return contains(getBytes(key));
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothUuid.java124 if (uuidSet.contains(uuid)) return true;
148 if (!uuidSet.contains(uuid)) return false;
/frameworks/base/core/java/android/content/
H A DSharedPreferences.java289 * Checks whether the preferences contains a preference.
295 boolean contains(String key); method in interface:SharedPreferences
/frameworks/base/core/java/android/net/
H A DInterfaceConfiguration.java63 if(interfaceFlags.contains("up")) {
/frameworks/base/test-runner/src/android/test/
H A DRenamingDelegatingContext.java143 if (!mDatabaseNames.contains(name)) {
152 if (mDatabaseNames.contains(name)) {
174 if (mFileNames.contains(name)) {
195 if (mFileNames.contains(name)) {

Completed in 319 milliseconds

123456