Searched refs:found (Results 1 - 25 of 114) 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/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/native/libs/gui/
H A DBufferQueueProducer.cpp135 bool async, int* found, status_t* returnFlags) const {
206 *found = BufferQueueCore::INVALID_BUFFER_SLOT;
220 *found = *slot;
226 *found = *slot;
232 // If no buffer is found, or if the queue has too many buffers
235 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) ||
294 int found = BufferItem::INVALID_BUFFER_SLOT; local
295 while (found == BufferItem::INVALID_BUFFER_SLOT) {
297 &found, &returnFlags);
303 if (found
134 waitForFreeSlotThenRelock(const char* caller, bool async, int* found, status_t* returnFlags) const argument
474 int found = mCore->mFreeBuffers.front(); local
510 int found; local
[all...]
H A DBufferQueueConsumer.cpp272 int found = BufferQueueCore::INVALID_BUFFER_SLOT; local
275 found = *slot;
278 found = mCore->mFreeBuffers.front();
279 mCore->mFreeBuffers.remove(found);
281 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) {
286 *outSlot = found;
/frameworks/base/services/core/java/com/android/server/
H A DNativeDaemonConnector.java579 PendingCmd found = null;
583 found = pendingCmd;
587 if (found == null) {
599 found = new PendingCmd(cmdNum, null);
600 mPendingCmds.add(found);
602 found.availableResponseCount++;
605 if (found.availableResponseCount == 0) mPendingCmds.remove(found);
608 found.responses.put(response);
615 PendingCmd found
[all...]
/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/support/v17/leanback/src/android/support/v17/leanback/app/
H A DGuidedStepFragment.java227 // Note, this method used to be public, but I haven't found a good way for a client
446 boolean found = context.getTheme().resolveAttribute(resId, typedValue, true);
447 if (DEBUG) Log.v(TAG, "Found guided step theme flag? " + found);
448 return found && typedValue.type == TypedValue.TYPE_INT_BOOLEAN && typedValue.data != 0;
461 boolean found = activity.getTheme().resolveAttribute(resId, typedValue, true);
462 if (DEBUG) Log.v(TAG, "Found guided step theme reference? " + found);
463 if (found) {
467 found = false;
470 if (!found) {
/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/api/
H A DScanner.cpp118 bool found = findOptionalTag(tag); local
119 if (!found) {
123 return 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/av/services/mediaresourcemanager/
H A DResourceManagerService.cpp194 bool found = false; local
199 found = true;
203 if (!found) {
303 bool found = false; local
309 found = true;
314 if (found) {
318 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);
/frameworks/rs/
H A DrsScriptGroup.cpp172 bool found = false; local
175 found = true;
179 if (!found) {
186 bool found = false; local
189 found = true;
193 if (!found) {
284 rsAssert(!"ScriptGroup:setInput kid not found");
298 rsAssert(!"ScriptGroup:setOutput kid not found");
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp886 static status_t limitFoundMissingAttr(AString name, const char *attr, bool found = true) {
888 (found ? "" : "no "), attr);
940 bool found; local
973 (found = msg->findString("default", &def))) {
974 return limitFoundMissingAttr(name, "default", found);
979 if ((name == "aspect-ratio") ^ (found = msg->findString("in", &in_))) {
980 return limitFoundMissingAttr(name, "in", found);
1010 (found = msg->findString("max", &max))) {
1011 return limitFoundMissingAttr(name, "max", found);
1017 (found
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
H A DResources_Theme_Delegate.java96 boolean found = RenderSessionImpl.getCurrentContext().resolveThemeAttribute(resid,
99 return found;

Completed in 4089 milliseconds

12345