/packages/modules/adb/daemon/ |
D | framebuffer_service.cpp | 72 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/ |
D | lib.rs | 62 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/ |
D | EntityHeaderControllerTest.java | 86 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/ |
D | FilterUtils.java | 225 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/ |
D | FolderGridOrganizer.java | 92 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/ |
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()
|
/packages/modules/Bluetooth/system/bta/gatt/ |
D | bta_gattc_db_storage.cc | 89 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/ |
D | main_shim_test.cc | 462 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/ |
D | Utils.java | 27 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/ |
D | VoicemailSettingsActivity.java | 792 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/ |
D | EntityHeaderController.java | 236 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()
|
D | LoadingViewController.java | 105 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/ |
D | README.md | 12 ## 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/ |
D | AddAccountActivity.java | 85 boolean done = true; 90 done = false; 110 if (done) {
|
D | AccountDetailsPreferenceController.java | 64 boolean done = true; 70 done = false; 79 if (done) {
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexClientSession.java | 130 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/ |
D | fdevent_test.cpp | 233 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/ |
D | db_image_homography.cpp | 180 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/ |
D | resolv_cache_unit_test.cpp | 450 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/ |
D | AddAccountSettings.java | 91 boolean done = true; 97 done = false; 124 if (done) {
|
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/ |
D | AETriggerResult.java | 76 boolean done = mStateMachine.update( in update() 80 if (done) { in update()
|
D | AFTriggerResult.java | 73 boolean done = mStateMachine.update( in update() 77 if (done) { in update()
|
/packages/apps/Dialer/java/com/android/dialer/app/contactinfo/ |
D | ContactInfoCache.java | 340 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/ |
D | SetupUtils.java | 212 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/ |
D | CropActivity.java | 193 done(); in startLoadBitmap() 232 done(); in doneLoadBitmap() 317 done(); in startFinishOutput() 352 done(); in doneBitmapIO() 613 private void done() { in done() method in CropActivity
|