Home
last modified time | relevance | path

Searched refs:clientId (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DNsdService.java261 … private void storeRequestMap(int clientId, int globalId, ClientInfo clientInfo, int what) { in storeRequestMap() argument
262 clientInfo.mClientIds.put(clientId, globalId); in storeRequestMap()
263 clientInfo.mClientRequests.put(clientId, what); in storeRequestMap()
267 private void removeRequestMap(int clientId, int globalId, ClientInfo clientInfo) { in removeRequestMap() argument
268 clientInfo.mClientIds.remove(clientId); in removeRequestMap()
269 clientInfo.mClientRequests.remove(clientId); in removeRequestMap()
423 int clientId = clientInfo.getClientId(id); in handleNativeEvent() local
424 if (clientId < 0) { in handleNativeEvent()
439 clientId, servInfo); in handleNativeEvent()
446 clientId, servInfo); in handleNativeEvent()
[all …]
/frameworks/base/core/java/android/net/dhcp/
DDhcpRequestPacket.java61 byte[] clientId = new byte[7]; in finishPacket()
64 clientId[0] = CLIENT_ID_ETHER; in finishPacket()
65 System.arraycopy(mClientMac, 0, clientId, 1, 6); in finishPacket()
71 addTlv(buffer, DHCP_CLIENT_IDENTIFIER, clientId); in finishPacket()
DDhcpInformPacket.java56 byte[] clientId = new byte[7]; in finishPacket()
58 clientId[0] = CLIENT_ID_ETHER; in finishPacket()
59 System.arraycopy(mClientMac, 0, clientId, 1, 6); in finishPacket()
/frameworks/base/media/java/android/media/
DAudioFocusInfo.java49 AudioFocusInfo(AudioAttributes aa, String clientId, String packageName, in AudioFocusInfo() argument
52 mClientId = clientId == null ? "" : clientId; in AudioFocusInfo()
DIAudioService.aidl126 IAudioFocusDispatcher fd, String clientId, String callingPackageName, int flags, in requestAudioFocus() argument
129 int abandonAudioFocus(IAudioFocusDispatcher fd, String clientId, in AudioAttributes aa); in abandonAudioFocus() argument
131 void unregisterAudioFocusClient(String clientId); in unregisterAudioFocusClient() argument
DIAudioFocusDispatcher.aidl26 void dispatchAudioFocusChange(int focusChange, String clientId); in dispatchAudioFocusChange() argument
DMediaFocusControl.java716 IAudioFocusDispatcher fd, String clientId, String callingPackageName, int flags) { in requestAudioFocus() argument
717 Log.i(TAG, " AudioFocus requestAudioFocus() from " + clientId + " req=" + focusChangeHint + in requestAudioFocus()
755 if (!mFocusStack.empty() && mFocusStack.peek().hasSameClient(clientId)) { in requestAudioFocus()
777 removeFocusStackEntry(clientId, false /* signal */, false /*notifyFocusFollowers*/); in requestAudioFocus()
780 clientId, afdh, callingPackageName, Binder.getCallingUid(), this); in requestAudioFocus()
809 protected int abandonAudioFocus(IAudioFocusDispatcher fl, String clientId, AudioAttributes aa) { in abandonAudioFocus() argument
811 Log.i(TAG, " AudioFocus abandonAudioFocus() from " + clientId); in abandonAudioFocus()
815 removeFocusStackEntry(clientId, true /*signal*/, true /*notifyFocusFollowers*/); in abandonAudioFocus()
829 protected void unregisterAudioFocusClient(String clientId) { in unregisterAudioFocusClient() argument
831 removeFocusStackEntry(clientId, false, true /*notifyFocusFollowers*/); in unregisterAudioFocusClient()
DAudioService.java5132 IAudioFocusDispatcher fd, String clientId, String callingPackageName, int flags, in requestAudioFocus() argument
5136 if (mMediaFocusControl.IN_VOICE_COMM_FOCUS_ID.equals(clientId)) { in requestAudioFocus()
5154 clientId, callingPackageName, flags); in requestAudioFocus()
5157 public int abandonAudioFocus(IAudioFocusDispatcher fd, String clientId, AudioAttributes aa) { in abandonAudioFocus() argument
5158 return mMediaFocusControl.abandonAudioFocus(fd, clientId, aa); in abandonAudioFocus()
5161 public void unregisterAudioFocusClient(String clientId) { in unregisterAudioFocusClient() argument
5162 mMediaFocusControl.unregisterAudioFocusClient(clientId); in unregisterAudioFocusClient()