Searched refs:result2 (Results 1 – 6 of 6) sorted by relevance
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | ScanResultComparator.java | 42 public int compare(ScanResult result1, ScanResult result2) { in compare() argument 44 if (result2 == null) { in compare() 50 if (result2 == null) { in compare() 54 WifiSecurity security2 = WifiSecurity.getSecurity(result2); in compare() 60 if (result2.SSID.equals(mConnectedSSID) in compare() 65 int levelDiff = result2.level - result1.level; in compare() 69 if (result1.SSID.equals(result2.SSID)) { in compare() 72 return result1.SSID.compareTo(result2.SSID); in compare()
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | MimeUtilityTest.java | 134 String result2 = MimeUtility.decode(SHORT_PLAIN); in testEfficientUnfoldAndDecode() local 138 assertSame(SHORT_PLAIN, result2); in testEfficientUnfoldAndDecode() 188 String result2 = MimeUtility.foldAndEncode2(SHORT_PLAIN, 10); in testEfficientFoldAndEncode() local 192 assertSame(SHORT_PLAIN, result2); in testEfficientFoldAndEncode() 201 String result2 = MimeUtility.foldAndEncode2(PADDED1_UNICODE, 0); in testPaddingOfFoldAndEncode2() local 205 assertEquals("padding 1", PADDED1_UNICODE_ENCODED, result2); in testPaddingOfFoldAndEncode2() 238 String result2 = MimeUtility.foldAndEncode2(LONG_SUPPLEMENTAL, "Subject: ".length()); in testFoldAndEncode2Supplemental() local 241 assertEquals("long supplemental", LONG_SUPPLEMENTAL_ENCODED, result2); in testFoldAndEncode2Supplemental()
|
D | Rfc822OutputTests.java | 285 final String result2 = resultArray[j]; in testGetNextBoundary() local 286 assertFalse(result1.equals(result2)); in testGetNextBoundary()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/util/ |
D | ContactAggregatorHelperTest.java | 137 Set<Long> result2 = new HashSet<>(); in testFindConnectedRawContacts() local 138 result2.addAll(Arrays.asList(4l, 5l)); in testFindConnectedRawContacts() 141 expected.addAll(Arrays.asList(result1, result2, result3)); in testFindConnectedRawContacts()
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | SoundRecorder.java | 157 long result2 = (mMaxBytes - fileSize)/mBytesPerSecond; in timeRemaining() local 158 result2 -= (now - mFileSizeChangedTime)/1000; in timeRemaining() 159 result2 -= 1; // just for safety in timeRemaining() 161 mCurrentLowerLimit = result < result2 in timeRemaining() 164 return Math.min(result, result2); in timeRemaining()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | ComboPreferences.java | 146 boolean result2 = mEditorLocal.commit(); in commit() 147 return result1 && result2; in commit()
|