Home
last modified time | relevance | path

Searched refs:continuation (Results 1 – 25 of 65) sorted by relevance

123

/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/utils/
DGeneralUtils.kt70 suspendCancellableCoroutine<InsertRecordsResponse> { continuation -> in <lambda>() method
72 records, Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
86 suspendCancellableCoroutine<Void> { continuation -> in <lambda>() method
87 manager.updateRecords(records, Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
120 suspendCancellableCoroutine<ReadRecordsResponse<*>> { continuation -> in <lambda>() method
121 manager.readRecords(filter, Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
133 suspendCancellableCoroutine<ReadRecordsResponse<T>> { continuation -> in <lambda>() method
135 request, Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpChunk.java38 .continuation(Continuation.UNKNOWN); in newBuilder()
45 public abstract Continuation continuation(); in continuation() method in MsrpChunk
119 public abstract Continuation continuation(); in continuation() method in MsrpChunk.Builder
121 public abstract Builder continuation(Continuation continuation); in continuation() argument
123 public abstract Builder responseCode(int continuation); in responseCode() argument
/packages/apps/ThemePicker/src/com/android/customization/picker/grid/data/repository/
DGridRepository.kt70 suspendCancellableCoroutine { continuation -> in getSelectedOption() method
83 continuation.resume( in getSelectedOption()
91 continuation.resume( in getSelectedOption()
124 suspendCancellableCoroutine { continuation -> in onSelected() method
130 continuation.resume(true) in onSelected()
136 continuation.resume(true) in onSelected()
140 continuation.resume(false) in onSelected()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/data/repository/
DColorPickerRepositoryImpl.kt60 suspendCancellableCoroutine { continuation -> in <lambda>() method
65 continuation.resumeWith( in <lambda>()
96 continuation.resumeWith( in <lambda>()
108 continuation.resumeWith( in <lambda>()
122 suspendCancellableCoroutine { continuation -> in <lambda>() method
129 continuation.resumeWith(Result.success(Unit)) in <lambda>()
135 continuation.resumeWith( in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/common/widget/
DFingerprintErrorDialog.kt89 suspendCancellableCoroutine { continuation -> in <lambda>() method
91 dialog.onTryAgain = DialogInterface.OnClickListener { _, _ -> continuation.resume(true) } in <lambda>()
93 dialog.onContinue = DialogInterface.OnClickListener { _, _ -> continuation.resume(false) } in <lambda>()
98 continuation.resume(null) in <lambda>()
101 continuation.invokeOnCancellation { Log.d(TAG, "invokeOnCancellation $dialog") } in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/settings/fragment/
DFingerprintDeletionDialog.kt101 ) = suspendCancellableCoroutine { continuation -> in <lambda>() method
103 dialog.onClickListener = DialogInterface.OnClickListener { _, _ -> continuation.resume(true) } in <lambda>()
105 DialogInterface.OnClickListener { _, _ -> continuation.resume(false) } in <lambda>()
106 dialog.onCancelListener = DialogInterface.OnCancelListener { continuation.resume(false) } in <lambda>()
108 continuation.invokeOnCancellation { dialog.dismiss() } in <lambda>()
DFingerprintSettingsRenameDialog.kt105 suspendCancellableCoroutine { continuation -> in <lambda>() method
115 continuation.resume(Pair(fp, newName)) in <lambda>()
117 continuation.resume(null) in <lambda>()
125 continuation.resume(null) in <lambda>()
128 continuation.invokeOnCancellation { in <lambda>()
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dlogging_client_interceptor.py72 def intercept_unary_unary(self, continuation, client_call_details, request): argument
77 return continuation(client_call_details, request)
79 def intercept_unary_stream(self, continuation, client_call_details, request): argument
84 server_stream_call = continuation(client_call_details, request)
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/rfps/ui/widget/
DIconTouchDialog.kt61 suspend fun showInstance(fragment: Fragment) = suspendCancellableCoroutine { continuation -> in <lambda>() method
64 DialogInterface.OnClickListener { _, _ -> continuation.resume("Done") } in <lambda>()
66 DialogInterface.OnCancelListener { _ -> continuation.resume("OnCancel") } in <lambda>()
68 continuation.invokeOnCancellation { Log.d(TAG, "invokeOnCancellation $dialog") } in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DViewExtensions.kt26 internal suspend fun View.waitForPreDraw(): Unit = suspendCancellableCoroutine { continuation -> in <lambda>() method
33 continuation.resumeWith(Result.success(Unit)) in <lambda>()
44 continuation.invokeOnCancellation { callback.removeListener() } in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/migration/api/
DLoadMigrationRestoreStateUseCase.kt39 val migrationRestoreState = suspendCancellableCoroutine { continuation -> in <lambda>() method
40 manager.getHealthDataState(Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
45 suspendCancellableCoroutine { continuation -> in <lambda>() method
47 Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/appdata/
DAppDataUseCase.kt49 suspendCancellableCoroutine { continuation -> in <lambda>() method
51 Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
75 suspendCancellableCoroutine { continuation -> in <lambda>() method
77 Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/
DDefaultAppShortcutPreference.kt90 return suspendCoroutine { continuation -> in isRoleVisible() method
92 continuation.resume(it) in isRoleVisible()
97 private suspend fun isApplicationVisibleForRole() = suspendCoroutine { continuation -> in isApplicationVisibleForRole() method
99 continuation.resume(it) in isApplicationVisibleForRole()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DLoadMenstruationDataUseCase.kt87 continuation -> in <lambda>() method
89 filter, Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
116 suspendCancellableCoroutine<ReadRecordsResponse<MenstruationFlowRecord>> { continuation in <lambda>() method
119 filter, Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/javatests/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpChunkTest.java55 .continuation(Continuation.COMPLETE) in whenSerializeParseRequest_success()
70 .continuation(Continuation.COMPLETE) in whenSerializeParseEmptyRequest_success()
86 .continuation(Continuation.COMPLETE) in whenSerializeParseResponse_success()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/section/
DScreenPreviewSectionController.kt171 suspendCancellableCoroutine { continuation -> in <lambda>() method
186 continuation.resume(wallpaper, null) in <lambda>()
229 return suspendCancellableCoroutine { continuation -> in <lambda>() method
234 continuation.resume( in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/recents/data/
DTasksRepository.kt75 suspendCancellableCoroutine { continuation -> in <lambda>() method
78 continuation.resume(it) in <lambda>()
80 continuation.invokeOnCancellation { cancellableTask?.cancel() } in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/fragment/
DColorPickerFragment.kt116 suspendCancellableCoroutine { continuation -> in onCreateView()
133 continuation.resume(lockWallpaper ?: homeWallpaper, null) in onCreateView()
167 suspendCancellableCoroutine { continuation -> in onCreateView()
184 continuation.resume(homeWallpaper ?: lockWallpaper, null) in onCreateView()
/packages/modules/HealthFitness/testapps/toolbox/src/com/android/healthconnect/testapps/toolbox/ui/
DPhrOptionsFragment.kt144 suspendCancellableCoroutine<MedicalDataSource> { continuation -> in <lambda>() method
148 continuation.asOutcomeReceiver()) in <lambda>()
164 suspendCancellableCoroutine<List<MedicalResource>> { continuation -> in <lambda>() method
168 continuation.asOutcomeReceiver()) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/shared/
DQueryRecentAccessLogsUseCase.kt65 suspendCancellableCoroutine<List<AccessLog>> { continuation -> in <lambda>() method
66 manager.queryAccessLogs(Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/
DLoadExerciseRouteUseCase.kt46 suspendCancellableCoroutine<ReadRecordsResponse<ExerciseSessionRecord>> { continuation in <lambda>() method
49 request, Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/telephony/ims/
DImsMmTelRepository.kt136 suspendCancellableCoroutine { continuation -> in isSupported() method
142 continuation::resume, in isSupported()
145 continuation.resume(false) in isSupported()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/exportimport/api/
DLoadScheduledExportStatusUseCase.kt43 suspendCancellableCoroutine { continuation -> in <lambda>() method
45 Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
DQueryDocumentProvidersUseCase.kt43 suspendCancellableCoroutine { continuation -> in <lambda>() method
45 Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DLoadRecentAccessUseCase.kt51 suspendCancellableCoroutine<List<AccessLog>> { continuation -> in <lambda>() method
52 manager.queryAccessLogs(Runnable::run, continuation.asOutcomeReceiver()) in <lambda>()

123