/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/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/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/av/camera/ndk/impl/ |
D | ACameraDevice.cpp | 371 bool found = false; in allocateCaptureRequest() local 379 found = true; in allocateCaptureRequest() 385 if (found) { in allocateCaptureRequest() 389 if (!found) { in allocateCaptureRequest() 927 bool found = msg->findPointer(kContextKey, &context); in onMessageReceived() local 928 if (!found) { in onMessageReceived() 936 found = msg->findPointer(kDeviceKey, (void**) &dev); in onMessageReceived() 937 if (!found || dev == nullptr) { in onMessageReceived() 942 found = msg->findPointer(kCallbackFpKey, (void**) &onDisconnected); in onMessageReceived() 943 if (!found) { in onMessageReceived() [all …]
|
D | ACameraManager.cpp | 308 bool found = msg->findPointer(kCallbackFpKey, (void**) &cb); in onMessageReceived() local 309 if (!found) { in onMessageReceived() 313 found = msg->findPointer(kContextKey, &context); in onMessageReceived() 314 if (!found) { in onMessageReceived() 318 found = msg->findString(kCameraIdKey, &cameraId); in onMessageReceived() 319 if (!found) { in onMessageReceived() 331 bool found = msg->findPointer(kCallbackFpKey, (void**) &cb); in onMessageReceived() local 332 if (!found) { in onMessageReceived() 336 found = msg->findPointer(kContextKey, &context); in onMessageReceived() 337 if (!found) { in onMessageReceived()
|
/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 | 251 std::unique_lock<std::mutex>& lock, int* found) const { in waitForFreeSlotThenRelock() 286 *found = BufferQueueCore::INVALID_BUFFER_SLOT; in waitForFreeSlotThenRelock() 303 *found = mCore->mSharedBufferSlot; in waitForFreeSlotThenRelock() 309 *found = slot; in waitForFreeSlotThenRelock() 311 *found = getFreeSlotLocked(); in waitForFreeSlotThenRelock() 317 *found = slot; in waitForFreeSlotThenRelock() 319 *found = getFreeBufferLocked(); in waitForFreeSlotThenRelock() 328 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) || in waitForFreeSlotThenRelock() 413 int found = BufferItem::INVALID_BUFFER_SLOT; in dequeueBuffer() local 414 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 …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServicesUserState.java | 54 final boolean found; in removeOp() 57 found = false; in removeOp() 59 found = keys.remove(op); in removeOp() 64 return found; in removeOp() 100 final boolean found; in removeNotification() 103 found = false; in removeNotification() 105 found = keys.remove(key); in removeNotification() 110 return found; in removeNotification()
|
/frameworks/layoutlib/create/tests/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/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/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 | 206 auto found = mBufferPool.mTransactions.find(transactionId); in fetch() local 207 if (found != mBufferPool.mTransactions.end() && in fetch() 210 if (found->second->mSenderValidated && in fetch() 211 found->second->mStatus == BufferStatus::TRANSFER_FROM && in fetch() 212 found->second->mBufferId == bufferId) { in fetch() 213 found->second->mStatus = BufferStatus::TRANSFER_FETCH; in fetch() 302 auto found = mTransactions.find(message.transactionId); in handleTransferTo() local 303 if (found != mTransactions.end()) { in handleTransferTo() 305 found->second->mSender = message.connectionId; in handleTransferTo() 306 found->second->mSenderValidated = true; in handleTransferTo() [all …]
|
/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/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/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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | DppMetricsTest.java | 96 boolean found = false; in checkDppFailures() 105 found = true; in checkDppFailures() 110 assertTrue(found); in checkDppFailures() 120 boolean found = false; in checkDppSuccesses() 129 found = true; in checkDppSuccesses() 134 assertTrue(found); in checkDppSuccesses()
|
/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/bufferpool/2.0/ |
D | AccessorImpl.cpp | 223 auto found = mBufferPool.mTransactions.find(transactionId); in fetch() local 224 if (found != mBufferPool.mTransactions.end() && in fetch() 227 if (found->second->mSenderValidated && in fetch() 228 found->second->mStatus == BufferStatus::TRANSFER_FROM && in fetch() 229 found->second->mBufferId == bufferId) { in fetch() 230 found->second->mStatus = BufferStatus::TRANSFER_FETCH; in fetch() 471 auto found = mTransactions.find(message.transactionId); in handleTransferTo() local 472 if (found != mTransactions.end()) { in handleTransferTo() 474 found->second->mSender = message.connectionId; in handleTransferTo() 475 found->second->mSenderValidated = true; in handleTransferTo() [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)
|