Searched refs:populatePermissionState (Results 1 – 6 of 6) sorted by relevance
347 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()
177 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()
45 void populatePermissionState(in PermissionEnum perm, in int[] uids); in populatePermissionState() method
37 Status populatePermissionState(PermissionEnum permission, const std::vector<int>& uids) final;
108 mDest.populatePermissionState(i, mPermMap[i]); in onServiceStart()169 mDest.populatePermissionState(i, newPerms); in onPermissionStateChanged()
91 Status NativePermissionController::populatePermissionState(PermissionEnum perm, in populatePermissionState() function in com::android::media::permission::NativePermissionController