/frameworks/base/services/core/java/com/android/server/audio/ |
D | PlaybackActivityMonitor.java | 139 final int piid = apc.getPlayerInterfaceId(); in checkBanPlayer() local 141 Log.v(TAG, "banning player " + piid + " uid:" + uid); in checkBanPlayer() 144 Log.e(TAG, "error banning player " + piid + " uid:" + uid, e); in checkBanPlayer() 176 public void playerAttributes(int piid, @NonNull AudioAttributes attr, int binderUid) { in playerAttributes() argument 186 final AudioPlaybackConfiguration apc = mPlayers.get(new Integer(piid)); in playerAttributes() 187 if (checkConfigurationCaller(piid, apc, binderUid)) { in playerAttributes() 188 sEventLogger.log(new AudioAttrEvent(piid, attr)); in playerAttributes() 236 public void playerEvent(int piid, int event, int binderUid) { in playerEvent() argument 237 if (DEBUG) { Log.v(TAG, String.format("playerEvent(piid=%d, event=%d)", piid, event)); } in playerEvent() 240 final AudioPlaybackConfiguration apc = mPlayers.get(new Integer(piid)); in playerEvent() [all …]
|
D | AudioService.java | 7357 public void playerAttributes(int piid, AudioAttributes attr) { in playerAttributes() argument 7358 mPlaybackMonitor.playerAttributes(piid, attr, Binder.getCallingUid()); in playerAttributes() 7361 public void playerEvent(int piid, int event) { in playerEvent() argument 7362 mPlaybackMonitor.playerEvent(piid, event, Binder.getCallingUid()); in playerEvent() 7365 public void playerHasOpPlayAudio(int piid, boolean hasOpPlayAudio) { in playerHasOpPlayAudio() argument 7366 mPlaybackMonitor.playerHasOpPlayAudio(piid, hasOpPlayAudio, Binder.getCallingUid()); in playerHasOpPlayAudio() 7369 public void releasePlayer(int piid) { in releasePlayer() argument 7370 mPlaybackMonitor.releasePlayer(piid, Binder.getCallingUid()); in releasePlayer()
|
/frameworks/native/services/audiomanager/ |
D | IAudioManager.cpp | 63 const audio_unique_id_t piid = (audio_unique_id_t) reply.readInt32(); in trackPlayer() local 64 ALOGV("trackPlayer() returned piid %d", piid); in trackPlayer() 65 return piid; in trackPlayer() 69 virtual status_t playerAttributes(audio_unique_id_t piid, audio_usage_t usage, in playerAttributes() argument 73 data.writeInt32((int32_t) piid); in playerAttributes() 87 virtual status_t playerEvent(audio_unique_id_t piid, player_state_t event) { in playerEvent() argument 90 data.writeInt32((int32_t) piid); in playerEvent() 95 virtual status_t releasePlayer(audio_unique_id_t piid) { in releasePlayer() argument 98 data.writeInt32((int32_t) piid); in releasePlayer()
|
/frameworks/native/include/audiomanager/ |
D | IAudioManager.h | 50 /*oneway*/ virtual status_t playerAttributes(audio_unique_id_t piid, audio_usage_t usage, 52 /*oneway*/ virtual status_t playerEvent(audio_unique_id_t piid, player_state_t event) = 0; 53 /*oneway*/ virtual status_t releasePlayer(audio_unique_id_t piid) = 0;
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackConfiguration.java | 191 private AudioPlaybackConfiguration(int piid) { in AudioPlaybackConfiguration() argument 192 mPlayerIId = piid; in AudioPlaybackConfiguration() 199 public AudioPlaybackConfiguration(PlayerBase.PlayerIdCard pic, int piid, int uid, int pid) { in AudioPlaybackConfiguration() argument 200 if (DEBUG) { Log.d(TAG, "new: piid=" + piid + " iplayer=" + pic.mIPlayer); } in AudioPlaybackConfiguration() 201 mPlayerIId = piid; in AudioPlaybackConfiguration() 385 public void playerDeath(int piid); in playerDeath() argument
|
D | IAudioService.aidl | 57 oneway void playerAttributes(in int piid, in AudioAttributes attr); in playerAttributes() argument 59 oneway void playerEvent(in int piid, in int event); in playerEvent() argument 61 oneway void releasePlayer(in int piid); in releasePlayer() argument 242 oneway void playerHasOpPlayAudio(in int piid, in boolean hasOpPlayAudio); in playerHasOpPlayAudio() argument
|
D | PlayerBase.java | 155 final int piid; in updateState() local 158 piid = mPlayerIId; in updateState() 161 getService().playerEvent(piid, state); in updateState() 165 + " state will not be tracked for piid=" + piid, e); in updateState()
|