Home
last modified time | relevance | path

Searched refs:done (Results 1 – 25 of 141) sorted by relevance

123456

/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp89 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/
Dbackup.cpp312 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/
Dgl_code.cpp34 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/
Dadb.cpp85 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/
Dbackup.cpp64 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/
DTransitionDrawable.java184 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/
DSparseInputStream.java57 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/
DAnimationThread.java106 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/
DStrictJarFile.java312 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/
DFileFinder.cpp85 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/
DMultiConditionTrigger_test.cpp53 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/
DFrameRenderTracker.cpp113 std::list<Info> done; in checkFencesAndGetRenderedFrames() local
142 done.splice(done.end(), mRenderQueue, it++); in checkFencesAndGetRenderedFrames()
151 return done; in checkFencesAndGetRenderedFrames()
DFrameDecoder.cpp319 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/
Dandroid_backup_BackupDataInput.cpp55 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/
Dtest_stop_hang.cpp39 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/
DFileObserverTest.java102 boolean done = false; in waitForEvent()
103 while (!done) { in waitForEvent()
106 done = true; in waitForEvent()
/frameworks/base/libs/androidfw/
DBackupData.cpp223 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/
DWindowManagerGlobalLockRule.java90 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/
DNotificationInfoTest.java839 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/
DKernelCpuUidBpfMapReaderTest.java122 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/
DPreRebootLogger.java81 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/
DFrameDecoder.h76 bool *done) = 0;
133 bool *done) override;
173 bool *done) override;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInfo.java239 ((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
DPartialConversationInfo.java133 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/
DQSDualTileLabel.java175 final boolean done = width > maxWidth; in updateText()
177 if (!inWhitespace && !done) { in updateText()
184 if (done) { in updateText()

123456