Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DIOProfile.h78 audio_devices_t profileType = mSupportedDevices[k]->type(); in getSupportedDeviceForType() local
79 if (profileType & deviceType) { in getSupportedDeviceForType()
80 return profileType; in getSupportedDeviceForType()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3219 audio_devices_t profileType = outProfile->getSupportedDevicesType(); in AudioPolicyManager() local
3220 if ((profileType & mDefaultOutputDevice->type()) != AUDIO_DEVICE_NONE) { in AudioPolicyManager()
3221 profileType = mDefaultOutputDevice->type(); in AudioPolicyManager()
3225 profileType = outProfile->getSupportedDeviceForType(outputDeviceTypes); in AudioPolicyManager()
3227 if ((profileType & outputDeviceTypes) == 0) { in AudioPolicyManager()
3233 const DeviceVector &devicesForType = supportedDevices.getDevicesFromType(profileType); in AudioPolicyManager()
3237 outputDesc->mDevice = profileType; in AudioPolicyManager()
3292 audio_devices_t profileType = inProfile->getSupportedDeviceForType(inputDeviceTypes); in AudioPolicyManager() local
3294 if ((profileType & inputDeviceTypes) == 0) { in AudioPolicyManager()
3300 inputDesc->mDevice = profileType; in AudioPolicyManager()
[all …]
/frameworks/base/core/java/android/app/
DIApplicationThread.java121 void profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) in profilerControl() argument
DApplicationThreadNative.java442 int profileType = data.readInt(); in onTransact() local
445 profilerControl(start, profilerInfo, profileType); in onTransact()
1232 public void profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) in profilerControl() argument
1237 data.writeInt(profileType); in profilerControl()
DActivityThread.java957 public void profilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { in profilerControl() argument
958 sendMessage(H.PROFILER_CONTROL, profilerInfo, start ? 1 : 0, profileType); in profilerControl()
4788 final void handleProfilerControl(boolean start, ProfilerInfo profilerInfo, int profileType) { in handleProfilerControl() argument
4791 switch (profileType) { in handleProfilerControl()
4808 switch (profileType) { in handleProfilerControl()
DIActivityManager.java392 ProfilerInfo profilerInfo, int profileType) throws RemoteException; in profileControl() argument
DActivityManagerNative.java1738 int profileType = data.readInt(); in onTransact() local
1741 boolean res = profileControl(process, userId, start, profilerInfo, profileType); in onTransact()
5227 ProfilerInfo profilerInfo, int profileType) throws RemoteException in profileControl() argument
5235 data.writeInt(profileType); in profileControl()
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java974 int profileType = 0;
1054 if (!mAm.profileControl(process, userId, start, profilerInfo, profileType)) {
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java21035 private void stopProfilerLocked(ProcessRecord proc, int profileType) { in stopProfilerLocked() argument
21038 profileType = mProfileType; in stopProfilerLocked()
21045 proc.thread.profilerControl(false, null, profileType); in stopProfilerLocked()
21067 ProfilerInfo profilerInfo, int profileType) throws RemoteException { in profileControl() argument
21096 mProfileType = profileType; in profileControl()
21104 proc.thread.profilerControl(start, profilerInfo, profileType); in profileControl()
21108 stopProfilerLocked(proc, profileType); in profileControl()