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

123

/frameworks/base/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 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);
H A DSensorDevice.cpp118 sensor_t const* list; local
119 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list);
123 mActivationCount.add(list[i].handle, model);
124 mSensorDevice->activate(mSensorDevice, list[i].handle, 0);
133 sensor_t const* list; local
134 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, &list);
141 const Info& info = mActivationCount.valueFor(list[i].handle);
143 list[i].handle,
157 ssize_t SensorDevice::getSensorList(sensor_t const** list) { argument
159 ssize_t count = mSensorModule->get_sensors_list(mSensorModule, list);
[all...]
/frameworks/base/core/java/android/webkit/
H A DCookieSyncManager.java107 * @return A list of Cookie
201 private void syncFromRamToFlash(ArrayList<Cookie> list) { argument
202 Iterator<Cookie> iter = list.iterator();
/frameworks/base/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/base/services/sensorservice/tests/
H A Dsensorservicetest.cpp66 Sensor const* const* list; local
67 ssize_t count = mgr.getSensorList(&list);
/frameworks/compile/linkloader/android/
H A Dlibrsloader.cpp116 char const **list) {
121 symtab->getFuncNameList(size, list);
114 rsloaderGetFuncNameList(RSExecRef object, size_t size, char const **list) argument
/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/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/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());
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->getMinDelay());
/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/utils/
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/base/libs/binder/
H A DIServiceManager.cpp215 Vector<String16> list = listServices(); local
216 const size_t N = list.size();
219 reply->writeString16(list[i]);
/frameworks/base/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_dpb.h80 dpbPicture_t **list; member in struct:__anon872
/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/ui/
H A DKeyboard.cpp176 static int lookupValueByLabel(const char* literal, const KeycodeLabel *list) { argument
177 while (list->literal) {
178 if (strcmp(literal, list->literal) == 0) {
179 return list->value;
181 list++;
183 return list->value;
186 static const char* lookupLabelByValue(int value, const KeycodeLabel *list) { argument
187 while (list->literal) {
188 if (list->value == value) {
189 return list
[all...]
/frameworks/base/opengl/tests/hwc/
H A DhwcColorEquiv.cpp348 hwc_layer_list_t *list; local
350 if ((list = (hwc_layer_list_t *) calloc(1, size)) == NULL) {
351 testPrintE("Allocate list failed");
354 list->flags = HWC_GEOMETRY_CHANGED;
355 list->numHwLayers = numFrames;
357 hwc_layer_t *layer = &list->hwLayers[0];
386 if (verbose) { testPrintI("Prepare:"); hwcTestDisplayList(list); }
387 hwcDevice->prepare(hwcDevice, list);
390 hwcTestDisplayListPrepareModifiable(list);
394 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>
166 list<Rectangle> rectangle;
196 * 5. Create HWC list from frame descriptions
198 * 6. Have HWC render the list description of the frames
302 // Add to the list of rectangles
310 // Create list of frames
311 hwc_layer_list_t *list; local
312 list
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCommandQueue.java95 public CommandQueue(Callbacks callbacks, StatusBarIconList list) { argument
97 mList = list;

Completed in 488 milliseconds

123