/test/testfwk/developer_test/localCoverage/resident_service/config/ams/ |
D | ams.cfg | 32 "permission": [ 33 "ohos.permission.INPUT_MONITORING", 34 "ohos.permission.PERMISSION_USED_STATS", 35 "ohos.permission.DISTRIBUTED_SOFTBUS_CENTER", 36 "ohos.permission.DISTRIBUTED_DATASYNC", 37 "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 38 "ohos.permission.INSTALL_BUNDLE", 39 "ohos.permission.MICROPHONE"
|
/test/testfwk/developer_test/localCoverage/resident_service/config/state/ |
D | state.cfg | 32 "permission": [ 33 "ohos.permission.INPUT_MONITORING", 34 "ohos.permission.PERMISSION_USED_STATS", 35 "ohos.permission.DISTRIBUTED_SOFTBUS_CENTER", 36 "ohos.permission.DISTRIBUTED_DATASYNC", 37 "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 38 "ohos.permission.INSTALL_BUNDLE", 39 "ohos.permission.MICROPHONE"
|
/test/testfwk/developer_test/localCoverage/resident_service/config/power/ |
D | power.cfg | 32 "permission": [ 33 "ohos.permission.INPUT_MONITORING", 34 "ohos.permission.PERMISSION_USED_STATS", 35 "ohos.permission.DISTRIBUTED_SOFTBUS_CENTER", 36 "ohos.permission.DISTRIBUTED_DATASYNC", 37 "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 38 "ohos.permission.INSTALL_BUNDLE", 39 "ohos.permission.MICROPHONE"
|
/test/testfwk/developer_test/localCoverage/resident_service/config/fms/ |
D | fms.cfg | 32 "permission": [ 33 "ohos.permission.INPUT_MONITORING", 34 "ohos.permission.PERMISSION_USED_STATS", 35 "ohos.permission.DISTRIBUTED_SOFTBUS_CENTER", 36 "ohos.permission.DISTRIBUTED_DATASYNC", 37 "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 38 "ohos.permission.INSTALL_BUNDLE", 39 "ohos.permission.MICROPHONE"
|
/test/testfwk/developer_test/localCoverage/resident_service/config/notification/ |
D | notification.cfg | 32 "permission": [ 33 "ohos.permission.INPUT_MONITORING", 34 "ohos.permission.PERMISSION_USED_STATS", 35 "ohos.permission.DISTRIBUTED_SOFTBUS_CENTER", 36 "ohos.permission.DISTRIBUTED_DATASYNC", 37 "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 38 "ohos.permission.INSTALL_BUNDLE", 39 "ohos.permission.MICROPHONE"
|
/test/testfwk/developer_test/localCoverage/resident_service/config/wms/ |
D | wms.cfg | 32 "permission": [ 33 "ohos.permission.INPUT_MONITORING", 34 "ohos.permission.PERMISSION_USED_STATS", 35 "ohos.permission.DISTRIBUTED_SOFTBUS_CENTER", 36 "ohos.permission.DISTRIBUTED_DATASYNC", 37 "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 38 "ohos.permission.INSTALL_BUNDLE", 39 "ohos.permission.MICROPHONE"
|
/test/testfwk/developer_test/localCoverage/resident_service/config/bms/ |
D | bms.cfg | 32 "permission": [ 33 "ohos.permission.INPUT_MONITORING", 34 "ohos.permission.PERMISSION_USED_STATS", 35 "ohos.permission.DISTRIBUTED_SOFTBUS_CENTER", 36 "ohos.permission.DISTRIBUTED_DATASYNC", 37 "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 38 "ohos.permission.INSTALL_BUNDLE", 39 "ohos.permission.MICROPHONE"
|
/test/testfwk/developer_test/localCoverage/resident_service/config/call/ |
D | call.cfg | 32 "permission": [ 33 "ohos.permission.INPUT_MONITORING", 34 "ohos.permission.PERMISSION_USED_STATS", 35 "ohos.permission.DISTRIBUTED_SOFTBUS_CENTER", 36 "ohos.permission.DISTRIBUTED_DATASYNC", 37 "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", 38 "ohos.permission.INSTALL_BUNDLE", 39 "ohos.permission.MICROPHONE"
|
/test/xts/acts/security/certificate_manager/certificate_manager_permission/src/main/ets/test/ |
D | priCertNoPermission.test.ets | 44 … * @tc.name Test installPrivateCertificate with no ohos.permission.ACCESS_CERT_MANAGER permission 62 … * @tc.name Test installPrivateCertificate with no ohos.permission.ACCESS_CERT_MANAGER permission 88 * @tc.name Test getPrivateCertificate with no ohos.permission.ACCESS_CERT_MANAGER permission 103 * @tc.name Test getPrivateCertificate with no ohos.permission.ACCESS_CERT_MANAGER permission 126 * @tc.name Test init interface with no ohos.permission.ACCESS_CERT_MANAGER permission 152 * @tc.name Test init interface with no ohos.permission.ACCESS_CERT_MANAGER permission 170 * @tc.name Test update interface with no ohos.permission.ACCESS_CERT_MANAGER permission 195 * @tc.name Test update interface with no ohos.permission.ACCESS_CERT_MANAGER permission 212 * @tc.name Test finish interface with no ohos.permission.ACCESS_CERT_MANAGER permission 251 * @tc.name Test finish interface with no ohos.permission.ACCESS_CERT_MANAGER permission [all …]
|
/test/xts/tools/sample/AppSampleD/ |
D | README_zh.md | 88 网络权限: ohos.permission.INTERNET 89 相机权限: ohos.permission.CAMERA 90 麦克风权限: ohos.permission.MICROPHONE 91 媒体位置权限: ohos.permission.MEDIA_LOCATION 92 媒体文件写入权限: ohos.permission.WRITE_MEDIA 93 媒体文件读取权限: ohos.permission.READ_MEDIA
|
/test/xts/tools/sample/AppSampleD/entry/src/main/ |
D | module.json5 | 52 "name": "ohos.permission.CAMERA" 55 "name": "ohos.permission.MICROPHONE" 58 "name": "ohos.permission.MEDIA_LOCATION" 61 "name": "ohos.permission.WRITE_MEDIA" 64 "name": "ohos.permission.READ_MEDIA" 67 "name": "ohos.permission.INTERNET"
|
/test/xts/acts/storage/storagedownloadcloudsyncjstest/entry/src/main/ets/test/ |
D | Common.ets | 31 …let permissions = ['ohos.permission.MEDIA_LOCATION','ohos.permission.READ_MEDIA','ohos.permission.… 48 let isGranted1 = awaitatManager.verifyAccessToken(tokenID,'ohos.permission.MEDIA_LOCATION'); 49 let isGranted2 = awaitatManager.verifyAccessToken(tokenID,'ohos.permission.READ_MEDIA'); 50 let isGranted3 = awaitatManager.verifyAccessToken(tokenID,'ohos.permission.WRITE_MEDIA');
|
/test/xts/acts/time/timeTest/entry/src/main/ets/test/ |
D | timeNoPermission.test.ets | 37 …console.info("====>SUB_Misc_systemTime_NoPermission_setTime_0010 setTime permission fail: " + JSON… 64 console.info('====>SUB_Misc_systemTime_NoPermission_setTime_0020 setTime permission fail') 72 expect(err.message).assertContain("permission denied"); 92 …console.info("====>SUB_Misc_systemTime_NoPermission_setDate_0010 setTime permission fail: " + JSON… 119 console.debug('====>SUB_Misc_systemTime_NoPermission_setDate_0020 setTime permission fail') 127 expect(err.message).assertContain("permission denied"); 146 …console.info("====>SUB_Misc_systemTime_NoPermission_setTimezone_0010 setTime permission fail: " + … 173 … console.debug('====>SUB_Misc_systemTime_NoPermission_setTimezone_0020 setTime permission fail') 180 expect(err.message).assertContain("permission denied");
|
/test/xts/device_attest/services/devattest_ability/ |
D | BUILD.gn | 26 "${devattest_path}/common/permission/include", 43 "${devattest_path}/common/permission/src/permission.cpp", 67 # for permission
|
/test/xts/tools/sample/AppSampleE/entry/src/main/ |
D | module.json5 | 52 "name": "ohos.permission.INTERNET" 55 "name": "ohos.permission.LOCATION" 58 "name": "ohos.permission.APPROXIMATELY_LOCATION"
|
/test/xts/tools/sample/AppSampleE/ |
D | README_zh.md | 72 网络权限: ohos.permission.INTERNET 73 位置权限: ohos.permission.LOCATION 74 位置权限: ohos.permission.APPROXIMATELY_LOCATION
|
/test/xts/acts/communication/bluetooth_location/src/main/ets/testability/ |
D | TestAbility.ets | 54 …-------------------------------requestPermissionsFromUser get location permission start!!!!-------… 55 …atManager.requestPermissionsFromUser(this.context, ['ohos.permission.LOCATION','ohos.permission.AP… 59 …-------------------------------requestPermissionsFromUser get location permission end!!!!---------… 61 …-------------------------------requestPermissionsFromUser get location permission error!!!!-------…
|
/test/xts/device_attest/test/performancetest/ |
D | BUILD.gn | 58 "${devattest_path}/common/permission/include", 65 "${devattest_path}/common/permission/src/permission.cpp", 91 # for permission
|
/test/xts/acts/security/crossplatform/securityacessAblityCtrletstest/src/main/ets/test/ |
D | AccessToken.test.ets | 27 let permissionNameUser: Permissions = "ohos.permission.DISTRIBUTED_DATASYNC"; 28 let permissionNameSystem: Permissions = "ohos.permission.GET_BUNDLE_INFO"; 87 …* @tc.desc : After the installation, user_grant permission is not granted by default(Promise). 109 … * @tc.desc : After the installation, system_grant permission is granted by default(Promise). 130 * @tc.desc : Test invalid permission(empty)(Promise). 179 * @tc.desc : Test invalid permission(length exceeds 256)(Promise). 189 …atManager.checkAccessToken(tokenID, "ohos.permission.testtesttesttesttesttesttesttesttesttesttestt… 208 …* @tc.desc : After the installation, user_grant permission is not granted by default(Promise). 229 … * @tc.desc : After the installation, system_grant permission is granted by default(Promise). 250 * @tc.desc : Test invalid permission(empty)(Promise). [all …]
|
/test/xts/acts/communication/bluetooth_br/src/main/ets/testability/ |
D | TestAbility.ets | 55 …---------------------------------requestPermissionsFromUser get access permission start!!!!-------… 56 …atManager.requestPermissionsFromUser(this.context, ['ohos.permission.ACCESS_BLUETOOTH']).then((dat… 60 …-------------------------------requestPermissionsFromUser get location permission end!!!!---------… 63 …-------------------------------requestPermissionsFromUser get location permission err!!!!---------…
|
/test/xts/acts/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formgetformsinfotest/formswithoutpermtest/entry/src/main/ets/test/ |
D | GetFormsInfo.test.ets | 21 const ERR_PERMISSION_DENY = `does not have permission to use forms`; 35 …* @tc.desc: Query specific form configuration information by bundle name without permission (by As… 58 …* @tc.desc: Query specific form configuration information by bundle name without permission (by Pr… 80 … form configuration information by bundle name and module name without permission (by AsyncCallbac… 103 …cific form configuration information by bundle name and module name without permission (by Promise)
|
/test/xts/acts/multimedia/photoAccess/ |
D | common.ts | 120 for (const permission of permissions) { constant 121 console.info('getPermission permission: ' + permission); 123 await atManager.grantUserGrantedPermission(tokenID, permission, 1); 125 console.info(`getPermission ${permission} failed`); 127 permissionState.set(permission, await atManager.verifyAccessToken(tokenID, permission));
|
/test/xts/acts/demo/sectest/static_patch_scan/2022-09/ |
D | OpenHarmony-SA-2022-0904.yara | 28 $oldStr = "Get Screenshot Failed: Do not have ohos.permission.CAPTURE_SCREEN" 29 $newStr = "check permission failed!"
|
/test/xts/acts/inputmethod/InputMethodTest_ets/entry/src/main/ets/test/ |
D | inputMethodNormalJSUnit.test.ets | 55 … console.info('====>inputmethodNomal_test_switchInputMethod_001 switchInputMethod permission fail') 90 …fo("====>inputmethodNomal_test_switchInputMethod_002 switchInputMethod permission fail: " + JSON.s… 120 …info("====>inputmethodNomal_test_showSoftKeyboard_001 showSoftKeyboard permission fail: " + JSON.s… 148 … console.info('====>inputmethodNomal_test_showSoftKeyboard_002 showSoftKeyboard permission fail') 175 …info("====>inputmethodNomal_test_hideSoftKeyboard_001 hideSoftKeyboard permission fail: " + JSON.s… 203 … console.info('====>inputmethodNomal_test_hideSoftKeyboard_002 hideSoftKeyboard permission fail')
|
/test/xts/acts/inputmethod/InputMethodTest_Stage/entry/src/main/ets/test/ |
D | inputMethodNormalStageJSUnit.test.ets | 60 …===>inputMethodNormalStage_test_switchCurrentInputMethodAndSubtype_001 permission fail: " + JSON.s… 112 …tMethodNormalStage_test_switchInputMethod_001 switchCurrentInputMethodAndSubtype permission fail'); 151 …("====>inputMethodNormalStage_test_switchCurrentInputMethodSubtype_001 permission fail: " + JSON.s… 191 …alStage_test_switchCurrentInputMethodSubtype_002 switchCurrentInputMethodSubtype permission fail');
|