Home
last modified time | relevance | path

Searched full:function (Results 1 – 25 of 1091) sorted by relevance

12345678910>>...44

/base/notification/distributed_notification_service/test/fuzztest/reminderrequestcalendar_fuzzer/
Dreminderrequestcalendar_fuzzer.cpp43 // test SetNextTriggerTime function in DoSomethingInterestingWithMyAPI()
45 // test InitDateTime function in DoSomethingInterestingWithMyAPI()
47 // test InitDateTime function in DoSomethingInterestingWithMyAPI()
49 // test SetDay function in DoSomethingInterestingWithMyAPI()
52 // test SetMonth function in DoSomethingInterestingWithMyAPI()
54 // test SetRepeatMonths function in DoSomethingInterestingWithMyAPI()
56 // test SetRepeatDaysOfMonth function in DoSomethingInterestingWithMyAPI()
58 // test GetRepeatMonths function in DoSomethingInterestingWithMyAPI()
60 // test GetRepeatDays function in DoSomethingInterestingWithMyAPI()
62 // test GetDaysOfMonth function in DoSomethingInterestingWithMyAPI()
[all …]
/base/notification/distributed_notification_service/interfaces/kits/js/
D@ohos.notification.d.ts47 * @param callback callback function
49 function publish(request: NotificationRequest, callback: AsyncCallback<void>): void;
50 function publish(request: NotificationRequest): Promise<void>;
62function publish(request: NotificationRequest, userId: number, callback: AsyncCallback<void>): voi…
63 function publish(request: NotificationRequest, userId: number): Promise<void>;
69 * @param callback callback function
71 function cancel(id: number, callback: AsyncCallback<void>): void;
78 * @param callback callback function
80 function cancel(id: number, label: string, callback: AsyncCallback<void>): void;
81 function cancel(id: number, label?: string): Promise<void>;
[all …]
/base/theme/wallpaper_mgr/interfaces/kits/jskits/
D@ohos.wallpaper.d.ts37 … colors for the wallpaper of the specified type. Returns rgbaColor type of array callback function.
39 … * @returns { Promise<Array<RgbaColor>> } the Promise<Array<RgbaColor>> returned by the function.
43function getColors(wallpaperType: WallpaperType, callback: AsyncCallback<Array<RgbaColor>>): void;
44 function getColors(wallpaperType: WallpaperType): Promise<Array<RgbaColor>>;
47 … colors for the wallpaper of the specified type. Returns rgbaColor type of array callback function.
49 * @returns { Array<RgbaColor> } the Array<RgbaColor> returned by the function.
53 function getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>;
59 * @returns { Promise<number> } the Promise<number> returned by the function.
63 function getId(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;
64 function getId(wallpaperType: WallpaperType): Promise<number>;
[all …]
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
Dril_interface_test.cpp74 * @tc.desc Function test
76 HWTEST_F(RilInterfaceTest, CheckRilInstanceIsEmpty, Function | MediumTest | Level1)
88 * @tc.desc Function test
90 HWTEST_F(RilInterfaceTest, SendRilAck, Function | MediumTest | Level1)
102 * @tc.desc Function test
104 HWTEST_F(RilInterfaceTest, Telephony_DriverSystem_GetSimStatus_V1_0100, Function | MediumTest | Lev…
118 * @tc.desc Function test
120 HWTEST_F(RilInterfaceTest, Telephony_DriverSystem_GetSimStatus_V1_0200, Function | MediumTest | Lev…
134 * @tc.desc Function test
136 HWTEST_F(RilInterfaceTest, Telephony_DriverSystem_GetEmergencyCallList_V1_0100, Function | MediumTe…
[all …]
/base/notification/distributed_notification_service/test/fuzztest/anssubscriberstub_fuzzer/
Danssubscriberstub_fuzzer.cpp32 // test OnRemoteRequest function in DoSomethingInterestingWithMyAPI()
34 // test HandleOnConnected function in DoSomethingInterestingWithMyAPI()
36 // test HandleOnDisconnected function in DoSomethingInterestingWithMyAPI()
38 // test HandleOnConsumed function in DoSomethingInterestingWithMyAPI()
40 // test HandleOnConsumedMap function in DoSomethingInterestingWithMyAPI()
42 // test HandleOnCanceledMap function in DoSomethingInterestingWithMyAPI()
44 // test HandleOnUpdated function in DoSomethingInterestingWithMyAPI()
46 // test HandleOnDoNotDisturbDateChange function in DoSomethingInterestingWithMyAPI()
48 // test HandleOnEnabledNotificationChanged function in DoSomethingInterestingWithMyAPI()
50 // test OnConnected function in DoSomethingInterestingWithMyAPI()
[all …]
/base/security/certificate_manager/interfaces/kits/js/
D@ohos.security.certManager.d.ts32function getSystemTrustedCertificateList(context: CMContext, callback: AsyncCallback<CMResult>) : …
33 function getSystemTrustedCertificateList(context: CMContext) : Promise<CMResult>;
43function getSystemTrustedCertificate(context: CMContext, certUri: string, callback: AsyncCallback<…
44 function getSystemTrustedCertificate(context: CMContext, certUri: string) : Promise<CMResult>;
57function setCertificateStatus(context: CMContext, certUri: string, store: number, status: boolean,…
58function setCertificateStatus(context: CMContext, certUri: string, store: number, status: boolean)…
68function installUserTrustedCertificate(certificate: CertBlob, callback: AsyncCallback<CMResult>) :…
69 function installUserTrustedCertificate(certificate: CertBlob,) : Promise<CMResult>;
78 function uninstallAllUserTrustedCertificate(callback: AsyncCallback<boolean>) : void;
79 function uninstallAllUserTrustedCertificate() : Promise<boolean>;
[all …]
/base/notification/distributed_notification_service/test/fuzztest/reminderrequestalarm_fuzzer/
Dreminderrequestalarm_fuzzer.cpp38 // test SetDaysOfWeek function in DoSomethingInterestingWithMyAPI()
41 // test GetDaysOfWeek function in DoSomethingInterestingWithMyAPI()
43 // test CheckParamValid function in DoSomethingInterestingWithMyAPI()
45 // test IsRepeatReminder function in DoSomethingInterestingWithMyAPI()
47 // test PreGetNextTriggerTimeIgnoreSnooze function in DoSomethingInterestingWithMyAPI()
49 // test GetNextTriggerTime function in DoSomethingInterestingWithMyAPI()
51 // test GetNextAlarm function in DoSomethingInterestingWithMyAPI()
56 // test IsRepeatDay function in DoSomethingInterestingWithMyAPI()
59 // test GetHour function in DoSomethingInterestingWithMyAPI()
61 // test GetMinute function in DoSomethingInterestingWithMyAPI()
[all …]
/base/telephony/core_service/
DREADME_zh.md75 | function getSimState(slotId: number, callback: AsyncCallback\<SimState>): void; | 获取指定卡槽的SIM卡状态 …
76 | function getSimGid1(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽SIM卡的GID1(Gr…
77 | function getSimIccId(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽SIM卡的ICCID(…
78 | function getISOCountryCodeForSim(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡…
79 | function getSimOperatorNumeric(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽S…
80 | function getSimSpn(slotId: number, callback: AsyncCallback\<string>): void; | 获取指定卡槽SIM卡的运营商SPN(S…
81 | function getDefaultVoiceSlotId(callback: AsyncCallback\<number>): void; | 获取语音业务的默认卡卡槽 …
82 | function isSimActive(slotId: number, callback: AsyncCallback\<boolean>): void | 检查指定卡槽的SIM卡是否激活 …
83 | function hasSimCard(slotId: number, callback: AsyncCallback\<boolean>): void | 检查SIM卡是否插入指定卡槽 …
84 | function getSimTelephoneNumber(slotId: number, callback: AsyncCallback\<string>): void | 获取指定卡槽SI…
[all …]
/base/notification/distributed_notification_service/test/fuzztest/messageuser_fuzzer/
Dmessageuser_fuzzer.cpp31 // test SetKey function in DoSomethingInterestingWithMyAPI()
33 // test SetName function in DoSomethingInterestingWithMyAPI()
36 // test SetPixelMap function in DoSomethingInterestingWithMyAPI()
39 // test SetUri function in DoSomethingInterestingWithMyAPI()
42 // test SetMachine function in DoSomethingInterestingWithMyAPI()
45 // test SetUserAsImportant function in DoSomethingInterestingWithMyAPI()
47 // test GetKey function in DoSomethingInterestingWithMyAPI()
49 // test GetName function in DoSomethingInterestingWithMyAPI()
51 // test GetPixelMap function in DoSomethingInterestingWithMyAPI()
53 // test GetUri function in DoSomethingInterestingWithMyAPI()
[all …]
/base/notification/common_event_service/test/fuzztest/matchingskills_fuzzer/
Dmatchingskills_fuzzer.cpp33 // test MatchingSkills class function in DoSomethingInterestingWithMyAPI()
35 // test HasEntity function in DoSomethingInterestingWithMyAPI()
37 // test RemoveEntity function in DoSomethingInterestingWithMyAPI()
39 // test CountEntities function in DoSomethingInterestingWithMyAPI()
41 // test GetEvents function in DoSomethingInterestingWithMyAPI()
43 // test RemoveEvent function in DoSomethingInterestingWithMyAPI()
45 // test HasEvent function in DoSomethingInterestingWithMyAPI()
47 // test HasScheme function in DoSomethingInterestingWithMyAPI()
49 // test RemoveScheme function in DoSomethingInterestingWithMyAPI()
51 // test CountSchemes function in DoSomethingInterestingWithMyAPI()
[all …]
/base/powermgr/battery_lite/test/
Dbattery_test.js18 success: function(data) {
21 fail: function(data, code) {
27 success: function(data) {
30 fail: function(data, code) {
36 success: function(data) {
39 fail: function(data, code) {
45 success: function(data) {
48 fail: function(data, code) {
54 success: function(data) {
57 fail: function(data, code) {
[all …]
/base/hiviewdfx/faultloggerd/utils/
Ddirectory_ex.h25 * The GetCurrentProcFullFileName function get the current process exe name.
30 * The GetCurrentProcPath function get the current process exe path.
35 * The ExtractFilePath function extract the input file path.
40 * The ExtractFilePath function extract the input file name.
45 * The ExtractFileExt function extract the input file name type.
50 * The ExcludeTrailingPathDelimiter function exclude the end '/' from the strPath,
56 * The IncludeTrailingPathDelimiter function include the end '/' from the strPath,
62 * The GetDirFiles function get all files in the path.
67 * The IsEmptyFolder function judge the path is empty,
73 * The ForceCreateDirectory function is force create the dir with subdir,
[all …]
/base/notification/distributed_notification_service/test/fuzztest/notificationactionbutton_fuzzer/
Dnotificationactionbutton_fuzzer.cpp38 // test AddAdditionalData function in DoSomethingInterestingWithMyAPI()
41 // test AddMimeTypeOnlyUserInput function in DoSomethingInterestingWithMyAPI()
46 // test GetMimeTypeOnlyUserInputs function in DoSomethingInterestingWithMyAPI()
48 // test GetUserInput function in DoSomethingInterestingWithMyAPI()
50 // test IsAutoCreatedReplies function in DoSomethingInterestingWithMyAPI()
52 // test IsContextDependent function in DoSomethingInterestingWithMyAPI()
54 // test GetSemanticActionButton function in DoSomethingInterestingWithMyAPI()
56 // test GetIcon function in DoSomethingInterestingWithMyAPI()
58 // test GetTitle function in DoSomethingInterestingWithMyAPI()
60 // test GetWantAgent function in DoSomethingInterestingWithMyAPI()
[all …]
/base/time/time_service/framework/js/napi/system_timer/test/unittest/src/
DSystemTimerUnit.test.js20 describe('TimerTest', function() {
27 * @tc.type Function
30 it('SUB_time_systemTimer_createTimer_0000', 0, async function (done) {
38 systemTimer.createTimer(options, function (err, timerID) {
43 systemTimer.destroyTimer(timerID, function (e) {
59 * @tc.type Function
62 it('SUB_time_systemTimer_createTimer_0001', 0, async function (done) {
70 systemTimer.createTimer(options, function (err, timerID) {
75 systemTimer.destroyTimer(timerID, function (e) {
91 * @tc.type Function
[all …]
DSystemTimerJsunit.test.js20 describe('TimerTest', function () {
28 * @tc.type : Function
31 it('SUB_time_systemTimer_createTimer_0001', 0, async function (done) {
39 systemTimer.createTimer(options, function (err, timerID) {
44 systemTimer.startTimer("timerID", function (err, data) {
60 * @tc.type : Function
63 it('SUB_time_systemTimer_createTimer_0002', 0, async function (done) {
70 systemTimer.createTimer(options, function (err, timerID) {
72 systemTimer.startTimer(timerID, 6000, function (err, data) {
73 systemTimer.stopTimer("timerID", function (err, data) {
[all …]
/base/notification/distributed_notification_service/services/distributed/test/unittest/
Ddistributed_notification_manager_test.cpp63 HWTEST_F(DistributedNotificationManagerTest, Distributed_Publish_00100, Function | SmallTest | Leve…
80 HWTEST_F(DistributedNotificationManagerTest, Distributed_Publish_00200, Function | SmallTest | Leve…
98 HWTEST_F(DistributedNotificationManagerTest, Distributed_Update_00100, Function | SmallTest | Level…
115 HWTEST_F(DistributedNotificationManagerTest, Distributed_Update_00200, Function | SmallTest | Level…
133 HWTEST_F(DistributedNotificationManagerTest, Distributed_Delete_00100, Function | SmallTest | Level…
150 HWTEST_F(DistributedNotificationManagerTest, Distributed_Delete_00200, Function | SmallTest | Level…
169 HWTEST_F(DistributedNotificationManagerTest, Distributed_Delete_00300, Function | SmallTest | Level…
186 HWTEST_F(DistributedNotificationManagerTest, Distributed_Register_Manager_callback_00100, Function
216 …DistributedNotificationManagerTest, Distributed_Unregister_Manager_callback_00100, Function | Smal…
226 HWTEST_F(DistributedNotificationManagerTest, Distributed_Get_Current_Notification_00100, Function |…
[all …]
Ddistributed_preferences_test.cpp52 HWTEST_F(DistributedPreferencesTest, SetDistributedEnable_00100, Function | SmallTest | Level1)
64 HWTEST_F(DistributedPreferencesTest, GetDistributedEnable_00100, Function | SmallTest | Level1)
76 HWTEST_F(DistributedPreferencesTest, SetDistributedBundleEnable_00100, Function | SmallTest | Level…
89 HWTEST_F(DistributedPreferencesTest, GetDistributedBundleEnable_00100, Function | SmallTest | Level…
102 HWTEST_F(DistributedPreferencesTest, ClearDataInRestoreFactorySettings_00100, Function | SmallTest …
112 HWTEST_F(DistributedPreferencesTest, DeleteDistributedBundleInfo_00100, Function | SmallTest | Leve…
121 * @tc.desc : text ResolveDistributedEnable function.
123 HWTEST_F(DistributedPreferencesTest, ResolveDistributedEnable_00100, Function | SmallTest | Level1)
132 * @tc.desc : text ResolveDistributedBundleEnable function.
134 HWTEST_F(DistributedPreferencesTest, ResolveDistributedBundleEnable_00100, Function | SmallTest | L…
[all …]
/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_test.cpp100 * @tc.desc Function test
103 HWTEST_F(SimTest, Telephony_Sim_ParseOperatorConf_0100, Function | MediumTest | Level1)
111 * @tc.desc Function test
113 HWTEST_F(SimTest, Telephony_Sim_ParseOperatorConf_0200, Function | MediumTest | Level1)
121 * @tc.desc Function test
123 HWTEST_F(SimTest, Telephony_Sim_ParseOperatorConf_0300, Function | MediumTest | Level1)
190 * @tc.desc Function test
193 HWTEST_F(SimTest, Telephony_Sim_ParseFromCustomSystem_0100, Function | MediumTest | Level1)
223 * @tc.desc Function test
226 HWTEST_F(SimTest, Telephony_Sim_GetOperatorConf_0200, Function | MediumTest | Level1)
[all …]
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dadvanced_notification_service_test.cpp131 HWTEST_F(AdvancedNotificationServiceTest, AdvancedNotificationServiceTest_00100, Function | SmallTe…
155 HWTEST_F(AdvancedNotificationServiceTest, AdvancedNotificationServiceTest_00200, Function | SmallTe…
181 HWTEST_F(AdvancedNotificationServiceTest, AdvancedNotificationServiceTest_00300, Function | SmallTe…
207 HWTEST_F(AdvancedNotificationServiceTest, AdvancedNotificationServiceTest_00400, Function | SmallTe…
232 HWTEST_F(AdvancedNotificationServiceTest, AdvancedNotificationServiceTest_00500, Function | SmallTe…
257 HWTEST_F(AdvancedNotificationServiceTest, AdvancedNotificationServiceTest_00600, Function | SmallTe…
282 HWTEST_F(AdvancedNotificationServiceTest, AdvancedNotificationServiceTest_00700, Function | SmallTe…
305 HWTEST_F(AdvancedNotificationServiceTest, AdvancedNotificationServiceTest_00800, Function | SmallTe…
329 HWTEST_F(AdvancedNotificationServiceTest, AdvancedNotificationServiceTest_00900, Function | SmallTe…
353 HWTEST_F(AdvancedNotificationServiceTest, AdvancedNotificationServiceTest_01000, Function | SmallTe…
[all …]
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
Dcall_manager_gtest.cpp165 * @tc.desc Function test
168 HWTEST_F(CallManagerGtest, Telephony_CallManager_DialCall_0100, Function | MediumTest | Level2)
195 * @tc.desc Function test
198 HWTEST_F(CallManagerGtest, Telephony_CallManager_DialCall_0200, Function | MediumTest | Level2)
223 * @tc.desc Function test
226 HWTEST_F(CallManagerGtest, Telephony_CallManager_DialCall_0300, Function | MediumTest | Level3)
251 * @tc.desc Function test
254 HWTEST_F(CallManagerGtest, Telephony_CallManager_DialCall_0400, Function | MediumTest | Level3)
280 * @tc.desc Function test
283 HWTEST_F(CallManagerGtest, Telephony_CallManager_DialCall_0500, Function | MediumTest | Level3)
[all …]
/base/time/time_service/framework/js/napi/system_date_time/test/unittest/src/
DSystemDateTimeGets.test.js20 describe('TimeTest', function () {
25 beforeAll(async function () {
29 afterAll(async function () {
38 * @tc.type : Function
41 it('systemDateTime_getCurrentTime_test1', 0, async function (done) {
61 * @tc.type : Function
64 it('systemDateTime_getCurrentTime_Nano_test1', 0, async function (done) {
86 * @tc.type : Function
89 it('systemDateTime_getRealActiveTime_test1', 0, async function (done) {
106 * @tc.type : Function
[all …]
DSystemDateTimeJsunit.test.js21 describe("TimeTest", function () {
27 * @tc.type : Function
30 it("systemDateTime_setTimezone_test1", 0, async function (done) {
45 * @tc.type : Function
48 it("systemDateTime_setTimezone_test2", 0, async function (done) {
63 * @tc.type : Function
66 it("systemDateTime_setTimezone_test3", 0, async function (done) {
81 * @tc.type : Function
84 it("systemDateTime_setTimezone_test4", 0, async function (done) {
99 * @tc.type : Function
[all …]
/base/time/time_service/framework/js/napi/system_time/test/unittest/src/
DSystemTimeGets.test.js20 describe('TimeTest', function () {
25 beforeAll(async function () {
29 afterAll(async function () {
38 * @tc.type : Function
41 it('systemTime_getCurrentTime_test1', 0, async function (done) {
61 * @tc.type : Function
64 it('systemTime_getCurrentTime_Nano_test1', 0, async function (done) {
86 * @tc.type : Function
89 it('systemTime_getRealActiveTime_test1', 0, async function (done) {
106 * @tc.type : Function
[all …]
/base/telephony/cellular_call/vendor/ims/test/unittest/ims_service_gtest/
Dims_service_test.cpp83 * @tc.desc Function test
85 HWTEST_F(ImsServiceTest, Telephony_ImsService_DIAL_001, Function | MediumTest | Level1)
109 * @tc.desc Function test
111 HWTEST_F(ImsServiceTest, Telephony_ImsService_DIAL_002, Function | MediumTest | Level1)
135 * @tc.desc Function test
137 HWTEST_F(ImsServiceTest, Telephony_ImsService_HangUP_001, Function | MediumTest | Level1)
160 * @tc.desc Function test
162 HWTEST_F(ImsServiceTest, Telephony_ImsService_HangUP_002, Function | MediumTest | Level1)
185 * @tc.desc Function test
187 HWTEST_F(ImsServiceTest, Telephony_ImsService_RejectWithReason_001, Function | MediumTest | Level1)
[all …]
/base/telephony/call_manager/frameworks/native/src/
Dcall_manager_service_proxy.cpp40 TELEPHONY_LOGE("function Remote() return nullptr!"); in RegisterCallBack()
45 TELEPHONY_LOGE("Function RegisterCallBack! errCode:%{public}d", error); in RegisterCallBack()
62 TELEPHONY_LOGE("function Remote() return nullptr!"); in UnRegisterCallBack()
67 TELEPHONY_LOGE("Function RegisterCallBack! errCode:%{public}d", error); in UnRegisterCallBack()
94 TELEPHONY_LOGE("function Remote() return nullptr!"); in DialCall()
99 TELEPHONY_LOGE("function DialCall call failed! errCode:%{public}d", error); in DialCall()
118 TELEPHONY_LOGE("function Remote() return nullptr!"); in AnswerCall()
123 TELEPHONY_LOGE("function AnswerCall call failed! errCode:%{public}d", error); in AnswerCall()
143 TELEPHONY_LOGE("function Remote() return nullptr!"); in RejectCall()
148 TELEPHONY_LOGE("function RejectCall call failed! errCode:%{public}d", error); in RejectCall()
[all …]

12345678910>>...44