Searched refs:useCase (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/ |
D | UseCasePriorityHints.java | 64 int getForegroundPriority(int useCase) { in getForegroundPriority() argument 65 if (mPriorityHints.get(useCase) != null && mPriorityHints.get(useCase).length == 2) { in getForegroundPriority() 66 return mPriorityHints.get(useCase)[0]; in getForegroundPriority() 71 int getBackgroundPriority(int useCase) { in getBackgroundPriority() argument 72 if (mPriorityHints.get(useCase) != null && mPriorityHints.get(useCase).length == 2) { in getBackgroundPriority() 73 return mPriorityHints.get(useCase)[1]; in getBackgroundPriority() 78 boolean isDefinedUseCase(int useCase) { in isDefinedUseCase() argument 79 return (mVendorDefinedUseCase.contains(useCase) || isPredefinedUseCase(useCase)); in isDefinedUseCase() 127 int useCase = mPriorityHints.keyAt(i); in parseInternal() local 128 int[] priorities = mPriorityHints.get(useCase); in parseInternal() [all …]
|
D | ClientProfile.java | 232 public Builder useCase(int useCase) { in useCase() method in ClientProfile.Builder 233 this.mUseCase = useCase; in useCase()
|
D | TunerResourceManagerService.java | 445 .useCase(profile.getUseCase()) in registerClientProfileInternal() 891 protected int getClientPriority(int useCase, int pid) { in getClientPriority() argument 893 Slog.d(TAG, "getClientPriority useCase=" + useCase in getClientPriority() 898 return mPriorityCongfig.getForegroundPriority(useCase); in getClientPriority() 900 return mPriorityCongfig.getBackgroundPriority(useCase); in getClientPriority()
|
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/ |
D | ResourceClientProfile.java | 86 int useCase) { in ResourceClientProfile() argument 88 mUseCase = useCase; in ResourceClientProfile()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioDeviceBroker.java | 173 /*package*/ void setForceUse_Async(int useCase, int config, String eventSource) { in setForceUse_Async() argument 175 useCase, config, eventSource); in setForceUse_Async() 783 private void onSetForceUse(int useCase, int config, boolean fromA2dp, String eventSource) { in onSetForceUse() argument 784 if (useCase == AudioSystem.FOR_MEDIA) { in onSetForceUse() 788 new AudioServiceEvents.ForceUseEvent(useCase, config, eventSource)); in onSetForceUse() 790 + AudioSystem.forceUseUsageToString(useCase)) in onSetForceUse() 796 AudioSystem.setForceUse(useCase, config); in onSetForceUse()
|
D | AudioService.java | 6301 final int useCase = msg.arg1; in handleMessage() local 6303 if (useCase == AudioSystem.FOR_MEDIA) { in handleMessage() 6309 + MediaMetrics.SEPARATOR + AudioSystem.forceUseUsageToString(useCase)) in handleMessage() 6316 new AudioServiceEvents.ForceUseEvent(useCase, config, eventSource)); in handleMessage() 6317 AudioSystem.setForceUse(useCase, config); in handleMessage()
|
/frameworks/base/media/java/android/media/tv/tuner/ |
D | Tuner.java | 256 @TvInputService.PriorityHintUseCaseType int useCase) { in Tuner() argument 267 ResourceClientProfile profile = new ResourceClientProfile(tvInputSessionId, useCase); in Tuner()
|