Home
last modified time | relevance | path

Searched refs:radio (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/
DRadioGroupPreCheckedTest.java38 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_one); in testRadioButtonPreChecked() local
39 assertTrue("The first radio button should be checked", radio.isChecked()); in testRadioButtonPreChecked()
50 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_two); in testRadioButtonChangePreChecked() local
51 TouchUtils.clickView(this, radio); in testRadioButtonChangePreChecked()
56 assertTrue("The second radio button should be checked", radio.isChecked()); in testRadioButtonChangePreChecked()
/frameworks/base/docs/html/training/efficient-downloads/
Dconnectivity_patterns.jd28 …does the Wi-Fi radio use significantly less battery than its wireless radio counterparts, but the …
32 <p>In most cases a Wi-Fi radio will offer greater bandwidth at a significantly lower battery cost. …
38 <p>When connected over a wireless radio, higher bandwidth generally comes at the price of higher ba…
40 <p>This means that while the underlying radio state machine varies based on the radio technology, g…
42 …e battery cost is relatively higher, it's also more efficient to keep the radio active for longer …
44 <p>For example, if an LTE radio is has double the bandwidth and double the energy cost of 3G, you s…
46 <p>You can use the connectivity manager to determine the active wireless radio, and modify your pre…
Defficient-network-access.jd16 <li><a href="#RadioStateMachine">Understand the radio state machine</a></li>
17 <li><a href="#AppsStateMachine">Understand how apps can impact the radio state machine</a></li>
32radio to transfer data is potentially one of your app's most significant sources of battery drain.…
34 <p>This lesson introduces the wireless radio state machine and explains how your app's connectivity…
38radio consumes significant power, so it transitions between different energy states in order to co…
40 <p>The state machine for a typical 3G network radio consists of three energy states:
48 …one the transition to lower energy states. Figure 1 uses AT&T's timings for a typical 3G radio.</p>
51 <p class="img-caption"><strong>Figure 1.</strong> Typical 3G wireless radio state machine.</p>
53radio state machine on each device, particularly the associated transition delay ("tail time") and…
55radio, based on <a href="http://www.research.att.com/articles/featured_stories/2011_03/201102_Ener…
[all …]
Dindex.jd28 …ife impact of downloads and network connections, particularly in relation to the wireless radio.</P
30 …and prefetching. You will learn how the power-use profile of the wireless radio can affect your ch…
40 …<dd>This lesson introduces the wireless radio state machine, explains how your app’s connectivity …
43 …best mitigate the effect of background updates on the underlying wireless radio state machine.</dd>
49 …does the Wi-Fi radio use significantly less battery than its wireless radio counterparts, but the …
Dregular_updates.jd35 … best mitigate the effect of background updates on the underlying wireless radio state machine.</p>
39 … your server to check if an update is required, you activate the wireless radio, drawing power unn…
63 …simultaneously, allowing each update to piggyback on top of a single active radio state change.</p>
/frameworks/base/core/java/android/net/
DNetworkConfig.java40 public int radio; field in NetworkConfig
68 radio = Integer.parseInt(fragments[2]); in NetworkConfig()
78 return (type == radio); in isDefault()
/frameworks/base/docs/html/guide/topics/ui/controls/
Dradiobutton.jd21 <p>Radio buttons allow the user to select one option from a set. You should use radio buttons for
28 <p>To create each radio button option, create a {@link android.widget.RadioButton} in your layout.
29 However, because radio buttons are mutually exclusive, you must group them together inside a
31 radio button can be selected at a time.</p>
35 <p>When the user selects one of the radio buttons, the corresponding {@link
70 click event for both radio buttons:</p>
77 // Check which radio button was clicked
100 <p class="note"><strong>Tip:</strong> If you need to change the radio button state
Dcheckbox.jd98 <p class="note"><strong>Tip:</strong> If you need to change the radio button state
/frameworks/base/docs/html/design/building-blocks/
Dswitches.jd4 <p>Switches allow the user to select options. There are three kinds of switches: checkboxes, radio
13 <h2 id="radio-buttons">Radio Buttons</h2>
15 <p>Radio buttons allow the user to select one option from a set. Use radio buttons for exclusive
Ddialogs.jd21 sliders, text fields, checkboxes, or radio buttons that allow the user to change app or system
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DEventLogTags.logtags9 # packet count that triggers a countdown to radio restart
30 # Suspicious status of data connection while radio poweroff
42 # GSM radio access technology switched
/frameworks/native/cmds/dumpstate/
Ddumpstate.c50 char radio[PROPERTY_VALUE_MAX], bootloader[PROPERTY_VALUE_MAX]; in dumpstate() local
57 property_get("ro.baseband", radio, "(unknown)"); in dumpstate()
70 printf("Radio: %s\n", radio); in dumpstate()
/frameworks/base/docs/html/tools/debugging/
Dindex.jd143 radio state</strong>.</dd>
151 <dt><strong>Log radio data</strong></dt>
152 <dd>By default, radio information is not logged to the system (it is a lot of
153 data). However, you can enable radio logging using the following commands:
157 logcat -b radio
Ddebugging-log.jd265 <li><code>radio</code> &mdash; View the buffer that contains radio/telephony related
278 <p>Here's an example of how to view a log buffer containing radio and telephony messages:</p>
280 adb logcat -b radio
/frameworks/base/docs/html/distribute/googleplay/promote/
Dbadges.jd84 var selectedValue = lang + $('form input[type=radio]:checked').val();
323 <input type="radio" name="buttonStyle" value="_app_rgb_wo_45" id="ws" />
327 <input type="radio" name="buttonStyle" value="_app_rgb_wo_60" id="wm" />
333 <input type="radio" name="buttonStyle" value="_generic_rgb_wo_45" id="ns" checked="checked" />
337 <input type="radio" name="buttonStyle" value="_generic_rgb_wo_60" id="nm" />
/frameworks/base/docs/html/guide/topics/connectivity/
Dindex.jd29 the wireless radio can affect your choices on when, what, and how to transfer data in order to
/frameworks/base/docs/html/tools/help/
Dlogcat.jd49 <code>radio</code>. The <code>main</code> buffer is used by default. See <a href=
Demulator.jd333 <td><code>-radio &lt;device&gt;</code></td>
334 <td>Redirect radio modem interface to a host character device.</td>
446 <td><code>-radio &lt;device&gt;</code></td>
447 <td>Redirect radio mode to the specified character device.</td>
/frameworks/base/docs/html/tools/workflow/publishing/
Dpublishing.jd532 var selectedValue = $('form input[type=radio]:checked').val();
634 …<input type="radio" name="buttonStyle" value="get_it_on_play_logo_small" id="ns" checked="checked"…
638 <input type="radio" name="buttonStyle" value="get_it_on_play_logo_large" id="nm" />
644 <input type="radio" name="buttonStyle" value="android_app_on_play_logo_small" id="ws" />
648 <input type="radio" name="buttonStyle" value="android_app_on_play_logo_large" id="wm" />
/frameworks/base/docs/html/guide/topics/ui/
Ddialogs.jd271 <li>A persistent single-choice list (radio buttons)</li>
322 single-choice items (radio buttons), use the
375 <p>Although both a traditional list and a list with radio buttons
380 then you create a list with radio buttons.</p>
772 when the list uses radio buttons or checkboxes. Otherwise, you can manually dismiss your dialog
Dmenus.jd875 stand-alone options, or radio buttons for groups of
876 mutually exclusive options. Figure 5 shows a submenu with items that are checkable with radio
880 display a checkbox or radio button. If you choose to make items in the Icon Menu checkable,
887 example, all items in this menu group are checkable with a radio button:</p>
904 <dd>Only one item from the group can be checked (radio buttons)</dd>
917 is here that you must set the state of the checkbox, because a checkbox or radio button does not
938 radio button) will not
/frameworks/base/docs/html/guide/practices/
Dseamlessness.jd235 radio; that's why it's important to write your applications to do as little
240 code</a>. To minimize the power drain from using the radio, be sure to handle
/frameworks/base/docs/html/guide/practices/app-design/
Dseamlessness.jd235 radio; that's why it's important to write your applications to do as little
240 code</a>. To minimize the power drain from using the radio, be sure to handle
/frameworks/base/services/java/com/android/server/
DConnectivityService.java452 if (mRadioAttributes[n.radio] == null) { in ConnectivityService()
454 "radio " + n.radio + " in network type " + n.type); in ConnectivityService()
575 switch (config.radio) { in createTracker()
591 + config.radio); in createTracker()
/frameworks/base/docs/html/guide/topics/manifest/
Duses-feature-element.jd552 <td>The application uses Bluetooth radio features in the device.</td>
616 <td>The application uses Near Field Communications radio features in the device.</td>
690 radio with data communication services.</td>
695 <td>Subfeature. The application uses CDMA telephony radio features on the
703 <td>Subfeature. The application uses GSM telephony radio features on the

12