/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | TelephonyConnectionService.java | 193 Phone getPhone(int index); argument 200 public Phone getPhone(int index) { 201 return PhoneFactory.getPhone(index);
|
/packages/services/Telecomm/libs/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ... |
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | BluetoothHeadsetProxy.java | 39 public void clccResponse(int index, int direction, int status, int mode, boolean mpty, argument 42 mBluetoothHeadset.clccResponse(index, direction, status, mode, mpty, number, type);
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | ComponentContextFixture.java | 382 public void setStreamVolume(int streamTypeUnused, int index, int flagsUnused){ argument 383 mAudioStreamValue = index;
|
/packages/services/Car/car-lib/src/android/car/media/ |
H A D | CarAudioManager.java | 245 * Sets the volume index for a particular stream. 249 * @param streamType The stream whose volume index should be set. 250 * @param index The volume index to set. See 256 public void setStreamVolume(int streamType, int index, int flags) argument 259 mService.setStreamVolume(streamType, index, flags); 285 * Returns the maximum volume index for a particular stream. 289 * @param stream The stream type whose maximum volume index is returned. 290 * @return The maximum valid volume index for the stream. 303 * Returns the minimum volume index fo [all...] |
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
H A D | AoapInterface.java | 54 * index: 0 67 * index: string ID 82 * index: 0 114 public static void sendString(UsbDeviceConnection conn, int index, String string) argument 119 ACCESSORY_SEND_STRING, 0, index, 122 throw new IOException("Failed to send string " + index + ": \"" + string + "\""); 124 Log.i(TAG, "Sent string " + index + ": \"" + string + "\"");
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
H A D | Obd2Connection.java | 235 private byte getByte(int index) { argument 236 switch (index) { 246 throw new IllegalArgumentException(index + " is not a valid byte index"); 250 private boolean getBit(byte b, int index) { argument 251 if (index < 0 || index >= masks.length) 252 throw new IllegalArgumentException(index + " is not a valid bit index"); 253 return 0 != (b & masks[index]); 256 getBit(int b, int index) argument [all...] |
/packages/services/Car/service/src/com/android/car/ |
H A D | CarAudioService.java | 504 public void setStreamVolume(int streamType, int index, int flags) { argument 506 mVolumeService.setStreamVolume(streamType, index, flags); 1251 int index = pos / 32; 1253 array[index] |= (0x1 << bitPosInInt);
|
H A D | CarRadioService.java | 169 public CarRadioPreset getPreset(int index) { argument 171 Log.d(TAG, "getPreset " + index); 173 return mRadioHal.getRadioPreset(index);
|
H A D | CarVolumeControllerFactory.java | 110 public void setStreamVolume(int stream, int index, int flags) { argument 112 Log.d(CarLog.TAG_AUDIO, "setStreamVolume " + stream + " " + index + " " + flags); 114 mAudioManager.setStreamVolume(stream, index, flags); 211 // events from HAL (context and volume index must match). 448 public void setStreamVolume(int stream, int index, int flags) { argument 462 Log.d(TAG, "Receive setStreamVolume logical stream: " + stream + " index: " 463 + index + " flags: " + flags + " maps to car context: " + carContext); 465 setStreamVolumeInternalLocked(carContext, index, flags); 469 private void setStreamVolumeInternalLocked(int carContext, int index, int flags) { argument 475 if (index > limi [all...] |
H A D | CarVolumeService.java | 79 public void setStreamVolume(int streamType, int index, int flags) { argument 80 getController().setStreamVolume(streamType, index, flags); 115 abstract public void setStreamVolume(int stream, int index, int flags); argument
|
H A D | GarageModeService.java | 141 final int index = mSharedPreferences.getInt(KEY_GARAGE_MODE_INDEX, 0); 144 mGarageModeIndex = index; 237 private void writeToPref(int index) { argument 239 editor.putInt(KEY_GARAGE_MODE_INDEX, index); 268 abstract public int getNextWakeUpTime(int index, int hour, int min); argument 297 {7 /*index <= 7*/, 1 /* wake up the next day */}, 298 {11 /* 7 < index <= 11 */, 7 /* wake up the next week */}, 299 {Integer.MAX_VALUE /* index > 11 */, 30 /* wake up the next month */} 303 public int getNextWakeUpTime(int index, int hour, int min) { argument 305 if (index < [all...] |
/packages/services/Car/service/src/com/android/car/hal/ |
H A D | AudioHalService.java | 238 int index = VehicleZoneUtil.zoneToIndex(supportedContext, stream); 239 if (index < maxValues.size()) { 240 result = maxValues.get(index); 369 public void setStreamVolume(int streamType, int index) { argument 370 int[] payload = {streamType, index, 0};
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
H A D | AoapInterface.java | 57 * index: 0 70 * index: string ID 85 * index: 0 113 public static void sendString(UsbDeviceConnection conn, int index, String string) argument 118 ACCESSORY_SEND_STRING, 0, index, 121 throw new IOException("Failed to send string " + index + ": \"" + string + "\""); 123 Log.i(TAG, "Sent string " + index + ": \"" + string + "\"");
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
H A D | CardPanel.java | 55 public void addView(View child, int index) { argument 56 super.addView(child, index); 57 if (index < 0) { 60 mOrderedChildren.add(index, child);
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/ |
H A D | DiagnosticEventBuilder.java | 35 * An array-like container that knows to return a default value for any unwritten-to index. 49 private int checkIndex(int index) { argument 50 if (index < 0 || index >= mSize) 52 String.format("Index: %d, Size: %d", index, mSize)); 53 return index; 56 DefaultedArray<T> set(int index, T element) { argument 57 checkIndex(index); 58 mElements.put(index, element); 62 T get(int index) { argument 128 addIntSensor(int index, int value) argument 134 addFloatSensor(int index, float value) argument [all...] |
H A D | Utils.java | 32 SparseArrayEntry(SparseArray<U> array, int index) { argument 33 key = array.keyAt(index); 34 value = array.valueAt(index);
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
H A D | ipphelper.c | 933 int index; local 934 for (index = 0; index < capabilities->numSupportedMediaTypes; index++) { 936 if (capabilities->supportedMediaTypes[index] == mediaType) return;
|
/packages/services/BuiltInPrintService/jni/lib/ |
H A D | lib_wprint.c | 222 unsigned long index; local 226 index = _DECODE_HANDLE(job_handle); 227 if ((index < _MAX_SPOOLED_JOBS) && (_job_queue[index].job_handle == job_handle) && 228 (_job_queue[index].job_state != JOB_STATE_FREE)) { 229 return (&_job_queue[index]); 420 int i, index, size; local 424 index = (i + _running_number) % _MAX_SPOOLED_JOBS; 426 if (_job_queue[index].job_state == JOB_STATE_FREE) { 430 memset(&_job_queue[index], 1438 unsigned int index = 0; local 1468 int index; local [all...] |
H A D | plugin_db.c | 47 int i, j, index; local 53 index = _index; 61 memset(&_plugin[index], 0, sizeof(_plugin_db_t)); 62 _plugin[index].version = plugin->version; 63 _plugin[index].plugin = plugin; 64 _plugin[index].priority = plugin->priority; 73 strncpy(_plugin[index].mime_types[j++], mt[i], MAX_MIME_LENGTH); 78 _plugin[index].mime_types[j][0] = 0; 87 strncpy(_plugin[index].print_formats[j++], pf[i], MAX_MIME_LENGTH); 92 _plugin[index] [all...] |
H A D | wprintJNI.c | 647 int index; local 651 for (index = 0; index < wprintPrinterCaps->numSupportedMediaTypes; index++) { 652 intArrayPtr[index] = (int) wprintPrinterCaps->supportedMediaTypes[index]; 661 for (index = 0; index < wprintPrinterCaps->numSupportedMediaSizes; index++) { 662 intArrayPtr[index] 1259 int index = 0, pageIndex, incrementor; local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactLocaleUtils.java | 86 static void dumpIndex(ImmutableIndex index) { argument 89 for (int i = 0; i < index.getBucketCount(); i++) { 91 labels.append(index.getBucket(i).getLabel()); 118 // Build the index buckets based on the current system locale set and 121 Log.d(TAG, "Building index buckets..."); 141 // Create a list of locales that should be used to generate the index buckets. 197 * Returns the bucket index for the specified string. AlphabeticIndex 199 * exact value of N depends on how many representative index labels are 257 * Returns the label for the specified bucket index if a valid index, [all...] |
H A D | ContactsDatabaseHelper.java | 1391 // TODO readd the index and investigate a controlled use of it 1408 // Mimetype table requires an index on mime type 2421 // Before this version, we didn't rebuild the search index on locale changes, so 2422 // if the locale has changed after sync, the index contains gets stale. 2423 // To correct the issue we have to rebuild the index here. 2478 // Rebuild the search index so that names, organizations and nicknames are 2495 // Rebuild the search index to fix any search index that was previously in a 2787 * scrolling index cache. 3400 final int index 3560 bindString(SQLiteStatement stmt, int index, String value) argument 3568 bindLong(SQLiteStatement stmt, int index, Number value) argument 3751 updateIndexStats(SQLiteDatabase db, String table, String index, String stats) argument [all...] |
H A D | ContactsProvider2.java | 1905 // This clears the search index and marks it to be rebuilt, but doesn't 3399 // The following hack forces SQLite to use the (mimetype_id,data1) index, otherwise 5411 // Don't bother updating the search index if we're in profile mode - there is no 5412 // search index for the profile DB, and updating it for the contacts DB in this case 5415 // TODO Fix it. It only updates index for contacts/raw_contacts that the 6604 final int index = primaryAccountName.indexOf('@'); 6605 if (index != -1) { 6607 final String domain = primaryAccountName.substring(index); 7555 int index = cursor.getColumnIndex(columnIdName); 7556 if (index ! 9666 matchQueryParameter( String query, int index, String value, boolean ignoreCase) argument [all...] |
H A D | NameSplitter.java | 259 public boolean hasDot(int index) { argument 260 return (mDotBitmask & (1 << index)) != 0; 266 public boolean hasComma(int index) { argument 267 return (mCommaBitmask & (1 << index)) != 0;
|