Home
last modified time | relevance | path

Searched refs:permission (Results 1 – 25 of 92) sorted by relevance

1234

/test/testfwk/developer_test/localCoverage/resident_service/config/ams/
Dams.cfg32 "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/
Dstate.cfg32 "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/
Dpower.cfg32 "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/
Dfms.cfg32 "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/
Dnotification.cfg32 "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/
Dwms.cfg32 "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/
Dbms.cfg32 "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/
Dcall.cfg32 "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/
DpriCertNoPermission.test.ets44 … * @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/
DREADME_zh.md88 网络权限: 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/
Dmodule.json552 "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/
DCommon.ets31 …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/
DtimeNoPermission.test.ets37 …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/
DBUILD.gn26 "${devattest_path}/common/permission/include",
43 "${devattest_path}/common/permission/src/permission.cpp",
67 # for permission
/test/xts/tools/sample/AppSampleE/entry/src/main/
Dmodule.json552 "name": "ohos.permission.INTERNET"
55 "name": "ohos.permission.LOCATION"
58 "name": "ohos.permission.APPROXIMATELY_LOCATION"
/test/xts/tools/sample/AppSampleE/
DREADME_zh.md72 网络权限: ohos.permission.INTERNET
73 位置权限: ohos.permission.LOCATION
74 位置权限: ohos.permission.APPROXIMATELY_LOCATION
/test/xts/acts/communication/bluetooth_location/src/main/ets/testability/
DTestAbility.ets54 …-------------------------------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/
DBUILD.gn58 "${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/
DAccessToken.test.ets27 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/
DTestAbility.ets55 …---------------------------------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/
DGetFormsInfo.test.ets21 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/
Dcommon.ts120 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/
DOpenHarmony-SA-2022-0904.yara28 $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/
DinputMethodNormalJSUnit.test.ets55 … 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/
DinputMethodNormalStageJSUnit.test.ets60 …===>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');

1234