/frameworks/base/libs/androidfw/tests/ |
D | BackupData_test.cpp | 89 bool done; in TEST_F() local 91 reader->ReadNextHeader(&done, &type); in TEST_F() 128 bool done; in TEST_F() local 134 reader->ReadNextHeader(&done, &type); in TEST_F() 141 reader->ReadNextHeader(&done, &type); in TEST_F() 178 bool done; in TEST_F() local 184 reader->ReadNextHeader(&done, &type); in TEST_F() 191 reader->ReadNextHeader(&done, &type); in TEST_F() 196 reader->ReadNextHeader(&done, &type); in TEST_F() 230 bool done; in TEST_F() local [all …]
|
/frameworks/native/cmds/rawbu/ |
D | backup.cpp | 312 goto done; in backup_dir() 320 goto done; in backup_dir() 324 goto done; in backup_dir() 336 goto done; in backup_dir() 342 goto done; in backup_dir() 350 goto done; in backup_dir() 357 goto done; in backup_dir() 362 done: in backup_dir() 388 if (!write_int32(fh, FILE_VERSION)) goto done; in backup_data() 389 if (!write_int32(fh, opt_backupAll)) goto done; in backup_data() [all …]
|
/frameworks/native/opengl/tests/gl_perfapp/jni/ |
D | gl_code.cpp | 34 bool done; variable 54 done = true; in doTest() 73 if (!done) { in Java_com_android_glperf_GLPerfLib_init() 75 done = false; in Java_com_android_glperf_GLPerfLib_init() 97 if (! done) { in Java_com_android_glperf_GLPerfLib_step()
|
/frameworks/base/tools/bit/ |
D | adb.cpp | 85 read_varint(int fd, int* err, bool* done) in read_varint() argument 93 *done = true; in read_varint() 113 bool done = false; in read_sized_buffer() local 114 uint64_t size = read_varint(fd, err, &done); in read_sized_buffer() 115 if (*err != 0 || done) { in read_sized_buffer() 203 bool done; in skip_unknown_field() local 208 read_varint(fd, &err, &done); in skip_unknown_field() 211 } else if (done) { in skip_unknown_field() 219 size = read_varint(fd, &err, &done); in skip_unknown_field() 222 } else if (done) { in skip_unknown_field() [all …]
|
/frameworks/base/cmds/backup/ |
D | backup.cpp | 64 bool done; in perform_list() local 67 while (reader.ReadNextHeader(&done, &type) == 0) { in perform_list() 68 if (done) { in perform_list()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | TransitionDrawable.java | 184 boolean done = true; in draw() 189 done = false; in draw() 197 done = normalized >= 1.0f; in draw() 208 if (done) { in draw() 237 if (!done) { in draw()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | SparseInputStream.java | 57 for (int done = 0, n = 0; done < size; done += n) { in readFull() 58 if ((n = in.read(buf, done, size - done)) < 0) { in readFull()
|
/frameworks/layoutlib/bridge/src/android/animation/ |
D | AnimationThread.java | 106 mListener.done(result); in run() 142 mListener.done(result); in run() 163 mListener.done(Status.SUCCESS.createResult()); in run() 168 mListener.done(Status.ERROR_UNKNOWN.createResult("Error playing animation", throwable)); in run()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 312 private boolean done = false; field in StrictJarFile.JarFileInputStream 323 if (done) { in read() 335 done = true; in read() 340 done = true; in read() 348 if (done) { in read() 364 done = true; in read() 369 done = true; in read() 377 if (done) { in available()
|
/frameworks/base/tools/aapt/ |
D | FileFinder.cpp | 85 bool done = false; in checkAndAddFile() local 88 for (size_t i = 0; i < extensions.size() && !done; ++i) { in checkAndAddFile() 93 done = true; in checkAndAddFile()
|
/frameworks/base/cmds/statsd/tests/utils/ |
D | MultiConditionTrigger_test.cpp | 53 vector<int> done(numConditions, 0); in TEST() local 57 threads.emplace_back([&done, &conditionName, &trigger, i] { in TEST() 59 done[i] = 1; in TEST() 71 EXPECT_EQ(done[i], 1); in TEST()
|
/frameworks/av/media/libstagefright/ |
D | FrameRenderTracker.cpp | 113 std::list<Info> done; in checkFencesAndGetRenderedFrames() local 142 done.splice(done.end(), mRenderQueue, it++); in checkFencesAndGetRenderedFrames() 151 return done; in checkFencesAndGetRenderedFrames()
|
D | FrameDecoder.cpp | 319 bool done = false; in extractInternal() local 430 err = onOutputReceived(videoFrameBuffer, mOutputFormat, ptsUs, &done); in extractInternal() 432 err = onOutputReceived(videoFrameBuffer, mOutputFormat, ptsUs, &done); in extractInternal() 437 done = true; in extractInternal() 442 } while (err == OK && !done); in extractInternal() 564 int64_t timeUs, bool *done) { in onOutputReceived() argument 574 *done = false; in onOutputReceived() 578 *done = true; in onOutputReceived() 845 const sp<AMessage> &outputFormat, int64_t /*timeUs*/, bool *done) { in onOutputReceived() argument 908 *done = (++mTilesDecoded >= mTargetTiles); in onOutputReceived()
|
/frameworks/base/core/jni/ |
D | android_backup_BackupDataInput.cpp | 55 bool done; in readNextHeader_native() local 60 err = reader->ReadNextHeader(&done, &type); in readNextHeader_native() 61 if (done) { in readNextHeader_native()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_stop_hang.cpp | 39 std::atomic<bool> done{false}; member 50 if (done) break; in join() 76 engine->done = true; in s_myDataCallbackProc()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileObserverTest.java | 102 boolean done = false; in waitForEvent() 103 while (!done) { in waitForEvent() 106 done = true; in waitForEvent()
|
/frameworks/base/libs/androidfw/ |
D | BackupData.cpp | 223 BackupDataReader::ReadNextHeader(bool* done, int* type) in ReadNextHeader() argument 225 *done = m_done; in ReadNextHeader() 234 *done = m_done = true; in ReadNextHeader() 241 *done = m_done = (amt == 0); in ReadNextHeader() 242 if (*done) { in ReadNextHeader()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowManagerGlobalLockRule.java | 90 final AtomicBoolean done = new AtomicBoolean(false); in waitForLocked() local 102 done.set(true); in waitForLocked() 107 if (!done.get()) { in waitForLocked()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInfoTest.java | 839 mNotificationInfo.findViewById(R.id.done).performClick(); in testSilenceCallsUpdateNotificationChannel() 878 mNotificationInfo.findViewById(R.id.done).performClick(); in testUnSilenceCallsUpdateNotificationChannel() 912 mNotificationInfo.findViewById(R.id.done).performClick(); in testSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified() 946 ((TextView) mNotificationInfo.findViewById(R.id.done)).getText()); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin() 949 ((TextView) mNotificationInfo.findViewById(R.id.done)).getText()); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin() 950 mNotificationInfo.findViewById(R.id.done).performClick(); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin() 983 ((TextView) mNotificationInfo.findViewById(R.id.done)).getText()); in testAlertCallsUpdateNotificationChannel_channelImportanceMin() 986 ((TextView) mNotificationInfo.findViewById(R.id.done)).getText()); in testAlertCallsUpdateNotificationChannel_channelImportanceMin() 987 mNotificationInfo.findViewById(R.id.done).performClick(); in testAlertCallsUpdateNotificationChannel_channelImportanceMin() 1019 mNotificationInfo.findViewById(R.id.done).performClick(); in testAdjustImportanceTemporarilyAllowsReordering() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuUidBpfMapReaderTest.java | 122 final CountDownLatch done = new CountDownLatch(10); in testConcurrent() local 133 done.countDown(); in testConcurrent() 146 done.countDown(); in testConcurrent() 159 assertTrue("Execution timed out", done.await(3, TimeUnit.SECONDS)); in testConcurrent()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PreRebootLogger.java | 81 final AtomicBoolean done = new AtomicBoolean(false); in dump() local 91 done.set(true); in dump() 101 if (!done.get()) { in dump()
|
/frameworks/av/media/libstagefright/include/ |
D | FrameDecoder.h | 76 bool *done) = 0; 133 bool *done) override; 173 bool *done) override;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInfo.java | 239 ((TextView) findViewById(R.id.done)).setText(R.string.inline_done_button); in bindInlineControls() 256 View done = findViewById(R.id.done); in bindInlineControls() local 257 done.setOnClickListener(mOnDismissSettings); in bindInlineControls() 258 done.setAccessibilityDelegate(mGutsContainer.getAccessibilityDelegate()); in bindInlineControls() 478 TextView done = findViewById(R.id.done); 479 done.setText(isAChange
|
D | PartialConversationInfo.java | 133 View done = findViewById(R.id.done); in bindNotification() local 134 done.setOnClickListener(mOnDone); in bindNotification() 135 done.setAccessibilityDelegate(mGutsContainer.getAccessibilityDelegate()); in bindNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDualTileLabel.java | 175 final boolean done = width > maxWidth; in updateText() 177 if (!inWhitespace && !done) { in updateText() 184 if (done) { in updateText()
|