Home
last modified time | relevance | path

Searched refs:two (Results 1 – 25 of 56) sorted by relevance

123

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkTest.java127 Network two = new Network(2); in testGetNetworkHandle() local
132 assertNotEquals(0, two.hashCode()); in testGetNetworkHandle()
136 assertNotEquals(one.hashCode(), two.hashCode()); in testGetNetworkHandle()
138 assertNotEquals(two.hashCode(), three.hashCode()); in testGetNetworkHandle()
142 assertNotEquals(0, two.getNetworkHandle()); in testGetNetworkHandle()
146 assertNotEquals(one.getNetworkHandle(), two.getNetworkHandle()); in testGetNetworkHandle()
148 assertNotEquals(two.getNetworkHandle(), three.getNetworkHandle()); in testGetNetworkHandle()
152 assertNotEquals(two.hashCode(), two.getNetworkHandle()); in testGetNetworkHandle()
158 assertEquals(11995631629L, two.getNetworkHandle()); in testGetNetworkHandle()
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/table/reader/
DIntValueTable.java50 static boolean equal(TableEntry one, Object two) { in equal() argument
51 if (one == null && two == null) { in equal()
54 if (!(two instanceof TableEntry) || one == null || one.getClass() != two.getClass()) { in equal()
57 TableEntry other = (TableEntry) two; in equal()
DLongValueTable.java48 static boolean equal(TableEntry one, Object two) { in equal() argument
49 if (one == null && two == null) { in equal()
52 if (!(two instanceof TableEntry) || one == null || one.getClass() != two.getClass()) { in equal()
55 TableEntry other = (TableEntry) two; in equal()
/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactDeltaComparator.java41 public int compare(RawContactDelta one, RawContactDelta two) { in compare() argument
43 if (one.equals(two)) { in compare()
51 String accountType2 = two.getValues().getAsString(RawContacts.ACCOUNT_TYPE); in compare()
52 String dataSet2 = two.getValues().getAsString(RawContacts.DATA_SET); in compare()
111 String twoAccount = two.getAccountName(); in compare()
122 Long twoId = two.getRawContactId(); in compare()
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DTypes.java175 private static boolean s2PolygonsEquals(List<S2Polygon> one, List<S2Polygon> two) { in s2PolygonsEquals() argument
176 if (one.size() != two.size()) { in s2PolygonsEquals()
181 S2Polygon twoPoly = two.get(polyIndex); in s2PolygonsEquals()
189 private static boolean s2PolygonEquals(S2Polygon one, S2Polygon two) { in s2PolygonEquals() argument
190 if (one.numLoops() != two.numLoops()) { in s2PolygonEquals()
196 S2Loop twoLoop = two.loop(loopIndex); in s2PolygonEquals()
204 private static boolean s2LoopEquals(S2Loop one, S2Loop two) { in s2LoopEquals() argument
205 if (one.numVertices() != two.numVertices()) { in s2LoopEquals()
211 S2Point twoPoint = two.vertex(vertexIndex); in s2LoopEquals()
335 private static boolean s2CellUnionEquals(S2CellUnion one, S2CellUnion two) { in s2CellUnionEquals() argument
[all …]
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/
DRealLocationListeningAccountant.java277 private static Duration max(@NonNull Duration one, @NonNull Duration two) { in max() argument
278 return one.compareTo(two) >= 0 ? one : two; in max()
282 private static Duration min(@NonNull Duration one, @NonNull Duration two) { in min() argument
283 return one.compareTo(two) < 0 ? one : two; in min()
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadView.java80 private final int[] mButtonIds = new int[] {R.id.zero, R.id.one, R.id.two, R.id.three,
337 } else if (buttonId == R.id.two) { in getKeyButtonAnimationDelay()
361 } else if (buttonId == R.id.two) { in getKeyButtonAnimationDelay()
380 } else if (buttonId == R.id.two) { in getKeyButtonAnimationDelay()
420 } else if (buttonId == R.id.two || buttonId == R.id.five || buttonId == R.id.eight in getKeyButtonAnimationDuration()
431 } else if (buttonId == R.id.two || buttonId == R.id.five || buttonId == R.id.eight in getKeyButtonAnimationDuration()
440 if (buttonId == R.id.one || buttonId == R.id.two || buttonId == R.id.three in getKeyButtonAnimationDuration()
/packages/modules/GeoTZ/common/host/main/java/com/android/timezone/location/common/
DLicenseSupport.java103 private static void checkFilesIdentical(File one, File two) throws IOException { in checkFilesIdentical() argument
105 FileInputStream twoInput = new FileInputStream(two)) { in checkFilesIdentical()
110 throw new IllegalArgumentException("File " + one + " is not the same as " + two); in checkFilesIdentical()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadView.java64 R.id.two,
349 } else if (buttonId == R.id.two) { in getKeyButtonAnimationDelay()
373 } else if (buttonId == R.id.two) { in getKeyButtonAnimationDelay()
392 } else if (buttonId == R.id.two) { in getKeyButtonAnimationDelay()
434 } else if (buttonId == R.id.two in getKeyButtonAnimationDuration()
451 } else if (buttonId == R.id.two in getKeyButtonAnimationDuration()
465 || buttonId == R.id.two in getKeyButtonAnimationDuration()
/packages/apps/Dialer/java/com/android/dialer/phonenumberproto/
Ddialer_phone_number.proto24 // consists of a normalized number string and a two-letter country code.
25 // The country is retrieved from CallLog.Calls#COUNTRY: "The ISO 3166-1 two
51 // CallLog.Calls#COUNTRY: "The ISO 3166-1 two letters country code of the
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactTest.java65 final RawContact two = buildRawContact2(); in testNotEquals() local
66 assertFalse(one.equals(two)); in testNotEquals()
/packages/modules/NeuralNetworks/tools/test_generator/
DREADME.md167 …ate a new model with input/output of 2D shape [4, 5] by removing the first two dimension. This is …
203 …f the groups. For example, suppose we declare a model with two groups, and each group has two vari…
208 # Add two groups of variations [default, nchw] and [default, relaxed, quant8]
221 # Add two groups of variations [nchw] and [default, relaxed, quant8]
343 …revious version and more tests are added in a later version. In this case, two methods are provide…
445 # Add two more groups of variations
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DConversationListPreferenceControllerTest.java231 ConversationChannelWrapper two = new ConversationChannelWrapper(); in testCompareSpans() local
238 two.setShortcutInfo(s2); in testCompareSpans()
240 assertThat(mController.mConversationComparator.compare(one, two)).isLessThan(0); in testCompareSpans()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/storage/
DSharedDataPreferenceControllerTest.java108 LeaseInfo two = new LeaseInfo("om.google.android.googlequicksearchbox", in generateBlobList() local
113 accessors.add(two); in generateBlobList()
/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/table/packed/
DIntValuePackedTableTest.java250 IntValueTable.TableEntry two = intValuePackedTable.getEntry(2); in entryNextAndPrevious() local
252 assertEquals(two, one.getNext()); in entryNextAndPrevious()
253 assertEquals(four, two.getNext()); in entryNextAndPrevious()
DPackedTableReaderWriterTest.java452 PackedTableReader.Entry two = tableReader.getEntry(2); in entryNextAndPrevious() local
454 assertEquals(two, one.getNext()); in entryNextAndPrevious()
455 assertEquals(four, two.getNext()); in entryNextAndPrevious()
457 assertEquals(one, two.getPrevious()); in entryNextAndPrevious()
/packages/modules/GeoTZ/validation/geonames/src/main/java/com/android/timezone/location/validation/
DTypes.java304 private static <T> boolean intersect(List<T> one, List<T> two) { in intersect() argument
306 intersectionSet.retainAll(two); in intersect()
/packages/apps/Dialer/java/com/android/incallui/
DDialpadFragment.java55 displayMap.put(R.id.two, '2'); in displayMap.put() argument
72 R.id.two,
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_feature_detection.cpp1339 float *two[4]; in db_MaxSuppressFilterChunk_5x5_Aligned16_f() local
1349 two[i]=five+(i+1)*132; in db_MaxSuppressFilterChunk_5x5_Aligned16_f()
1361 for(i=top-3;i<top;i++) db_MaxVector_128_Aligned16_f(two[i&3],s[i+1]+lm2,s[i+2]+lm2); in db_MaxSuppressFilterChunk_5x5_Aligned16_f()
1367 db_MaxVector_128_Aligned16_f(two[i&3],s[i+1]+lm2,s[i+2]+lm2); in db_MaxSuppressFilterChunk_5x5_Aligned16_f()
1369 db_MaxVector_128_Aligned16_f(four,two[i&3],two[(i-3)&3]); in db_MaxSuppressFilterChunk_5x5_Aligned16_f()
1371 db_MaxVector_128_Aligned16_f(five,four,two[(i-1)&3]); in db_MaxSuppressFilterChunk_5x5_Aligned16_f()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dfaq.md17 …gns of RapidXML, including *in situ* parsing, header-only library. But the two APIs are completely…
126 Let's take the following two DOM trees represented as JSON documents:
173 …There are two APIs: constructor with allocator, and `CopyFrom()`. See [Deep Copy Value](doc/tutori…
211 …se in basic multilingual plane (BMP), UTF-16 encodes those characters with two 16-bit values, whic…
/packages/modules/adb/
DOVERVIEW.TXT60 There are essentially two kinds of services that a client can talk to.
121 or emulator. There are currently two kinds of transports:
/packages/modules/StatsD/statsd/src/shell/
Dshell_config.proto29 /* gap between two pulls in milliseconds */
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/
Dblock_report_spam_dialog_info.proto20 // The ISO 3166-1 two letters country code of the number.
/packages/apps/Dialer/java/com/android/dialer/callintent/
Dcall_specific_app_data.proto29 // The following two list should be of the same length
/packages/apps/Car/libs/car-ui-lib/car-ui-androidx/
DREADME.md4 …brary first. This could lead to compatibility issues, for example when the two versions are not co…

123