Home
last modified time | relevance | path

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

123456

/packages/modules/adb/daemon/
Dframebuffer_service.cpp72 if (pid < 0) goto done; in framebuffer_service()
88 if(!ReadFdExactly(fd_screencap, &w, 4)) goto done; in framebuffer_service()
89 if(!ReadFdExactly(fd_screencap, &h, 4)) goto done; in framebuffer_service()
90 if(!ReadFdExactly(fd_screencap, &f, 4)) goto done; in framebuffer_service()
91 if(!ReadFdExactly(fd_screencap, &c, 4)) goto done; in framebuffer_service()
168 goto done; in framebuffer_service()
172 if (!WriteFdExactly(fd.get(), &fbinfo, sizeof(fbinfo))) goto done; in framebuffer_service()
179 if(!ReadFdExactly(fd_screencap, buf, bsize)) goto done; in framebuffer_service()
180 if (!WriteFdExactly(fd.get(), buf, bsize)) goto done; in framebuffer_service()
183 done: in framebuffer_service()
/packages/modules/Bluetooth/system/gd/rust/facade/src/
Dlib.rs62 Start { req: StartStackRequest, done: oneshot::Sender<()> },
63 Stop { done: oneshot::Sender<()> },
124 LifecycleCommand::Start { req, done } => { in create()
129 done.send(()).unwrap(); in create()
131 LifecycleCommand::Stop { done } => { in create()
136 done.send(()).unwrap(); in create()
147 self.lifecycle_tx.send(LifecycleCommand::Start { req, done: tx }).await?; in start()
154 self.lifecycle_tx.send(LifecycleCommand::Stop { done: tx }).await?; in stop()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DEntityHeaderControllerTest.java86 View view = mController.done(mActivity); in testBuildView_constructedWithoutView_shouldCreateNewView()
94 Preference preference = mController.done(mActivity, mShadowContext); in testBuildView_withContext_shouldBuildPreferenceAllowedBelowDivider()
104 View view = mController.done(mActivity); in testBuildView_constructedWithView_shouldReturnSameView()
123 mController.done(mActivity); in bindViews_shouldBindAllData()
152 mController.done(mActivity); in bindButton_hasEditClickListener_shouldShowButton()
174 mController.done(mActivity); in bindButton_noEditClickListener_shouldNotShowButton()
194 mController.done(mActivity); in bindButton_noAppInfo_shouldNotAttachClickListener()
221 mController.done(mActivity); in bindButton_hasAppInfo_shouldAttachClickListener()
237 mController.done(mActivity); in iconContentDescription_shouldWorkWithSetIcon()
250 mController.done(mActivity); in iconContentDescription_shouldWorkWithoutSetIcon()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DFilterUtils.java225 boolean[] done = new boolean[1]; in removeOneClusterFromPath()
226 return removeOneClusterFromPath(base, done); in removeOneClusterFromPath()
229 private static String removeOneClusterFromPath(String base, boolean[] done) { in removeOneClusterFromPath() argument
230 if (done[0]) return base; in removeOneClusterFromPath()
234 done[0] = true; in removeOneClusterFromPath()
248 sb.append(removeOneClusterFromPath(sets[j], done)); in removeOneClusterFromPath()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderGridOrganizer.java92 boolean done; in calculateGridSize()
99 done = true; in calculateGridSize()
101 done = false; in calculateGridSize()
104 while (!done) { in calculateGridSize()
121 done = gridCountX == oldCountX && gridCountY == oldCountY; in calculateGridSize()
/packages/modules/StatsD/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()
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_db_storage.cc89 goto done; in bta_gattc_load_db()
94 goto done; in bta_gattc_load_db()
100 goto done; in bta_gattc_load_db()
108 goto done; in bta_gattc_load_db()
117 done: in bta_gattc_load_db()
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_test.cc462 std::promise<void> done; in TearDown() local
463 auto future = done.get_future(); in TearDown()
464 handler_->Call([](std::promise<void> done) { done.set_value(); }, in TearDown() argument
465 std::move(done)); in TearDown()
533 std::promise<void> done; in TEST_F() local
534 auto future = done.get_future(); in TEST_F()
535 handler_->Call([](std::promise<void> done) { done.set_value(); }, in TEST_F() argument
536 std::move(done)); in TEST_F()
/packages/apps/StorageManager/src/com/android/storagemanager/utils/
DUtils.java27 View loading, View doneLoading, boolean done, boolean animate) { in handleLoadingContainer() argument
28 setViewShown(loading, !done, animate); in handleLoadingContainer()
29 setViewShown(doneLoading, done, animate); in handleLoadingContainer()
/packages/services/Telephony/src/com/android/phone/settings/
DVoicemailSettingsActivity.java792 boolean done = true; in handleForwardingSettingsReadResult()
795 done = false; in handleForwardingSettingsReadResult()
800 if (done) { in handleForwardingSettingsReadResult()
850 boolean done = false;
857 done = true;
887 done = true;
895 if (done) {
931 final boolean done = (!mVMChangeCompletedSuccessfully || mVoicemailChangeResult != null)
933 if (done) {
/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java236 public LayoutPreference done(Activity activity, Context uiContext) { in done() method in EntityHeaderController
237 final LayoutPreference pref = new LayoutPreference(uiContext, done(activity)); in done()
249 public View done(Activity activity, boolean rebindActions) { in done() method in EntityHeaderController
312 View done(Activity activity) { in done() method in EntityHeaderController
313 return done(activity, true /* rebindActions */); in done()
DLoadingViewController.java105 public static void handleLoadingContainer(View loading, View content, boolean done, in handleLoadingContainer() argument
107 setViewShown(loading, !done, animate); in handleLoadingContainer()
108 setViewShown(content, done, animate); in handleLoadingContainer()
/packages/modules/Bluetooth/system/test/
DREADME.md12 ## After you're done
80 Probably not. See [After you're done](#After-you're-done)
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAddAccountActivity.java85 boolean done = true;
90 done = false;
110 if (done) {
DAccountDetailsPreferenceController.java64 boolean done = true;
70 done = false;
79 if (done) {
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java130 int done = 0; in readFully() local
131 while (done < size) { in readFully()
132 int got = is.read(buffer, done, size - done); in readFully()
136 done += got; in readFully()
138 return done; in readFully()
/packages/modules/adb/fdevent/
Dfdevent_test.cpp233 done, in TEST_F() enumerator
255 event = TimeoutEvent::done; in TEST_F()
270 if (event == TimeoutEvent::done) { in TEST_F()
296 ASSERT_EQ(TimeoutEvent::done, test.events[3].first); in TEST_F()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_image_homography.cpp180 int nr_sols,i,best_sol,done; in db_StitchRotationCommonFocalLength_3Points() local
190 done=0; in db_StitchRotationCommonFocalLength_3Points()
216 if(!done || cost<best_cost) in db_StitchRotationCommonFocalLength_3Points()
218 done=1; in db_StitchRotationCommonFocalLength_3Points()
/packages/modules/DnsResolver/tests/
Dresolv_cache_unit_test.cpp450 std::atomic_bool done(false); in TEST_F() local
462 EXPECT_TRUE(done); in TEST_F()
483 done = true; in TEST_F()
495 std::atomic_bool done(false); in TEST_F() local
505 EXPECT_TRUE(done); in TEST_F()
513 done = true; in TEST_F()
526 std::atomic_bool done(false); in TEST_F() local
536 EXPECT_TRUE(done); in TEST_F()
550 done = true; in TEST_F()
/packages/apps/Settings/src/com/android/settings/accounts/
DAddAccountSettings.java91 boolean done = true;
97 done = false;
124 if (done) {
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DAETriggerResult.java76 boolean done = mStateMachine.update( in update()
80 if (done) { in update()
DAFTriggerResult.java73 boolean done = mStateMachine.update( in update()
77 if (done) { in update()
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
DContactInfoCache.java340 private volatile boolean done = false; field in ContactInfoCache.QueryThread
347 done = true; in stopProcessing()
355 if (done) { in run()
/packages/apps/TV/src/com/android/tv/util/
DSetupUtils.java212 boolean done = mSetUpInputs.contains(inputId); in isSetupDone()
214 Log.d(TAG, "isSetupDone: (input=" + inputId + ", result= " + done + ")"); in isSetupDone()
216 return done; in isSetupDone()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java193 done(); in startLoadBitmap()
232 done(); in doneLoadBitmap()
317 done(); in startFinishOutput()
352 done(); in doneBitmapIO()
613 private void done() { in done() method in CropActivity

123456