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.java566 PendingCmd found = null;
570 found = pendingCmd;
574 if (found == null) {
586 found = new PendingCmd(cmdNum, null);
587 mPendingCmds.add(found);
589 found.availableResponseCount++;
592 if (found.availableResponseCount == 0) mPendingCmds.remove(found);
595 found.responses.put(response);
602 PendingCmd found
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp135 bool async, int* found, status_t* returnFlags) const {
165 *found = BufferQueueCore::INVALID_BUFFER_SLOT;
180 if (*found == BufferQueueCore::INVALID_BUFFER_SLOT ||
181 mSlots[s].mFrameNumber < mSlots[*found].mFrameNumber) {
182 *found = s;
228 // If no buffer is found, or if the queue has too many buffers
231 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) ||
284 int found; local
286 &found, &returnFlags);
292 if (found
134 waitForFreeSlotThenRelock(const char* caller, bool async, int* found, status_t* returnFlags) const argument
442 int found = BufferQueueCore::INVALID_BUFFER_SLOT; local
482 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.cpp628 static status_t limitFoundMissingAttr(AString name, const char *attr, bool found = true) {
630 (found ? "" : "no "), attr);
681 bool found; local
713 (found = msg->findString("default", &def))) {
714 return limitFoundMissingAttr(name, "default", found);
719 if ((name == "aspect-ratio") ^ (found = msg->findString("in", &in_))) {
720 return limitFoundMissingAttr(name, "in", found);
750 (found = msg->findString("max", &max))) {
751 return limitFoundMissingAttr(name, "max", found);
757 (found
[all...]
/frameworks/base/tools/split-select/
H A DGrouper_test.cpp147 size_t found = 0; local
150 found++;
154 if (found == splitCount) {
/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.java95 boolean found = RenderSessionImpl.getCurrentContext().resolveThemeAttribute(resid,
98 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";

Completed in 785 milliseconds

1234