/frameworks/base/media/java/android/media/ |
H A D | AudioPort.java | 79 AudioPort(AudioHandle handle, int role, String name, argument 84 mRole = role; 106 * Get the audio port role 108 public int role() { method in class:AudioPort 211 String role = Integer.toString(mRole); 214 role = "NONE"; 217 role = "SOURCE"; 220 role = "SINK"; 224 + ", mRole: " + role
|
H A D | AudioMixPort.java | 33 AudioMixPort(AudioHandle handle, int ioHandle, int role, String deviceName, argument 36 super(handle, role, deviceName, samplingRates, channelMasks, channelIndexMasks,
|
/frameworks/av/media/libstagefright/omx/1.0/ |
H A D | OmxStore.cpp | 60 RoleInfo role; local 61 role.role = rolePair.first; 62 role.type = rolePair.second.type; 63 role.isEncoder = rolePair.second.isEncoder; 67 role.preferPlatformNodes = rolePair.first.compare(0, 5, "audio") == 0; 68 hidl_vec<NodeInfo>& nodeList = role.nodes; 88 mRoleList[i] = std::move(role);
|
/frameworks/base/wifi/java/android/net/wifi/aware/ |
H A D | WifiAwareNetworkSpecifier.java | 38 * TYPE: in band, specific peer: role, client_id, session_id, peer_id, pmk/passphrase optional 44 * TYPE: in band, any peer: role, client_id, session_id, pmk/passphrase optional 51 * TYPE: out-of-band: role, client_id, peer_mac, pmk/passphrase optional 57 * TYPE: out-of-band, any peer: role, client_id, pmk/passphrase optional 73 * The role of the device: WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR or 77 public final int role; field in class:WifiAwareNetworkSpecifier 129 public WifiAwareNetworkSpecifier(int type, int role, int clientId, int sessionId, int peerId, argument 132 this.role = role; 148 in.readInt(), // role [all...] |
H A D | DiscoverySession.java | 299 int role = this instanceof SubscribeDiscoverySession 303 return mgr.createNetworkSpecifier(mClientId, role, mSessionId, peerHandle, null, null); 356 int role = this instanceof SubscribeDiscoverySession 360 return mgr.createNetworkSpecifier(mClientId, role, mSessionId, peerHandle, null, 418 int role = this instanceof SubscribeDiscoverySession 422 return mgr.createNetworkSpecifier(mClientId, role, mSessionId, peerHandle, pmk, null);
|
H A D | WifiAwareSession.java | 221 * @param role The role of this device: 235 @WifiAwareManager.DataPathRole int role, @NonNull byte[] peer) { 245 return mgr.createNetworkSpecifier(mClientId, role, peer, null, null); 259 * @param role The role of this device: 276 @WifiAwareManager.DataPathRole int role, @NonNull byte[] peer, 291 return mgr.createNetworkSpecifier(mClientId, role, peer, null, passphrase); 305 * @param role The role o 234 createNetworkSpecifierOpen( @ifiAwareManager.DataPathRole int role, @NonNull byte[] peer) argument 275 createNetworkSpecifierPassphrase( @ifiAwareManager.DataPathRole int role, @NonNull byte[] peer, @NonNull String passphrase) argument 326 createNetworkSpecifierPmk( @ifiAwareManager.DataPathRole int role, @NonNull byte[] peer, @NonNull byte[] pmk) argument [all...] |
H A D | WifiAwareManager.java | 145 * Connection creation role is that of INITIATOR. Used to create a network specifier string 156 * Connection creation role is that of RESPONDER. Used to create a network specifier string 409 public NetworkSpecifier createNetworkSpecifier(int clientId, int role, int sessionId, argument 412 Log.v(TAG, "createNetworkSpecifier: role=" + role + ", sessionId=" + sessionId 418 if (role != WIFI_AWARE_DATA_PATH_ROLE_INITIATOR 419 && role != WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { 421 "createNetworkSpecifier: Invalid 'role' argument when creating a network " 424 if (role == WIFI_AWARE_DATA_PATH_ROLE_INITIATOR || !WifiAwareUtils.isLegacyVersion(mContext, 435 role, 446 createNetworkSpecifier(int clientId, @DataPathRole int role, @NonNull byte[] peer, @Nullable byte[] pmk, @Nullable String passphrase) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealthAppConfiguration.java | 36 * Constructor to register the SINK role 54 * @param role {@link BluetoothHealth#SOURCE_ROLE} or {@link BluetoothHealth#SINK_ROLE} 57 BluetoothHealthAppConfiguration(String name, int dataType, int role, int argument 61 mRole = role; 118 * Return the role associated with this application configuration. 143 int role = in.readInt(); 145 return new BluetoothHealthAppConfiguration(name, type, role,
|
H A D | BluetoothHealth.java | 38 * <p> How to connect to a health device which is acting in the source role. 139 * @param dataType The dataType of the Source role of Health Profile to which the sink wants to 156 * SOURCE role.This is an asynchronous call and so 162 * @param dataType The dataType of the Source role of Health Profile. 169 public boolean registerAppConfiguration(String name, int dataType, int role, argument 172 if (!isEnabled() || !checkAppParam(name, role, channelType, callback)) return result; 177 new BluetoothHealthAppConfiguration(name, dataType, role, channelType); 556 private boolean checkAppParam(String name, int role, int channelType, argument 558 if (name == null || (role != SOURCE_ROLE && role ! [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbPort.java | 80 * Power role: This USB port does not have a power role. 85 * Power role: This USB port can act as a source (provide power). 90 * Power role: This USB port can act as a sink (receive power). 95 * Power role: This USB port does not have a data role. 100 * Data role: This USB port can act as a host (access data services). 105 * Data role: This USB port can act as a device (offer data services). 111 * Points to the first power role in the IUsb HAL. 144 * Combines one power and one data role togethe 191 powerRoleToString(int role) argument 205 dataRoleToString(int role) argument [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | IOProfile.h | 36 IOProfile(const String8 &name, audio_port_role_t role) argument 37 : AudioPort(name, AUDIO_PORT_TYPE_MIX, role), 38 maxOpenCount((role == AUDIO_PORT_ROLE_SOURCE) ? 1 : 0),
|
H A D | ConfigParsingUtils.h | 47 static status_t loadHwModuleProfile(cnode *root, sp<HwModule> &module, audio_port_role_t role);
|
H A D | AudioPort.h | 39 AudioPort(const String8& name, audio_port_type_t type, audio_port_role_t role) : argument 40 mName(name), mType(type), mRole(role), mFlags(AUDIO_OUTPUT_FLAG_NONE) {}
|
H A D | Serializer.h | 93 static const char role[]; member in struct:android::MixPortTraits::Attributes 119 static const char role[]; /**< <device role: sink or source>. */ member in struct:android::DevicePortTraits::Attributes 120 static const char roleSource[]; /**< <attribute role source value>. */
|
/frameworks/av/services/audiopolicy/tests/ |
H A D | audiopolicymanager_tests.cpp | 153 patch.sources[0].role = AUDIO_PORT_ROLE_SINK; 155 patch.sinks[0].role = AUDIO_PORT_ROLE_SINK; 159 patch.sources[0].role = AUDIO_PORT_ROLE_SOURCE; 161 patch.sinks[0].role = AUDIO_PORT_ROLE_SOURCE; 176 src.role = AUDIO_PORT_ROLE_SOURCE; 187 sink.role = AUDIO_PORT_ROLE_SINK;
|
/frameworks/av/media/libstagefright/ |
H A D | OmxInfoBuilder.cpp | 145 for (const IOmxStore::RoleInfo& role : roles) { 146 const hidl_string& typeName = role.type; 147 bool isEncoder = role.isEncoder; 148 bool preferPlatformNodes = role.preferPlatformNodes; 151 // that need to be added after software nodes for the same role. 153 for (const IOmxStore::NodeInfo& node : role.nodes) {
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
H A D | OMXUtils.h | 42 status_t SetComponentRole(const sp<IOMXNode> &omxNode, const char *role);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | Serializer.cpp | 218 const char MixPortTraits::Attributes::role[] = "role"; member in class:android::MixPortTraits::Attributes 232 string role = getXmlAttribute(child, Attributes::role); local 233 if (role.empty()) { 234 ALOGE("%s: No %s found", __FUNCTION__, Attributes::role); 237 ALOGV("%s: Role=%s", __FUNCTION__, role.c_str()); 238 audio_port_role_t portRole = role == "source" ? AUDIO_PORT_ROLE_SOURCE : AUDIO_PORT_ROLE_SINK; 256 // Source role 260 // Sink role 285 const char DevicePortTraits::Attributes::role[] = "role"; member in class:android::DevicePortTraits::Attributes 304 string role = getXmlAttribute(root, Attributes::role); local [all...] |
H A D | ConfigParsingUtils.cpp | 151 audio_port_role_t role) 155 sp<IOProfile> profile = new IOProfile(String8(root->name), role); 171 if (role == AUDIO_PORT_ROLE_SINK) { 181 if (role == AUDIO_PORT_ROLE_SINK) { 210 role == AUDIO_PORT_ROLE_SINK ? "Input" : "Output"); 213 role == AUDIO_PORT_ROLE_SINK ? "Input" : "Output", 150 loadHwModuleProfile(cnode *root, sp<HwModule> &module, audio_port_role_t role) argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
H A D | PanProfile.java | 165 void setLocalRole(BluetoothDevice device, int role) { argument 166 mDeviceRoleMap.put(device, role);
|
/frameworks/av/media/libstagefright/codecs/on2/enc/ |
H A D | SoftVPXEncoder.h | 67 const char* role,
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | OMXHarness.h | 65 status_t setRole(const char *role);
|
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
H A D | WifiAwareManagerTest.java | 912 final int role = WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER; 953 collector.checkThat("role", role, equalTo(ns.role)); 963 collector.checkThat("role", role, equalTo(ns.role)); 974 collector.checkThat("role", role, equalTo(ns.role)); [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | BluetoothTestUtils.java | 271 public ConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) { argument 274 mRole = role; 1086 int mask, role; 1093 role = BluetoothPan.LOCAL_PANU_ROLE; 1097 role = BluetoothPan.LOCAL_NAP_ROLE; 1110 ConnectPanReceiver receiver = getConnectPanReceiver(device, role, mask); 1123 if (role == BluetoothPan.LOCAL_PANU_ROLE) { 1191 int mask, role; 1198 role = BluetoothPan.LOCAL_PANU_ROLE; 1202 role 1414 getConnectPanReceiver(BluetoothDevice device, int role, int expectedFlags) argument [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbPortManager.java | 76 // All non-trivial role combinations. 181 // Check whether the new role is actually supported. 184 + "role combination: portId=" + portId 220 logAndPrint(Log.ERROR, pw, "Found mismatch in supported USB role combinations " 221 + "while attempting to change role: " + portInfo 231 logAndPrint(Log.INFO, pw, "Setting USB port mode and role: portId=" + portId 260 newRole.role = newMode; 266 + ", newMode=" + UsbPort.modeToString(newRole.role), e); 269 // Change power and data role independently as needed. 273 newRole.role 489 notifyRoleSwitchStatus(String portName, PortRole role, int retval) argument [all...] |