/frameworks/base/tools/bit/ |
D | adb.cpp | 358 bool found = false; in find_penultimate_entry() local 366 found = true; in find_penultimate_entry() 370 if (!found) { in find_penultimate_entry() 381 get_bundle_string(const ResultsBundle& bundle, bool* found, ...) in get_bundle_string() argument 384 va_start(args, found); in get_bundle_string() 388 *found = false; in get_bundle_string() 392 *found = true; in get_bundle_string() 395 *found = false; in get_bundle_string() 400 get_bundle_int(const ResultsBundle& bundle, bool* found, ...) in get_bundle_int() argument 403 va_start(args, found); in get_bundle_int() [all …]
|
D | adb.h | 41 string get_bundle_string(const ResultsBundle& bundle, bool* found, ...); 42 int32_t get_bundle_int(const ResultsBundle& bundle, bool* found, ...); 43 float get_bundle_float(const ResultsBundle& bundle, bool* found, ...); 44 double get_bundle_double(const ResultsBundle& bundle, bool* found, ...); 45 int64_t get_bundle_long(const ResultsBundle& bundle, bool* found, ...);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListSetSelectionTest.java | 73 boolean found = false; in testSetSelection() 78 found = true; in testSetSelection() 82 assertTrue("Selected item not visible in list", found); in testSetSelection() 104 boolean found = false; in testSetSelectionFromTop() 110 found = true; in testSetSelectionFromTop() 114 assertTrue("Selected item not visible in list", found); in testSetSelectionFromTop() 139 boolean found = false; in testSetSelection0() 144 found = true; in testSetSelection0() 148 assertTrue("Selected item not visible in list", found); in testSetSelection0()
|
/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.cpp | 67 size_t found; in split() local 69 found = line.find_first_of(delimiters, base); in split() 70 if (found != base) { in split() 71 std::string word = (*func) (line.substr(base, found - base)); in split() 76 if (found == line.npos) break; in split() 77 base = found + 1; in split() 212 auto found = line->find_first_of(cut); in behead() local 213 if (found == std::string::npos) { in behead() 218 std::string head = line->substr(0, found); in behead() 219 while(line->at(found) == cut) found++; // trim more cut of the rest in behead() [all …]
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
D | in_memory_wrapper_input.cpp | 30 size_t found = 0; in Read() local 36 while (found < wanted) { in Read() 38 return found; in Read() 40 buffer[found++] = _buffer[_pos++]; in Read() 42 return found; in Read()
|
/frameworks/native/libs/gui/ |
D | BufferQueueProducer.cpp | 274 std::unique_lock<std::mutex>& lock, int* found) const { in waitForFreeSlotThenRelock() 309 *found = BufferQueueCore::INVALID_BUFFER_SLOT; in waitForFreeSlotThenRelock() 326 *found = mCore->mSharedBufferSlot; in waitForFreeSlotThenRelock() 332 *found = slot; in waitForFreeSlotThenRelock() 334 *found = getFreeSlotLocked(); in waitForFreeSlotThenRelock() 340 *found = slot; in waitForFreeSlotThenRelock() 342 *found = getFreeBufferLocked(); in waitForFreeSlotThenRelock() 351 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) || in waitForFreeSlotThenRelock() 440 int found = BufferItem::INVALID_BUFFER_SLOT; in dequeueBuffer() local 441 while (found == BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer() [all …]
|
/frameworks/av/camera/ndk/ndk_vendor/impl/ |
D | ACameraDevice.cpp | 359 bool found = false; in allocateCaptureRequestLocked() local 370 found = true; in allocateCaptureRequestLocked() 376 if (found) { in allocateCaptureRequestLocked() 380 if (!found) { in allocateCaptureRequestLocked() 926 bool found = msg->findPointer(kContextKey, &context); in onMessageReceived() local 927 if (!found) { in onMessageReceived() 935 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived() 936 if (!found || dev == nullptr) { in onMessageReceived() 941 found = msg->findPointer(kCallbackFpKey, (void**) &onDisconnected); in onMessageReceived() 942 if (!found) { in onMessageReceived() [all …]
|
D | ACameraManager.cpp | 449 bool found = msg->findPointer(kCallbackFpKey, (void**) &cb); in onMessageReceivedInternal() local 450 if (!found) { in onMessageReceivedInternal() 454 found = msg->findPointer(kContextKey, &context); in onMessageReceivedInternal() 455 if (!found) { in onMessageReceivedInternal() 459 found = msg->findString(kCameraIdKey, &cameraId); in onMessageReceivedInternal() 460 if (!found) { in onMessageReceivedInternal() 473 bool found = msg->findPointer(kCallbackFpKey, (void**) &cb); in onMessageReceivedInternal() local 474 if (!found) { in onMessageReceivedInternal() 478 found = msg->findPointer(kContextKey, &context); in onMessageReceivedInternal() 479 if (!found) { in onMessageReceivedInternal() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServicesUserState.java | 56 final boolean found; in removeOp() 59 found = false; in removeOp() 61 found = keys.remove(op); in removeOp() 66 return found; in removeOp() 102 final boolean found; in removeNotification() 105 found = false; in removeNotification() 107 found = keys.remove(key); in removeNotification() 112 return found; in removeNotification()
|
/frameworks/base/cmds/incidentd/tests/ |
D | Reporter_test.cpp | 88 map<int, int>::const_iterator found = startSections.find(sectionId); in sectionStarted() local 89 if (found != startSections.end()) { in sectionStarted() 90 return found->second; in sectionStarted() 97 map<int, int>::const_iterator found = finishSections.find(sectionId); in sectionFinished() local 98 if (found != finishSections.end()) { in sectionFinished() 99 return found->second; in sectionFinished()
|
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | AsmAnalyzerTest.java | 108 TreeMap<String, ClassReader> found = new TreeMap<>(); in testFindClass() local 111 zipClasses, found); in testFindClass() 116 found.keySet().toArray()); in testFindClass() 117 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); in testFindClass() 158 TreeMap<String, ClassReader> found = new TreeMap<>(); in testFindClassesDerivingFrom() local 160 AsmAnalyzer.findClassesDerivingFrom("mock_android.view.View", zipClasses, found); in testFindClassesDerivingFrom() 168 found.keySet().toArray()); in testFindClassesDerivingFrom() 170 for (String key : found.keySet()) { in testFindClassesDerivingFrom() 171 ClassReader value = found.get(key); in testFindClassesDerivingFrom()
|
/frameworks/base/tools/streaming_proto/ |
D | string_utils.cpp | 96 size_t base = 0, found = 0; in split() local 98 found = str.find_first_of(delimiter, base); in split() 99 if (found != base) { in split() 100 string part = str.substr(base, found - base); in split() 105 if (found == str.npos) break; in split() 106 base = found + 1; in split()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SimulatedGsmCallState.java | 282 boolean found; in triggerHangupForeground() 284 found = false; in triggerHangupForeground() 294 found = true; in triggerHangupForeground() 307 found = true; in triggerHangupForeground() 310 return found; in triggerHangupForeground() 321 boolean found = false; in triggerHangupBackground() 328 found = true; in triggerHangupBackground() 332 return found; in triggerHangupBackground() 343 boolean found = false; in triggerHangupAll() 349 found = true; in triggerHangupAll() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonConnector.java | 651 PendingCmd found = null; in add() local 655 found = pendingCmd; in add() 659 if (found == null) { in add() 671 found = new PendingCmd(cmdNum, null); in add() 672 mPendingCmds.add(found); in add() 674 found.availableResponseCount++; in add() 677 if (found.availableResponseCount == 0) mPendingCmds.remove(found); in add() 680 found.responses.put(response); in add() 687 PendingCmd found = null; in remove() local 691 found = pendingCmd; in remove() [all …]
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 126 boolean found = false; in testAddRemoveNetwork() 129 found = true; in testAddRemoveNetwork() 132 assertTrue(found); in testAddRemoveNetwork() 140 found = false; in testAddRemoveNetwork() 143 found = true; in testAddRemoveNetwork() 147 assertFalse(found); in testAddRemoveNetwork() 221 boolean found = false; in testSaveConfig() 224 found = true; in testSaveConfig() 227 assertTrue(found); in testSaveConfig()
|
/frameworks/av/media/bufferpool/1.0/ |
D | AccessorImpl.cpp | 211 auto found = mBufferPool.mTransactions.find(transactionId); in fetch() local 212 if (found != mBufferPool.mTransactions.end() && in fetch() 215 if (found->second->mSenderValidated && in fetch() 216 found->second->mStatus == BufferStatus::TRANSFER_FROM && in fetch() 217 found->second->mBufferId == bufferId) { in fetch() 218 found->second->mStatus = BufferStatus::TRANSFER_FETCH; in fetch() 307 auto found = mTransactions.find(message.transactionId); in handleTransferTo() local 308 if (found != mTransactions.end()) { in handleTransferTo() 310 found->second->mSender = message.connectionId; in handleTransferTo() 311 found->second->mSenderValidated = true; in handleTransferTo() [all …]
|
/frameworks/av/camera/ndk/impl/ |
D | ACameraManager.cpp | 371 bool found = msg->findPointer(kCallbackFpKey, (void**) &cb); in onMessageReceivedInternal() local 372 if (!found) { in onMessageReceivedInternal() 376 found = msg->findPointer(kContextKey, &context); in onMessageReceivedInternal() 377 if (!found) { in onMessageReceivedInternal() 381 found = msg->findString(kCameraIdKey, &cameraId); in onMessageReceivedInternal() 382 if (!found) { in onMessageReceivedInternal() 394 bool found = msg->findPointer(kCallbackFpKey, (void**) &cb); in onMessageReceivedInternal() local 395 if (!found) { in onMessageReceivedInternal() 399 found = msg->findPointer(kContextKey, &context); in onMessageReceivedInternal() 400 if (!found) { in onMessageReceivedInternal() [all …]
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactoryState.c | 39 int found = 0; in findEffect() local 42 while (e && !found) { in findEffect() 48 found = 1; in findEffect() 52 found = 1; in findEffect() 59 if (!found) { in findEffect()
|
/frameworks/base/cmds/incidentd/src/ |
D | Broadcaster.cpp | 132 map<ReportId,ReportStatus>::const_iterator found = mHistory.find(ReportId(id, pkg, cls)); in clearBroadcasts() local 133 if (found != mHistory.end()) { in clearBroadcasts() 134 if (found->second.listener != nullptr) { in clearBroadcasts() 137 ics->cancelAuthorization(found->second.listener); in clearBroadcasts() 140 mHistory.erase(found); in clearBroadcasts() 271 map<ReportId,ReportStatus>::const_iterator found = mHistory.find(ReportId(id, pkg, cls)); in was_approval_sent() local 272 if (found != mHistory.end()) { in was_approval_sent() 273 return found->second.approval_sent; in was_approval_sent() 288 map<ReportId,ReportStatus>::const_iterator found = mHistory.find(ReportId(id, pkg, cls)); in was_ready_sent() local 289 if (found != mHistory.end()) { in was_ready_sent() [all …]
|
/frameworks/base/media/jni/soundpool/ |
D | StreamManager.cpp | 295 const ssize_t found = removeFromQueues_l(stream, activeStreamIDToMatch); in moveToRestartQueue_l() local 296 if (found < 0) return false; in moveToRestartQueue_l() 298 LOG_ALWAYS_FATAL_IF(found > 1, "stream on %zd > 1 stream lists", found); in moveToRestartQueue_l() 307 size_t found = 0; in removeFromQueues_l() local 311 ++found; in removeFromQueues_l() 316 if (found == 0 && activeStreamIDToMatch > 0) { in removeFromQueues_l() 323 ++found; in removeFromQueues_l() 327 found += mAvailableStreams.erase(stream); in removeFromQueues_l() 331 return found; in removeFromQueues_l()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchSetSelectionTest.java | 71 boolean found = false; in testSetSelection() 76 found = true; in testSetSelection() 80 assertTrue("Selected item not visible in list", found); in testSetSelection()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | SurfaceInterceptor_test.cpp | 193 bool reparentUpdateFound(const SurfaceChange& change, bool found); 194 bool relativeParentUpdateFound(const SurfaceChange& change, bool found); 195 bool detachChildrenUpdateFound(const SurfaceChange& change, bool found); 196 bool reparentChildrenUpdateFound(const SurfaceChange& change, bool found); 197 bool shadowRadiusUpdateFound(const SurfaceChange& change, bool found); 647 bool SurfaceInterceptorTest::reparentUpdateFound(const SurfaceChange& change, bool found) { in reparentUpdateFound() argument 649 if (hasId && !found) { in reparentUpdateFound() 650 found = true; in reparentUpdateFound() 651 } else if (hasId && found) { in reparentUpdateFound() 654 return found; in reparentUpdateFound() [all …]
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceProcessor.java | 197 boolean found; in filter() 203 found = listContains(r.bymonth, r.bymonthCount, in filter() 205 if (!found) { in filter() 214 found = listContains(r.byweekno, r.byweeknoCount, in filter() 217 if (!found) { in filter() 225 found = listContains(r.byyearday, r.byyeardayCount, in filter() 227 if (!found) { in filter() 233 found = listContains(r.bymonthday, r.bymonthdayCount, in filter() 236 if (!found) { in filter() 257 found = listContains(r.byhour, r.byhourCount, in filter() [all …]
|
/frameworks/av/media/ndk/ |
D | NdkImageReader.cpp | 212 bool found = msg->findPointer(kCallbackFpKey, (void**) &onBufferRemoved); in onMessageReceived() local 213 if (!found || onBufferRemoved == nullptr) { in onMessageReceived() 217 found = msg->findPointer(kContextKey, &context); in onMessageReceived() 218 if (!found) { in onMessageReceived() 223 found = msg->findObject(kGraphicBufferKey, &bufferToFree); in onMessageReceived() 224 if (!found || bufferToFree == nullptr) { in onMessageReceived() 242 bool found = msg->findPointer(kCallbackFpKey, (void**) &onImageAvailable); in onMessageReceived() local 243 if (!found || onImageAvailable == nullptr) { in onMessageReceived() 247 found = msg->findPointer(kContextKey, &context); in onMessageReceived() 248 if (!found) { in onMessageReceived() [all …]
|
/frameworks/compile/slang/tests/F_reduce_general_bad_function/ |
D | stderr.txt.expect | 1 … reduce(init0)' (reduce_general_bad_function.rscript:17:12) must take exactly 1 parameter (found 0) 2 … reduce(init2)' (reduce_general_bad_function.rscript:21:12) must take exactly 1 parameter (found 2) 4 …nit2_special1)' (reduce_general_bad_function.rscript:29:12) must take exactly 1 parameter (found 2) 5 …nit2_special0)' (reduce_general_bad_function.rscript:33:12) must take exactly 1 parameter (found 2) 25 …educe(comb0)' (reduce_general_bad_function.rscript:142:12) must take exactly 2 parameters (found 0) 26 …educe(comb1)' (reduce_general_bad_function.rscript:146:12) must take exactly 2 parameters (found 1) 27 …educe(comb3)' (reduce_general_bad_function.rscript:150:12) must take exactly 2 parameters (found 3) 39 …reduce(out0)' (reduce_general_bad_function.rscript:203:12) must take exactly 2 parameters (found 0) 40 …reduce(out1)' (reduce_general_bad_function.rscript:207:12) must take exactly 2 parameters (found 1) 41 …reduce(out3)' (reduce_general_bad_function.rscript:211:12) must take exactly 2 parameters (found 3)
|