/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 165 *found = BufferQueueCore::INVALID_BUFFER_SLOT; in waitForFreeSlotThenRelock() 180 if (*found == BufferQueueCore::INVALID_BUFFER_SLOT || in waitForFreeSlotThenRelock() 181 mSlots[s].mFrameNumber < mSlots[*found].mFrameNumber) { in waitForFreeSlotThenRelock() 182 *found = s; in waitForFreeSlotThenRelock() 231 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) || in waitForFreeSlotThenRelock() 284 int found; in dequeueBuffer() local 286 &found, &returnFlags); in dequeueBuffer() 292 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) { in dequeueBuffer() 297 *outSlot = found; in dequeueBuffer() [all …]
|
D | BufferQueueConsumer.cpp | 223 int found = BufferQueueCore::INVALID_BUFFER_SLOT; in attachBuffer() local 228 if (found == BufferQueueCore::INVALID_BUFFER_SLOT || in attachBuffer() 229 mSlots[s].mFrameNumber < mSlots[found].mFrameNumber) { in attachBuffer() 230 found = s; in attachBuffer() 241 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) { in attachBuffer() 246 *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 | 566 PendingCmd found = null; in add() local 570 found = pendingCmd; in add() 574 if (found == null) { in add() 586 found = new PendingCmd(cmdNum, null); in add() 587 mPendingCmds.add(found); in add() 589 found.availableResponseCount++; in add() 592 if (found.availableResponseCount == 0) mPendingCmds.remove(found); in add() 595 found.responses.put(response); in add() 602 PendingCmd found = null; in remove() local 606 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/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/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/av/media/libstagefright/ |
D | MediaCodecList.cpp | 628 static status_t limitFoundMissingAttr(AString name, const char *attr, bool found = true) { in limitFoundMissingAttr() argument 630 (found ? "" : "no "), attr); in limitFoundMissingAttr() 681 bool found; in addLimit() local 713 (found = msg->findString("default", &def))) { in addLimit() 714 return limitFoundMissingAttr(name, "default", found); in addLimit() 719 if ((name == "aspect-ratio") ^ (found = msg->findString("in", &in_))) { in addLimit() 720 return limitFoundMissingAttr(name, "in", found); in addLimit() 750 (found = msg->findString("max", &max))) { in addLimit() 751 return limitFoundMissingAttr(name, "max", found); in addLimit() 757 (found = msg->findString("ranges", &ranges))) { in addLimit() [all …]
|
/frameworks/base/core/java/android/util/ |
D | StateSet.java | 80 boolean found = false; in stateSetMatches() 95 found = true; in stateSetMatches() 104 if (mustMatch && !found) { in stateSetMatches()
|
/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/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 56 boolean found = false; in removeExistingUsers() 73 boolean found = false; in testAddUser() 79 found = true; in testAddUser() 85 assertTrue(found); in testAddUser()
|
/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/tools/split-select/ |
D | Grouper_test.cpp | 147 size_t found = 0; in expectHasGroupWithSplits() local 150 found++; in expectHasGroupWithSplits() 154 if (found == splitCount) { in expectHasGroupWithSplits()
|
/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() 321 bool found = false; in getStreamInfo() local 326 found = true; in getStreamInfo() 330 if (!found) { in getStreamInfo() 347 bool found = false; in setStreamTransform() local 352 found = true; in setStreamTransform() 356 if (!found) { in setStreamTransform() 368 bool found = false; in deleteStream() local [all …]
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactory.c | 276 int found = 0; in EffectCreate() local 749 int found = 0; in findSubEffect() local 755 while (e != NULL && !found) { in findSubEffect() 763 found = 1; in findSubEffect() 770 if (!found) { in findSubEffect() 845 int found = 0; in findEffect() local 848 while (e && !found) { in findEffect() 854 found = 1; in findEffect() 858 found = 1; in findEffect() 865 if (!found) { in findEffect()
|
/frameworks/rs/ |
D | rsScriptGroup.cpp | 155 bool found = false; in calcOrder() local 158 found = true; in calcOrder() 162 if (!found) { in calcOrder() 169 bool found = false; in calcOrder() local 172 found = true; in calcOrder() 176 if (!found) { in calcOrder()
|
/frameworks/base/core/jni/ |
D | android_util_EventLog.cpp | 193 int found = 0; in android_util_EventLog_readEvents() local 194 for (int i = 0; !found && i < tagLength; ++i) { in android_util_EventLog_readEvents() 195 found = (tag == tagValues[i]); in android_util_EventLog_readEvents() 198 if (found) { in android_util_EventLog_readEvents()
|
/frameworks/base/core/java/android/text/ |
D | AutoText.java | 220 boolean found = false; in add() 237 found = true; in add() 242 if (!found) { in add()
|