Home
last modified time | relevance | path

Searched refs:permType (Results 1 – 6 of 6) sorted by relevance

/foundation/communication/dsoftbus/core/common/security/permission/common/
Dpermission_entry.c311 if (pItem->permType == SYSTEM_APP || in GetPermType()
312 pItem->permType == NATIVE_APP) { in GetPermType()
313 return pItem->permType; in GetPermType()
318 if (pItem->permType == SYSTEM_APP || in GetPermType()
319 pItem->permType == NATIVE_APP || in GetPermType()
320 pItem->permType == NORMAL_APP) { in GetPermType()
321 return pItem->permType; in GetPermType()
324 if (pItem->permType == GRANTED_APP) { in GetPermType()
330 if (pItem->permType == SYSTEM_APP || in GetPermType()
331 pItem->permType == NATIVE_APP || in GetPermType()
[all …]
/foundation/communication/dsoftbus/tests/core/common/security/permission/common/unittest/
Dpermission_entry_static_test.cpp155 pItem->permType = SYSTEM_APP;
159 pItem->permType = NATIVE_APP;
164 pItem->permType = SYSTEM_APP;
168 pItem->permType = NATIVE_APP;
174 pItem->permType = SYSTEM_APP;
178 pItem->permType = NATIVE_APP;
182 pItem->permType = NORMAL_APP;
210 pItem->permType = GRANTED_APP;
215 pItem->permType = SYSTEM_APP;
219 pItem->permType = NATIVE_APP;
[all …]
Dpermission_entry_test.cpp99 pItem->permType = NATIVE_APP;
103 pItem->permType = NORMAL_APP;
/foundation/communication/dsoftbus/core/common/security/permission/small/
Dsoftbus_permission.c77 int32_t permType = GetPermType(callingUid, callingPid, pkgName); in CheckTransPermission() local
78 if (permType < 0) { in CheckTransPermission()
79 return permType; in CheckTransPermission()
81 …SoftBusPermissionItem *pItem = CreatePermissionItem(permType, callingUid, callingPid, pkgName, act… in CheckTransPermission()
/foundation/communication/dsoftbus/core/common/security/permission/include/
Dpermission_entry.h42 int32_t permType; member
71 SoftBusPermissionItem *CreatePermissionItem(int32_t permType, int32_t uid, int32_t pid,
/foundation/communication/dsoftbus/core/common/security/permission/standard/
Dsoftbus_permission.cpp86 int32_t permType = CalcPermType(callingUid, callingPid); in CheckTransPermission() local
87 …SoftBusPermissionItem *pItem = CreatePermissionItem(permType, callingUid, callingPid, pkgName, act… in CheckTransPermission()