Home
last modified time | relevance | path

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

1234

/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/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/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/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java229 public LayoutPreference done(Activity activity, Context uiContext) { in done() method in EntityHeaderController
230 final LayoutPreference pref = new LayoutPreference(uiContext, done(activity)); in done()
242 public View done(Activity activity, boolean rebindActions) { in done() method in EntityHeaderController
304 View done(Activity activity) { in done() method in EntityHeaderController
305 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/services/Telephony/src/com/android/phone/settings/
DVoicemailSettingsActivity.java788 boolean done = true; in handleForwardingSettingsReadResult()
791 done = false; in handleForwardingSettingsReadResult()
796 if (done) { in handleForwardingSettingsReadResult()
846 boolean done = false;
853 done = true;
883 done = true;
891 if (done) {
927 final boolean done = (!mVMChangeCompletedSuccessfully || mVoicemailChangeResult != null)
929 if (done) {
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountDetailsPreferenceController.java57 boolean done = true;
63 done = false;
72 if (done) {
DAddAccountActivity.java85 boolean done = true;
90 done = false;
110 if (done) {
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java131 int done = 0; in readFully() local
132 while (done < size) { in readFully()
133 int got = is.read(buffer, done, size - done); in readFully()
137 done += got; in readFully()
139 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.cpp452 std::atomic_bool done(false); in TEST_F() local
464 EXPECT_TRUE(done); in TEST_F()
485 done = true; in TEST_F()
497 std::atomic_bool done(false); in TEST_F() local
507 EXPECT_TRUE(done); in TEST_F()
515 done = true; in TEST_F()
528 std::atomic_bool done(false); in TEST_F() local
538 EXPECT_TRUE(done); in TEST_F()
552 done = true; in TEST_F()
/packages/apps/Settings/src/com/android/settings/accounts/
DAddAccountSettings.java91 boolean done = true;
97 done = false;
123 if (done) {
/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/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java175 done(Result.WANTED_AS_IS); in onCreate()
194 if (mNetwork.equals(lostNetwork)) done(Result.UNWANTED); in onCreate()
265 done(Result.DISMISSED); in handleCapabilitiesChanged()
306 private void done(Result result) { in done() method in CaptivePortalLoginActivity
364 done(result); in onOptionsItemSelected()
526 done(Result.DISMISSED); in testForCaptivePortal()
585 done(Result.WANTED_AS_IS); in onPageStarted()
/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/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
/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/modules/DnsResolver/
Dres_query.cpp244 int done = 0; in res_nsearch() local
295 done++; in res_nsearch()
Dres_send.cpp860 struct timespec done = evNowTime(); in send_vc() local
861 *delay = res_stats_calculate_rtt(&done, &start_time); in send_vc()
879 goto done; in connect_with_timeout()
890 done: in connect_with_timeout()
1125 timespec done = evNowTime(); in send_dg() local
1126 *delay = res_stats_calculate_rtt(&done, &start_time); in send_dg()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java95 boolean done = false; in bitmapToBytes()
98 while (!done) { in bitmapToBytes()
103 done = true; in bitmapToBytes()
110 done = true; in bitmapToBytes()

1234