/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicyConfig.java | 209 protected void setRegistration(String regId) { in setRegistration() argument 211 final boolean newRegNull = (regId == null) || regId.isEmpty(); in setRegistration() 212 if (!currentRegNull && !newRegNull && !mRegistrationId.equals(regId)) { in setRegistration() 213 Log.e(TAG, "Invalid registration transition from " + mRegistrationId + " to " + regId); in setRegistration() 216 mRegistrationId = regId == null ? "" : regId; in setRegistration()
|
D | AudioPolicy.java | 479 public void setRegistration(String regId) { in setRegistration() argument 481 mRegistrationId = regId; in setRegistration() 482 mConfig.setRegistration(regId); in setRegistration() 483 if (regId != null) { in setRegistration() 838 public void notifyMixStateUpdate(String regId, int state) { 840 if (mix.getRegistration().equals(regId)) { 844 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 | 181 void setRegistration(String regId) { in setRegistration() argument 182 mDeviceAddress = regId; in setRegistration()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioPolicyServiceClient.cpp | 123 void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state) in onDynamicPolicyMixStateUpdate() argument 127 data.writeString8(regId); in onDynamicPolicyMixStateUpdate() 181 String8 regId = data.readString8(); in onTransact() local 183 onDynamicPolicyMixStateUpdate(regId, state); in onTransact()
|
D | AudioSystem.cpp | 1663 String8 regId, int32_t state) in onDynamicPolicyMixStateUpdate() argument 1665 ALOGV("AudioPolicyServiceClient::onDynamicPolicyMixStateUpdate(%s, %d)", regId.string(), state); in onDynamicPolicyMixStateUpdate() 1673 cb(DYNAMIC_POLICY_EVENT_MIX_STATE_UPDATE, regId, state); in onDynamicPolicyMixStateUpdate()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NsdService.java | 712 private boolean registerService(int regId, NsdServiceInfo service) { in registerService() argument 714 Slog.d(TAG, "registerService: " + regId + " " + service); in registerService() 721 return mDaemon.execute("register", regId, name, type, port, record); in registerService() 724 private boolean unregisterService(int regId) { in unregisterService() argument 725 return mDaemon.execute("stop-register", regId); in unregisterService() 728 private boolean updateService(int regId, DnsSdTxtRecord t) { in updateService() argument 732 return mDaemon.execute("update", regId, t.size(), t.getRawData()); in updateService()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioPolicyServiceClient.h | 58 virtual void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state) = 0;
|
D | AudioSystem.h | 40 typedef void (*dynamic_policy_callback)(int event, String8 regId, int val); 542 virtual void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state);
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyClientImpl.cpp | 212 String8 regId, int32_t state) in onDynamicPolicyMixStateUpdate() argument 214 mAudioPolicyService->onDynamicPolicyMixStateUpdate(regId, state); in onDynamicPolicyMixStateUpdate()
|
D | AudioPolicyService.h | 290 void onDynamicPolicyMixStateUpdate(const String8& regId, int32_t state); 291 void doOnDynamicPolicyMixStateUpdate(const String8& regId, int32_t state); 487 void dynamicPolicyMixStateUpdateCommand(const String8& regId, 708 virtual void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state); 736 void onDynamicPolicyMixStateUpdate(const String8& regId,
|
D | AudioPolicyService.cpp | 229 void AudioPolicyService::onDynamicPolicyMixStateUpdate(const String8& regId, int32_t state) in onDynamicPolicyMixStateUpdate() argument 232 regId.string(), state); in onDynamicPolicyMixStateUpdate() 233 mOutputCommandThread->dynamicPolicyMixStateUpdateCommand(regId, state); in onDynamicPolicyMixStateUpdate() 236 void AudioPolicyService::doOnDynamicPolicyMixStateUpdate(const String8& regId, int32_t state) in doOnDynamicPolicyMixStateUpdate() argument 240 mNotificationClients.valueAt(i)->onDynamicPolicyMixStateUpdate(regId, state); in doOnDynamicPolicyMixStateUpdate() 340 const String8& regId, int32_t state) in onDynamicPolicyMixStateUpdate() argument 343 mAudioPolicyServiceClient->onDynamicPolicyMixStateUpdate(regId, state); in onDynamicPolicyMixStateUpdate() 1540 const String8& regId, int32_t state) in dynamicPolicyMixStateUpdateCommand() argument 1545 data->mRegId = regId; in dynamicPolicyMixStateUpdateCommand() 1549 regId.string(), state); in dynamicPolicyMixStateUpdateCommand()
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 361 void onDynamicPolicyMixStateUpdate(String regId, int state); in onDynamicPolicyMixStateUpdate() argument 379 private static void dynamicPolicyCallbackFromNative(int event, String regId, int val) in dynamicPolicyCallbackFromNative() argument 390 cb.onDynamicPolicyMixStateUpdate(regId, val); in dynamicPolicyCallbackFromNative()
|
D | AudioManager.java | 3404 String regId = service.registerAudioPolicy(policy.getConfig(), policy.cb(), in registerAudioPolicyStatic() local 3408 if (regId == null) { in registerAudioPolicyStatic() 3411 policy.setRegistration(regId); in registerAudioPolicyStatic()
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 389 virtual void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state) = 0;
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 6907 String regId = null; in registerAudioPolicy() local 6917 regId = app.getRegistrationId(); in registerAudioPolicy() 6929 return regId; in registerAudioPolicy() 7240 public void onDynamicPolicyMixStateUpdate(String regId, int state) { 7241 if (!TextUtils.isEmpty(regId)) { 7243 state /*arg1*/, 0 /*arg2 ignored*/, regId /*obj*/, 0 /*delay*/); 7248 private void onDynPolicyMixStateUpdate(String regId, int state) { in onDynPolicyMixStateUpdate() argument 7249 if (DEBUG_AP) Log.d(TAG, "onDynamicPolicyMixStateUpdate("+ regId + ", " + state +")"); in onDynPolicyMixStateUpdate() 7253 if (mix.getRegistration().equals(regId)) { in onDynPolicyMixStateUpdate() 7255 policy.mPolicyCallback.notifyMixStateUpdate(regId, state); in onDynPolicyMixStateUpdate()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 415 android_media_AudioSystem_dyn_policy_callback(int event, String8 regId, int val) in android_media_AudioSystem_dyn_policy_callback() argument 423 const char* zechars = regId.string(); in android_media_AudioSystem_dyn_policy_callback()
|