/packages/apps/Contacts/src/com/android/contacts/testing/ |
H A D | InjectedServices.java | 53 public void setSystemService(String name, Object service) { argument 58 mSystemServices.put(name, service); 61 public Object getSystemService(String name) { argument 63 return mSystemServices.get(name);
|
/packages/apps/Dialer/java/com/android/contacts/common/testing/ |
H A D | InjectedServices.java | 51 public void setSystemService(String name, Object service) { argument 56 mSystemServices.put(name, service); 59 public Object getSystemService(String name) { argument 61 return mSystemServices.get(name);
|
/packages/apps/Email/src/com/android/email/ |
H A D | StopWatch.java | 42 private StopWatch(String name) { argument 43 mName = name; 49 public static StopWatch start(String name) { argument 50 return new StopWatch(name);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | PreloadReceiver.java | 39 String name = intent.getStringExtra(EXTRA_WORKSPACE_NAME); 40 final int workspaceResId = !TextUtils.isEmpty(name) 41 ? context.getResources().getIdentifier(name, "xml", "com.android.launcher") : 0; 46 Log.d(TAG, "workspace name: " + name + " id: " + workspaceResId);
|
/packages/apps/TV/src/com/android/tv/data/ |
H A D | Lineup.java | 39 * The human readable name associated with this lineup. 41 public final String name; field in class:Lineup 88 public Lineup(String id, int type, String name, String location) { argument 91 this.name = name;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/ |
H A D | DeviceManager.java | 17 package com.android.tv.settings.name; 31 "com.android.tv.settings.name.DeviceManager.DEVICE_NAME_UPDATE"; 33 * Retrieves the name from Settings.Global.DEVICE_NAME 36 * @return The device name. 43 * Sets the system device name. 49 * @param name The new device name. 51 public static void setDeviceName(Context context, String name) { argument 52 Settings.Global.putString(context.getContentResolver(), Settings.Global.DEVICE_NAME, name); 55 btAdapter.setName(name); [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
H A D | ContentTransferEncodingField.java | 54 protected ContentTransferEncodingField(String name, String body, String raw, String encoding) { argument 55 super(name, body, raw); 83 public Field parse(final String name, final String body, final String raw) { argument 85 return new ContentTransferEncodingField(name, body, raw, encoding);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
H A D | BmsgTokenizer.java | 81 public final String name; field in class:BmsgTokenizer.Property 84 public Property(String name, String value) { argument 85 if (name == null || value == null) { 89 this.name = name; 97 return name + ":" + value; 102 return ((o instanceof Property) && ((Property) o).name.equals(name)
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastActivityTestCase.java | 92 final String name = getSystemServiceName(cls); 93 mInjectedSystemServices.put(name, service); 102 public Object getSystemService(String name) { argument 103 if (mInjectedSystemServices.containsKey(name)) { 104 Log.d(TAG, "return mocked system service for " + name); 105 return mInjectedSystemServices.get(name); 107 Log.d(TAG, "return real system service for " + name); 108 return super.getSystemService(name);
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
H A D | StructuredNameDataItem.java | 25 * Represents a structured name data item, wrapping the columns in 43 public void setDisplayName(String name) { argument 44 getContentValues().put(StructuredName.DISPLAY_NAME, name); 83 public void setPhoneticFamilyName(String name) { argument 84 getContentValues().put(StructuredName.PHONETIC_FAMILY_NAME, name); 87 public void setPhoneticMiddleName(String name) { argument 88 getContentValues().put(StructuredName.PHONETIC_MIDDLE_NAME, name); 91 public void setPhoneticGivenName(String name) { argument 92 getContentValues().put(StructuredName.PHONETIC_GIVEN_NAME, name);
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
H A D | StructuredNameDataItem.java | 24 * Represents a structured name data item, wrapping the columns in {@link 42 public void setDisplayName(String name) { argument 43 getContentValues().put(StructuredName.DISPLAY_NAME, name); 70 public void setPhoneticGivenName(String name) { argument 71 getContentValues().put(StructuredName.PHONETIC_GIVEN_NAME, name); 78 public void setPhoneticMiddleName(String name) { argument 79 getContentValues().put(StructuredName.PHONETIC_MIDDLE_NAME, name); 86 public void setPhoneticFamilyName(String name) { argument 87 getContentValues().put(StructuredName.PHONETIC_FAMILY_NAME, name);
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
H A D | UTF7Charset.java | 44 UTF7Charset(String name, String[] aliases, boolean includeOptional) {
argument 45 super(name, aliases, BASE64_ALPHABET, false);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | EmlTempFileDeletionService.java | 33 public EmlTempFileDeletionService(String name) { argument 34 super(name);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | NameSplitterTest.java | 211 // Accompanied by a phonetic name in Hiragana, we can safely assume that the 212 // name is Japanese 227 // Accompanied by a phonetic name in Pinyin, we can safely assume that the 228 // name is Chinese 261 // One word is interpreted as given name only 264 // Two words are interpreted as family + give name 272 // Hanzi characters without spaces: lump them all in the given name 295 // Given-name-first flag is ignored for CJK locales 306 // Given-name-first flag is ignored for CJK locales 315 final Name name [all...] |
H A D | BaseDatabaseHelperUpgradeTest.java | 47 public String name; field in class:BaseDatabaseHelperUpgradeTest.TableColumn 59 public TableColumn(String name, String type, boolean notnull, String defaultValue) { argument 60 this.name = name; 76 final int nameIndex = cursor.getColumnIndex("name"); 85 column.name = cursor.getString(nameIndex); 101 mColumns.put(column.name, column); 104 public void assertHasColumn(String name, String type, boolean notnull, argument 106 final TableColumn column = mColumns.get(name); 108 throw new AssertionFailedError("Table " + mName + ": Column missing: " + name); 153 public final String name; field in class:BaseDatabaseHelperUpgradeTest.TableListEntry 157 TableListEntry(String name, TableColumn[] columns) argument 161 TableListEntry(String name, TableColumn[] columns, boolean shouldBeInNewDb) argument 288 createOneColumnTable(String name, String type, boolean notnull, String defaultValue) argument [all...] |
/packages/services/Telephony/src/com/android/phone/ |
H A D | CarrierLogo.java | 47 public static int getLogo(String name) { argument 48 Integer res = getLogoMap().get(name);
|
/packages/services/Car/tools/emulator/ |
H A D | VehicleHalProto_pb2.py | 15 name='VehicleHalProto.proto', variable 20 name='MsgType', variable 26 name='GET_CONFIG_CMD', index=0, number=0, 30 name='GET_CONFIG_RESP', index=1, number=1, 34 name='GET_CONFIG_ALL_CMD', index=2, number=2, 38 name='GET_CONFIG_ALL_RESP', index=3, number=3, 42 name='GET_PROPERTY_CMD', index=4, number=4, 46 name='GET_PROPERTY_RESP', index=5, number=5, 50 name='GET_PROPERTY_ALL_CMD', index=6, number=6, 54 name 78 name='Status', variable 151 name='VehicleAreaConfig', variable 221 name='VehiclePropConfig', variable 319 name='VehiclePropValue', variable 403 name='VehiclePropGet', variable 438 name='EmulatorMessage', variable [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
H A D | DocumentsProviderHelper.java | 88 public Uri createDocument(Uri parentUri, String mimeType, String name) { argument 89 if (name.contains("/")) { 93 Uri uri = DocumentsContract.createDocument(mClient, parentUri, mimeType, name); 96 throw new RuntimeException("Couldn't create document: " + name + " with mimetype " 101 public Uri createDocument(String parentId, String mimeType, String name) { argument 103 return createDocument(parentUri, mimeType, name); 106 public Uri createDocument(RootInfo root, String mimeType, String name) { argument 107 return createDocument(root.documentId, mimeType, name); 110 public Uri createDocumentWithFlags(String documentId, String mimeType, String name, int flags, argument 117 in.putString(Document.COLUMN_DISPLAY_NAME, name); 125 createFolder(Uri parentUri, String name) argument 129 createFolder(String parentId, String name) argument 134 createFolder(RootInfo root, String name) argument 174 assertHasFile(Uri parentUri, String name) argument 184 assertHasFile(String parentId, String name) argument 189 assertHasFile(RootInfo root, String name) argument 193 assertHasDirectory(Uri parentUri, String name) argument 203 assertHasDirectory(String parentId, String name) argument 208 assertHasDirectory(RootInfo root, String name) argument 212 assertDoesNotExist(Uri parentUri, String name) argument 221 assertDoesNotExist(String parentId, String name) argument 226 assertDoesNotExist(RootInfo root, String name) argument 230 findFile(String parentId, String name) argument 241 findDocument(String parentId, String name) argument 251 findDocument(Uri parentUri, String name) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
H A D | AccountComparator.java | 34 if (Objects.equal(a.name, b.name) && Objects.equal(a.type, b.type) 37 } else if (b.name == null || b.type == null) { 39 } else if (a.name == null || a.type == null) { 50 int diff = a.name.compareToIgnoreCase(b.name);
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
H A D | DiscoveredPrinter.java | 39 /** User-visible name for the print service */ 40 public final String name; field in class:DiscoveredPrinter 55 * @param name Self-identified printer or service name 59 public DiscoveredPrinter(Uri uuid, String name, Uri path, String location) { argument 61 this.name = name; 78 case "name": 91 if (printerName == null || path == null) throw new IOException("Missing name or path"); 93 this.name [all...] |
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/ |
H A D | EventLogger.java | 86 * @param name name of the permission 90 private static int getBaseEventId(@NonNull String name) { argument 91 int permIndex = ALL_DANGEROUS_PERMISSIONS.indexOf(name); 96 int appOpIndex = ALL_APPOP_PERMISSIONS.indexOf(name); 101 if (AppOpsManager.permissionToOpCode(name) == AppOpsManager.OP_NONE 103 Log.i(LOG_TAG, "Unknown permission " + name); 114 throw new IllegalStateException("Unknown permission " + name); 124 * @param name name o 127 logPermissionRequested(@onNull Context context, @NonNull String name, @NonNull String packageName) argument 139 logPermissionDenied(@onNull Context context, @NonNull String name, @NonNull String packageName) argument [all...] |
/packages/apps/Dialer/java/com/android/dialer/util/ |
H A D | IntentUtil.java | 38 return getNewContactIntent(null /* name */, phoneNumber /* phoneNumber */, NO_PHONE_TYPE); 42 CharSequence name, CharSequence phoneNumber, int phoneNumberType) { 44 populateContactIntent(intent, name, phoneNumber, phoneNumberType); 56 null /* name */, phoneNumber /* phoneNumber */, NO_PHONE_TYPE); 60 CharSequence name, CharSequence phoneNumber, int phoneNumberType) { 62 populateContactIntent(intent, name, phoneNumber, phoneNumberType); 67 Intent intent, CharSequence name, CharSequence phoneNumber, int phoneNumberType) { 71 if (name != null) { 72 intent.putExtra(ContactsContract.Intents.Insert.NAME, name); 41 getNewContactIntent( CharSequence name, CharSequence phoneNumber, int phoneNumberType) argument 59 getAddToExistingContactIntent( CharSequence name, CharSequence phoneNumber, int phoneNumberType) argument 66 populateContactIntent( Intent intent, CharSequence name, CharSequence phoneNumber, int phoneNumberType) argument
|
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/ |
H A D | SecondaryInfo.java | 27 public final String name; field in class:SecondaryInfo 41 String name, 49 this.name = name; 62 "SecondaryInfo, show: %b, name: %s, label: %s, " + "providerLabel: %s", 64 LogUtil.sanitizePii(name), 71 name = in.readString(); 101 dest.writeString(name); 39 SecondaryInfo( boolean shouldShow, String name, boolean nameIsNumber, String label, String providerLabel, boolean isConference, boolean isVideoCall, boolean isFullscreen) argument
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | SearchSettingsImpl.java | 98 protected void storeBoolean(String name, boolean value) { argument 99 SharedPreferencesCompat.apply(getSearchPreferences().edit().putBoolean(name, value)); 102 protected void storeInt(String name, int value) { argument 103 SharedPreferencesCompat.apply(getSearchPreferences().edit().putInt(name, value)); 106 protected void storeLong(String name, long value) { argument 107 SharedPreferencesCompat.apply(getSearchPreferences().edit().putLong(name, value)); 110 protected void storeString(String name, String value) { argument 111 SharedPreferencesCompat.apply(getSearchPreferences().edit().putString(name, value)); 114 protected void removePref(String name) { argument 115 SharedPreferencesCompat.apply(getSearchPreferences().edit().remove(name)); 137 getAndIncrementIntPreference(SharedPreferences prefs, String name) argument [all...] |
/packages/apps/Camera2/tests/exiftool_parser/ |
H A D | parser.py | 28 # | | | x) name = value 70 # find the name 71 name = re.search("[0-9]*?\).*?(?:(?: = )|(?: \(SubDirectory\) -->))", s) variable 72 name = name.group(0).split()[1] variable 80 if (name != 'Model' and value): 89 + _id + '" name="' + name +'">' + value + "</tag>")
|