/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiParser.java | 152 boolean found = false; in parse_akm() 155 security += found ? "+" : "-" + "EAP"; in parse_akm() 156 found = true; in parse_akm() 159 security += found ? "+" : "-" + "PSK"; //PSK as 802.11-2012 11.6.1.2 in parse_akm() 160 found = true; in parse_akm() 163 security += found ? "+" : "-" + "FT/EAP"; in parse_akm() 164 found = true; in parse_akm() 167 security += found ? "+" : "-" + "FT/PSK"; in parse_akm() 168 found = true; in parse_akm() 171 security += found ? "+" : "-" + "PSK-SHA256"; in parse_akm() [all …]
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | AsmAnalyzerTest.java | 108 TreeMap<String, ClassReader> found = new TreeMap<String, ClassReader>(); in testFindClass() local 111 zipClasses, found); in testFindClass() 116 found.keySet().toArray()); in testFindClass() 117 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); in testFindClass() 127 TreeMap<String, ClassReader> found = new TreeMap<String, ClassReader>(); in testFindGlobs() local 130 found.clear(); in testFindGlobs() 131 mAa.findGlobs("mock_android.view", zipClasses, found); in testFindGlobs() 134 found.keySet().toArray()); in testFindGlobs() 137 mAa.findGlobs("mock_android.*.*Group$*Layout*", zipClasses, found); in testFindGlobs() 143 found.keySet().toArray()); in testFindGlobs() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListSetSelectionTest.java | 71 boolean found = false; in testSetSelection() 76 found = true; in testSetSelection() 80 assertTrue("Selected item not visible in list", found); in testSetSelection() 102 boolean found = false; in testSetSelectionFromTop() 108 found = true; in testSetSelectionFromTop() 112 assertTrue("Selected item not visible in list", found); in testSetSelectionFromTop() 137 boolean found = false; in testSetSelection0() 142 found = true; in testSetSelection0() 146 assertTrue("Selected item not visible in list", found); in testSetSelection0()
|
/frameworks/native/libs/gui/ |
D | BufferQueueProducer.cpp | 135 bool async, int* found, status_t* returnFlags) const { in waitForFreeSlotThenRelock() argument 206 *found = BufferQueueCore::INVALID_BUFFER_SLOT; in waitForFreeSlotThenRelock() 220 *found = *slot; in waitForFreeSlotThenRelock() 226 *found = *slot; in waitForFreeSlotThenRelock() 235 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) || in waitForFreeSlotThenRelock() 294 int found = BufferItem::INVALID_BUFFER_SLOT; in dequeueBuffer() local 295 while (found == BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer() 297 &found, &returnFlags); in dequeueBuffer() 303 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) { in dequeueBuffer() 308 const sp<GraphicBuffer>& buffer(mSlots[found].mGraphicBuffer); in dequeueBuffer() [all …]
|
D | BufferQueueConsumer.cpp | 272 int found = BufferQueueCore::INVALID_BUFFER_SLOT; in attachBuffer() local 275 found = *slot; in attachBuffer() 278 found = mCore->mFreeBuffers.front(); in attachBuffer() 279 mCore->mFreeBuffers.remove(found); in attachBuffer() 281 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) { in attachBuffer() 286 *outSlot = found; in attachBuffer()
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
D | in_memory_wrapper_input.cpp | 30 size_t found = 0; in Read() local 36 while (found < wanted) { in Read() 38 return found; in Read() 40 buffer[found++] = _buffer[_pos++]; in Read() 42 return found; in Read()
|
D | file_wrapper_input.cpp | 36 size_t found = fread((char*) buffer, 1, wanted, _file); in Read() local 40 return found; in Read()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonConnector.java | 579 PendingCmd found = null; in add() local 583 found = pendingCmd; in add() 587 if (found == null) { in add() 599 found = new PendingCmd(cmdNum, null); in add() 600 mPendingCmds.add(found); in add() 602 found.availableResponseCount++; in add() 605 if (found.availableResponseCount == 0) mPendingCmds.remove(found); in add() 608 found.responses.put(response); in add() 615 PendingCmd found = null; in remove() local 619 found = pendingCmd; in remove() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | SimulatedGsmCallState.java | 280 boolean found; in triggerHangupForeground() 282 found = false; in triggerHangupForeground() 292 found = true; in triggerHangupForeground() 305 found = true; in triggerHangupForeground() 308 return found; in triggerHangupForeground() 319 boolean found = false; in triggerHangupBackground() 326 found = true; in triggerHangupBackground() 330 return found; in triggerHangupBackground() 341 boolean found = false; in triggerHangupAll() 347 found = true; in triggerHangupAll() [all …]
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
D | WifiClientTest.java | 126 boolean found = false; in testAddRemoveNetwork() 129 found = true; in testAddRemoveNetwork() 132 assertTrue(found); in testAddRemoveNetwork() 140 found = false; in testAddRemoveNetwork() 143 found = true; in testAddRemoveNetwork() 147 assertFalse(found); in testAddRemoveNetwork() 221 boolean found = false; in testSaveConfig() 224 found = true; in testSaveConfig() 227 assertTrue(found); in testSaveConfig()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchSetSelectionTest.java | 71 boolean found = false; in testSetSelection() 76 found = true; in testSetSelection() 80 assertTrue("Selected item not visible in list", found); in testSetSelection()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | GuidedStepFragment.java | 446 boolean found = context.getTheme().resolveAttribute(resId, typedValue, true); in isGuidedStepTheme() 447 if (DEBUG) Log.v(TAG, "Found guided step theme flag? " + found); in isGuidedStepTheme() 448 return found && typedValue.type == TypedValue.TYPE_INT_BOOLEAN && typedValue.data != 0; in isGuidedStepTheme() 461 boolean found = activity.getTheme().resolveAttribute(resId, typedValue, true); in resolveTheme() 462 if (DEBUG) Log.v(TAG, "Found guided step theme reference? " + found); in resolveTheme() 463 if (found) { in resolveTheme() 467 found = false; in resolveTheme() 470 if (!found) { in resolveTheme()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
D | BmsgTokenizer.java | 74 boolean found = false; in next() 90 found = true; in next() 92 } while (!found); in next()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/ |
D | BmsgTokenizer.java | 74 boolean found = false; in next() 90 found = true; in next() 92 } while (!found); in next()
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
D | RecurrenceProcessor.java | 197 boolean found; in filter() 203 found = listContains(r.bymonth, r.bymonthCount, in filter() 205 if (!found) { in filter() 214 found = listContains(r.byweekno, r.byweeknoCount, in filter() 217 if (!found) { in filter() 225 found = listContains(r.byyearday, r.byyeardayCount, in filter() 227 if (!found) { in filter() 233 found = listContains(r.bymonthday, r.bymonthdayCount, in filter() 236 if (!found) { in filter() 257 found = listContains(r.byhour, r.byhourCount, in filter() [all …]
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
D | dyn_bits.c | 387 Flag found = 0; in scfCount() local 422 found = 0; in scfCount() 428 found = 0; in scfCount() 435 found = 1; in scfCount() 456 for (m = i + 1; (m < sectionData->noOfSections) && (found == 0); m++) { in scfCount() 464 found = 1; in scfCount() 484 if (found == 0) { in scfCount()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecList.cpp | 886 static status_t limitFoundMissingAttr(AString name, const char *attr, bool found = true) { in limitFoundMissingAttr() argument 888 (found ? "" : "no "), attr); in limitFoundMissingAttr() 940 bool found; in addLimit() local 973 (found = msg->findString("default", &def))) { in addLimit() 974 return limitFoundMissingAttr(name, "default", found); in addLimit() 979 if ((name == "aspect-ratio") ^ (found = msg->findString("in", &in_))) { in addLimit() 980 return limitFoundMissingAttr(name, "in", found); in addLimit() 1010 (found = msg->findString("max", &max))) { in addLimit() 1011 return limitFoundMissingAttr(name, "max", found); in addLimit() 1017 (found = msg->findString("ranges", &ranges))) { in addLimit() [all …]
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerService.cpp | 194 bool found = false; in removeResource() local 199 found = true; in removeResource() 203 if (!found) { in removeResource() 303 bool found = false; in reclaimResource() local 309 found = true; in reclaimResource() 314 if (found) { in reclaimResource() 318 if (!found) { in reclaimResource()
|
/frameworks/rs/api/ |
D | Scanner.cpp | 118 bool found = findOptionalTag(tag); in findTag() local 119 if (!found) { in findTag() 123 return found; in findTag()
|
/frameworks/compile/libbcc/tools/bcc/ |
D | Main.cpp | 164 unsigned found = plan.find(":"); in extractSourcesAndSlots() local 166 std::string name = plan.substr(0, found); in extractSourcesAndSlots() 170 std::istringstream iss(plan.substr(found + 1)); in extractSourcesAndSlots() 174 found = s.find(","); in extractSourcesAndSlots() 175 std::string sourceStr = s.substr(0, found); in extractSourcesAndSlots() 176 std::string slotStr = s.substr(found + 1); in extractSourcesAndSlots()
|
/frameworks/base/test-runner/src/android/test/ |
D | ViewAsserts.java | 343 boolean found = false; in assertGroupContains() 346 if (!found) { in assertGroupContains() 347 found = true; in assertGroupContains() 354 assertTrue("group does not contain " + child, found); in assertGroupContains()
|
/frameworks/base/core/java/android/util/ |
D | StateSet.java | 168 boolean found = false; in stateSetMatches() 183 found = true; in stateSetMatches() 192 if (mustMatch && !found) { in stateSetMatches()
|
/frameworks/av/services/camera/libcameraservice/device2/ |
D | Camera2Device.cpp | 285 bool found = false; in createReprocessStreamFromStream() local 290 found = true; in createReprocessStreamFromStream() 294 if (!found) { in createReprocessStreamFromStream() 322 bool found = false; in getStreamInfo() local 327 found = true; in getStreamInfo() 331 if (!found) { in getStreamInfo() 349 bool found = false; in setStreamTransform() local 354 found = true; in setStreamTransform() 358 if (!found) { in setStreamTransform() 370 bool found = false; in deleteStream() local [all …]
|
/frameworks/base/tools/split-select/ |
D | Grouper_test.cpp | 152 size_t found = 0; in expectHasGroupWithSplits() local 155 found++; in expectHasGroupWithSplits() 159 if (found == splitCount) { in expectHasGroupWithSplits()
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactory.c | 278 int found = 0; in EffectCreate() local 787 int found = 0; in findSubEffect() local 793 while (e != NULL && !found) { in findSubEffect() 801 found = 1; in findSubEffect() 808 if (!found) { in findSubEffect() 883 int found = 0; in findEffect() local 886 while (e && !found) { in findEffect() 892 found = 1; in findEffect() 896 found = 1; in findEffect() 903 if (!found) { in findEffect() [all …]
|