Searched refs:PermissionEnum (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServerPermissionProvider.java | 32 import com.android.media.permission.PermissionEnum; 52 static final String[] MONITORED_PERMS = new String[PermissionEnum.ENUM_SIZE]; 55 MONITORED_PERMS[PermissionEnum.MODIFY_AUDIO_ROUTING] = MODIFY_AUDIO_ROUTING; 56 MONITORED_PERMS[PermissionEnum.MODIFY_PHONE_STATE] = MODIFY_PHONE_STATE; 57 MONITORED_PERMS[PermissionEnum.RECORD_AUDIO] = RECORD_AUDIO; 58 MONITORED_PERMS[PermissionEnum.CALL_AUDIO_INTERCEPTION] = CALL_AUDIO_INTERCEPTION; 72 private final int[][] mPermMap = new int[PermissionEnum.ENUM_SIZE][]; 84 for (int i = 0; i < PermissionEnum.ENUM_SIZE; i++) { in AudioServerPermissionProvider() 104 for (byte i = 0; i < PermissionEnum.ENUM_SIZE; i++) { in onServiceStart() 165 for (byte i = 0; i < PermissionEnum.ENUM_SIZE; i++) { in onPermissionStateChanged()
|
/frameworks/av/services/audiopolicy/permission/tests/ |
D | NativePermissionControllerTest.cpp | 31 using com::android::media::permission::PermissionEnum; 177 EXPECT_THAT(controller_.populatePermissionState(PermissionEnum::ENUM_SIZE, {}), in TEST_F() 181 static_cast<PermissionEnum>(static_cast<int>(PermissionEnum::ENUM_SIZE) + 1), in TEST_F() 190 EXPECT_THAT(controller_.populatePermissionState(PermissionEnum::MODIFY_AUDIO_ROUTING, uids), in TEST_F() 193 EXPECT_THAT(controller_.checkPermission(PermissionEnum::MODIFY_AUDIO_ROUTING, 3), in TEST_F() 201 EXPECT_THAT(controller_.populatePermissionState(PermissionEnum::MODIFY_AUDIO_ROUTING, uids), in TEST_F() 204 EXPECT_THAT(controller_.checkPermission(PermissionEnum::MODIFY_AUDIO_ROUTING, 6), in TEST_F() 209 EXPECT_THAT(controller_.checkPermission(PermissionEnum::MODIFY_AUDIO_ROUTING, 3), in TEST_F()
|
D | ValidatedAttributionSourceStateTest.cpp | 38 using ::com::android::media::permission::PermissionEnum; 50 MOCK_METHOD(BinderResult<bool>, checkPermission, (PermissionEnum perm, uid_t),
|
/frameworks/av/services/audiopolicy/permission/include/media/ |
D | NativePermissionController.h | 37 Status populatePermissionState(PermissionEnum permission, const std::vector<int>& uids) final; 44 ::android::error::BinderResult<bool> checkPermission(PermissionEnum permission, 53 std::array<std::vector<uid_t>, static_cast<size_t>(PermissionEnum::ENUM_SIZE)> permission_map_
|
D | IPermissionProvider.h | 46 virtual ::android::error::BinderResult<bool> checkPermission(PermissionEnum permission,
|
/frameworks/av/aidl/com/android/media/permission/ |
D | INativePermissionController.aidl | 19 import com.android.media.permission.PermissionEnum; 45 void populatePermissionState(in PermissionEnum perm, in int[] uids); in populatePermissionState()
|
D | PermissionEnum.aidl | 23 enum PermissionEnum { enum
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | FileHandle.h | 49 enum PermissionEnum { enum 62 typedef Flags<PermissionEnum> Permission;
|
/frameworks/av/services/audiopolicy/permission/ |
D | NativePermissionController.cpp | 91 Status NativePermissionController::populatePermissionState(PermissionEnum perm, in populatePermissionState() 93 if (perm >= PermissionEnum::ENUM_SIZE || static_cast<int>(perm) < 0) { in populatePermissionState() 149 BinderResult<bool> NativePermissionController::checkPermission(PermissionEnum perm, in checkPermission()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | FileAction.h | 35 FileHandle::PermissionEnum pPerm = FileHandle::System);
|
/frameworks/compile/mclinker/lib/MC/ |
D | FileAction.cpp | 41 FileHandle::PermissionEnum pPerm) in MemoryAreaAction()
|