/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | TelephonyDevController.java | 147 private static void updateOrInsert(HardwareConfig hw, ArrayList<HardwareConfig> list) { argument 151 size = list.size(); 153 item = list.get(i); 156 list.remove(i); 160 list.add(hw); 315 if (DBG) logd("getAllModems: empty list."); 333 if (DBG) logd("getAllSims: empty list.");
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | OpReorderer.java | 37 // we push them to the end of the list so that they can be handled easily. 44 private void swapMoveOp(List<UpdateOp> list, int badMove, int next) { argument 45 final UpdateOp moveOp = list.get(badMove); 46 final UpdateOp nextOp = list.get(next); 49 swapMoveRemove(list, badMove, moveOp, next, nextOp); 52 swapMoveAdd(list, badMove, moveOp, next, nextOp); 55 swapMoveUpdate(list, badMove, moveOp, next, nextOp); 60 void swapMoveRemove(List<UpdateOp> list, int movePos, UpdateOp moveOp, argument 90 list.remove(removePos); 109 list 159 swapMoveAdd(List<UpdateOp> list, int move, UpdateOp moveOp, int add, UpdateOp addOp) argument 180 swapMoveUpdate(List<UpdateOp> list, int move, UpdateOp moveOp, int update, UpdateOp updateOp) argument 216 getLastMoveOutOfOrder(List<UpdateOp> list) argument [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | TtsEngines.java | 53 * Support class for querying the list of available engines 155 * Gets a list of all installed TTS engines. 157 * @return A list of engine info objects. The list can be empty, but never {@code null}. 491 * Parses a comma separated list of engine locale preferences. The list is of the 493 * so forth. Returns null if the list is empty, malformed or if there is no engine 494 * specific preference in the list. 538 * Updates the value for a given key in a comma separated list of key value pairs, 540 * the kay value pair are appended to the end of the list 542 updateValueInCommaSeparatedList(String list, String key, String newValue) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | EventLog.java | 191 * @param list A list of values to log 194 public static native int writeEvent(int tag, Object... list); argument
|
H A D | PathParser.java | 58 ArrayList<PathDataNode> list = new ArrayList<PathDataNode>(); 64 addNode(list, s.charAt(0), val); 71 addNode(list, pathData.charAt(start), new float[0]); 73 return list.toArray(new PathDataNode[list.size()]); 148 private static void addNode(ArrayList<PathDataNode> list, char cmd, float[] val) { argument 149 list.add(new PathDataNode(cmd, val)); 163 * @param s the string containing a command and list of floats
|
/frameworks/base/core/jni/ |
H A D | android_hardware_location_ActivityRecognitionHardware.cpp | 213 char const* const* list = NULL; local 214 int list_size = sModule->get_supported_activities_list(sModule, &list); 215 if (list_size <= 0 || list == NULL) { 232 const char* string_ptr = const_cast<const char*>(list[i]);
|
H A D | android_os_SELinux.cpp | 269 * Purpose: Gets a list of the SELinux boolean names. 280 char **list; local 282 if (security_get_boolean_names(&list, &len) == -1) { 289 ScopedLocalRef<jstring> obj(env, env->NewStringUTF(list[i])); 291 free(list[i]); 293 free(list);
|
H A D | android_hardware_SensorManager.cpp | 97 Sensor const* const list = sensorList[next]; local 99 jstring name = env->NewStringUTF(list->getName().string()); 100 jstring vendor = env->NewStringUTF(list->getVendor().string()); 101 jstring stringType = env->NewStringUTF(list->getStringType().string()); 102 jstring requiredPermission = env->NewStringUTF(list->getRequiredPermission().string()); 105 env->SetIntField(sensor, sensorOffsets.version, list->getVersion()); 106 env->SetIntField(sensor, sensorOffsets.handle, list->getHandle()); 107 env->SetIntField(sensor, sensorOffsets.type, list->getType()); 108 env->SetFloatField(sensor, sensorOffsets.range, list->getMaxValue()); 109 env->SetFloatField(sensor, sensorOffsets.resolution, list [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | AidlTest.java | 113 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/core/tests/inputmethodtests/src/android/os/ |
H A D | InputMethodTest.java | 173 private static List<InputMethodInfo> cloneViaParcel(final List<InputMethodInfo> list) { argument 177 p.writeTypedList(list);
|
/frameworks/base/native/android/ |
H A D | sensor.cpp | 47 ASensorList* list) 51 if (list) { 52 *list = reinterpret_cast<ASensorList>(l); 46 ASensorManager_getSensorList(ASensorManager* manager, ASensorList* list) argument
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HotplugDetectionAction.java | 197 private static BitSet addressListToBitSet(List<Integer> list) { argument 199 for (Integer value : list) {
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
H A D | MemoryUsageTest.java | 49 * apps - A list of applications to start and their corresponding result keys 118 private Map<String, String> parseListToMap(String list) { argument 120 String names[] = list.split("\\|"); 281 + " not found in process list, most likely it is crashed");
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 346 hwc_display_contents_1_t *list; local 348 if ((list = (hwc_display_contents_1_t *) calloc(1, size)) == NULL) { 349 testPrintE("Allocate list failed"); 352 list->flags = HWC_GEOMETRY_CHANGED; 353 list->numHwLayers = numFrames; 355 hwc_layer_1_t *layer = &list->hwLayers[0]; 384 if (verbose) { testPrintI("Prepare:"); hwcTestDisplayList(list); } 385 hwcDevice->prepare(hwcDevice, 1, &list); 388 hwcTestDisplayListPrepareModifiable(list); 392 list [all...] |
H A D | hwcRects.cpp | 58 * Constructs a Hardware Composer (HWC) list of frames from 80 * a list of attributes and the format of their expected value. 91 #include <list> 164 list<Rectangle> rectangle; 194 * 5. Create HWC list from frame descriptions 196 * 6. Have HWC render the list description of the frames 300 // Add to the list of rectangles 308 // Create list of frames 309 hwc_display_contents_1_t *list; local 310 list [all...] |
H A D | hwcStress.cpp | 220 * b. Create a HWC list with room to specify a prandomly 225 * of the layers in the HWC list. 227 * d. Prandomly fill in the HWC list with handles 230 * e. Pass the populated list to the HWC prepare call. 232 * f. Pass the populated list to the HWC set call. 411 hwc_display_contents_1_t *list; local 412 list = hwcTestCreateLayerList(testRandMod(frames.size()) + 1); 413 if (list == NULL) { 420 selectedFrames = vectorRandSelect(frames, list->numHwLayers); 427 for (unsigned int n1 = 0; n1 < list [all...] |
/frameworks/opt/net/wifi/service/lib/ |
H A D | wifi_hal.cpp | 33 wifi_error wifi_get_supported_channels(wifi_handle handle, int *size, wifi_channel *list) { argument
|
/frameworks/support/v4/api21/android/support/v4/app/ |
H A D | FragmentTransitionCompat21.java | 87 * Prepares the enter transition by adding a non-existent view to the transition's target list 88 * and setting it epicenter callback. By adding a non-existent view to the target list, 91 * views will appear. At the start of the transition, we clear the list of targets so that 313 * The views list should match those added in addTargets and should contain 341 * when they are removed later, a list match will suffice to remove the targets. 372 private static boolean isNullOrEmpty(List list) { argument 373 return list == null || list.isEmpty();
|
/frameworks/av/media/libstagefright/ |
H A D | OMXClient.cpp | 44 virtual status_t listNodes(List<ComponentInfo> *list); 199 status_t MuxOMX::listNodes(List<ComponentInfo> *list) { argument 206 return mLocalOMX->listNodes(list);
|
H A D | NuCachedSource2.cpp | 61 void freePages(List<Page *> *list); 76 void PageCache::freePages(List<Page *> *list) { argument 77 List<Page *>::iterator it = list->begin(); 78 while (it != list->end()) {
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.h | 97 // commits the list 109 // create a work list for numLayers layer. sets HWC_GEOMETRY_CHANGED. 179 * Interface used to implement an iterator to a list 195 * Iterator through a HWCLayer list. 238 // Returns an iterator to the beginning of the layer list 241 // Returns an iterator to the end of the layer list 336 hwc_display_contents_1* list; member in struct:android::HWComposer::DisplayData
|
/frameworks/av/media/libmedia/ |
H A D | IOMX.cpp | 76 virtual status_t listNodes(List<ComponentInfo> *list) { argument 77 list->clear(); 85 list->push_back(ComponentInfo()); 86 ComponentInfo &info = *--list->end(); 543 List<ComponentInfo> list; local 544 listNodes(&list); 546 reply->writeInt32(list.size()); 547 for (List<ComponentInfo>::iterator it = list.begin(); 548 it != list.end(); ++it) {
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMX.cpp | 194 status_t OMX::listNodes(List<ComponentInfo> *list) { argument 195 list->clear(); 201 list->push_back(ComponentInfo()); 202 ComponentInfo &info = *--list->end();
|
/frameworks/base/media/java/android/media/browse/ |
H A D | MediaBrowser.java | 293 * The list of subscriptions is maintained even when not connected and is 301 * @param parentId The id of the parent media item whose list of children 303 * @param callback The callback to receive the list of children. 343 * @param parentId The id of the parent media item whose list of children 352 // Remove from our list. 455 final String parentId, final ParceledListSlice list) { 465 List<MediaItem> data = list.getList(); 673 * Called when the list of children is loaded or updated. 810 public void onLoadChildren(final String parentId, final ParceledListSlice list) { argument 813 mediaBrowser.onLoadChildren(this, parentId, list); 454 onLoadChildren(final IMediaBrowserServiceCallbacks callback, final String parentId, final ParceledListSlice list) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 104 public CommandQueue(Callbacks callbacks, StatusBarIconList list) { argument 106 mList = list;
|