Home
last modified time | relevance | path

Searched refs:found (Results 1 – 25 of 76) sorted by relevance

1234

/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
DCountingInputStream.java57 int found = super.read(b); in read() local
58 this.count += (found >= 0) ? found : 0; in read()
59 return found; in read()
74 int found = super.read(b, off, len); in read() local
75 this.count += (found >= 0) ? found : 0; in read()
76 return found; in read()
88 int found = super.read(); in read() local
89 this.count += (found >= 0) ? 1 : 0; in read()
90 return found; in read()
/packages/apps/Dialer/java/com/android/dialer/logging/
Dcontact_lookup_result.proto16 // Contact was not found in any of the sources.
19 // Contact was found in the local database.
40 // Number was found in Dialer's local cache but we don't know how it was
44 // Number was found in Dialer's local cache and was originally identified
48 // Number was found in Dialer's local cache and was originally identified
52 // Number was found in Dialer's local cache and was originally identified
56 // Number was found in Dialer's local cache and was originally identified
60 // Number was found in Dialer's local cache and was originally identified
65 // Number was found in Dialer's local cache and was originally identified
72 // Number was found in Dialer's local cache and was originally identified
[all …]
/packages/services/Car/evs/sampleDriver/
DEvsEnumerator.cpp364 bool found = false; in qualifyCaptureDevice() local
365 for (int i=0; !found; i++) { in qualifyCaptureDevice()
373 case V4L2_PIX_FMT_YUYV: found = true; break; in qualifyCaptureDevice()
374 case V4L2_PIX_FMT_NV21: found = true; break; in qualifyCaptureDevice()
375 case V4L2_PIX_FMT_NV16: found = true; break; in qualifyCaptureDevice()
376 case V4L2_PIX_FMT_YVU420: found = true; break; in qualifyCaptureDevice()
377 case V4L2_PIX_FMT_RGB32: found = true; break; in qualifyCaptureDevice()
379 case V4L2_PIX_FMT_ARGB32: found = true; break; in qualifyCaptureDevice()
380 case V4L2_PIX_FMT_XRGB32: found = true; break; in qualifyCaptureDevice()
392 return found; in qualifyCaptureDevice()
[all …]
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCapabilitiesCache.java221 Request found = null; in getNextRequest() local
226 } else if (found == null || (!found.mHighPriority && request.mHighPriority) in getNextRequest()
227 || (found.mHighPriority == request.mHighPriority in getNextRequest()
228 && request.mTimeout < found.mTimeout)) { in getNextRequest()
230 found = request; in getNextRequest()
238 return found; in getNextRequest()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DCarrierIdProvider.java436 boolean found = false; in convertCarrierAttrToContentValues()
443 found = true; in convertCarrierAttrToContentValues()
451 found = true; in convertCarrierAttrToContentValues()
459 found = true; in convertCarrierAttrToContentValues()
467 found = true; in convertCarrierAttrToContentValues()
475 found = true; in convertCarrierAttrToContentValues()
483 found = true; in convertCarrierAttrToContentValues()
491 found = true; in convertCarrierAttrToContentValues()
499 found = true; in convertCarrierAttrToContentValues()
507 found = true; in convertCarrierAttrToContentValues()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DFileSourceEventDetector.java214 boolean found = mVctProgramNumberSet.contains(channelProgramNumber);
215 if (!found) {
219 mEventListener.onChannelDetected(tunerChannel, !found);
249 boolean found = mSdtProgramNumberSet.contains(channelProgramNumber);
250 if (!found) {
254 mEventListener.onChannelDetected(tunerChannel, !found);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DDelayedOperations.java74 QueuedOperation found = null; in removeCallbacks() local
77 found = qo; in removeCallbacks()
81 if (found != null) { in removeCallbacks()
82 found.cancel(); in removeCallbacks()
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DEventDetector.java176 boolean found = mVctProgramNumberSet.contains(channelProgramNumber);
177 if (!found) {
182 eventListener.onChannelDetected(tunerChannel, !found);
215 boolean found = mSdtProgramNumberSet.contains(channelProgramNumber);
216 if (!found) {
221 eventListener.onChannelDetected(tunerChannel, !found);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DNewStorageActivity.java236 boolean found = false; in checkForUnmount()
239 found = true; in checkForUnmount()
243 if (!found) { in checkForUnmount()
248 boolean found = false; in checkForUnmount()
251 found = true; in checkForUnmount()
255 if (!found) { in checkForUnmount()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp162 bool found; in getCodePointsAndProbabilityAndReturnCodePointCount() local
173 found = true; in getCodePointsAndProbabilityAndReturnCodePointCount()
180 found = true; in getCodePointsAndProbabilityAndReturnCodePointCount()
183 found = false; in getCodePointsAndProbabilityAndReturnCodePointCount()
189 found = (1 >= ptNodeCount); in getCodePointsAndProbabilityAndReturnCodePointCount()
192 if (found) { in getCodePointsAndProbabilityAndReturnCodePointCount()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingSystem.java422 boolean found = false; in build()
425 found = true; in build()
430 if (!found) { in build()
534 boolean found = false; in build()
537 found = true; in build()
543 if (!found) { in build()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DAddWorkspaceItemsTask.java219 boolean found = false; in findSpaceForItem()
226 found = findNextAvailableIconSpaceInScreen( in findSpaceForItem()
230 if (!found) { in findSpaceForItem()
237 found = true; in findSpaceForItem()
243 if (!found) { in findSpaceForItem()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DBmsgTokenizer.java45 boolean found = false; in next()
61 found = true; in next()
63 } while (!found); in next()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/config/
DFlagOverrideRule.java95 boolean found = false;
99 found = true;
103 if (!found) {
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapSmsPdu.java167 boolean found = false; in cdmaGetParameterOffset()
177 found = true; in cdmaGetParameterOffset()
189 if (found) { in cdmaGetParameterOffset()
201 boolean found = false; in cdmaGetSubParameterOffset()
212 found = true; in cdmaGetSubParameterOffset()
224 if (found) { in cdmaGetSubParameterOffset()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DMoreWirelessSettingsTest2.java743 UiObject2 found = null; in scrollToObject() local
750 found = mDevice.findObject(objectSelector); in scrollToObject()
751 if (found != null) return found; in scrollToObject()
754 for (int attempts = 0; found == null && attempts < MAX_SCROLL_ATTEMPTS; ++attempts) { in scrollToObject()
758 found = mDevice.findObject(objectSelector); in scrollToObject()
760 if (found == null) { in scrollToObject()
763 return found; in scrollToObject()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java413 boolean found = layout.findCellForSpan(outCoordinates, info.spanX, info.spanY); in findSpaceOnWorkspace()
415 while (!found && screenIndex < workspaceScreens.size()) { in findSpaceOnWorkspace()
418 found = layout.findCellForSpan(outCoordinates, info.spanX, info.spanY); in findSpaceOnWorkspace()
422 if (found) { in findSpaceOnWorkspace()
429 found = layout.findCellForSpan(outCoordinates, info.spanX, info.spanY); in findSpaceOnWorkspace()
431 if (!found) { in findSpaceOnWorkspace()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DTetherServiceTest.java69 boolean found = false; in scheduleAlarm_shouldRegisterReceiver()
72 found = true; in scheduleAlarm_shouldRegisterReceiver()
77 assertThat(found).isTrue(); in scheduleAlarm_shouldRegisterReceiver()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DAddWifiFragmentTest.java151 boolean found = false; in isReceiverRegisteredForAction()
154 found = true; in isReceiverRegisteredForAction()
158 return found; in isReceiverRegisteredForAction()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureSettingsTest.java123 boolean found = false; in containsPackages()
126 found = true; in containsPackages()
130 if (!found) { in containsPackages()
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/
DP2pDiscoveryProcedure.java149 for (WifiP2pDevice found : peers) { in getDevice()
150 if (found.deviceAddress.equals(address)) { in getDevice()
151 return found; in getDevice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAssistantPickerTest.java121 boolean found = false; in candidateListHasCorrectCandidate()
124 found = true; in candidateListHasCorrectCandidate()
128 if (!found) fail(); in candidateListHasCorrectCandidate()
/packages/apps/Car/libs/
Dresource_generator.py119 found = False
126 found = True
129 if not found:
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DDirectoryListBot.java97 List<String> found = new ArrayList<>(); in assertDocumentsAbsent() local
100 found.add(label); in assertDocumentsAbsent()
103 if (!found.isEmpty()) { in assertDocumentsAbsent()
105 + ", but present " + found); in assertDocumentsAbsent()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java189 boolean found = false; in testGetChannels()
192 found = true; in testGetChannels()
197 assertWithMessage("Cannot find (" + channel + ")").that(found).isTrue(); in testGetChannels()
226 boolean found = channelList.remove(browsableChannel); in testBrowsable()
227 assertWithMessage("Cannot find (" + browsableChannel + ")").that(found).isTrue(); in testBrowsable()

1234