Searched refs:found (Results 1 - 25 of 124) sorted by relevance

12345

/frameworks/compile/libbcc/bcinfo/Wrap/
H A Din_memory_wrapper_input.cpp30 size_t found = 0; local
36 while (found < wanted) {
38 return found;
40 buffer[found++] = _buffer[_pos++];
42 return found;
H A Dfile_wrapper_input.cpp36 size_t found = fread((char*) buffer, 1, wanted, _file); local
40 return found;
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmAnalyzerTest.java103 TreeMap<String, ClassReader> found = new TreeMap<>();
106 zipClasses, found);
111 found.keySet().toArray());
112 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray());
122 TreeMap<String, ClassReader> found = new TreeMap<>();
125 found.clear();
126 mAa.findGlobs("mock_android.view", zipClasses, found);
129 found.keySet().toArray());
132 mAa.findGlobs("mock_android.*.*Group$*Layout*", zipClasses, found);
138 found
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListSetSelectionTest.java73 boolean found = false;
78 found = true;
82 assertTrue("Selected item not visible in list", found);
104 boolean found = false;
110 found = true;
114 assertTrue("Selected item not visible in list", found);
139 boolean found = false;
144 found = true;
148 assertTrue("Selected item not visible in list", found);
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/
H A DGridTouchSetSelectionTest.java71 boolean found = false;
76 found = true;
80 assertTrue("Selected item not visible in list", found);
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp242 int* found) const {
273 *found = BufferQueueCore::INVALID_BUFFER_SLOT;
290 *found = mCore->mSharedBufferSlot;
296 *found = slot;
298 *found = getFreeSlotLocked();
304 *found = slot;
306 *found = getFreeBufferLocked();
312 // If no buffer is found, or if the queue has too many buffers
315 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) ||
392 int found local
642 int found = mCore->mFreeBuffers.front(); local
695 int found; local
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java74 boolean found = false;
90 found = true;
92 } while (!found);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/
H A DWifiClientTest.java126 boolean found = false;
129 found = true;
132 assertTrue(found);
140 found = false;
143 found = true;
147 assertFalse(found);
221 boolean found = false;
224 found = true;
227 assertTrue(found);
/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp692 ALOGE("%s: Error: capture sequence index %d not found!",
778 bool found = msg->findPointer(kContextKey, &context); local
779 if (!found) {
787 found = msg->findPointer(kDeviceKey, (void**) &dev);
788 if (!found || dev == nullptr) {
793 found = msg->findPointer(kCallbackFpKey, (void**) &onDisconnected);
794 if (!found) {
807 found = msg->findPointer(kDeviceKey, (void**) &dev);
808 if (!found || dev == nullptr) {
813 found
[all...]
H A DACameraManager.cpp225 bool found = msg->findPointer(kCallbackFpKey, (void**) &cb); local
226 if (!found) {
230 found = msg->findPointer(kContextKey, &context);
231 if (!found) {
235 found = msg->findInt32(kCameraIdKey, &cameraId);
236 if (!found) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DRemoteInputController.java47 boolean found = pruneWeakThenRemoveAndContains(
49 if (!found) {
108 boolean found = false;
114 found = true;
117 return found;
/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonConnector.java640 PendingCmd found = null;
644 found = pendingCmd;
648 if (found == null) {
660 found = new PendingCmd(cmdNum, null);
661 mPendingCmds.add(found);
663 found.availableResponseCount++;
666 if (found.availableResponseCount == 0) mPendingCmds.remove(found);
669 found.responses.put(response);
676 PendingCmd found
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
H A DInformationElementUtil.java361 // found the RSNE IE, hence start building the capability string
381 boolean found = false;
386 security += (found ? "+" : "-") + "EAP";
387 found = true;
390 security += (found ? "+" : "-") + "PSK";
391 found = true;
394 security += (found ? "+" : "-") + "FT/EAP";
395 found = true;
398 security += (found ? "+" : "-") + "FT/PSK";
399 found
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedGsmCallState.java280 boolean found;
282 found = false;
292 found = true;
305 found = true;
308 return found;
319 boolean found = false;
326 found = true;
330 return found;
341 boolean found = false;
347 found
[all...]
/frameworks/base/core/java/android/util/
H A DStateSet.java168 boolean found = false;
183 found = true;
192 if (mustMatch && !found) {
/frameworks/base/libs/hwui/tests/macrobench/
H A Dmain.cpp75 char* found = (char*) memrchr(col2, ' ', 50); local
76 if (found) {
77 toPrint = found - col2;
/frameworks/base/tools/split-select/
H A DGrouper_test.cpp152 size_t found = 0; local
155 found++;
159 if (found == splitCount) {
/frameworks/compile/slang/tests/
H A Dtest.py150 found = glob.glob(find)
151 if len(found) != 1:
154 print 'unique ' + find + ' not found'
155 elif not CompareFiles(found[0], expect):
/frameworks/rs/api/
H A DScanner.cpp118 bool found = findOptionalTag(tag); local
119 if (!found) {
123 return found;
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/bots/
H A DDirectoryListBot.java75 List<String> found = new ArrayList<>();
78 found.add(label);
81 if (!found.isEmpty()) {
83 + ", but present " + found);
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java351 boolean found = false;
354 if (!found) {
355 found = true;
362 assertTrue("group does not contain " + child, found);
377 assertTrue("child " + child + " is found in parent", false);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Ddyn_bits.c387 Flag found = 0; local
422 found = 0;
428 found = 0;
435 found = 1;
456 for (m = i + 1; (m < sectionData->noOfSections) && (found == 0); m++) {
464 found = 1;
484 if (found == 0) {
/frameworks/av/media/ndk/
H A DNdkImageReader.cpp124 bool found = msg->findPointer(kCallbackFpKey, (void**) &onImageAvailable); local
125 if (!found || onImageAvailable == nullptr) {
129 found = msg->findPointer(kContextKey, &context);
130 if (!found) {
369 bool found = false; local
375 found = true;
380 if (!found) {
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceProcessor.java197 boolean found;
203 found = listContains(r.bymonth, r.bymonthCount,
205 if (!found) {
214 found = listContains(r.byweekno, r.byweeknoCount,
217 if (!found) {
225 found = listContains(r.byyearday, r.byyeardayCount,
227 if (!found) {
233 found = listContains(r.bymonthday, r.bymonthdayCount,
236 if (!found) {
257 found
[all...]
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp164 unsigned found = plan.find(":"); local
166 std::string name = plan.substr(0, found);
170 std::istringstream iss(plan.substr(found + 1));
174 found = s.find(",");
175 std::string sourceStr = s.substr(0, found);
176 std::string slotStr = s.substr(found + 1);

Completed in 1728 milliseconds

12345