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

123456

/frameworks/av/media/libaaudio/tests/
H A Dtest_handle_tracker.cpp33 handle_tracker_address_t found; local
39 found = tracker.get(type, 0); // bad handle
40 EXPECT_EQ(nullptr, found);
45 found = tracker.get(type, dataHandle);
46 EXPECT_EQ(&data, found);
47 found = tracker.get(type, 0); // bad handle
48 EXPECT_EQ(nullptr, found);
51 found = tracker.get(type+1, dataHandle);
52 EXPECT_EQ(nullptr, found);
55 found
70 handle_tracker_address_t found; local
[all...]
/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/bit/
H A Dadb.h41 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, ...);
H A Dadb.cpp336 * Get the second to last bundle in the args list. Stores the last name found
337 * in last. If the path is not found or if the args list is empty, returns NULL.
347 bool found = false;
355 found = true;
359 if (!found) {
370 get_bundle_string(const ResultsBundle& bundle, bool* found, ...)
373 va_start(args, found);
377 *found = false;
381 *found = true;
384 *found
[all...]
/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.cpp247 int* found) const {
278 *found = BufferQueueCore::INVALID_BUFFER_SLOT;
295 *found = mCore->mSharedBufferSlot;
301 *found = slot;
303 *found = getFreeSlotLocked();
309 *found = slot;
311 *found = getFreeBufferLocked();
317 // If no buffer is found, or if the queue has too many buffers
320 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) ||
398 int found local
661 int found = mCore->mFreeBuffers.front(); local
720 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/support/development/checkstyle/src/com/android/support/checkstyle/
H A DMismatchedAnnotationCheck.java169 boolean found = false;
174 if (found) {
177 found = true;
182 return 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...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DRemoteInputController.java58 boolean found = pruneWeakThenRemoveAndContains(
60 if (!found) {
152 boolean found = false;
165 found = true;
169 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/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/rs/rsov/driver/
H A DrsovContext.cpp115 bool found = false; local
119 found = true;
124 if (!found) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DForegroundServiceControllerImpl.java132 final boolean found;
135 found = false;
137 found = keys.remove(key);
142 return found;
/frameworks/support/development/checkstyle/prebuilt/
H A Dcom.android.support.checkstyle.jar ... .checkstyle.api.TextBlock javadoc int currentLine boolean found String[] lines } com/android/support/checkstyle/TestSizeAnnotationCheck.class TestSizeAnnotationCheck ...
/frameworks/av/media/ndk/
H A DNdkImageReader.cpp189 bool found = msg->findPointer(kCallbackFpKey, (void**) &onBufferRemoved); local
190 if (!found || onBufferRemoved == nullptr) {
194 found = msg->findPointer(kContextKey, &context);
195 if (!found) {
200 found = msg->findObject(kGraphicBufferKey, &bufferToFree);
201 if (!found || bufferToFree == nullptr) {
219 bool found = msg->findPointer(kCallbackFpKey, (void**) &onImageAvailable); local
220 if (!found || onImageAvailable == nullptr) {
224 found = msg->findPointer(kContextKey, &context);
225 if (!found) {
496 bool found = false; local
[all...]
/frameworks/av/media/vndk/xmlparser/1.0/
H A DMediaCodecsXmlParser.cpp501 ALOGE("addMediaCodecFromAttributes: name not found");
559 ALOGE("addQuirk: name not found");
617 static status_t limitFoundMissingAttr(const AString &name, const char *attr, bool found = true) {
619 (found ? "" : "no "), attr);
673 bool found; local
710 (found = msg->findString("default", &def))) {
711 return limitFoundMissingAttr(name, "default", found);
716 if ((name == "aspect-ratio") ^ (found = msg->findString("in", &in_))) {
717 return limitFoundMissingAttr(name, "in", found);
747 (found
[all...]
/frameworks/compile/slang/tests/
H A Dslang_test.py261 found = glob.glob(find)
262 if len(found) != 1:
263 if not found:
264 tests.fail('%s not found' % find)
266 tests.fail('multiple %s found' % find)
267 elif not CompareFiles(found[0], expect):
268 tests.fail('%s and %s are different' % (found[0], expect))
/frameworks/base/core/java/android/util/
H A DStateSet.java168 boolean found = false;
183 found = true;
192 if (mustMatch && !found) {
/frameworks/base/tools/split-select/
H A DGrouper_test.cpp152 size_t found = 0; local
155 found++;
159 if (found == splitCount) {
/frameworks/rs/script_api/
H A DScanner.cpp118 bool found = findOptionalTag(tag); local
119 if (!found) {
123 return found;

Completed in 1691 milliseconds

123456