Home
last modified time | relevance | path

Searched defs:callback (Results 1 – 25 of 5023) sorted by relevance

12345678910>>...201

/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/
H A Dapplication_test.cpp67 …std::shared_ptr<MockAbilityLifecycleCallbacks> callback = std::make_shared<MockAbilityLifecycleCal… variable
109 …std::shared_ptr<MockAbilityLifecycleCallbacks> callback = std::make_shared<MockAbilityLifecycleCal… variable
131 …std::shared_ptr<MockAbilityLifecycleCallbacks> callback = std::make_shared<MockAbilityLifecycleCal… variable
154 …std::shared_ptr<MockAbilityLifecycleCallbacks> callback = std::make_shared<MockAbilityLifecycleCal… variable
176 …std::shared_ptr<MockAbilityLifecycleCallbacks> callback = std::make_shared<MockAbilityLifecycleCal… variable
198 …std::shared_ptr<MockAbilityLifecycleCallbacks> callback = std::make_shared<MockAbilityLifecycleCal… variable
220 …std::shared_ptr<MockAbilityLifecycleCallbacks> callback = std::make_shared<MockAbilityLifecycleCal… variable
242 …std::shared_ptr<MockAbilityLifecycleCallbacks> callback = std::make_shared<MockAbilityLifecycleCal… variable
286 std::shared_ptr<MockElementsCallback> callback = std::make_shared<MockElementsCallback>(); variable
386 std::shared_ptr<MockElementsCallback> callback = std::make_shared<MockElementsCallback>(); variable
[all …]
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DShortcutManagerTest11.java56 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts() local
83 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts_replaceSameId() local
125 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_setDynamicShortcuts_pinnedAndCached() local
152 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_pinShortcuts() local
184 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_pinShortcuts_unpinOthers() local
216 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_cacheShortcuts() local
245 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_cacheShortcuts_alreadyCached() local
278 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_uncacheShortcuts() local
320 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_uncacheShortcuts_causeDeletion() local
354 ShortcutChangeCallback callback = mock(ShortcutChangeCallback.class); in testShortcutChangeCallback_updateShortcuts() local
[all …]
/ohos5.0/foundation/multimedia/av_session/frameworks/native/session/src/
H A Davsession_callback_client.cpp30 auto callback = callback_; in OnAVCallAnswer() local
40 auto callback = callback_; in OnAVCallHangUp() local
50 auto callback = callback_; in OnAVCallToggleCallMute() local
60 auto callback = callback_; in OnPlay() local
70 auto callback = callback_; in OnPause() local
80 auto callback = callback_; in OnStop() local
90 auto callback = callback_; in OnPlayNext() local
100 auto callback = callback_; in OnPlayPrevious() local
110 auto callback = callback_; in OnFastForward() local
120 auto callback = callback_; in OnRewind() local
[all …]
H A Davcontroller_callback_client.cpp31 auto callback = callback_; in OnSessionDestroy() local
41 auto callback = callback_; in OnAVCallMetaDataChange() local
51 auto callback = callback_; in OnAVCallStateChange() local
60 auto callback = callback_; in OnPlaybackStateChange() local
70 auto callback = callback_; in OnMetaDataChange() local
78 auto callback = callback_; in OnActiveStateChange() local
88 auto callback = callback_; in OnValidCommandChange() local
96 auto callback = callback_; in OnOutputDeviceChange() local
108 auto callback = callback_; in OnSessionEventChange() local
118 auto callback = callback_; in OnQueueItemsChange() local
[all …]
H A Davcast_controller_callback_client.cpp31 auto callback = callback_; in OnCastPlaybackStateChange() local
45 auto callback = callback_; in OnMediaItemChange() local
56 auto callback = callback_; in OnPlayNext() local
66 auto callback = callback_; in OnPlayPrevious() local
76 auto callback = callback_; in OnSeekDone() local
86 auto callback = callback_; in OnVideoSizeChange() local
97 auto callback = callback_; in OnPlayerError() local
108 auto callback = callback_; in OnEndOfStream() local
119 auto callback = callback_; in OnPlayRequest() local
131 auto callback = callback_; in OnKeyRequest() local
[all …]
/ohos5.0/base/location/test/location_geofence/source/
H A Dlocation_gnss_geofence_callback_host_test.cpp39 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable
56 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable
74 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable
86 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable
98 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable
119 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable
136 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable
151 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable
166 std::shared_ptr<LocationGnssGeofenceCallbackNapi> callback = variable
/aosp12/frameworks/base/core/java/android/permission/
H A DPermissionControllerService.java111 @NonNull Consumer<Map<String, List<String>>> callback); in onRevokeRuntimePermissions()
247 @NonNull Runnable callback) { in onUpdateUserSensitivePermissionFlags()
276 @NonNull Consumer<Boolean> callback); in onSetRuntimePermissionGrantStateByDeviceAdmin()
288 @NonNull Consumer<Boolean> callback) { in onSetRuntimePermissionGrantStateByDeviceAdmin()
312 @NonNull Consumer<List<String>> callback) { in onGetPlatformPermissionsForGroup()
324 @NonNull Consumer<String> callback) { in onGetGroupOfPlatformPermission()
447 AndroidFuture callback) { in onBind()
488 AndroidFuture callback) { in onBind()
500 AndroidFuture callback) { in onBind()
512 AndroidFuture callback) { in onBind()
[all …]
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/js/napi/datashare_ext_ability/
H A Ddatashare_ext_ability.js17 onCreate(want, callback) { argument
26 openFile(uri, mode, callback) { argument
30 openRawFile(uri, mode, callback) { argument
34 insert(uri, value, callback) { argument
38 update(uri, predicates, value, callback) { argument
42 batchUpdate(operations, callback) { argument
46 delete(uri, predicates, callback) { argument
54 getType(uri, callback) { argument
58 batchInsert(uri, values, callback) { argument
62 normalizeUri(uri, callback) { argument
[all …]
/aosp12/frameworks/base/telephony/java/android/service/euicc/
H A DIEuiccService.aidl40 in IDownloadSubscriptionCallback callback); in downloadSubscription()
43 void getEid(int slotId, in IGetEidCallback callback); in getEid()
44 void getOtaStatus(int slotId, in IGetOtaStatusCallback callback); in getOtaStatus()
48 in IGetDefaultDownloadableSubscriptionListCallback callback); in getDefaultDownloadableSubscriptionList()
49 void getEuiccInfo(int slotId, in IGetEuiccInfoCallback callback); in getEuiccInfo()
52 in ISwitchToSubscriptionCallback callback); in switchToSubscription()
54 in IUpdateSubscriptionNicknameCallback callback); in updateSubscriptionNickname()
55 void eraseSubscriptions(int slotId, in IEraseSubscriptionsCallback callback); in eraseSubscriptions()
57 int slotIndex, int options, in IEraseSubscriptionsCallback callback); in eraseSubscriptionsWithOptions()
59 int slotId, in IRetainSubscriptionsForFactoryResetCallback callback); in retainSubscriptionsForFactoryReset()
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_view_preview.h47 void RegisterTouchEventCallback(TouchEventCallback&& callback) override in RegisterTouchEventCallback()
53 void RegisterKeyEventCallback(KeyEventCallback&& callback) override in RegisterKeyEventCallback()
59 void RegisterMouseEventCallback(MouseEventCallback&& callback) override in RegisterMouseEventCallback()
65 void RegisterAxisEventCallback(AxisEventCallback&& callback) override in RegisterAxisEventCallback()
71 void RegisterRotationEventCallback(RotationEventCallBack&& callback) override in RegisterRotationEventCallback()
77 void RegisterDragEventCallback(DragEventCallBack&& callback) override {} in RegisterDragEventCallback()
79 void RegisterCardViewPositionCallback(CardViewPositionCallBack&& callback) override in RegisterCardViewPositionCallback()
91 void RegisterViewChangeCallback(ViewChangeCallback&& callback) override in RegisterViewChangeCallback()
99 void RegisterDensityChangeCallback(DensityChangeCallback&& callback) override in RegisterDensityChangeCallback()
113 void RegisterSurfaceDestroyCallback(SurfaceDestroyCallback&& callback) override in RegisterSurfaceDestroyCallback()
[all …]
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/account_iam/
H A Daccount_iam_service_test.cpp187 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable
202 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable
217 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable
232 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable
247 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable
274 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable
289 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable
405 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable
427 sptr<MockIIDMCallback> callback = new (std::nothrow) MockIIDMCallback(); variable
464 sptr<MockGetSetPropCallback> callback = new (std::nothrow) MockGetSetPropCallback(); variable
[all …]
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_scanner_db_test/src/
H A Dmedialibrary_media_scanner_test.cpp33 shared_ptr<IMediaScannerCallback> callback = nullptr; variable
53 shared_ptr<IMediaScannerCallback> callback = nullptr; variable
66 shared_ptr<IMediaScannerCallback> callback = nullptr; variable
75 shared_ptr<IMediaScannerCallback> callback = nullptr; variable
87 shared_ptr<IMediaScannerCallback> callback = nullptr; variable
104 shared_ptr<IMediaScannerCallback> callback = nullptr; variable
123 shared_ptr<IMediaScannerCallback> callback = nullptr; variable
134 shared_ptr<IMediaScannerCallback> callback = nullptr; variable
147 shared_ptr<IMediaScannerCallback> callback = nullptr; variable
158 shared_ptr<IMediaScannerCallback> callback = nullptr; variable
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/
H A Dwifi_idl_inner_interface_test.cpp449 P2pHalCallback callback; variable
469 P2pHalCallback callback; variable
490 P2pHalCallback callback; variable
507 P2pHalCallback callback; variable
525 P2pHalCallback callback; variable
546 P2pHalCallback callback; variable
569 P2pHalCallback callback; variable
586 P2pHalCallback callback; variable
606 P2pHalCallback callback; variable
629 P2pHalCallback callback; variable
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dphoto_output_impl.cpp62 Camera_ErrorCode Camera_PhotoOutput::RegisterCallback(PhotoOutput_Callbacks* callback) in RegisterCallback()
76 …rrorCode Camera_PhotoOutput::RegisterPhotoAvailableCallback(OH_PhotoOutput_PhotoAvailable callback) in RegisterPhotoAvailableCallback()
140 Camera_ErrorCode Camera_PhotoOutput::UnregisterCallback(PhotoOutput_Callbacks* callback) in UnregisterCallback()
149 OH_PhotoOutput_CaptureStartWithInfo callback) in RegisterCaptureStartWithInfoCallback()
164 OH_PhotoOutput_CaptureStartWithInfo callback) in UnregisterCaptureStartWithInfoCallback()
172 Camera_ErrorCode Camera_PhotoOutput::RegisterCaptureEndCallback(OH_PhotoOutput_CaptureEnd callback) in RegisterCaptureEndCallback()
186 …mera_ErrorCode Camera_PhotoOutput::UnregisterCaptureEndCallback(OH_PhotoOutput_CaptureEnd callback) in UnregisterCaptureEndCallback()
216 …ra_ErrorCode Camera_PhotoOutput::RegisterCaptureReadyCallback(OH_PhotoOutput_CaptureReady callback) in RegisterCaptureReadyCallback()
230 …_ErrorCode Camera_PhotoOutput::UnregisterCaptureReadyCallback(OH_PhotoOutput_CaptureReady callback) in UnregisterCaptureReadyCallback()
239 OH_PhotoOutput_EstimatedCaptureDuration callback) in RegisterEstimatedCaptureDurationCallback()
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/ability_context/
H A Dability_context.js41 startAbility(want, options, callback) { argument
45 openLink(link, options, callback) { argument
53 startRecentAbility(want, options, callback) { argument
156 disconnectAbility(connection, callback) { argument
164 terminateSelf(callback) { argument
184 setMissionContinueState(state, callback) { argument
188 setMissionLabel(label, callback) { argument
192 setMissionIcon(icon, callback) { argument
200 reportDrawnCompleted(callback) { argument
208 requestModalUIExtension(want, callback) { argument
[all …]
/aosp12/frameworks/base/core/java/android/app/
H A DInstantAppResolverService.java71 @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppResolveInfo()
86 @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppIntentFilter()
117 @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppResolveInfo()
148 @NonNull String token, @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppIntentFilter()
185 @NonNull String token, @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppResolveInfo()
212 @NonNull String token, @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppIntentFilter()
231 @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppResolveInfo()
234 request.getUserHandle(), request.getToken(), callback); in onGetInstantAppResolveInfo() local
248 @NonNull InstantAppResolutionCallback callback) { in onGetInstantAppIntentFilter()
251 request.getUserHandle(), request.getToken(), callback); in onGetInstantAppIntentFilter() local
[all …]
/aosp12/frameworks/base/telephony/java/com/android/internal/telephony/euicc/
H A DIEuiccCardController.aidl45 in IGetAllProfilesCallback callback); in getAllProfiles()
47 in IGetProfileCallback callback); in getProfile()
49 in IDisableProfileCallback callback); in disableProfile()
51 in ISwitchToProfileCallback callback); in switchToProfile()
53 in ISetNicknameCallback callback); in setNickname()
55 in IDeleteProfileCallback callback); in deleteProfile()
60 in IGetSmdsAddressCallback callback); in getSmdsAddress()
64 in IGetRulesAuthTableCallback callback); in getRulesAuthTable()
68 in IGetEuiccInfo1Callback callback); in getEuiccInfo1()
70 in IGetEuiccInfo2Callback callback); in getEuiccInfo2()
[all …]
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/
H A Dphoto_output.cpp70 OH_PhotoOutput_CaptureStartWithInfo callback) in OH_PhotoOutput_RegisterCaptureStartWithInfoCallback()
85 OH_PhotoOutput_CaptureStartWithInfo callback) in OH_PhotoOutput_UnregisterCaptureStartWithInfoCallback()
100 OH_PhotoOutput_CaptureEnd callback) in OH_PhotoOutput_RegisterCaptureEndCallback()
115 OH_PhotoOutput_CaptureEnd callback) in OH_PhotoOutput_UnregisterCaptureEndCallback()
130 OH_PhotoOutput_OnFrameShutterEnd callback) in OH_PhotoOutput_RegisterFrameShutterEndCallback()
145 OH_PhotoOutput_OnFrameShutterEnd callback) in OH_PhotoOutput_UnregisterFrameShutterEndCallback()
160 OH_PhotoOutput_CaptureReady callback) in OH_PhotoOutput_RegisterCaptureReadyCallback()
175 OH_PhotoOutput_CaptureReady callback) in OH_PhotoOutput_UnregisterCaptureReadyCallback()
220 OH_PhotoOutput_PhotoAvailable callback) in OH_PhotoOutput_RegisterPhotoAvailableCallback()
235 OH_PhotoOutput_PhotoAvailable callback) in OH_PhotoOutput_UnregisterPhotoAvailableCallback()
[all …]
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/anim/
H A DAnimatorListeners.java35 public static AnimatorListener forSuccessCallback(Runnable callback) { in forSuccessCallback()
43 public static AnimatorListener forEndCallback(Consumer<Boolean> callback) { in forEndCallback()
50 public static AnimatorListener forEndCallback(Runnable callback) { in forEndCallback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/
H A Dcontainer_window_manager.h64 void SetWindowMinimizeCallBack(WindowCallback&& callback) in SetWindowMinimizeCallBack()
69 void SetWindowMaximizeCallBack(WindowCallback&& callback) in SetWindowMaximizeCallBack()
74 void SetWindowMaximizeFloatingCallBack(WindowCallback&& callback) in SetWindowMaximizeFloatingCallBack()
79 void SetWindowRecoverCallBack(WindowCallback&& callback) in SetWindowRecoverCallBack()
84 void SetWindowCloseCallBack(WindowCallback&& callback) in SetWindowCloseCallBack()
89 void SetWindowSplitPrimaryCallBack(WindowCallback&& callback) in SetWindowSplitPrimaryCallBack()
94 void SetWindowSplitSecondaryCallBack(WindowCallback&& callback) in SetWindowSplitSecondaryCallBack()
99 void SetWindowGetModeCallBack(WindowModeCallback&& callback) in SetWindowGetModeCallBack()
104 void SetWindowGetTypeCallBack(WindowTypeCallback&& callback) in SetWindowGetTypeCallBack()
109 void SetWindowStartMoveCallBack(WindowCallback&& callback) in SetWindowStartMoveCallBack()
[all …]
/ohos5.0/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/transient_task_jsunittest/
H A Dtransient_task_jsunit.test.js56 function callback() { } function
76 function callback() { } function
100 function callback() { } function
132 function callback() { } function
165 function callback() { } function
189 function callback() { } function
224 function callback() { } function
255 function callback() { } function
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/ui_extension_context/
H A Dui_extension_context.js32 startAbility(want, options, callback) { argument
37 startUIServiceExtensionAbility(want, callback) { argument
42 connectUIServiceExtensionAbility(want, callback) { argument
50 openLink(link, options, callback) { argument
55 terminateSelf(callback) { argument
60 startAbilityForResult(want, options, callback) { argument
65 startAbilityForResultAsCaller(want, options, callback) { argument
70 terminateSelfWithResult(abilityResult, callback) { argument
79 disconnectServiceExtensionAbility(connection, callback) { argument
83 reportDrawnCompleted(callback) { argument
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/unittest/common/
H A Dwifi_internal_event_dispatcher_test.cpp71 sptr<IWifiDeviceCallBack> callback; variable
85 sptr<IWifiDeviceCallBack> callback; variable
104 sptr<IWifiScanCallback> callback; variable
118 sptr<IWifiScanCallback> callback; variable
137 sptr<IWifiHotspotCallback> callback; variable
152 sptr<IWifiHotspotCallback> callback; variable
172 sptr<IWifiP2pCallback> callback; variable
179 sptr<IWifiP2pCallback> callback; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dinteractable_view.cpp33 static GestureEventFunc GestureEventWrapper(std::function<void(const ClickInfo& clickInfo)> callbac… in GestureEventWrapper()
45 void InteractableView::OnClick(std::function<void(const ClickInfo& clickInfo)> callback) in OnClick()
53 void InteractableView::OnTouch(std::function<void(TouchEventInfo& touchInfo)> callback) in OnTouch()
59 void InteractableView::OnAppear(std::function<void()> callback) in OnAppear()
64 void InteractableView::OnDisAppear(std::function<void()> callback) in OnDisAppear()
69 void InteractableView::OnHover(std::function<void(bool)> callback) in OnHover()
76 void InteractableView::OnKey(std::function<bool(KeyEventInfo& keyInfo)> callback) in OnKey()
81 void InteractableView::OnDelete(std::function<void()> callback) in OnDelete()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_utils/unittest/
H A Dwifi_event_handler_test.cpp24 std::function<void()> callback = EventHandlerCallback; variable
30 std::function<void()> callback = EventHandlerCallback; variable
36 std::function<void()> callback = EventHandlerCallback; variable
47 std::function<void()> callback = EventHandlerCallback; variable

12345678910>>...201