Home
last modified time | relevance | path

Searched refs:regId (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java177 protected void setRegistration(String regId) { in setRegistration() argument
179 final boolean newRegNull = (regId == null) || regId.isEmpty(); in setRegistration()
180 if (!currentRegNull && !newRegNull && !mRegistrationId.equals(regId)) { in setRegistration()
181 Log.e(TAG, "Invalid registration transition from " + mRegistrationId + " to " + regId); in setRegistration()
184 mRegistrationId = regId == null ? "" : regId; in setRegistration()
DAudioMix.java98 void setRegistration(String regId) { in setRegistration() argument
99 mRegistrationId = regId; in setRegistration()
DAudioPolicy.java197 public void setRegistration(String regId) { in setRegistration() argument
199 mRegistrationId = regId; in setRegistration()
200 mConfig.setRegistration(regId); in setRegistration()
201 if (regId != null) { in setRegistration()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java708 private boolean registerService(int regId, NsdServiceInfo service) { in registerService() argument
709 if (DBG) Slog.d(TAG, "registerService: " + regId + " " + service); in registerService()
711 Command cmd = new Command("mdnssd", "register", regId, service.getServiceName(), in registerService()
735 private boolean unregisterService(int regId) { in unregisterService() argument
736 if (DBG) Slog.d(TAG, "unregisterService: " + regId); in unregisterService()
738 mNativeConnector.execute("mdnssd", "stop-register", regId); in unregisterService()
746 private boolean updateService(int regId, DnsSdTxtRecord t) { in updateService() argument
747 if (DBG) Slog.d(TAG, "updateService: " + regId + " " + t); in updateService()
750 mNativeConnector.execute("mdnssd", "update", regId, t.size(), t.getRawData()); in updateService()
/frameworks/base/docs/html/google/gcm/
Dhelper.jd132 …<li><code>onRegistered(Context context, String regId)</code>: Called after a registration intent i…
133 …<li><code>onUnregistered(Context context, String regId)</code>: Called after the device has been u…
148 final String regId = GCMRegistrar.getRegistrationId(this);
149 if (regId.equals("")) {
Dclient.jd453 * &#64;param regId registration ID
455 private void storeRegistrationId(Context context, String regId) {
458 Log.i(TAG, "Saving regId on app version " + appVersion);
460 editor.putString(PROPERTY_REG_ID, regId);
/frameworks/base/media/java/android/media/
DAudioManager.java2906 String regId = service.registerAudioPolicy(policy.getConfig(), policy.cb(), in registerAudioPolicy() local
2908 if (regId == null) { in registerAudioPolicy()
2911 policy.setRegistration(regId); in registerAudioPolicy()
DAudioService.java5850 String regId = null; in registerAudioPolicy() local
5869 regId = app.getRegistrationId(); in registerAudioPolicy()
5878 return regId; in registerAudioPolicy()
/frameworks/base/docs/html/training/cloudsync/
Dgcm.jd123 Message message = new Message.Builder(regId)