Searched defs:list (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/native/services/sensorservice/
H A DCorrectedGyroSensor.cpp32 CorrectedGyroSensor::CorrectedGyroSensor(sensor_t const* list, size_t count) argument
37 if (list[i].type == SENSOR_TYPE_GYROSCOPE) {
38 mGyro = Sensor(list + i);
H A DGravitySensor.cpp32 GravitySensor::GravitySensor(sensor_t const* list, size_t count) argument
37 if (list[i].type == SENSOR_TYPE_ACCELEROMETER) {
38 mAccelerometer = Sensor(list + i);
H A DLinearAccelerationSensor.cpp32 LinearAccelerationSensor::LinearAccelerationSensor(sensor_t const* list, size_t count) argument
34 mGravitySensor(list, count)
H A DSensorDevice.cpp56 sensor_t const* list; local
57 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list);
61 mActivationCount.add(list[i].handle, model);
62 mSensorDevice->activate(mSensorDevice, list[i].handle, 0);
71 sensor_t const* list; local
72 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list);
79 const Info& info = mActivationCount.valueFor(list[i].handle);
81 list[i].handle,
95 ssize_t SensorDevice::getSensorList(sensor_t const** list) { argument
97 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, list);
[all...]
H A DSensorFusion.cpp30 sensor_t const* list; local
31 ssize_t count = mSensorDevice.getSensorList(&list);
34 if (list[i].type == SENSOR_TYPE_ACCELEROMETER) {
35 mAcc = Sensor(list + i);
37 if (list[i].type == SENSOR_TYPE_MAGNETIC_FIELD) {
38 mMag = Sensor(list + i);
40 if (list[i].type == SENSOR_TYPE_GYROSCOPE) {
41 mGyro = Sensor(list + i);
/frameworks/av/media/libmedia/
H A DIMediaDeathNotifier.cpp82 SortedVector< wp<IMediaDeathNotifier> > list; local
86 list = sObitRecipients;
92 size_t count = list.size();
94 sp<IMediaDeathNotifier> notifier = list[iter].promote();
/frameworks/native/services/sensorservice/tests/
H A Dsensorservicetest.cpp66 Sensor const* const* list; local
67 ssize_t count = mgr.getSensorList(&list);
/frameworks/base/media/java/android/media/
H A DMediaInserter.java58 List<ContentValues> list = rowmap.get(tableUri);
59 if (list == null) {
60 list = new ArrayList<ContentValues>();
61 rowmap.put(tableUri, list);
63 list.add(new ContentValues(values));
64 if (list.size() >= mBufferSizePerUri) {
66 flush(tableUri, list);
73 List<ContentValues> list = mRowMap.get(tableUri);
74 flush(tableUri, list);
81 List<ContentValues> list
87 flush(Uri tableUri, List<ContentValues> list) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DParceledListSlice.java26 * written to a list. This is useful for API that sends huge lists across a
81 * Appends a parcel to this list slice.
83 * @param item Parcelable item to append to this list slice
84 * @return true when the list slice is full and should not be appended to
99 * Populates a list and discards the internal state of the
103 * @param list list to insert items from this slice.
106 * @return the last item inserted into the list or null if none.
108 public T populateList(List<T> list, Creator<T> creator) { argument
114 list
[all...]
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pDeviceList.java31 * A class representing a Wi-Fi P2p device list.
117 /** Returns true if any device the list was removed @hide */
118 public boolean remove(WifiP2pDeviceList list) { argument
120 for (WifiP2pDevice d : list.mDevices.values()) {
126 /** Get the list of devices */
/frameworks/compile/linkloader/android/
H A Dlibrsloader.cpp160 char const **list) {
165 symtab->getFuncNameList(size, list);
158 rsloaderGetFuncNameList(RSExecRef object, size_t size, char const **list) argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DVNodeBuilder.java144 private String listToString(List<String> list){ argument
145 int size = list.size();
148 for (String type : list) {
157 return list.get(0);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_dpb.h80 dpbPicture_t **list; member in struct:__anon815
/frameworks/base/core/java/android/app/backup/
H A DFileBackupHelperBase.java109 boolean isKeyInList(String key, String[] list) { argument
110 for (String s: list) {
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp66 Sensor const* const list = sensorList[next]; local
68 jstring name = env->NewStringUTF(list->getName().string());
69 jstring vendor = env->NewStringUTF(list->getVendor().string());
72 env->SetIntField(sensor, sensorOffsets.version, list->getVersion());
73 env->SetIntField(sensor, sensorOffsets.handle, list->getHandle());
74 env->SetIntField(sensor, sensorOffsets.type, list->getType());
75 env->SetFloatField(sensor, sensorOffsets.range, list->getMaxValue());
76 env->SetFloatField(sensor, sensorOffsets.resolution, list->getResolution());
77 env->SetFloatField(sensor, sensorOffsets.power, list->getPowerUsage());
78 env->SetIntField(sensor, sensorOffsets.minDelay, list
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/
H A DSimpleCursorAdapterTest.java69 ArrayList<ArrayList> list = Lists.newArrayList();
74 list.add(col);
82 return list;
240 private static MatrixCursor createCursor(String[] columns, ArrayList<ArrayList> list) { argument
241 MatrixCursor cursor = new MatrixCursor(columns, list.size());
242 for (ArrayList row : list) {
/frameworks/base/include/androidfw/
H A DAssetDir.h36 * The list of files will be sorted in ascending order by ASCII value.
138 void setFileList(SortedVector<FileInfo>* list) { mFileInfo = list; } argument
/frameworks/native/libs/binder/
H A DIServiceManager.cpp217 Vector<String16> list = listServices(); local
218 const size_t N = list.size();
221 reply->writeString16(list[i]);
/frameworks/base/native/android/
H A Dsensor.cpp47 ASensorList* list)
51 if (list) {
52 *list = reinterpret_cast<ASensorList>(l);
46 ASensorManager_getSensorList(ASensorManager* manager, ASensorList* list) argument
/frameworks/base/core/java/android/speech/tts/
H A DTtsEngines.java49 * Support class for querying the list of available engines
115 * Gets a list of all installed TTS engines.
117 * @return A list of engine info objects. The list can be empty, but never {@code null}.
386 * Parses a comma separated list of engine locale preferences. The list is of the
388 * so forth. Returns null if the list is empty, malformed or if there is no engine
389 * specific preference in the list.
428 * Updates the value for a given key in a comma separated list of key value pairs,
430 * the kay value pair are appended to the end of the list
432 updateValueInCommaSeparatedList(String list, String key, String newValue) argument
[all...]
/frameworks/base/core/java/android/util/
H A DEventLog.java181 * @param list A list of values to log
184 public static native int writeEvent(int tag, Object... list); argument
/frameworks/base/core/tests/coretests/src/android/os/
H A DAidlTest.java113 public TestParcelable listParcelableLonger(List<TestParcelable> list, int index) { argument
114 list.add(list.get(index));
115 return list.get(index);
118 public int listParcelableShorter(List<TestParcelable> list, int index) { argument
119 list.remove(index);
120 return list.size();
241 List<TestParcelable> list = Lists.newArrayList();
242 list.add(new TestParcelable(33, "asdf"));
243 list
[all...]
/frameworks/base/libs/androidfw/
H A DKeyboard.cpp171 static int lookupValueByLabel(const char* literal, const KeycodeLabel *list) { argument
172 while (list->literal) {
173 if (strcmp(literal, list->literal) == 0) {
174 return list->value;
176 list++;
178 return list->value;
181 static const char* lookupLabelByValue(int value, const KeycodeLabel *list) { argument
182 while (list->literal) {
183 if (list->value == value) {
184 return list
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcColorEquiv.cpp347 hwc_display_contents_1_t *list; local
349 if ((list = (hwc_display_contents_1_t *) calloc(1, size)) == NULL) {
350 testPrintE("Allocate list failed");
353 list->flags = HWC_GEOMETRY_CHANGED;
354 list->numHwLayers = numFrames;
356 hwc_layer_1_t *layer = &list->hwLayers[0];
385 if (verbose) { testPrintI("Prepare:"); hwcTestDisplayList(list); }
386 hwcDevice->prepare(hwcDevice, 1, &list);
389 hwcTestDisplayListPrepareModifiable(list);
393 list
[all...]
H A DhwcRects.cpp58 * Constructs a Hardware Composer (HWC) list of frames from
80 * a list of attributes and the format of their expected value.
91 #include <list>
165 list<Rectangle> rectangle;
195 * 5. Create HWC list from frame descriptions
197 * 6. Have HWC render the list description of the frames
301 // Add to the list of rectangles
309 // Create list of frames
310 hwc_display_contents_1_t *list; local
311 list
[all...]

Completed in 214 milliseconds

123