Home
last modified time | relevance | path

Searched refs:accept (Results 1 – 25 of 534) sorted by relevance

12345678910>>...22

/packages/services/Telephony/testapps/TestSatelliteApp/src/com/android/phone/testapps/satellitetestapp/
DTestSatelliteService.java176 runWithExecutor(() -> errorCallback.accept(mErrorCode)); in requestSatelliteListeningEnabled()
185 runWithExecutor(() -> errorCallback.accept(SatelliteResult.SATELLITE_RESULT_SUCCESS)); in requestSatelliteListeningEnabled()
194 runWithExecutor(() -> errorCallback.accept(mErrorCode)); in requestSatelliteEnabled()
209 runWithExecutor(() -> errorCallback.accept(SatelliteResult.SATELLITE_RESULT_SUCCESS)); in enableSatellite()
215 runWithExecutor(() -> errorCallback.accept(SatelliteResult.SATELLITE_RESULT_SUCCESS)); in disableSatellite()
223 runWithExecutor(() -> errorCallback.accept(mErrorCode)); in requestIsSatelliteEnabled()
226 runWithExecutor(() -> callback.accept(mIsEnabled)); in requestIsSatelliteEnabled()
234 runWithExecutor(() -> errorCallback.accept(mErrorCode)); in requestIsSatelliteSupported()
237 runWithExecutor(() -> callback.accept(mIsSupported)); in requestIsSatelliteSupported()
245 runWithExecutor(() -> errorCallback.accept(mErrorCode)); in requestSatelliteCapabilities()
[all …]
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_sec_api.cc71 void BTA_DmPinReply(const RawAddress& bd_addr, bool accept, uint8_t pin_len, in BTA_DmPinReply() argument
77 msg->accept = accept; in BTA_DmPinReply()
78 if (accept) { in BTA_DmPinReply()
122 void BTA_DmConfirm(const RawAddress& bd_addr, bool accept) { in BTA_DmConfirm() argument
124 bta_dm_confirm(bd_addr, accept); in BTA_DmConfirm()
127 base::BindOnce(bta_dm_confirm, bd_addr, accept)); in BTA_DmConfirm()
230 void BTA_DmBlePasskeyReply(const RawAddress& bd_addr, bool accept, in BTA_DmBlePasskeyReply() argument
233 bta_dm_ble_passkey_reply(bd_addr, accept, accept ? passkey : 0); in BTA_DmBlePasskeyReply()
236 base::BindOnce(bta_dm_ble_passkey_reply, bd_addr, accept, in BTA_DmBlePasskeyReply()
237 accept ? passkey : 0)); in BTA_DmBlePasskeyReply()
[all …]
Dbta_dm_sec_int.h28 bool accept; member
45 bool accept; member
74 void bta_dm_ble_confirm_reply(const RawAddress& bd_addr, bool accept);
75 void bta_dm_ble_passkey_reply(const RawAddress& bd_addr, bool accept,
78 bool accept);
85 void bta_dm_confirm(const RawAddress& bd_addr, bool accept);
Dbta_dm_ci.cc43 void bta_dm_ci_rmt_oob(bool accept, const RawAddress& bd_addr, const Octet16& c, in bta_dm_ci_rmt_oob() argument
49 msg->accept = accept; in bta_dm_ci_rmt_oob()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DModelLauncherCallbacks.kt41 taskExecutor.accept(PackageUpdatedTask(OP_ADD, user, packageName)) in onPackageAdded()
45 taskExecutor.accept(PackageUpdatedTask(OP_UPDATE, user, packageName)) in onPackageChanged()
53 taskExecutor.accept(PackageIncrementalDownloadUpdatedTask(packageName, user, progress)) in onPackageLoadingProgressChanged()
58 taskExecutor.accept(PackageUpdatedTask(OP_REMOVE, user, packageName)) in onPackageRemoved()
66 taskExecutor.accept(PackageUpdatedTask(OP_UPDATE, user, *packageNames)) in onPackagesAvailable()
70 taskExecutor.accept(PackageUpdatedTask(OP_SUSPEND, user, *packageNames)) in onPackagesSuspended()
79 taskExecutor.accept(PackageUpdatedTask(OP_UNAVAILABLE, user, *packageNames)) in onPackagesUnavailable()
84 taskExecutor.accept(PackageUpdatedTask(OP_UNSUSPEND, user, *packageNames)) in onPackagesUnsuspended()
92 taskExecutor.accept(ShortcutsChangedTask(packageName, shortcuts, user, true)) in onShortcutsChanged()
97 taskExecutor.accept(PackageUpdatedTask(OP_REMOVE, user, *packages.toTypedArray())) in onPackagesRemoved()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DSatelliteAccessControllerTest.kt159 verify(mCallback, never()).accept(any()) in test_onRoleHoldersChanged_SatelliteFallbackUid_Changed_SingleUser()
165 verify(mCallback).accept(setOf(PRIMARY_USER_SMS_APP_UID1)) in test_onRoleHoldersChanged_SatelliteFallbackUid_Changed_SingleUser()
173 verify(mCallback).accept(setOf(PRIMARY_USER_SMS_APP_UID2)) in test_onRoleHoldersChanged_SatelliteFallbackUid_Changed_SingleUser()
181 verify(mCallback).accept(ArraySet()) in test_onRoleHoldersChanged_SatelliteFallbackUid_Changed_SingleUser()
192 verify(mCallback, never()).accept(any()) in test_onRoleHoldersChanged_NoSatelliteCommunicationPermission()
202 verify(mCallback, never()).accept(any()) in test_onRoleHoldersChanged_NoSatelliteCommunicationPermission()
214 verify(mCallback, never()).accept(any()) in test_onRoleHoldersChanged_RoleSms_NotAvailable()
225 verify(mCallback, never()).accept(any()) in test_onRoleHoldersChanged_SatelliteNetworkFallbackUid_Changed_multiUser()
231 verify(mCallback).accept(setOf(PRIMARY_USER_SMS_APP_UID1)) in test_onRoleHoldersChanged_SatelliteNetworkFallbackUid_Changed_multiUser()
239 verify(mCallback).accept(setOf(PRIMARY_USER_SMS_APP_UID2)) in test_onRoleHoldersChanged_SatelliteNetworkFallbackUid_Changed_multiUser()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestActivity.java128 startActivity.accept(intent); in startActivity()
136 startActivityAsUser.accept(new Pair<>(intent, userHandle)); in startActivityAsUser()
152 startService.accept(intent); in startService()
179 startIntentSender.accept(new Pair<>(intent, requestCode)); in startIntentSenderForResult()
184 rootPicked.accept(root); in onRootPicked()
194 notifyDirectoryNavigated.accept(uri); in notifyDirectoryNavigated()
199 restoreRootAndDirectory.accept(null); in restoreRootAndDirectory()
204 refreshCurrentRootAndDirectory.accept(anim); in refreshCurrentRootAndDirectory()
214 setRootsDrawerOpen.accept(open); in setRootsDrawerOpen()
219 setRootsDrawerLocked.accept(locked); in setRootsDrawerLocked()
[all …]
/packages/modules/AppSearch/framework/java/android/app/appsearch/
DAppSearchSession.java150 callback.accept( in initialize()
154 callback.accept( in initialize()
268 callback.accept( in getSchema()
271 callback.accept( in getSchema()
314 callback.accept( in getNamespaces()
318 callback.accept( in getNamespaces()
645 callback.accept(result); in searchSuggestion()
650 callback.accept( in searchSuggestion()
654 callback.accept( in searchSuggestion()
708 () -> callback.accept(resultParcel.getResult())); in reportUsage()
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_dm_api.h131 std::function<void(const RawAddress& bd_addr, bool accept)> body{
133 void operator()(const RawAddress& bd_addr, bool accept) { in operator()
134 body(bd_addr, accept); in operator()
167 std::function<void(const RawAddress& bd_addr, bool accept, uint32_t passkey)>
170 void operator()(const RawAddress& bd_addr, bool accept, uint32_t passkey) { in operator()
171 body(bd_addr, accept, passkey); in operator()
328 std::function<void(const RawAddress& bd_addr, bool accept)> body{
330 void operator()(const RawAddress& bd_addr, bool accept) { in operator()
331 body(bd_addr, accept); in operator()
395 std::function<void(const RawAddress& bd_addr, bool accept, uint8_t pin_len,
[all …]
Dmock_bta_dm_api.cc133 void BTA_DmBleConfirmReply(const RawAddress& bd_addr, bool accept) { in BTA_DmBleConfirmReply() argument
135 test::mock::bta_dm_api::BTA_DmBleConfirmReply(bd_addr, accept); in BTA_DmBleConfirmReply()
145 void BTA_DmBlePasskeyReply(const RawAddress& bd_addr, bool accept, in BTA_DmBlePasskeyReply() argument
148 test::mock::bta_dm_api::BTA_DmBlePasskeyReply(bd_addr, accept, passkey); in BTA_DmBlePasskeyReply()
208 void BTA_DmConfirm(const RawAddress& bd_addr, bool accept) { in BTA_DmConfirm() argument
210 test::mock::bta_dm_api::BTA_DmConfirm(bd_addr, accept); in BTA_DmConfirm()
233 void BTA_DmPinReply(const RawAddress& bd_addr, bool accept, uint8_t pin_len, in BTA_DmPinReply() argument
236 test::mock::bta_dm_api::BTA_DmPinReply(bd_addr, accept, pin_len, p_pin); in BTA_DmPinReply()
293 void BTA_DmSirkConfirmDeviceReply(const RawAddress& bd_addr, bool accept) { in BTA_DmSirkConfirmDeviceReply() argument
295 test::mock::bta_dm_api::BTA_DmSirkConfirmDeviceReply(bd_addr, accept); in BTA_DmSirkConfirmDeviceReply()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentClipper.java82 clipForCut.accept(uris); in clipDocumentsForCut()
88 copyFromClip.accept(Pair.create(new DocumentStack(docStack, destination), primaryClip)); in copyFromClipboard()
93 copyFromClip.accept(Pair.create(docStack, primaryClip)); in copyFromClipboard()
99 copyFromClip.accept(Pair.create(new DocumentStack(docStack, destination), clipData)); in copyFromClipData()
105 copyFromClip.accept(Pair.create(dstStack, clipData)); in copyFromClipData()
106 this.opType.accept(opType); in copyFromClipData()
111 copyFromClip.accept(Pair.create(docStack, clipData)); in copyFromClipData()
/packages/services/Telephony/src/com/android/phone/callcomposer/
DCallComposerPictureManager.java127 callback.accept(Pair.create(id, TelephonyManager.CallComposerException.SUCCESS)); in handleUploadToServer()
136 callback.accept(Pair.create(null, in handleUploadToServer()
149 callback.accept(Pair.create(null, error)); in handleUploadToServer()
156 callback.accept(Pair.create(null, in handleUploadToServer()
174 callback.accept(Pair.create(id, TelephonyManager.CallComposerException.SUCCESS)); in handleUploadToServer()
188 storeUploadedPictureToCallLog(id, uri -> callback.accept(Pair.create(uri, -1))); in handleDownloadFromServer()
200 callback.accept(Pair.create(null, error)); in handleDownloadFromServer()
207 callback.accept(Pair.create(null, in handleDownloadFromServer()
229 callback.accept(Pair.create( in handleDownloadFromServer()
236 callback.accept(Pair.create(null, in handleDownloadFromServer()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DInspectorController.java163 mHeader.accept(docInfo); in updateView()
164 mDetails.accept(docInfo, mTitle != null ? mTitle : docInfo.displayName); in updateView()
198 mDebugView.accept(docInfo); in updateView()
220 mMedia.accept(doc, metadata, geoClickListener); in onDocumentMetadataLoaded()
223 mDebugView.accept(metadata); in onDocumentMetadataLoaded()
346 void accept(DocumentInfo info); in accept() method
354 void accept(DocumentInfo info, String displayName); in accept() method
363 void accept(DocumentInfo info, Bundle metadata, @Nullable Runnable geoClickListener); in accept() method
375 void accept(DocumentInfo info); in accept() method
376 void accept(Bundle metadata); in accept() method
DRuntimeDataSupplier.java73 public void accept(Cursor cursor) { in loadDocInfo()
76 updateView.accept(null); in loadDocInfo()
80 updateView.accept(docInfo); in loadDocInfo()
100 public void accept(Cursor cursor) { in loadDirCount()
102 updateView.accept(cursor.getCount()); in loadDirCount()
121 callback.accept(data); in getDocumentMetadata()
194 mCallback.accept(cursor); in onLoadFinished()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DDatabaseUtils.java281 honored.accept(QUERY_ARG_SQL_SELECTION); in resolveQueryArgs()
282 honored.accept(QUERY_ARG_SQL_SELECTION_ARGS); in resolveQueryArgs()
294 honored.accept(QUERY_ARG_GROUP_COLUMNS); in resolveGroupBy()
298 honored.accept(QUERY_ARG_SQL_GROUP_BY); in resolveGroupBy()
308 honored.accept(QUERY_ARG_SORT_COLUMNS); in resolveSortOrder()
314 honored.accept(QUERY_ARG_SORT_LOCALE); in resolveSortOrder()
322 honored.accept(QUERY_ARG_SORT_COLLATION); in resolveSortOrder()
327 honored.accept(QUERY_ARG_SORT_COLLATION); in resolveSortOrder()
336 honored.accept(QUERY_ARG_SORT_DIRECTION); in resolveSortOrder()
340 honored.accept(QUERY_ARG_SORT_DIRECTION); in resolveSortOrder()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/internal/util/
DFunctionUtilsTest.java53 c.accept(true); in testUncheckedExceptionsThrowningConsumer()
55 c.accept(false); in testUncheckedExceptionsThrowningConsumer()
96 bc.accept(true, true); in testUncheckedExceptionsThrowningBiConsumer()
98 bc.accept(true, false); in testUncheckedExceptionsThrowningBiConsumer()
133 c.accept(false); in testIgnoreRemoteException()
135 c.accept(true); in testIgnoreRemoteException()
/packages/services/Car/car-lib/src/com/android/car/internal/util/
DFunctionalUtils.java89 handler.accept(t); in handleExceptions()
154 default void accept(T t) {
177 default void accept(T t) {
253 default void accept(A a, B b) {
273 void accept(Input input) throws ExceptionType;
289 void accept(Input input) throws ExceptionOne, ExceptionTwo;
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DRefreshHelper.java43 mRefreshLayoutEnabler.accept(false); in onInterceptTouchEvent()
49 mRefreshLayoutEnabler.accept(false); in onInterceptTouchEvent()
54 mRefreshLayoutEnabler.accept(true); in onInterceptTouchEvent()
62 mRefreshLayoutEnabler.accept(true); in onTouchEvent()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DCommandInterceptorTest.java51 mProcessor.accept(COMMAND_PREFIX + "poodles"); in testTriesAllCommands()
59 mProcessor.accept(":poodles"); in testStopsAfterCommandHandled()
67 mProcessor.accept(COMMAND_PREFIX + "cheese doodles"); in testConveysArguments()
75 mProcessor.accept(COMMAND_PREFIX); in testMissingCommand()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DSipDelegateBinderConnectionTest.java97 verify(mMockCreatedCallback).accept(any(), eq(getMmTelDeniedTag())); in testBaseImpl()
104 verify(mMockDestroyedCallback).accept( in testBaseImpl()
129 verify(mMockCreatedCallback).accept(mMockDelegate, totalDeniedTags); in testCreateConnection()
157 verify(mMockCreatedCallback).accept(mMockDelegate, deniedTags); in testDestroyConnection()
162 verify(mMockDestroyedCallback).accept( in testDestroyConnection()
177 verify(mMockCreatedCallback).accept(mMockDelegate, deniedTags); in testDestroyConnectionDead()
182 verify(mMockDestroyedCallback).accept( in testDestroyConnectionDead()
197 verify(mMockCreatedCallback).accept(mMockDelegate, deniedTags); in testStateCallback()
DSipDelegateControllerTest.java107 consumer.accept(mMockSipDelegate, Collections.emptySet()); in testCreateDelegate()
136 consumer.accept(mMockSipDelegate, deniedTags); in testCreateDeniedFeatures()
179 pendingClosedConsumer.accept(true); in testDestroyDelegate()
181 pendingDestroyedConsumer.accept( in testDestroyDelegate()
209 pendingDestroyedConsumer.accept( in testDestroyDelegateForce()
236 pendingClosedConsumer.accept(true); in testChangeSupportedFeatures()
238 pendingDestroyedConsumer.accept( in testChangeSupportedFeatures()
247 consumer.accept(mMockSipDelegate, Collections.emptySet()); in testChangeSupportedFeatures()
267 consumer.accept(mMockSipDelegate, Collections.emptySet()); in createSipDelegate()
/packages/services/Telecomm/testapps/transactionalVoipApp/src/com/android/server/telecom/transactionalVoipApp/
DMyVoipCall.java56 wasCompleted.accept(Boolean.TRUE); in onSetActive()
62 wasCompleted.accept(Boolean.TRUE); in onSetInactive()
68 wasCompleted.accept(Boolean.TRUE); in onAnswer()
75 wasCompleted.accept(Boolean.TRUE); in onDisconnect()
81 wasCompleted.accept(Boolean.TRUE); in onCallStreamingStarted()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionControllerServiceModel.kt159 callback.accept(0) in <lambda>()
200 callback.accept(0) in <lambda>()
230 callback.accept(packagesWithPermission) in <lambda>()
256 callback.accept(uiInfos) in <lambda>()
277 callback.accept(uiInfos) in <lambda>()
294 callback.accept(count ?: 0) in <lambda>()
310 callback.accept( in <lambda>()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DLocationListeners.java72 mUpdate.accept(mSensorName + ": SensorManager not available"); in startListening()
77 mUpdate.accept(mSensorName + ": sensor not available"); in startListening()
82 mUpdate.accept(mSensorName + ": failed to register listener."); in startListening()
85 mUpdate.accept(mSensorName + ": waiting to hear from SensorManager."); in startListening()
93 mUpdate.accept(mSensorName + ": SensorManager stopped"); in stopListening()
112 mUpdate.accept(es); in onSensorChanged()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/federatedcompute/
DOdpResultHandlingService.java68 callback.accept(ClientConstants.STATUS_SUCCESS); in handleResult()
84 callback.accept(STATUS_SUCCESS); in handleResult()
86 callback.accept(ClientConstants.STATUS_INTERNAL_ERROR); in handleResult()
93 callback.accept(ClientConstants.STATUS_INTERNAL_ERROR); in handleResult()
100 callback.accept(ClientConstants.STATUS_INTERNAL_ERROR); in handleResult()

12345678910>>...22