/base/security/access_token/interfaces/innerkits/accesstoken/test/tool/ |
H A D | set_pern_dialog_cap.cpp | 30 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 D | processdeathobserver_fuzzer.cpp | 42 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 D | remote_native_token.cpp | 22 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 D | destroysocketchannelstub_fuzzer.cpp | 43 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 D | disableactiveinfocbstub_fuzzer.cpp | 42 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 D | getactiveinfolist_fuzzer.cpp | 55 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 D | destroysensorchannel_fuzzer.cpp | 56 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 D | suspendsensorsstub_fuzzer.cpp | 42 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 D | transferdatachannel_fuzzer.cpp | 43 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 D | getactivesensorinfos_fuzzer.cpp | 51 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 D | register_fuzzer.cpp | 51 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 D | unregister_fuzzer.cpp | 51 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 D | suspendsensors_fuzzer.cpp | 50 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 D | enableactiveinfocbstub_fuzzer.cpp | 42 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 D | getactiveinfoliststub_fuzzer.cpp | 42 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 D | sensoronremoterequest_fuzzer.cpp | 43 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 D | createsocketchannel_fuzzer.cpp | 56 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 D | onstart_fuzzer.cpp | 55 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 D | createsocketchannelstub_fuzzer.cpp | 43 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 D | destroydatachannelstub_fuzzer.cpp | 43 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 D | getallsensorsstub_fuzzer.cpp | 42 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 D | resumesensors_fuzzer.cpp | 50 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 D | createdatachannelstub_fuzzer.cpp | 43 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 D | resumesensorsstub_fuzzer.cpp | 42 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 D | resetsensorsstub_fuzzer.cpp | 42 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()
|