Home
last modified time | relevance | path

Searched refs:perms (Results 1 - 25 of 210) sorted by relevance

123456789

/base/security/access_token/interfaces/innerkits/accesstoken/test/tool/
H A Dset_pern_dialog_cap.cpp30 const char **perms = new const char *[5]; // size of array in NativeTokenGet() local
31 perms[0] = "ohos.permission.DISTRIBUTED_DATASYNC"; // 0: index in NativeTokenGet()
32 perms[1] = "ohos.permission.GRANT_SENSITIVE_PERMISSIONS"; // 1: index in NativeTokenGet()
33 perms[2] = "ohos.permission.REVOKE_SENSITIVE_PERMISSIONS"; // 2: index in NativeTokenGet()
34 perms[3] = "ohos.permission.GET_SENSITIVE_PERMISSIONS"; // 3: index in NativeTokenGet()
35 perms[4] = "ohos.permission.DISABLE_PERMISSION_DIALOG"; // 4: index in NativeTokenGet()
42 .perms = perms, in NativeTokenGet()
51 delete[] perms; in NativeTokenGet()
/base/sensors/sensor/test/fuzztest/services/service/processdeathobserver_fuzzer/
H A Dprocessdeathobserver_fuzzer.cpp42 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
43 if (perms == nullptr) { in SetUpTestCase()
46 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
47 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
53 .perms = perms, in SetUpTestCase()
61 delete[] perms; in SetUpTestCase()
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
H A Dremote_native_token.cpp22 const char **perms = new const char *[1]; in SetNativeToken() local
23 perms[0] = "ohos.permission.NOTIFICATION_CONTROLLER"; // system_core in SetNativeToken()
29 .perms = perms, in SetNativeToken()
37 delete[] perms; in SetNativeToken()
/base/sensors/sensor/test/fuzztest/services/destroysocketchannelstub_fuzzer/
H A Ddestroysocketchannelstub_fuzzer.cpp43 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
44 if (perms == nullptr) { in SetUpTestCase()
47 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
48 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
54 .perms = perms, in SetUpTestCase()
62 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/disableactiveinfocbstub_fuzzer/
H A Ddisableactiveinfocbstub_fuzzer.cpp42 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
43 if (perms == nullptr) { in SetUpTestCase()
46 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
47 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
53 .perms = perms, in SetUpTestCase()
61 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/service/getactiveinfolist_fuzzer/
H A Dgetactiveinfolist_fuzzer.cpp55 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
56 if (perms == nullptr) { in SetUpTestCase()
59 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
60 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
66 .perms = perms, in SetUpTestCase()
74 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/service/destroysensorchannel_fuzzer/
H A Ddestroysensorchannel_fuzzer.cpp56 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
57 if (perms == nullptr) { in SetUpTestCase()
60 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
61 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
67 .perms = perms, in SetUpTestCase()
75 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/suspendsensorsstub_fuzzer/
H A Dsuspendsensorsstub_fuzzer.cpp42 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
43 if (perms == nullptr) { in SetUpTestCase()
46 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
47 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
53 .perms = perms, in SetUpTestCase()
61 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/service/transferdatachannel_fuzzer/
H A Dtransferdatachannel_fuzzer.cpp43 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
44 if (perms == nullptr) { in SetUpTestCase()
47 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
48 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
54 .perms = perms, in SetUpTestCase()
62 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/interfaces/getactivesensorinfos_fuzzer/
H A Dgetactivesensorinfos_fuzzer.cpp51 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
52 CHKPV(perms); in SetUpTestCase()
53 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
54 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
60 .perms = perms, in SetUpTestCase()
68 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/interfaces/register_fuzzer/
H A Dregister_fuzzer.cpp51 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
52 CHKPV(perms); in SetUpTestCase()
53 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
54 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
60 .perms = perms, in SetUpTestCase()
68 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/interfaces/unregister_fuzzer/
H A Dunregister_fuzzer.cpp51 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
52 CHKPV(perms); in SetUpTestCase()
53 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
54 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
60 .perms = perms, in SetUpTestCase()
68 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/interfaces/suspendsensors_fuzzer/
H A Dsuspendsensors_fuzzer.cpp50 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
51 CHKPV(perms); in SetUpTestCase()
52 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
53 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
59 .perms = perms, in SetUpTestCase()
67 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/enableactiveinfocbstub_fuzzer/
H A Denableactiveinfocbstub_fuzzer.cpp42 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
43 if (perms == nullptr) { in SetUpTestCase()
46 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
47 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
53 .perms = perms, in SetUpTestCase()
61 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/getactiveinfoliststub_fuzzer/
H A Dgetactiveinfoliststub_fuzzer.cpp42 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
43 if (perms == nullptr) { in SetUpTestCase()
46 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
47 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
53 .perms = perms, in SetUpTestCase()
61 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/sensoronremoterequest_fuzzer/
H A Dsensoronremoterequest_fuzzer.cpp43 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
44 if (perms == nullptr) { in SetUpTestCase()
47 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
48 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
54 .perms = perms, in SetUpTestCase()
62 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/service/createsocketchannel_fuzzer/
H A Dcreatesocketchannel_fuzzer.cpp56 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
57 if (perms == nullptr) { in SetUpTestCase()
60 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
61 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
67 .perms = perms, in SetUpTestCase()
75 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/service/onstart_fuzzer/
H A Donstart_fuzzer.cpp55 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
56 if (perms == nullptr) { in SetUpTestCase()
59 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
60 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
66 .perms = perms, in SetUpTestCase()
74 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/createsocketchannelstub_fuzzer/
H A Dcreatesocketchannelstub_fuzzer.cpp43 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
44 if (perms == nullptr) { in SetUpTestCase()
47 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
48 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
54 .perms = perms, in SetUpTestCase()
62 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/destroydatachannelstub_fuzzer/
H A Ddestroydatachannelstub_fuzzer.cpp43 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
44 if (perms == nullptr) { in SetUpTestCase()
47 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
48 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
54 .perms = perms, in SetUpTestCase()
62 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/getallsensorsstub_fuzzer/
H A Dgetallsensorsstub_fuzzer.cpp42 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
43 if (perms == nullptr) { in SetUpTestCase()
46 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
47 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
53 .perms = perms, in SetUpTestCase()
61 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/interfaces/resumesensors_fuzzer/
H A Dresumesensors_fuzzer.cpp50 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
51 CHKPV(perms); in SetUpTestCase()
52 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
53 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
59 .perms = perms, in SetUpTestCase()
67 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/createdatachannelstub_fuzzer/
H A Dcreatedatachannelstub_fuzzer.cpp43 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
44 if (perms == nullptr) { in SetUpTestCase()
47 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
48 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
54 .perms = perms, in SetUpTestCase()
62 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/resumesensorsstub_fuzzer/
H A Dresumesensorsstub_fuzzer.cpp42 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
43 if (perms == nullptr) { in SetUpTestCase()
46 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
47 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
53 .perms = perms, in SetUpTestCase()
61 delete[] perms; in SetUpTestCase()
/base/sensors/sensor/test/fuzztest/services/resetsensorsstub_fuzzer/
H A Dresetsensorsstub_fuzzer.cpp42 const char **perms = new (std::nothrow) const char *[2]; in SetUpTestCase() local
43 if (perms == nullptr) { in SetUpTestCase()
46 perms[0] = "ohos.permission.ACCELEROMETER"; in SetUpTestCase()
47 perms[1] = "ohos.permission.MANAGE_SENSOR"; in SetUpTestCase()
53 .perms = perms, in SetUpTestCase()
61 delete[] perms; in SetUpTestCase()

Completed in 8 milliseconds

123456789