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

1234

/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/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiParser.java118 security = "[WPA2"; //found the RSNE IE, hence start building the capability string
152 boolean found = false;
155 security += found ? "+" : "-" + "EAP";
156 found = true;
159 security += found ? "+" : "-" + "PSK"; //PSK as 802.11-2012 11.6.1.2
160 found = true;
163 security += found ? "+" : "-" + "FT/EAP";
164 found = true;
167 security += found ? "+" : "-" + "FT/PSK";
168 found
[all...]
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmAnalyzerTest.java108 TreeMap<String, ClassReader> found = new TreeMap<String, ClassReader>();
111 zipClasses, found);
116 found.keySet().toArray());
117 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray());
127 TreeMap<String, ClassReader> found = new TreeMap<String, ClassReader>();
130 found.clear();
131 mAa.findGlobs("mock_android.view", zipClasses, found);
134 found.keySet().toArray());
137 mAa.findGlobs("mock_android.*.*Group$*Layout*", zipClasses, found);
143 found
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/
H A DListSetSelectionTest.java71 boolean found = false;
76 found = true;
80 assertTrue("Selected item not visible in list", found);
102 boolean found = false;
108 found = true;
112 assertTrue("Selected item not visible in list", found);
137 boolean found = false;
142 found = true;
146 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/base/services/core/java/com/android/server/
H A DNativeDaemonConnector.java562 PendingCmd found = null;
566 found = pendingCmd;
570 if (found == null) {
582 found = new PendingCmd(cmdNum, null);
583 mPendingCmds.add(found);
585 found.availableResponseCount++;
588 if (found.availableResponseCount == 0) mPendingCmds.remove(found);
591 found.responses.put(response);
598 PendingCmd found
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp130 bool async, int* found, status_t* returnFlags) const {
160 *found = BufferQueueCore::INVALID_BUFFER_SLOT;
175 if (*found == BufferQueueCore::INVALID_BUFFER_SLOT ||
176 mSlots[s].mFrameNumber < mSlots[*found].mFrameNumber) {
177 *found = s;
223 // If no buffer is found, or if the queue has too many buffers
226 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) ||
279 int found; local
281 &found, &returnFlags);
287 if (found
129 waitForFreeSlotThenRelock(const char* caller, bool async, int* found, status_t* returnFlags) const argument
437 int found = BufferQueueCore::INVALID_BUFFER_SLOT; local
477 int found; local
[all...]
H A DBufferQueueConsumer.cpp223 int found = BufferQueueCore::INVALID_BUFFER_SLOT; local
228 if (found == BufferQueueCore::INVALID_BUFFER_SLOT ||
229 mSlots[s].mFrameNumber < mSlots[found].mFrameNumber) {
230 found = s;
241 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) {
246 *outSlot = found;
/frameworks/base/core/java/android/util/
H A DStateSet.java80 boolean found = false;
95 found = true;
104 if (mustMatch && !found) {
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java74 boolean found = false;
90 found = true;
92 } while (!found);
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/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/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/av/media/libstagefright/
H A DMediaCodecList.cpp617 static status_t limitFoundMissingAttr(AString name, const char *attr, bool found = true) {
619 (found ? "" : "no "), attr);
670 bool found; local
702 (found = msg->findString("default", &def))) {
703 return limitFoundMissingAttr(name, "default", found);
708 if ((name == "aspect-ratio") ^ (found = msg->findString("in", &in_))) {
709 return limitFoundMissingAttr(name, "in", found);
739 (found = msg->findString("max", &max))) {
740 return limitFoundMissingAttr(name, "max", found);
746 (found
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerTest.java56 boolean found = false;
73 boolean found = false;
79 found = true;
85 assertTrue(found);
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java343 boolean found = false;
346 if (!found) {
347 found = true;
354 assertTrue("group does not contain " + child, found);
369 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/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/rs/
H A DrsScriptGroup.cpp155 bool found = false; local
158 found = true;
162 if (!found) {
169 bool found = false; local
172 found = true;
176 if (!found) {
267 rsAssert(!"ScriptGroup:setInput kid not found");
281 rsAssert(!"ScriptGroup:setOutput kid not found");
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Theme_Delegate.java94 boolean found = RenderSessionImpl.getCurrentContext().resolveThemeAttribute(
97 return found;
/frameworks/base/core/jni/
H A Dandroid_util_EventLog.cpp193 int found = 0; local
194 for (int i = 0; !found && i < tagLength; ++i) {
195 found = (tag == tagValues[i]);
198 if (found) {
/frameworks/native/include/gui/
H A DBufferQueueProducer.h186 int* found, status_t* returnFlags) const;
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DKeyphraseEnrollmentInfo.java97 mParseError = "No enrollment application found";
101 boolean found = false;
120 found = true;
127 if (!found) {
129 mParseError = "No suitable enrollment application found";
/frameworks/base/core/java/android/text/
H A DAutoText.java106 * of text. Returns null if no correction can be found.
220 boolean found = false;
237 found = true;
242 if (!found) {

Completed in 952 milliseconds

1234