/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | in_memory_wrapper_input.cpp | 30 size_t found = 0; local 36 while (found < wanted) { 38 return found; 40 buffer[found++] = _buffer[_pos++]; 42 return found;
|
H A D | file_wrapper_input.cpp | 36 size_t found = fread((char*) buffer, 1, wanted, _file); local 40 return found;
|
/frameworks/base/tools/bit/ |
H A D | adb.h | 41 string get_bundle_string(const ResultsBundle& bundle, bool* found, ...); 42 int32_t get_bundle_int(const ResultsBundle& bundle, bool* found, ...); 43 float get_bundle_float(const ResultsBundle& bundle, bool* found, ...); 44 double get_bundle_double(const ResultsBundle& bundle, bool* found, ...); 45 int64_t get_bundle_long(const ResultsBundle& bundle, bool* found, ...);
|
H A D | adb.cpp | 347 * Get the second to last bundle in the args list. Stores the last name found 348 * in last. If the path is not found or if the args list is empty, returns NULL. 358 bool found = false; 366 found = true; 370 if (!found) { 381 get_bundle_string(const ResultsBundle& bundle, bool* found, ...) 384 va_start(args, found); 388 *found = false; 392 *found = true; 395 *found [all...] |
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
H A D | AsmAnalyzerTest.java | 103 TreeMap<String, ClassReader> found = new TreeMap<>(); 106 zipClasses, found); 111 found.keySet().toArray()); 112 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); 122 TreeMap<String, ClassReader> found = new TreeMap<>(); 125 found.clear(); 126 mAa.findGlobs("mock_android.view", zipClasses, found); 129 found.keySet().toArray()); 132 mAa.findGlobs("mock_android.*.*Group$*Layout*", zipClasses, found); 138 found [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
H A D | ListSetSelectionTest.java | 73 boolean found = false; 78 found = true; 82 assertTrue("Selected item not visible in list", found); 104 boolean found = false; 110 found = true; 114 assertTrue("Selected item not visible in list", found); 139 boolean found = false; 144 found = true; 148 assertTrue("Selected item not visible in list", found);
|
/frameworks/base/tools/streaming_proto/ |
H A D | string_utils.cpp | 96 size_t base = 0, found = 0; local 98 found = str.find_first_of(delimiter, base); 99 if (found != base) { 100 string part = str.substr(base, found - base); 105 if (found == str.npos) break; 106 base = found + 1;
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
H A D | GridTouchSetSelectionTest.java | 71 boolean found = false; 76 found = true; 80 assertTrue("Selected item not visible in list", found);
|
/frameworks/base/cmds/incident_helper/src/ |
H A D | ih_util.cpp | 67 size_t found; local 69 found = line.find_first_of(delimiters, base); 70 if (found != base) { 71 std::string word = (*func) (line.substr(base, found - base)); 76 if (found == line.npos) break; 77 base = found + 1; 212 auto found = line->find_first_of(cut); local 213 if (found == std::string::npos) { 218 std::string head = line->substr(0, found); 219 while(line->at(found) [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 249 int* found) const { 280 *found = BufferQueueCore::INVALID_BUFFER_SLOT; 297 *found = mCore->mSharedBufferSlot; 303 *found = slot; 305 *found = getFreeSlotLocked(); 311 *found = slot; 313 *found = getFreeBufferLocked(); 319 // If no buffer is found, or if the queue has too many buffers 322 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) || 399 int found local 661 int found = mCore->mFreeBuffers.front(); local 720 int found; local [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
H A D | WifiClientTest.java | 126 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/support/development/checkstyle/src/com/android/support/checkstyle/ |
H A D | MismatchedAnnotationCheck.java | 169 boolean found = false; 174 if (found) { 177 found = true; 182 return found;
|
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactoryState.c | 39 int found = 0; local 42 while (e && !found) { 48 found = 1; 52 found = 1; 59 if (!found) { 60 ALOGV("findEffect() effect not found"); 63 ALOGV("findEffect() found effect: %s in lib %s", d->name, l->name);
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraDevice.cpp | 391 bool found = false; local 399 found = true; 405 if (found) { 409 if (!found) { 812 ALOGE("%s: Error: capture sequence index %d not found!", 908 bool found = msg->findPointer(kContextKey, &context); local 909 if (!found) { 917 found = msg->findPointer(kDeviceKey, (void**) &dev); 918 if (!found || dev == nullptr) { 923 found [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | NativeDaemonConnector.java | 650 PendingCmd found = null; 654 found = pendingCmd; 658 if (found == null) { 670 found = new PendingCmd(cmdNum, null); 671 mPendingCmds.add(found); 673 found.availableResponseCount++; 676 if (found.availableResponseCount == 0) mPendingCmds.remove(found); 679 found.responses.put(response); 686 PendingCmd found [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedGsmCallState.java | 280 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/rs/rsov/driver/ |
H A D | rsovContext.cpp | 115 bool found = false; local 119 found = true; 124 if (!found) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ForegroundServiceControllerImpl.java | 210 final boolean found; 213 found = false; 215 found = keys.remove(op); 220 return found; 256 final boolean found; 259 found = false; 261 found = keys.remove(key); 266 return found;
|
/frameworks/av/media/ndk/ |
H A D | NdkImageReader.cpp | 198 bool found = msg->findPointer(kCallbackFpKey, (void**) &onBufferRemoved); local 199 if (!found || onBufferRemoved == nullptr) { 203 found = msg->findPointer(kContextKey, &context); 204 if (!found) { 209 found = msg->findObject(kGraphicBufferKey, &bufferToFree); 210 if (!found || bufferToFree == nullptr) { 228 bool found = msg->findPointer(kCallbackFpKey, (void**) &onImageAvailable); local 229 if (!found || onImageAvailable == nullptr) { 233 found = msg->findPointer(kContextKey, &context); 234 if (!found) { 508 bool found = false; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | RemoteInputController.java | 110 boolean found = pruneWeakThenRemoveAndContains( 112 if (!found) { 214 boolean found = false; 227 found = true; 231 return found;
|
/frameworks/compile/slang/tests/ |
H A D | slang_test.py | 261 found = glob.glob(find) 262 if len(found) != 1: 263 if not found: 264 tests.fail('%s not found' % find) 266 tests.fail('multiple %s found' % find) 267 elif not CompareFiles(found[0], expect): 268 tests.fail('%s and %s are different' % (found[0], expect))
|
/frameworks/base/core/java/android/util/ |
H A D | StateSet.java | 168 boolean found = false; 183 found = true; 192 if (mustMatch && !found) {
|
/frameworks/base/tests/DexLoggerIntegrationTests/src/com/android/server/pm/dex/ |
H A D | DexLoggerIntegrationTests.java | 130 boolean found = false; 149 found = true; 152 assertThat(found).isTrue();
|
/frameworks/base/tools/split-select/ |
H A D | Grouper_test.cpp | 152 size_t found = 0; local 155 found++; 159 if (found == splitCount) {
|
/frameworks/rs/script_api/ |
H A D | Scanner.cpp | 118 bool found = findOptionalTag(tag); local 119 if (!found) { 123 return found;
|