/base/security/permission_lite/services/pms/include/ |
D | pms.h | 27 int SaveOrUpdatePermissions(const char *identifier, PermissionTrans permissions[], int permNum, enu… 29 int DeletePermissions(const char *identifier); 35 int QueryAppCapabilities(const char *identifier, unsigned int **caps, unsigned int *capNum); 37 int LoadPermissions(const char *identifier, int uid); 43 char *QueryPermissionString(const char *identifier, int *errCode); 45 int QueryPermission(const char *identifier, PermissionSaved **permissions, int *permNum); 47 int GrantPermission(const char *identifier, const char *permName); 49 int RevokePermission(const char *identifier, const char *permName); 51 int UpdatePermissionFlags(const char *identifier, const char *permissionName, const int flags);
|
D | pms_inner.h | 32 int (*QueryPermission)(const char *identifier, PermissionSaved **permissions, int *permNum); 33 int (*GrantPermission)(const char *identifier, const char *permName); 34 int (*RevokePermission)(const char *identifier, const char *permName); 37 int (*UpdatePermissionFlags)(const char *identifier, const char *permissionName, int flags);
|
/base/security/permission_lite/services/pms/src/ |
D | pms_impl.c | 126 static char *GetPath(const char *identifier) in GetPath() argument 128 return ConcatString(HalGetPermissionPath(), identifier); in GetPath() 215 static int WritePermissions(const char *identifier, const cJSON *root) in WritePermissions() argument 217 const char *path = GetPath(identifier); in WritePermissions() 232 static int SavePermissions(const char *identifier, const PermissionSaved *permissions, int permNum) in SavePermissions() argument 234 if (identifier == NULL || permissions == NULL) { in SavePermissions() 275 int ret = WritePermissions(identifier, root); in SavePermissions() 288 char *QueryPermissionString(const char *identifier, int *errCode) in QueryPermissionString() argument 290 if (identifier == NULL) { in QueryPermissionString() 299 path = GetPath(identifier); in QueryPermissionString() [all …]
|
D | pms_server_internal.c | 38 int (*GrantPermission)(const char *identifier, const char *permName); 39 int (*RevokePermission)(const char *identifier, const char *permName); 42 … int (*UpdatePermissionFlags)(const char *identifier, const char *permissionName, const int flags); 146 char *identifier = (char *)ReadString(req, &idLen); in ReplyGrantPermission() local 148 int32_t ret = api->GrantPermission(identifier, permName); in ReplyGrantPermission() 149 …HILOG_INFO(HILOG_MODULE_APP, "grant permission, [id: %s][perm: %s][ret: %d]", identifier, permName… in ReplyGrantPermission() 160 char *identifier = (char *)ReadString(req, &idLen); in ReplyRevokePermission() local 162 int32_t ret = api->RevokePermission(identifier, permName); in ReplyRevokePermission() 163 …HILOG_INFO(HILOG_MODULE_APP, "revoke permission, [id: %s][perm: %s][ret: %d]", identifier, permNam… in ReplyRevokePermission() 202 char *identifier = (char *)ReadString(req, &idLen); in ReplyUpdatePermissionFlags() local [all …]
|
D | pms_server.c | 37 int (*QueryPermission)(const char *identifier, PermissionSaved **permissions, int *permNum); 131 char *identifier = (char *)ReadString(req, &idLen); in ReplyQueryPermission() local 132 char *jsonStr = QueryPermissionString(identifier, &ret); in ReplyQueryPermission()
|
/base/security/permission_lite/interfaces/kits/ |
D | pms_interface.h | 91 int QueryPermission(const char *identifier, PermissionSaved **permissions, int *permNum); 105 int GrantPermission(const char *identifier, const char *permName); 119 int RevokePermission(const char *identifier, const char *permName); 135 int UpdatePermissionFlags(const char *identifier, const char *permissionName, const int flags);
|
/base/update/updater/services/script/script_interpreter/ |
D | script_expression.cpp | 26 UScriptExpression* AssignExpression::CreateExpression(const std::string identifier, UScriptExpressi… in CreateExpression() argument 28 return new AssignExpression(identifier, expression); in CreateExpression() 30 void AssignExpression::AddIdentifier(const std::string &identifier) in AddIdentifier() argument 32 multipleIdentifiers_.push_back(identifier); in AddIdentifier() 35 …ssion* AssignExpression::AddIdentifier(UScriptExpression *expression, const std::string identifier) in AddIdentifier() argument 39 assign->AddIdentifier(identifier); in AddIdentifier() 51 UScriptExpression* FunctionCallExpression::CreateExpression(const std::string identifier, ScriptPar… in CreateExpression() argument 53 return new FunctionCallExpression(identifier, params); in CreateExpression() 88 auto identifier = reinterpret_cast<IdentifierExpression*>(expression); in GetIdentifierName() local 89 if (identifier != nullptr) { in GetIdentifierName() [all …]
|
D | script_expression.h | 173 AssignExpression(const std::string identifier, UScriptExpression *expression) in AssignExpression() argument 174 : UScriptExpression(UScriptExpression::EXPRESSION_TYPE_ASSIGN), identifier_(identifier), in AssignExpression() 181 void AddIdentifier(const std::string &identifier); 183 …static UScriptExpression* CreateExpression(const std::string identifier, UScriptExpression *expres… 184 …atic UScriptExpression* AddIdentifier(UScriptExpression *expression, const std::string identifier); 193 FunctionCallExpression(const std::string identifier, ScriptParams *params) in FunctionCallExpression() argument 194 …: UScriptExpression(UScriptExpression::EXPRESSION_TYPE_FUNC), functionName_(identifier), params_(p… in FunctionCallExpression() 200 static UScriptExpression* CreateExpression(const std::string identifier, ScriptParams *params);
|
D | script_function.h | 28 static ScriptFunction* CreateInstance(std::string &identifier, ScriptParams *params, in CreateInstance() argument 31 return new ScriptFunction(identifier, params, list); in CreateInstance()
|
/base/security/permission_lite/services/unittest/pms/src/ |
D | acts_pms_test.h | 78 void CheckAppPermission(const char *identifier, int expRet, int expNum, const PermissionTrans *inst… 81 void SubTestWithoutCheck(const char *identifier, int taskId);
|
/base/security/permission_lite/services/pms_client/ |
D | perm_client.c | 57 int (*QueryPermission)(const char *identifier, PermissionSaved **permissions, int *permNum); 67 int (*GrantPermission)(const char *identifier, const char *permName); 68 int (*RevokePermission)(const char *identifier, const char *permName); 71 int (*UpdatePermissionFlags)(const char *identifier, const char *permissionName, int flags); 334 int QueryPermission(const char *identifier, PermissionSaved **permissions, int *permNum) in QueryPermission() argument 346 WriteString(&request, identifier); in QueryPermission() 359 int GrantPermission(const char *identifier, const char *permName) in GrantPermission() argument 368 WriteString(&request, identifier); in GrantPermission() 377 int RevokePermission(const char *identifier, const char *permName) in RevokePermission() argument 386 WriteString(&request, identifier); in RevokePermission() [all …]
|
/base/update/updater/test/unittest/test_data/diffpatch/ |
D | PatchGztest_new.gz |
|
D | PatchGztest_old.gz | 1[==========] Running 25 tests from 7 test ... |
/base/telephony/sms_mms/test/unittest/ |
D | gsm_sms_sender_test.cpp | 410 uint32_t identifier = 0; in TestEnableCBConfig() local 415 identifier = std::atoi(input.c_str()); in TestEnableCBConfig() 416 int32_t result = smsService->SetCBConfig(slotId, enable, identifier, identifier, ranType); in TestEnableCBConfig() 434 uint32_t identifier = 0; in TestDisableCBConfig() local 439 identifier = std::atoi(input.c_str()); in TestDisableCBConfig() 440 int32_t result = smsService->SetCBConfig(slotId, enable, identifier, identifier, ranType); in TestDisableCBConfig()
|
/base/security/permission_lite/ |
D | README_zh.md | 60 …514"></a><a name="p13071135133514"></a>int QueryPermission(const char *identifier, PermissionSaved… 65 …03516"></a><a name="p878133903516"></a>int GrantPermission(const char *identifier, const char *per… 70 …517"></a><a name="p1617142163517"></a>int RevokePermission(const char *identifier, const char *per… 85 …a><a name="p169891916194512"></a>int UpdatePermissionFlags(const char *identifier, const char *per…
|
D | README.md | 49 | int QueryPermission(const char *identifier, PermissionSaved **permissions, int *permNum) | Querie… 50 | int GrantPermission(const char *identifier, const char *permName) | Grants a permission to an app… 51 | int RevokePermission(const char *identifier, const char *permName) | Revokes a permission from an… 54 | int UpdatePermissionFlags(const char *identifier, const char *permissionName, const int flags) | …
|
/base/security/certificate_framework/ |
D | README-en.md | 15 …* Certificate extension operations include obtaining the object identifier (OID) list of the certi…
|
/base/telephony/core_service/ |
D | README.md | 77 …: number, callback: AsyncCallback\<string>): void; | Obtains the group identifier level 1 \(GID1\)… 87 …r, callback: AsyncCallback\<string>): void | Obtains the voice mailbox identifier of the SIM card … 118 …umber, callback: AsyncCallback\<string>)| Obtains the mobile equipment identifier (MEID). …
|
/base/security/access_token/ |
D | README.md | 8 The access token information of an app includes the app identifier (**APPID**), user ID, app twin i…
|