| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/resolver/ |
| D | ResolverTest.java | 38 yaml.addImplicitResolver(new Tag(Tag.PREFIX + "Phone"), regexp, "0123456789"); in testAddImplicitResolver() 39 Phone phone1 = new Phone("12-34-567"); in testAddImplicitResolver() 40 Phone phone2 = new Phone("11-22-333"); in testAddImplicitResolver() 41 Phone phone3 = new Phone("44-55-777"); in testAddImplicitResolver() 42 List<Phone> etalonList = new ArrayList<Phone>(); in testAddImplicitResolver() 48 List<Phone> parsedList = yaml.load(output); in testAddImplicitResolver() 59 yaml.addImplicitResolver(new Tag(Tag.PREFIX + "Phone"), regexp, "\0"); in testAddImplicitResolver2() 64 map.put("a", new Phone("12-34-567")); in testAddImplicitResolver2() 70 class Phone { class in ResolverTest 74 public Phone(String n) { in Phone() method in ResolverTest.Phone [all …]
|
| /external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
| D | ShadowInCallService.java | 20 import android.telecom.Phone; 47 /* Starting in Android V, the InCallService does not allow setting an InCallAdapter if Phone 60 Phone phone; in __constructor__() local 62 phone = in __constructor__() 64 Phone.class, in __constructor__() 69 phone = in __constructor__() 71 Phone.class, ClassParameter.from(InCallAdapter.class, adapter)); in __constructor__() 73 ReflectionHelpers.setField(inCallService, "mPhone", phone); in __constructor__() 190 Phone phone = reflector(ReflectorInCallService.class, inCallService).getPhone(); in isInCallAdapterSet() local 191 if (phone == null) { in isInCallAdapterSet() [all …]
|
| D | ShadowPhone.java | 9 import android.telecom.Phone; 21 /** Shadow for {@link android.telecom.Phone}. */ 22 @Implements(value = Phone.class, isInAndroidSdk = false) 24 @RealObject private Phone phone; field in ShadowPhone 30 List<Call> unmodifiableCalls = reflector(ReflectorPhone.class, phone).getUnmodifiableCalls(); in getCalls() 39 CallAudioState callAudioState = reflector(ReflectorPhone.class, phone).getCallAudioState(); in getCallAudioState() 43 InCallAdapter inCallAdapter = ReflectionHelpers.getField(phone, "mInCallAdapter"); in getCallAudioState() 55 List<Call> realCalls = reflector(ReflectorPhone.class, phone).getCalls(); in addCall() 64 List<Call> realCalls = reflector(ReflectorPhone.class, phone).getCalls(); in removeCall() 70 @ForType(Phone.class)
|
| /external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
| D | ShadowPhoneTest.java | 7 import android.telecom.Phone; 45 Phone phone = Shadow.newInstanceOf(Phone.class); in addAndRemoveCalls() local 46 ShadowPhone shadowPhone = Shadow.extract(phone); in addAndRemoveCalls() 52 assertThat(phone.getCalls()).containsExactly(call2); in addAndRemoveCalls() 56 assertThat(phone.getCalls()).isEmpty(); in addAndRemoveCalls() 60 Phone phone = Shadow.newInstanceOf(Phone.class); in testAddCallGetCall() local 61 ShadowPhone shadowPhone = Shadow.extract(phone); in testAddCallGetCall() 67 List<Call> callList = phone.getCalls(); in testAddCallGetCall()
|
| /external/zxing/android/src/com/google/zxing/client/android/encode/ |
| D | VCardContactEncoder.java | 121 case ContactsContract.CommonDataKinds.Phone.TYPE_FAX_HOME: in vCardPurposeLabelForAndroidType() 122 case ContactsContract.CommonDataKinds.Phone.TYPE_FAX_WORK: in vCardPurposeLabelForAndroidType() 123 case ContactsContract.CommonDataKinds.Phone.TYPE_OTHER_FAX: in vCardPurposeLabelForAndroidType() 125 case ContactsContract.CommonDataKinds.Phone.TYPE_PAGER: in vCardPurposeLabelForAndroidType() 126 case ContactsContract.CommonDataKinds.Phone.TYPE_WORK_PAGER: in vCardPurposeLabelForAndroidType() 128 case ContactsContract.CommonDataKinds.Phone.TYPE_TTY_TDD: in vCardPurposeLabelForAndroidType() 130 case ContactsContract.CommonDataKinds.Phone.TYPE_MMS: in vCardPurposeLabelForAndroidType() 139 case ContactsContract.CommonDataKinds.Phone.TYPE_HOME: in vCardContextLabelForAndroidType() 140 case ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE: in vCardContextLabelForAndroidType() 141 case ContactsContract.CommonDataKinds.Phone.TYPE_FAX_HOME: in vCardContextLabelForAndroidType() [all …]
|
| /external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/ |
| D | PhoneNumberOfflineGeocoder.java | 30 * An offline geocoder which provides geographical information related to a phone number. 46 * Gets a {@link PhoneNumberOfflineGeocoder} instance to carry out international phone number 63 * Returns the customary display name in the given language for the given territory the phone 97 * Returns a text description for the given phone number, in the language provided. The 98 * description might consist of the name of the country where the phone number is from, or the 99 * name of the geographical area the phone number is from if more detailed information is 106 * @param number a valid phone number for which we want to get a text description 108 * @return a text description for the given language code for the given phone number, or an 144 * region of the user. If the phone number is from the same region as the user, only a lower-level 145 * description will be returned, if one exists. Otherwise, the phone number's region will be [all …]
|
| /external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/geocoding/ |
| D | PhoneNumberOfflineGeocoder.java | 31 * An offline geocoder which provides geographical information related to a phone number. 48 * Gets a {@link PhoneNumberOfflineGeocoder} instance to carry out international phone number 66 * Returns the customary display name in the given language for the given territory the phone 100 * Returns a text description for the given phone number, in the language provided. The 101 * description might consist of the name of the country where the phone number is from, or the 102 * name of the geographical area the phone number is from if more detailed information is 109 * @param number a valid phone number for which we want to get a text description 111 * @return a text description for the given language code for the given phone number, or an 147 * region of the user. If the phone number is from the same region as the user, only a lower-level 148 * description will be returned, if one exists. Otherwise, the phone number's region will be [all …]
|
| /external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/ |
| D | PhonePrefixMapStorageStrategy.java | 26 * Abstracts the way phone prefix data is stored into memory and serialized to a stream. It is used 37 * Gets the phone number prefix located at the provided {@code index}. 40 * @return the phone number prefix at the provided index 45 * Gets the description corresponding to the phone number prefix located at the provided {@code 49 * @param index the index of the phone number prefix that needs to be returned 50 * @return the description corresponding to the phone number prefix at the provided index 56 * sortedPhonePrefixMap} that maps phone number prefixes to description strings. 58 * @param sortedPhonePrefixMap a sorted map that maps phone number prefixes including country 67 * @param objectInput the object input stream from which the phone prefix map is read 76 * @param objectOutput the object output stream to which the phone prefix map is written [all …]
|
| /external/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/ |
| D | PhonePrefixMapStorageStrategy.java | 27 * Abstracts the way phone prefix data is stored into memory and serialized to a stream. It is used 38 * Gets the phone number prefix located at the provided {@code index}. 41 * @return the phone number prefix at the provided index 46 * Gets the description corresponding to the phone number prefix located at the provided {@code 50 * @param index the index of the phone number prefix that needs to be returned 51 * @return the description corresponding to the phone number prefix at the provided index 57 * sortedPhonePrefixMap} that maps phone number prefixes to description strings. 59 * @param sortedPhonePrefixMap a sorted map that maps phone number prefixes including country 68 * @param objectInput the object input stream from which the phone prefix map is read 77 * @param objectOutput the object output stream to which the phone prefix map is written [all …]
|
| /external/libphonenumber/demoapp/app/src/main/java/com/google/phonenumbers/demoapp/contacts/ |
| D | ContactsRead.java | 7 import android.provider.ContactsContract.CommonDataKinds.Phone; 18 * Reads all phone numbers in the device's contacts and return them as a list of {@link 23 * @return ArrayList of all phone numbers in the device's contacts, also empty if the app has no 34 // Only query for contacts with phone number(s). in getAllPhoneNumbersSorted() 36 cr.query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null, null, null, null); in getAllPhoneNumbersSorted() 43 // ID to identify the phone number entry in the contacts (can be used to update in contacts). in getAllPhoneNumbersSorted() 44 int idIndex = cursor.getColumnIndex(Phone._ID); in getAllPhoneNumbersSorted() 47 int contactNameIndex = cursor.getColumnIndex(Phone.DISPLAY_NAME); in getAllPhoneNumbersSorted() 50 int originalPhoneNumberIndex = cursor.getColumnIndex(Phone.NUMBER); in getAllPhoneNumbersSorted()
|
| D | ContactsWrite.java | 8 import android.provider.ContactsContract.CommonDataKinds.Phone; 18 * Attempts to update all phone numbers in param {@code phoneNumbers} in the device's contacts. 22 * @param phoneNumbers ArrayList of all phone numbers to update 36 // Identify the exact phone number entry to update. in updatePhoneNumbers() 37 String whereConditionBase = Phone._ID + " = ? AND " + ContactsContract.Data.MIMETYPE + " = ?"; in updatePhoneNumbers() 40 phoneNumber.getId(), ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE in updatePhoneNumbers() 46 .withValue(Phone.NUMBER, phoneNumber.getFormattedPhoneNumber()) in updatePhoneNumbers()
|
| /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
| D | BluetoothMediaFacade.java | 49 * 2. Those that makes sense to run only on a Audio Source like a phone 55 * (phone). This MediaBrowserService that runs as part of the SL4A app is used to intercept 62 * Phone (Bluetooth Audio source/Avrcp Target) and use it intercept the Media commands coming 66 * browser to send media commands to the Phone side and intercept the commands with the 142 * This listener is useful in both Car and Phone sides. 147 * On the Phone side, it listens to the BluetoothSL4AAudioSrcMBS (that the SL4A app runs) 164 // As explained above, looking for the BluetoothSL4AAudioSrcMBS (when running on Phone) in onActiveSessionsChanged() 223 * BluetoothSL4AAudioSrcMBS on Phone and BluetoothMediaBrowserService on Car to send and receive 254 * This is dispatched from the Phone to the host (RPC Client) to acknowledge that it 282 * Relevance - Phone and Car. [all …]
|
| /external/autotest/server/cros/cellular/simulation_utils/ |
| D | BaseSimulation.py | 37 # Time in seconds to wait for the phone to settle 41 # Default time in seconds to wait for the phone to attach to the basestation 159 # Enable roaming on the phone 162 # Make sure airplane mode is on so the phone won't attach right away 177 """ Attach the phone to the basestation. 180 and waits for the phone to attach. 183 True if the phone was able to attach, False if not. 193 # Provide a good signal power for the phone to attach easily 200 # Try to attach the phone. 208 # Wait for the phone to attach. [all …]
|
| /external/libphonenumber/ |
| D | release_notes.txt | 14 - Updated phone metadata for region code(s): 29 from the GeneralDesc, but are treated like every other phone number type. 51 - Updated phone metadata for region code(s): AD, AE, IN, IR, MU, MV, NG, PG 67 - Updated phone metadata for region code(s): 82 - Updated phone metadata for region code(s): CL, FR, KE, MU, NG 111 - Updated phone metadata for region code(s): 134 - Phonemetadata.java has two more fields to represent possible lengths of phone 141 - Updated phone metadata for region code(s): 158 - Updated phone metadata for region code(s): EH, ET, JM, MA, SK, SN, SY, ZM 169 - Updated phone metadata for region code(s): CO, IN, ME [all …]
|
| /external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/ |
| D | PhoneNumberToCarrierMapper.java | 26 * A phone prefix mapper which provides carrier information related to a phone number. 58 * Returns a carrier name for the given phone number, in the language provided. The carrier name 67 * @param number a valid phone number for which we want to get a carrier name 69 * @return a carrier name for the given phone number 80 * Gets the name of the carrier for the given phone number, in the language provided. As per 84 * @param number the phone number for which we want to get a carrier name 86 * @return a carrier name for the given phone number, or empty string if the number passed in is 98 * Gets the name of the carrier for the given phone number only when it is 'safe' to display to 103 * @param number the phone number for which we want to get a carrier name
|
| /external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/ |
| D | PhoneNumberMatch.java | 24 * The immutable match of a phone number within a piece of text. Matches may be found using 27 * <p>A match consists of the {@linkplain #number() phone number} as well as the 39 * // Find the first phone number match: 42 * // rawString() contains the phone number as it appears in the text. 59 /** The matched phone number. */ 67 * @param number the matched phone number 81 /** Returns the phone number matched by the receiver. */ 86 /** Returns the start index of the matched phone number within the searched text. */ 91 /** Returns the exclusive end index of the matched phone number within the searched text. */ 96 /** Returns the raw string matched as a phone number in the searched text. */
|
| D | PhoneNumberUtil.java | 46 * Utility for international phone numbers. Functionality includes formatting, parsing and 60 /** Flags to use when compiling regular expressions for phone numbers. */ 105 private static final String RFC3966_PHONE_CONTEXT = ";phone-context="; 237 // Regular expression of acceptable punctuation found in phone numbers, used to find numbers in 238 // text and to decide what is a viable phone number. This excludes diallable characters. 241 // placeholder for carrier information in some phone numbers. Full-width variants are also 247 // We accept alpha characters in phone numbers, ASCII only, upper and lower case. 257 // Regular expression of acceptable characters that may start a phone number for the purposes of 258 // parsing. This allows us to strip away meaningless prefixes to phone numbers that may be 266 // Regular expression of characters typically used to start a second phone number for the purposes [all …]
|
| /external/aws-sdk-java-v2/services/chimesdkvoice/src/main/resources/codegen-resources/ |
| D | service-2.json | 18 "requestUri":"/voice-connectors/{voiceConnectorId}?operation=associate-phone-numbers", 33 …"documentation":"<p>Associates phone numbers with the specified Amazon Chime SDK Voice Connector.<… 39 … "requestUri":"/voice-connector-groups/{voiceConnectorGroupId}?operation=associate-phone-numbers", 54 …"documentation":"<p>Associates phone numbers with the specified Amazon Chime SDK Voice Connector g… 60 "requestUri":"/phone-numbers?operation=batch-delete", 74 …phone numbers into the <b>Deletion queue</b>. Phone numbers must be disassociated from any users o… 80 "requestUri":"/phone-numbers?operation=batch-update", 94 "documentation":"<p>Updates one or more phone numbers.</p>" 100 "requestUri":"/phone-number-orders", 115 …"documentation":"<p>Creates an order for phone numbers to be provisioned. For numbers outside the … [all …]
|
| /external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/ |
| D | PhoneNumberUtil.java | 47 * Utility for international phone numbers. Functionality includes formatting, parsing and 62 /** Flags to use when compiling regular expressions for phone numbers. */ 107 private static final String RFC3966_PHONE_CONTEXT = ";phone-context="; 239 // Regular expression of acceptable punctuation found in phone numbers, used to find numbers in 240 // text and to decide what is a viable phone number. This excludes diallable characters. 243 // placeholder for carrier information in some phone numbers. Full-width variants are also 249 // We accept alpha characters in phone numbers, ASCII only, upper and lower case. 259 // Regular expression of acceptable characters that may start a phone number for the purposes of 260 // parsing. This allows us to strip away meaningless prefixes to phone numbers that may be 268 // Regular expression of characters typically used to start a second phone number for the purposes [all …]
|
| D | PhoneNumberMatch.java | 25 * The immutable match of a phone number within a piece of text. Matches may be found using 28 * <p>A match consists of the {@linkplain #number() phone number} as well as the 40 * // Find the first phone number match: 43 * // rawString() contains the phone number as it appears in the text. 61 /** The matched phone number. */ 69 * @param number the matched phone number 83 /** Returns the phone number matched by the receiver. */ 89 /** Returns the start index of the matched phone number within the searched text. */ 95 /** Returns the exclusive end index of the matched phone number within the searched text. */ 101 /** Returns the raw string matched as a phone number in the searched text. */
|
| /external/python/bumble/docs/mkdocs/src/extras/ |
| D | android_remote_hci.md | 4 This application allows using an android phone's built-in Bluetooth controller with 5 a Bumble host stack running outside the phone (typically a development laptop or desktop). 9 The HCI packets received on the TCP socket are forwarded to the phone's controller, and the 49 to disable SELinux on your phone (please be aware that this is global, not just for the proxy app, 51 In order to disable SELinux, you need to root the phone (it may be advisable to do this on a 52 development phone). 87 Simply turning Bluetooth off from the phone's settings does not ensure that the bluetooth process w… 98 You push the built APK to a temporary location on the phone's filesystem, then launch the command 150 To connect the Bumble stack to the proxy, you need to be able to reach the phone's network 151 stack. This can be done over the phone's WiFi connection, or, alternatively, using an `adb` [all …]
|
| /external/libphonenumber/demoapp/ |
| D | README.md | 5 The E.164 Formatter is an Android App that reads all the phone numbers stored in 26 trying to convert the phone numbers to E.164. After the user starts the process 32 Contains all the phone number that are parsable by LPN, are not short numbers, 34 on the start screen. In other words, valid locally formatted phone numbers of 38 Each list item (= one phone number in the device's contacts) has a checkbox. 40 the phone numbers of the checked list elements in the contacts with the 45 Shows all the phone number that do not fit the criteria of List 1, each tagged
|
| /external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
| D | TelecomManagerFacade.java | 144 @Rpc(description = "Set the user-chosen default PhoneAccount for making outgoing phone calls.") 154 Log.d(String.format("Set default Outgoing Phone Account(%s)", in telecomSetUserSelectedOutgoingPhoneAccount() 167 @Rpc(description = "Get the user-chosen default PhoneAccount for making outgoing phone calls.") 173 " for making outgoing phone calls.") 187 "Set default Outgoing Phone Account for subscription(%s)", subId)); in telecomSetUserSelectedOutgoingPhoneAccountBySubId() 192 "Failed to find a matching Phone Account for subscription (%s).", in telecomSetUserSelectedOutgoingPhoneAccountBySubId() 195 "Failed to find a matching Phone Account for subscription (%s).", in telecomSetUserSelectedOutgoingPhoneAccountBySubId() 199 @Rpc(description = "Returns whether there is an ongoing phone call.") 273 @Rpc(description = "Calls a phone by resolving a generic URI.") 295 @Rpc(description = "Calls a phone by resolving a Content-type URI.") [all …]
|
| /external/autotest/server/site_tests/bluetooth_AdapterMTBF/ |
| D | bluetooth_AdapterMTBF.py | 72 phone = self.devices['BLE_PHONE'][0] 79 self.run_typical_use_cases(mouse, phone, audio, keyboard) 83 def run_typical_use_cases(self, mouse, phone, audio, keyboard): argument 92 # Run the better together test on the phone 93 self.test_better_together(phone) 252 phone = self.devices['BLE_PHONE'][0] 253 phone.RemoveDevice(self.bluetooth_facade.address) 254 self.run_better_together_stress(address=phone.address) 257 def test_better_together(self, phone): argument 260 self.bluetooth_facade.disconnect_device(phone.address) [all …]
|
| /external/google-cloud-java/java-dialogflow-cx/proto-google-cloud-dialogflow-cx-v3beta1/src/main/java/com/google/cloud/dialogflow/cx/v3beta1/ |
| D | TextToSpeechSettingsOrBuilder.java | 34 * - The synthesize configuration used in [phone 35 * gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway). 55 * - The synthesize configuration used in [phone 56 * gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway). 80 * - The synthesize configuration used in [phone 81 * gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway). 102 * - The synthesize configuration used in [phone 103 * gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway). 127 * - The synthesize configuration used in [phone 128 * gateway](https://cloud.google.com/dialogflow/cx/docs/concept/integration/phone-gateway).
|