/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | RtpStream.java | 33 * This mode indicates that the stream sends and receives packets at the 34 * same time. This is the initial mode for new streams. 39 * This mode indicates that the stream only sends packets. 44 * This mode indicates that the stream only receives packets. 117 * Returns the current mode. 124 * Changes the current mode. It must be one of {@link #MODE_NORMAL}, 127 * @param mode The mode to change to. 128 * @throws IllegalArgumentException if the mode is invalid. 132 public void setMode(int mode) { argument [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AmrCodec.cpp | 75 // Handle mode-set and octet-align. 76 const char *modes = strcasestr(fmtp, "mode-set="); 82 int mode = c - '0'; local 83 if (mode > mMode) { 84 mMode = mode; 86 mModeSet |= 1 << mode; 95 // TODO: handle mode-change-*.
|
H A D | AudioGroup.cpp | 101 bool set(int mode, int socket, sockaddr_storage *remote, 167 bool AudioStream::set(int mode, int socket, sockaddr_storage *remote, argument 171 if (mode < 0 || mode > LAST_MODE) { 174 mMode = mode; 223 ALOGD("stream[%d] is configured as %s %dkHz %dms mode %d", mSocket, 480 bool setMode(int mode); 628 bool AudioGroup::setMode(int mode) argument 630 if (mode < 0 || mode > LAST_MOD 787 int mode = mGroup->mMode; local 943 add(JNIEnv *env, jobject thiz, jint mode, jint socket, jstring jRemoteAddress, jint remotePort, jstring jCodecSpec, jint dtmfType, jstring opPackageNameStr) argument 1003 int mode = env->GetIntField(thiz, gMode); local 1043 setMode(JNIEnv *env, jobject thiz, jint mode) argument [all...] |
/frameworks/opt/net/wifi/libwifi_hal/ |
H A D | driver_tool.cpp | 35 return true; // HAL doesn't think we need to load firmware for any mode. 59 bool DriverTool::IsFirmwareModeChangeNeeded(int mode) { argument 60 return (wifi_get_fw_path(mode) != nullptr); 63 bool DriverTool::ChangeFirmwareMode(int mode) { argument 64 const char* fwpath = wifi_get_fw_path(mode); 66 return true; // HAL doesn't think we need to load firmware for this mode.
|
/frameworks/opt/net/wifi/libwifi_hal/include/wifi_hal/ |
H A D | driver_tool.h | 44 // the firmware for the provided mode. 45 // |mode| is one of the kFirmwareMode* constants defined above. 47 virtual bool IsFirmwareModeChangeNeeded(int mode); 49 // Change the firmware mode. 50 // |mode| is one of the kFirmwareMode* constants defined above. 52 virtual bool ChangeFirmwareMode(int mode);
|
/frameworks/opt/net/wifi/libwifi_hal/testlib/include/wifi_hal_test/ |
H A D | mock_driver_tool.h | 31 MOCK_METHOD1(ChangeFirmwareMode, bool(int mode));
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | SupplicantStaIfaceHal.java | 1009 * Enable or disable power save mode. 1320 * Set Bt co existense mode. 1322 * @param mode one of the above {@link WifiNative#BLUETOOTH_COEXISTENCE_MODE_DISABLED}, 1327 public boolean setBtCoexistenceMode(int mode) { argument 1329 switch (mode) { 1340 Log.e(TAG, "Invalid Bt Coex mode: " + mode); 1346 private boolean setBtCoexistenceMode(byte mode) { argument 1351 SupplicantStatus status = mISupplicantStaIface.setBtCoexistenceMode(mode); 1360 /** Enable or disable BT coexistence mode [all...] |
H A D | WifiNative.java | 95 * Setup wifi native for Client mode operations. 97 * 1. Starts the Wifi HAL and configures it in client/STA mode. 98 * 2. Setup Wificond to operate in client mode and retrieve the handle to use for client 106 Log.e(mTAG, "Failed to start HAL for client mode"); 113 * Setup wifi native for AP mode operations. 115 * 1. Starts the Wifi HAL and configures it in AP mode. 116 * 2. Setup Wificond to operate in AP mode and retrieve the handle to use for ap operations. 123 Log.e(mTAG, "Failed to start HAL for AP mode"); 130 * Teardown all mode configurations in wifi native. 323 * a power optimized mode (typicall 391 setBluetoothCoexistenceMode(int mode) argument [all...] |
H A D | WifiServiceImpl.java | 174 /* Tracks the persisted states for wi-fi & airplane mode */ 459 Log.d(TAG, "resetting country code because Airplane mode is ON"); 496 final int mode = intent.getIntExtra(EXTRA_WIFI_AP_MODE, 498 handleWifiApStateChange(currState, prevState, errorCode, ifaceName, mode); 515 // If we are already disabled (could be due to airplane mode), avoid changing persist 825 int mode = WifiManager.IFACE_IP_MODE_UNSPECIFIED; 826 SoftApModeConfiguration softApConfig = new SoftApModeConfiguration(mode, wifiConfig); 856 * @param mode new operating mode of the interface 861 public void updateInterfaceIpState(String ifaceName, int mode) { argument 871 updateInterfaceIpStateInternal(String ifaceName, int mode) argument 952 startSoftApInternal(WifiConfiguration wifiConfig, int mode) argument 1007 handleWifiApStateChange( int currentState, int previousState, int errorCode, String ifaceName, int mode) argument [all...] |
H A D | WifiStateMachine.java | 506 /* Set operational mode. CONNECT, SCAN ONLY, SCAN_ONLY with Wi-Fi off mode */ 517 /* Controls suspend mode optimizations 519 * When high perf mode is enabled, suspend mode optimizations are disabled 521 * When high perf mode is disabled, suspend mode optimizations are enabled 523 * Suspend mode optimizations include: 533 /* Enable suspend mode optimizations in the driver */ 735 * screen or due to high perf mode 1734 setOperationalMode(int mode) argument 2809 setWifiApState(int wifiApState, int reason, String ifaceName, int mode) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | SupplicantP2pIfaceHal.java | 525 * Turn on/off power save mode for the interface. 1460 * Send driver command to set Miracast mode. 1462 * @param mode Mode of Miracast. 1465 public boolean setMiracastMode(int mode) { argument 1470 switch (mode) { 1481 "setMiracastMode(" + mode + ")");
|
H A D | WifiP2pNative.java | 199 * Turn on/off power save mode for the interface. 524 * Send driver command to set Miracast mode. 526 * @param mode Mode of Miracast. 531 public void setMiracastMode(int mode) { argument 532 mSupplicantP2pIfaceHal.setMiracastMode(mode);
|
H A D | WifiP2pServiceImpl.java | 101 * Note that the term Wifi when used without a p2p suffix refers to the client mode 491 * on the current mode of operation. 498 * @param int mode of operation 501 public void setMiracastMode(int mode) { argument 504 mP2pStateMachine.sendMessage(SET_MIRACAST_MODE, mode); 1296 if (DBG) logd(getName() + " start listen mode"); 1305 if (DBG) logd(getName() + " stop listen mode"); 1506 if (DBG) logd(getName() + " start listen mode"); 1515 if (DBG) logd(getName() + " stop listen mode"); 2600 // TODO: update UI in appliance mode t [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | InformationElementUtil.java | 843 public static String toString(int mode) { argument 844 switch(mode) {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | TestUtil.java | 78 int mode) { 87 intent.putExtra(WifiManager.EXTRA_WIFI_AP_MODE, mode); 76 sendWifiApStateChanged(BroadcastReceiver broadcastReceiver, Context context, int apState, int previousState, int error, String ifaceName, int mode) argument
|
H A D | WifiStateMachineTest.java | 505 int mode = intent.getIntExtra(EXTRA_WIFI_AP_MODE, WifiManager.IFACE_IP_MODE_UNSPECIFIED); 510 assertEquals(expectedMode, mode); 513 private void loadComponentsInApMode(int mode) throws Exception { argument 514 SoftApModeConfiguration config = new SoftApModeConfiguration(mode, new WifiConfiguration()); 530 // note, this will trigger a mode change when TestLooper is dispatched 539 WIFI_AP_STATE_DISABLED, HOTSPOT_NO_ERROR, WIFI_IFACE_NAME, mode); 541 WIFI_AP_STATE_ENABLING, HOTSPOT_NO_ERROR, WIFI_IFACE_NAME, mode); 543 WIFI_AP_STATE_ENABLED, HOTSPOT_NO_ERROR, WIFI_IFACE_NAME, mode); 545 WIFI_AP_STATE_DISABLING, HOTSPOT_NO_ERROR, WIFI_IFACE_NAME, mode); 625 // But if someone tells us to enter connect mode, w [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
H A D | SupplicantP2pIfaceHalTest.java | 1845 public SupplicantStatus answer(byte mode) { 1846 modes.add(mode); 1859 // Any invalid number yields disabled miracast mode. 2494 * Each of the arguments will cause a different failure mode when set true.
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsCall.java | 345 * @param mode mode of the USSD message (REQUEST / NOTIFY) 349 int mode, String ussdMessage) { 403 * Called when TTY mode of remote party changed 406 * @param mode TTY mode of remote party 408 public void onCallSessionTtyModeReceived(ImsCall call, int mode) { argument 1378 * Updates the current call's properties (ex. call mode change: video upgrade / downgrade). 2810 public void callSessionUssdMessageReceived(ImsCallSession session, int mode, argument 2812 logi("callSessionUssdMessageReceived :: mode 348 onCallUssdMessageReceived(ImsCall call, int mode, String ussdMessage) argument 2837 callSessionTtyModeReceived(ImsCallSession session, int mode) argument [all...] |
H A D | ImsManager.java | 249 // If user changes SIM from editable mode to uneditable mode, need to return true. 266 // If user changes SIM from editable mode to uneditable mode, need to return true. 310 // If false, we must always keep advanced 4G mode set to true (1). 717 // Choose wfc mode per current roaming preference 739 * Non-persistently change WFC enabled setting and WFC mode for slot 1361 int mode = getWfcModeForSlot(isNetworkRoaming); 1367 + ", mode = " + mode [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 992 // If in Rtl mode, the position should be flipped. 1282 /** Returns whether view is in no-chip or chip mode. */ 2333 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument 2338 public void onDestroyActionMode(ActionMode mode) { argument 2342 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument 2350 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument 3359 // Start drag mode.
|
/frameworks/native/cmds/installd/ |
H A D | InstalldNativeService.cpp | 1846 void mkinnerdirs(char* path, int basepos, mode_t mode, int uid, int gid, argument 1854 if (mkdir(path, mode) == 0) {
|
/frameworks/native/cmds/installd/tests/ |
H A D | installd_service_test.cpp | 65 static void mkdir(const char* path, uid_t owner, gid_t group, mode_t mode) { argument 67 ::mkdir(fullPath, mode); 69 ::chmod(fullPath, mode); 72 static void touch(const char* path, uid_t owner, gid_t group, mode_t mode) { argument 74 O_RDWR | O_CREAT, mode); 76 ::fchmod(fd, mode);
|
/frameworks/native/cmds/lshal/ |
H A D | ListCommand.cpp | 473 const std::string mode = "hwbinder"; local 481 mErr << "Error: Failed to list services for " << mode << ": " 536 .transport = mode, 547 .transport = mode,
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
H A D | Replayer.cpp | 500 ALOGV("Layer %d: Setting Override Scaling Mode -- mode=%d", id, osmc.override_scaling_mode()); 682 ALOGV("Updating power mode"); 684 SurfaceComposerClient::setDisplayPowerMode(mDisplays[pmu.id()], pmu.mode());
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
H A D | trace_creator.py | 56 print ("8. Add power mode update") 192 increment.power_mode_update.mode = int(input("Enter mode: ")) 231 mode = input("Enter override scaling mode: ") 233 return int(mode)
|