/base/security/access_token/interfaces/innerkits/accesstoken/test/tool/ |
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/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
D | nativetoken_kit_test.cpp | 174 .perms = permArray, in Start() 200 const char **perms = new (std::nothrow) const char *[2]; variable 201 ASSERT_NE(perms, nullptr); 202 perms[0] = "ohos.permission.test1"; 203 perms[1] = "ohos.permission.test2"; 209 .perms = perms, 240 delete[] perms; 261 .perms = nullptr, 315 .perms = nullptr, 383 .perms = nullptr, [all …]
|
/base/sensors/miscdevice/test/fuzztest/vibrator/playpattern_fuzzer/ |
D | playpattern_fuzzer.cpp | 36 const char **perms = new (std::nothrow) const char *[1]; in SetUpTestCase() local 37 if (perms == nullptr) { in SetUpTestCase() 40 perms[0] = "ohos.permission.VIBRATE"; in SetUpTestCase() 46 .perms = perms, in SetUpTestCase() 54 delete[] perms; in SetUpTestCase()
|
/base/sensors/miscdevice/test/fuzztest/vibrator/freevibratorpackage_fuzzer/ |
D | freevibratorpackage_fuzzer.cpp | 36 const char **perms = new (std::nothrow) const char *[1]; in SetUpTestCase() local 37 if (perms == nullptr) { in SetUpTestCase() 40 perms[0] = "ohos.permission.VIBRATE"; in SetUpTestCase() 46 .perms = perms, in SetUpTestCase() 54 delete[] perms; in SetUpTestCase()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/ |
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/miscdevice/test/fuzztest/vibrator/setparameters_fuzzer/ |
D | setparameters_fuzzer.cpp | 38 const char **perms = new (std::nothrow) const char *[1]; in SetUpTestCase() local 39 if (perms == nullptr) { in SetUpTestCase() 42 perms[0] = "ohos.permission.VIBRATE"; in SetUpTestCase() 48 .perms = perms, in SetUpTestCase() 56 delete[] perms; in SetUpTestCase()
|
/base/sensors/sensor/test/fuzztest/services/getallsensorsstub_fuzzer/ |
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/services/sensordisablestub_fuzzer/ |
D | sensordisablestub_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/destroydatachannelstub_fuzzer/ |
D | destroydatachannelstub_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/createsocketchannelstub_fuzzer/ |
D | createsocketchannelstub_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/createdatachannelstub_fuzzer/ |
D | createdatachannelstub_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/resumesensorsstub_fuzzer/ |
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/sensorenablestub_fuzzer/ |
D | sensorenablestub_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/unregister_fuzzer/ |
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/services/resetsensorsstub_fuzzer/ |
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()
|
/base/sensors/sensor/test/fuzztest/services/destroysocketchannelstub_fuzzer/ |
D | destroysocketchannelstub_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/suspendsensors_fuzzer/ |
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/suspendsensorsstub_fuzzer/ |
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/interfaces/resumesensors_fuzzer/ |
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/disableactiveinfocbstub_fuzzer/ |
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/interfaces/register_fuzzer/ |
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/services/enableactiveinfocbstub_fuzzer/ |
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/ |
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/interfaces/getactivesensorinfos_fuzzer/ |
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/miscdevice/test/fuzztest/vibrator/getdelaytime_fuzzer/ |
D | getdelaytime_fuzzer.cpp | 36 const char **perms = new (std::nothrow) const char *[1]; in SetUpTestCase() local 37 if (perms == nullptr) { in SetUpTestCase() 40 perms[0] = "ohos.permission.VIBRATE"; in SetUpTestCase() 46 .perms = perms, in SetUpTestCase() 54 delete[] perms; in SetUpTestCase()
|