/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicyConfig.java | 196 protected void setRegistration(String regId) { in setRegistration() argument 198 final boolean newRegNull = (regId == null) || regId.isEmpty(); in setRegistration() 199 if (!currentRegNull && !newRegNull && !mRegistrationId.equals(regId)) { in setRegistration() 200 Log.e(TAG, "Invalid registration transition from " + mRegistrationId + " to " + regId); in setRegistration() 203 mRegistrationId = regId == null ? "" : regId; in setRegistration()
|
D | AudioPolicy.java | 236 public void setRegistration(String regId) { in setRegistration() argument 238 mRegistrationId = regId; in setRegistration() 239 mConfig.setRegistration(regId); in setRegistration() 240 if (regId != null) { in setRegistration() 509 public void notifyMixStateUpdate(String regId, int state) { 511 if (mix.getRegistration().equals(regId)) { 515 Log.v(TAG, "notifyMixStateUpdate: regId=" + regId + " state=" + state);
|
D | IAudioPolicyCallback.aidl | 33 void notifyMixStateUpdate(in String regId, int state); in notifyMixStateUpdate() argument
|
D | AudioMix.java | 155 void setRegistration(String regId) { in setRegistration() argument 156 mDeviceAddress = regId; in setRegistration()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioPolicyServiceClient.cpp | 74 void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state) in onDynamicPolicyMixStateUpdate() argument 78 data.writeString8(regId); in onDynamicPolicyMixStateUpdate() 118 String8 regId = data.readString8(); in onTransact() local 120 onDynamicPolicyMixStateUpdate(regId, state); in onTransact()
|
D | AudioSystem.cpp | 1278 String8 regId, int32_t state) in onDynamicPolicyMixStateUpdate() argument 1280 ALOGV("AudioPolicyServiceClient::onDynamicPolicyMixStateUpdate(%s, %d)", regId.string(), state); in onDynamicPolicyMixStateUpdate() 1288 cb(DYNAMIC_POLICY_EVENT_MIX_STATE_UPDATE, regId, state); in onDynamicPolicyMixStateUpdate()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NsdService.java | 698 private boolean registerService(int regId, NsdServiceInfo service) { in registerService() argument 699 if (DBG) Slog.d(TAG, "registerService: " + regId + " " + service); in registerService() 701 Command cmd = new Command("mdnssd", "register", regId, service.getServiceName(), in registerService() 714 private boolean unregisterService(int regId) { in unregisterService() argument 715 if (DBG) Slog.d(TAG, "unregisterService: " + regId); in unregisterService() 717 mNativeConnector.execute("mdnssd", "stop-register", regId); in unregisterService() 725 private boolean updateService(int regId, DnsSdTxtRecord t) { in updateService() argument 726 if (DBG) Slog.d(TAG, "updateService: " + regId + " " + t); in updateService() 729 mNativeConnector.execute("mdnssd", "update", regId, t.size(), t.getRawData()); in updateService()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 173 void AudioPolicyService::onDynamicPolicyMixStateUpdate(const String8& regId, int32_t state) in onDynamicPolicyMixStateUpdate() argument 176 regId.string(), state); in onDynamicPolicyMixStateUpdate() 177 mOutputCommandThread->dynamicPolicyMixStateUpdateCommand(regId, state); in onDynamicPolicyMixStateUpdate() 180 void AudioPolicyService::doOnDynamicPolicyMixStateUpdate(const String8& regId, int32_t state) in doOnDynamicPolicyMixStateUpdate() argument 184 mNotificationClients.valueAt(i)->onDynamicPolicyMixStateUpdate(regId, state); in doOnDynamicPolicyMixStateUpdate() 262 const String8& regId, int32_t state) in onDynamicPolicyMixStateUpdate() argument 265 mAudioPolicyServiceClient->onDynamicPolicyMixStateUpdate(regId, state); in onDynamicPolicyMixStateUpdate() 799 const String8& regId, int32_t state) in dynamicPolicyMixStateUpdateCommand() argument 804 data->mRegId = regId; in dynamicPolicyMixStateUpdateCommand() 808 regId.string(), state); in dynamicPolicyMixStateUpdateCommand()
|
D | AudioPolicyService.h | 226 void onDynamicPolicyMixStateUpdate(const String8& regId, int32_t state); 227 void doOnDynamicPolicyMixStateUpdate(const String8& regId, int32_t state); 304 … void dynamicPolicyMixStateUpdateCommand(const String8& regId, int32_t state); 516 virtual void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state); 538 … void onDynamicPolicyMixStateUpdate(const String8& regId, int32_t state);
|
D | AudioPolicyClientImpl.cpp | 217 String8 regId, int32_t state) in onDynamicPolicyMixStateUpdate() argument 219 mAudioPolicyService->onDynamicPolicyMixStateUpdate(regId, state); in onDynamicPolicyMixStateUpdate()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioPolicyServiceClient.h | 39 virtual void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state) = 0;
|
D | AudioSystem.h | 35 typedef void (*dynamic_policy_callback)(int event, String8 regId, int val); 439 virtual void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state);
|
/frameworks/av/include/media/ |
D | IAudioPolicyServiceClient.h | 39 virtual void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state) = 0;
|
D | AudioSystem.h | 35 typedef void (*dynamic_policy_callback)(int event, String8 regId, int val); 439 virtual void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state);
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 246 void onDynamicPolicyMixStateUpdate(String regId, int state); in onDynamicPolicyMixStateUpdate() argument 262 private static void dynamicPolicyCallbackFromNative(int event, String regId, int val) in dynamicPolicyCallbackFromNative() argument 273 cb.onDynamicPolicyMixStateUpdate(regId, val); in dynamicPolicyCallbackFromNative()
|
D | AudioManager.java | 2837 String regId = service.registerAudioPolicy(policy.getConfig(), policy.cb(), in registerAudioPolicy() local 2839 if (regId == null) { in registerAudioPolicy() 2842 policy.setRegistration(regId); in registerAudioPolicy()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 347 virtual void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state) = 0;
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 380 android_media_AudioSystem_dyn_policy_callback(int event, String8 regId, int val) in android_media_AudioSystem_dyn_policy_callback() argument 388 const char* zechars = regId.string(); in android_media_AudioSystem_dyn_policy_callback()
|