/external/chromium_org/mojo/public/cpp/bindings/tests/ |
request_response_unittest.cc | 16 class ProviderImpl : public InterfaceImpl<sample::Provider> { 44 virtual void EchoEnum(sample::Enum a, 45 const Callback<void(sample::Enum)>& callback) 67 explicit EnumRecorder(sample::Enum* value) : value_(value) { 69 void Run(sample::Enum a) const { 73 sample::Enum* value_; 103 sample::ProviderPtr provider; 115 sample::ProviderPtr provider; 128 sample::ProviderPtr provider; 144 sample::ProviderPtr provider [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/ |
android_ds2784_power_monitor.py | 73 def ParseSample(sample): 74 values = [float(x) for x in sample.split(' ')] 81 # The output contains a sample per line. 83 # Keep track of the last sample that found an updated reading. 88 for sample in samples: 89 if sample['charge_nah'] != last_updated_sample['charge_nah']: 90 charge_difference_nah = (sample['charge_nah'] - 93 voltage_sum_uv += sample['voltage_uv'] 98 last_updated_sample = sample 102 voltage_sum_uv += sample['voltage_uv' [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
SampleTableBox.java | 22 * The sample table contains all the time and data indexing of the media samples in a track. Using the tables 25 * If the track that contains the Sample Table Box references no data, then the Sample Table Box does not need 27 * If the track that the Sample Table Box is contained in does reference data, then the following sub-boxes are 28 * required: Sample Description, Sample Size, Sample To Chunk, and Chunk Offset. Further, the Sample 29 * Description Box shall contain at least one entry. A Sample Description Box is required because it contains the 31 * Without the Sample Description, it is not possible to determine where the media samples are stored. The Syn [all...] |
/external/oprofile/daemon/ |
opd_sfile.h | 3 * Management of sample files 31 * Each set of sample files (where a set is over the physical counter 33 * descriptions here to find which sample DB file we need to modify. 63 /** opened sample files */ 65 /** extended sample files */ 67 /** hash table of opened cg sample files */ 87 /** sync sample files */ 90 /** close sample files */ 109 /** Log the sample in a previously located sfile. */
|
/developers/samples/android/wearable/wear/SkeletonWearableApp/ |
template-params.xml | 20 <sample> 34 This sample is a mostly empty wearable app that implements a fullscreen activity 35 conforming to Android Wear best practices. Included in the sample are examples of GridViewPager, 37 their wearable app can use this sample as a starting point. 47 </sample>
|
/external/chromium_org/media/formats/mp4/ |
sample_to_group_iterator_unittest.cc | 21 // Build sample group description index table from kSampleToGroupTable. 54 for (uint32 sample = 1; sample < sample_to_group_table_.size(); ++sample) { 56 ASSERT_EQ(sample_to_group_table_[sample],
|
/external/chromium_org/mojo/apps/js/bindings/ |
sample_service_unittests.js | 12 ], function(console, hexdump, expect, sample, imported, imported2) { 20 var bar = new sample.Bar(); 24 bar.type = sample.Bar.Type.TYPE_VERTICAL; 30 sample.Bar.Type.TYPE_VERTICAL : sample.Bar.Type.TYPE_HORIZONTAL; 31 extra_bars[i] = new sample.Bar(); 45 var foo = new sample.Foo(); 70 expect(foo.bar.type).toBe(sample.Bar.Type.TYPE_VERTICAL); 76 sample.Bar.Type.TYPE_VERTICAL : sample.Bar.Type.TYPE_HORIZONTAL [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_kernel.h | 38 * opd_handle_kernel_sample - process a kernel sample 39 * @param eip EIP value of sample 42 * Handle a sample in kernel address space or in a module. The sample is 48 * opd_eip_is_kernel - is the sample from kernel/module space
|
/external/oprofile/libpp/ |
parse_filename.h | 3 * Split a sample filename into its constituent parts 25 /// destination image for call graph file, empty if this sample 39 * the original sample filename from which the 52 * parse a sample filename 53 * @param filename in: a sample filename
|
/frameworks/av/include/cpustats/ |
ThreadCpuUsage.h | 32 // to demarcate the region(s) of interest, and then call sample() periodically. 74 // Add a sample point, and also enable tracking if needed. 76 // does _not_ add a sample -- it is not possible to add a sample the 79 // then adds a sample for tracked CPU ns since the previous 80 // sample, or since the first call to sampleAndEnable(), enable(), or 81 // setEnabled(true). If there was a previous sample but tracking is 82 // now disabled, then adds a sample for the tracked CPU ns accumulated 85 // by sample() avoids a race condition for the first sample [all...] |
/external/chromium_org/net/disk_cache/blockfile/ |
histogram_macros.h | 21 #define CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ 26 counter->Add(sample); \ 29 #define CACHE_HISTOGRAM_COUNTS(name, sample) CACHE_HISTOGRAM_CUSTOM_COUNTS( \ 30 name, sample, 1, 1000000, 50) 32 #define CACHE_HISTOGRAM_COUNTS_10000(name, sample) \ 33 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50) 35 #define CACHE_HISTOGRAM_COUNTS_50000(name, sample) \ 36 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 50000000, 50) 38 #define CACHE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ 43 counter->AddTime(sample); \ [all...] |
histogram_macros_v3.h | 20 #define CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, min, max, bucket_count) \ 27 counter->Add(sample); \ 30 #define CACHE_HISTOGRAM_COUNTS(name, sample) CACHE_HISTOGRAM_CUSTOM_COUNTS( \ 31 name, sample, 1, 1000000, 50) 33 #define CACHE_HISTOGRAM_COUNTS_10000(name, sample) \ 34 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 10000, 50) 36 #define CACHE_HISTOGRAM_COUNTS_50000(name, sample) \ 37 CACHE_HISTOGRAM_CUSTOM_COUNTS(name, sample, 1, 50000000, 50) 39 #define CACHE_HISTOGRAM_CUSTOM_TIMES(name, sample, min, max, bucket_count) \ 46 counter->AddTime(sample); \ [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
builtin-timechart.c | 235 struct cpu_sample *sample; local 247 sample = zalloc(sizeof(*sample)); 248 assert(sample != NULL); 249 sample->start_time = start; 250 sample->end_time = end; 251 sample->type = type; 252 sample->next = c->samples; 253 sample->cpu = cpu; 254 c->samples = sample; 757 struct cpu_sample *sample; local 779 struct cpu_sample *sample; local [all...] |
/developers/samples/android/media/Camera2Video/ |
template-params.xml | 18 <sample> 29 This sample demonstrates how to record video using Camera2 API. 36 </sample>
|
/developers/samples/android/ui/notifications/CustomNotifications/ |
template-params.xml | 17 <sample> 28 This sample demonstrates notifications with custom content views. 35 </sample>
|
/development/samples/SpellChecker/SampleSpellCheckerService/res/values/ |
strings.xml | 21 <string name="spellchecker_name">Sample correction</string> 23 <string name="sample_settings">Sample settings</string> 24 <string name="sample_preference">Sample preference</string>
|
/development/samples/ToyVpn/ |
_index.html | 1 <p>ToyVPN is a sample application that shows how to build a VPN client using the <a href="../../../reference/android/net/VpnService.html">VpnService</a> class introduced in API level 14.</p> 3 <p>This application consists of an Android client and a sample implementation of a server. It performs IP over UDP and is capable of doing seamless handover between different networks as long as it receives the same VPN parameters.</p> 5 <p>The sample code of the server-side implementation is Linux-specific and is available in the <code>server</code> directory. To run the server or port it to another platform, please see comments in the code for the details.</p>
|
/development/samples/browseable/BasicMediaRouter/ |
_index.jd | 5 sample.group=Media 8 <p>This sample demonstrates how to use the {@link android.media.MediaRouter} 10 <p>To see this in action, run the sample and use the
|
/development/samples/browseable/BasicSyncAdapter/ |
_index.jd | 5 sample.group=Connectivity 8 <p>This sample demonstrates how to implement a sync adapter to fetch background 11 <p>The sample periodically downloads the feed from the <a href="http://android-developers.blogspot.com/">Android Developers Blog</a> and caches the data in a content provider. At runtime, the cached feed data is
|
/development/samples/browseable/DisplayingBitmaps/ |
_index.jd | 5 sample.group=UI 8 <p>This is a sample application for the 13 The sample demonstrates:
|
/development/samples/training/multiscreen/newsreader/ |
_index.html | 1 <p>A sample app demonstrating best practices to support multiple screen sizes and densities.</p> 2 <p>This sample is a companion to the Training class about <a 6 <p class="note"><strong>Note:</strong> This sample uses the Android Support Library. To build the
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/extension/isAllowedAccess/ |
popup.html | 9 <title>extension.isAllowedAccess Sample</title> 10 <link rel="stylesheet" href="./sample.css"> 13 <h1>extension.isAllowedAccess Sample</h1>
|
/external/chromium_org/ppapi/cpp/private/ |
uma_private.h | 26 int64_t sample, 32 int32_t sample, 38 int32_t sample,
|
/external/chromium_org/ppapi/thunk/ |
ppb_uma_singleton_api.h | 20 int64_t sample, 27 int32_t sample, 34 int32_t sample,
|
/external/chromium_org/third_party/webrtc/base/ |
rollingaccumulator.h | 53 void AddSample(T sample) { 55 // Remove oldest sample. 69 // Add new sample. 70 samples_[next_index_] = sample; 71 sum_ += sample; 72 sum_2_ += sample * sample; 73 if (count_ == 1 || sample >= max_) { 74 max_ = sample; 77 if (count_ == 1 || sample <= min_) [all...] |