Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/
DIResourceManagerService.cpp75 int64_t clientId, in addResource() argument
81 data.writeInt64(clientId); in addResource()
88 virtual void removeResource(int pid, int64_t clientId) { in removeResource() argument
92 data.writeInt64(clientId); in removeResource()
132 int64_t clientId = data.readInt64(); in onTransact() local
140 addResource(pid, clientId, client, resources); in onTransact()
147 int64_t clientId = data.readInt64(); in onTransact() local
148 removeResource(pid, clientId); in onTransact()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java258 … private void storeRequestMap(int clientId, int globalId, ClientInfo clientInfo, int what) { in storeRequestMap() argument
259 clientInfo.mClientIds.put(clientId, globalId); in storeRequestMap()
260 clientInfo.mClientRequests.put(clientId, what); in storeRequestMap()
264 private void removeRequestMap(int clientId, int globalId, ClientInfo clientInfo) { in removeRequestMap() argument
265 clientInfo.mClientIds.remove(clientId); in removeRequestMap()
266 clientInfo.mClientRequests.remove(clientId); in removeRequestMap()
420 int clientId = clientInfo.getClientId(id); in handleNativeEvent() local
421 if (clientId < 0) { in handleNativeEvent()
436 clientId, servInfo); in handleNativeEvent()
443 clientId, servInfo); in handleNativeEvent()
[all …]
/frameworks/av/services/mediaresourcemanager/
DResourceManagerService.cpp78 int64_t clientId, in getResourceInfoForEdit() argument
82 if (infos[i].clientId == clientId) { in getResourceInfoForEdit()
87 info.clientId = clientId; in getResourceInfoForEdit()
151 snprintf(buffer, SIZE, " Id: %lld\n", (long long)infos[j].clientId); in dump()
201 int64_t clientId, in addResource() argument
205 pid, (long long) clientId, getString(resources).string()); in addResource()
214 ResourceInfo& info = getResourceInfoForEdit(clientId, client, infos); in addResource()
220 void ResourceManagerService::removeResource(int pid, int64_t clientId) { in removeResource() argument
223 pid, (long long) clientId); in removeResource()
233 ALOGV("removeResource: didn't find pid %d for clientId %lld", pid, (long long) clientId); in removeResource()
[all …]
DResourceManagerService.h37 int64_t clientId; member
62 int64_t clientId,
66 virtual void removeResource(int pid, int64_t clientId);
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java386 IAudioFocusDispatcher fd, String clientId, String callingPackageName, int flags) { in requestAudioFocus() argument
389 + " clientId=" + clientId in requestAudioFocus()
429 if (!mFocusStack.empty() && mFocusStack.peek().hasSameClient(clientId)) { in requestAudioFocus()
451 removeFocusStackEntry(clientId, false /* signal */, false /*notifyFocusFollowers*/); in requestAudioFocus()
454 clientId, afdh, callingPackageName, Binder.getCallingUid(), this); in requestAudioFocus()
483 protected int abandonAudioFocus(IAudioFocusDispatcher fl, String clientId, AudioAttributes aa) { in abandonAudioFocus() argument
487 + " clientId=" + clientId); in abandonAudioFocus()
491 removeFocusStackEntry(clientId, true /*signal*/, true /*notifyFocusFollowers*/); in abandonAudioFocus()
505 protected void unregisterAudioFocusClient(String clientId) { in unregisterAudioFocusClient() argument
507 removeFocusStackEntry(clientId, false, true /*notifyFocusFollowers*/); in unregisterAudioFocusClient()
DAudioService.java5455 IAudioFocusDispatcher fd, String clientId, String callingPackageName, int flags, in requestAudioFocus() argument
5459 if (AudioSystem.IN_VOICE_COMM_FOCUS_ID.equals(clientId)) { in requestAudioFocus()
5477 clientId, callingPackageName, flags); in requestAudioFocus()
5480 public int abandonAudioFocus(IAudioFocusDispatcher fd, String clientId, AudioAttributes aa) { in abandonAudioFocus() argument
5481 return mMediaFocusControl.abandonAudioFocus(fd, clientId, aa); in abandonAudioFocus()
5484 public void unregisterAudioFocusClient(String clientId) { in unregisterAudioFocusClient() argument
5485 mMediaFocusControl.unregisterAudioFocusClient(clientId); in unregisterAudioFocusClient()
/frameworks/base/media/java/android/media/
DAudioFocusInfo.java50 public AudioFocusInfo(AudioAttributes aa, String clientId, String packageName, in AudioFocusInfo() argument
53 mClientId = clientId == null ? "" : clientId; in AudioFocusInfo()
DIAudioService.aidl112 IAudioFocusDispatcher fd, String clientId, String callingPackageName, int flags, in requestAudioFocus() argument
115 int abandonAudioFocus(IAudioFocusDispatcher fd, String clientId, in AudioAttributes aa); in abandonAudioFocus() argument
117 void unregisterAudioFocusClient(String clientId); in unregisterAudioFocusClient() argument
DIAudioFocusDispatcher.aidl26 void dispatchAudioFocusChange(int focusChange, String clientId); in dispatchAudioFocusChange() argument
/frameworks/av/include/media/
DIResourceManagerService.h42 int64_t clientId,
46 virtual void removeResource(int pid, int64_t clientId) = 0;
/frameworks/base/keystore/java/android/security/
DKeyStore.java434 public int getKeyCharacteristics(String alias, KeymasterBlob clientId, KeymasterBlob appId, in getKeyCharacteristics() argument
437 return mBinder.getKeyCharacteristics(alias, clientId, appId, uid, outCharacteristics); in getKeyCharacteristics()
444 public int getKeyCharacteristics(String alias, KeymasterBlob clientId, KeymasterBlob appId, in getKeyCharacteristics() argument
446 return getKeyCharacteristics(alias, clientId, appId, UID_SELF, outCharacteristics); in getKeyCharacteristics()
465 public ExportResult exportKey(String alias, int format, KeymasterBlob clientId, in exportKey() argument
468 return mBinder.exportKey(alias, format, clientId, appId, uid); in exportKey()
474 public ExportResult exportKey(String alias, int format, KeymasterBlob clientId, in exportKey() argument
476 return exportKey(alias, format, clientId, appId, UID_SELF); in exportKey()
/frameworks/base/core/java/android/security/
DIKeystoreService.aidl62 int getKeyCharacteristics(String alias, in KeymasterBlob clientId, in KeymasterBlob appId, in getKeyCharacteristics() argument
66 ExportResult exportKey(String alias, int format, in KeymasterBlob clientId, in exportKey() argument
/frameworks/av/include/media/stagefright/
DMediaCodec.h276 int64_t clientId,
280 void removeResource(int64_t clientId);
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java344 byte[] clientId = new byte[mClientMac.length + 1]; in getClientId()
345 clientId[0] = CLIENT_ID_ETHER; in getClientId()
346 System.arraycopy(mClientMac, 0, clientId, 1, mClientMac.length); in getClientId()
347 return clientId; in getClientId()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp144 int64_t clientId, in addResource() argument
151 mService->addResource(mPid, clientId, client, resources); in addResource()
154 void MediaCodec::ResourceManagerServiceProxy::removeResource(int64_t clientId) { in removeResource() argument
159 mService->removeResource(mPid, clientId); in removeResource()