Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioServerPermissionProviderTest.java347 verify(mMockPc).populatePermissionState(eq((byte) 0), aryEq(new int[] {10000, 110001})); in testPermissionsPopulated_onStart()
348 verify(mMockPc).populatePermissionState(eq((byte) 1), aryEq(new int[] {10001, 110000})); in testPermissionsPopulated_onStart()
350 verify(mMockPc).populatePermissionState(eq((byte) i), aryEq(new int[] {})); in testPermissionsPopulated_onStart()
352 verify(mMockPc, times(MONITORED_PERMS.length)).populatePermissionState(anyByte(), any()); in testPermissionsPopulated_onStart()
370 .populatePermissionState(eq((byte) 1), aryEq(new int[] {10001, 110000, 110001})); in testPermissionsPopulated_onChange()
371 verify(mMockPc).populatePermissionState(anyByte(), any()); // exactly once in testPermissionsPopulated_onChange()
386 .populatePermissionState(anyByte(), any()); in testPermissionPopulatedDeferred_onDeadService()
393 verify(mMockPc, never()).populatePermissionState(anyByte(), any()); in testPermissionPopulatedDeferred_onDeadService()
396 verify(mMockPc).populatePermissionState(eq((byte) i), any()); in testPermissionPopulatedDeferred_onDeadService()
/frameworks/av/services/audiopolicy/permission/tests/
DNativePermissionControllerTest.cpp177 EXPECT_THAT(controller_.populatePermissionState(PermissionEnum::ENUM_SIZE, {}), in TEST_F()
180 controller_.populatePermissionState( in TEST_F()
190 EXPECT_THAT(controller_.populatePermissionState(PermissionEnum::MODIFY_AUDIO_ROUTING, uids), in TEST_F()
201 EXPECT_THAT(controller_.populatePermissionState(PermissionEnum::MODIFY_AUDIO_ROUTING, uids), in TEST_F()
/frameworks/av/aidl/com/android/media/permission/
DINativePermissionController.aidl45 void populatePermissionState(in PermissionEnum perm, in int[] uids); in populatePermissionState() method
/frameworks/av/services/audiopolicy/permission/include/media/
DNativePermissionController.h37 Status populatePermissionState(PermissionEnum permission, const std::vector<int>& uids) final;
/frameworks/base/services/core/java/com/android/server/audio/
DAudioServerPermissionProvider.java108 mDest.populatePermissionState(i, mPermMap[i]); in onServiceStart()
169 mDest.populatePermissionState(i, newPerms); in onPermissionStateChanged()
/frameworks/av/services/audiopolicy/permission/
DNativePermissionController.cpp91 Status NativePermissionController::populatePermissionState(PermissionEnum perm, in populatePermissionState() function in com::android::media::permission::NativePermissionController