Searched defs:name (Results 501 - 525 of 1033) sorted by relevance

<<21222324252627282930>>

/frameworks/base/core/java/android/bluetooth/le/
H A DScanFilter.java71 private ScanFilter(String name, String deviceAddress, ParcelUuid uuid, argument
75 mDeviceName = name;
208 * Returns the filter set the device name field of Bluetooth advertisement data.
289 // Local name match.
432 * Set filter on device name.
/frameworks/base/core/java/android/content/
H A DIntentSender.java45 * name explicitly set to one of your own components, to ensure it is ultimately
72 public SendIntentException(String name) { argument
73 super(name);
222 * Return the package name of the application that created this
227 * @return The package name of the PendingIntent, or null if there is
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java583 * @param name Textual name of attribute for error reporting.
588 public int getLayoutDimension(int index, String name) { argument
607 + ": You must supply a " + name + " attribute.");
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteQueryBuilder.java129 * could map "name" to "people.name". If a projection map is set
234 private static void appendClause(StringBuilder s, String name, String clause) { argument
236 s.append(name);
491 * @param typeDiscriminatorColumn the name of the result column
492 * whose cells will contain the name of the table from which
500 * that appear in this table (i.e. in the table whose name is
/frameworks/base/core/java/android/emoji/
H A DEmojiFactory.java71 private EmojiFactory(long nativeEmojiFactory, String name) { argument
73 mName = name;
86 public String name() { method in class:EmojiFactory
240 * Constructs an instance of EmojiFactory corresponding to the name.
242 * @param class_name Name of the factory. This must include complete package name.
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManager.java437 * @param alias The alias name by which to remember the device, or null
477 public VirtualDisplay createVirtualDisplay(@NonNull String name, argument
479 return createVirtualDisplay(name, width, height, densityDpi, surface, flags, null, null);
506 * @param name The name of the virtual display, must be non-empty.
525 public VirtualDisplay createVirtualDisplay(@NonNull String name, argument
529 name, width, height, densityDpi, surface, flags, callback, handler);
534 @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface,
537 name, width, height, densityDpi, surface, flags, callback, handler);
533 createVirtualDisplay(@ullable MediaProjection projection, @NonNull String name, int width, int height, int densityDpi, @Nullable Surface surface, int flags, @Nullable VirtualDisplay.Callback callback, @Nullable Handler handler) argument
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDevice.java62 public UsbDevice(String name, int vendorId, int productId, argument
65 mName = name;
77 * Returns the name of the device.
81 * @return the device name
88 * Returns the manufacturer name of the device.
90 * @return the manufacturer name
97 * Returns the product name of the device.
99 * @return the product name
108 * @return the serial number name
117 * the device, rather than the device name
315 getDeviceId(String name) argument
323 native_get_device_id(String name) argument
[all...]
H A DUsbDeviceConnection.java45 /* package */ boolean open(String name, ParcelFileDescriptor pfd) { argument
46 return native_open(name, pfd.getFileDescriptor());
/frameworks/base/core/java/android/net/http/
H A DAndroidHttpClient.java379 * @param name to log messages with
382 public void enableCurlLogging(String name, int level) { argument
383 if (name == null) {
384 throw new NullPointerException("name");
391 curlConfiguration = new LoggingConfiguration(name, level);
H A DRequest.java165 * be formatted in request as "name: value\r\n".
166 * @param name of header
169 void addHeader(String name, String value) { argument
170 if (name == null) {
171 String damage = "Null http header name";
176 String damage = "Null or empty value for header \"" + name + "\"";
180 mHttpRequest.addHeader(name, value);
/frameworks/base/core/java/android/os/
H A DFileUtils.java418 public static boolean isValidExtFilename(String name) { argument
419 return (name != null) && name.equals(buildValidExtFilename(name));
426 public static String buildValidExtFilename(String name) { argument
427 if (TextUtils.isEmpty(name) || ".".equals(name) || "..".equals(name)) {
430 final StringBuilder res = new StringBuilder(name.length());
431 for (int i = 0; i < name
466 isValidFatFilename(String name) argument
474 buildValidFatFilename(String name) argument
[all...]
H A DMemoryFile.java44 private static native FileDescriptor native_open(String name, int length) throws IOException; argument
65 * @param name optional name for the file (can be null).
69 public MemoryFile(String name, int length) throws IOException { argument
72 mFD = native_open(name, length);
H A DTrace.java86 private static native void nativeTraceCounter(long tag, String name, int value); argument
87 private static native void nativeTraceBegin(long tag, String name); argument
89 private static native void nativeAsyncTraceBegin(long tag, String name, int cookie); argument
90 private static native void nativeAsyncTraceEnd(long tag, String name, int cookie); argument
153 * @param counterName The counter name to appear in the trace.
200 * @param methodName The method name to appear in the trace.
228 * asynchronous events do not need to be nested. The name and cookie used to
232 * @param methodName The method name to appear in the trace.
246 * using the same tag, name and cookie.
249 * @param methodName The method name t
[all...]
H A DWorkSource.java69 public WorkSource(int uid, String name) { argument
70 if (name == null) {
75 mNames = new String[] { name, null };
215 public void set(int uid, String name) { argument
216 if (name == null) {
225 mNames[0] = name;
273 throw new IllegalArgumentException("Adding without name to named " + this);
285 public boolean add(int uid, String name) { argument
287 insert(0, uid, name);
291 throw new IllegalArgumentException("Adding name t
631 insert(int index, int uid, String name) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DGenericInflater.java76 * @param name Tag name to be inflated.
81 public T onCreateItem(String name, Context context, AttributeSet attrs); argument
92 public T onCreateItem(String name, Context context, AttributeSet attrs) { argument
93 T v = mF1.onCreateItem(name, context, attrs);
95 return mF2.onCreateItem(name, context, attrs);
144 * tag name, so it should end with a period.
170 * name. If the factory returns an item, add that to the hierarchy. If it
171 * returns null, proceed to call onCreateItem(name).
181 * each element name a
367 createItem(String name, String prefix, AttributeSet attrs) argument
416 onCreateItem(String name, AttributeSet attrs) argument
420 createItemFromTag(XmlPullParser parser, String name, AttributeSet attrs) argument
[all...]
H A DPreferenceGroupAdapter.java105 private String name; field in class:PreferenceGroupAdapter.PreferenceLayout
108 int compareNames = name.compareTo(other.name);
183 * Creates a string that includes the preference name, layout id and widget layout id.
189 pl.name = preference.getClass().getName();
/frameworks/base/core/java/android/print/
H A DPrinterInfo.java27 * major components, printer properties such as name, id, status,
92 * Get the printer name.
94 * @return The printer name.
208 builder.append(", name=").append(mName);
226 * @param name The printer name. Cannot be empty.
229 * printer name is empty or the status is not a valid one.
231 public Builder(PrinterId printerId, String name, int status) { argument
235 if (TextUtils.isEmpty(name)) {
236 throw new IllegalArgumentException("name canno
279 setName(String name) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DVoice.java70 public Voice(String name, argument
76 this.mName = name;
161 * @return Unique voice name.
171 * Engine specific keys must be prefixed by the name of the engine they
/frameworks/base/core/java/android/util/
H A DEventLog.java206 * Get the name associated with an event type tag code.
208 * @return the name of the tag, or null if no tag has that number
216 * Get the event type tag code associated with an event name.
217 * @param name of event to look up
218 * @return the tag code, or -1 if no tag has that name
220 public static int getTagCode(String name) { argument
222 Integer code = sTagCodes.get(name);
253 String name = m.group(2);
254 sTagCodes.put(name, num);
255 sTagNames.put(num, name);
[all...]
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java57 * The human-readable name of the display.
59 public String name; field in class:DisplayInfo
223 * The package name of the application that owns this display, or null if it is
300 name = other.name;
333 name = source.readString();
366 dest.writeString(name);
455 sb.append(name);
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java166 public XmlSerializer attribute(String namespace, String name, String value) throws IOException, argument
173 append(name);
201 public XmlSerializer endTag(String namespace, String name) throws IOException, argument
215 append(name);
267 public boolean getFeature(String name) { argument
284 public Object getProperty(String name) { argument
298 public void setFeature(String name, boolean state) throws IllegalArgumentException, argument
300 if (name.equals("http://xmlpull.org/v1/doc/features.html#indent-output")) {
340 public void setProperty(String name, Object value) throws IllegalArgumentException, argument
352 public XmlSerializer startTag(String namespace, String name) throw argument
[all...]
H A DFileRotator.java108 for (String name : mBasePath.list()) {
109 if (!name.startsWith(mPrefix)) continue;
111 if (name.endsWith(SUFFIX_BACKUP)) {
112 if (LOGD) Slog.d(TAG, "recovering " + name);
114 final File backupFile = new File(mBasePath, name);
116 mBasePath, name.substring(0, name.length() - SUFFIX_BACKUP.length()));
121 } else if (name.endsWith(SUFFIX_NO_BACKUP)) {
122 if (LOGD) Slog.d(TAG, "recovering " + name);
124 final File noBackupFile = new File(mBasePath, name);
232 rewriteSingle(Rewriter rewriter, String name) argument
417 parse(String name) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_emoji_EmojiFactory.cpp22 EmojiFactory *TryCallGetImplementation(const char* name);
78 const char* name) {
82 return m_get_implementation(name);
105 JNIEnv* env, EmojiFactory* factory, jstring name) {
107 reinterpret_cast<jlong>(factory), name);
116 JNIEnv* env, jobject clazz, jstring name) {
117 if (NULL == name) {
125 ScopedUtfChars nameUtf(env, name);
133 return create_java_EmojiFactory(env, factory, name);
77 TryCallGetImplementation( const char* name) argument
104 create_java_EmojiFactory( JNIEnv* env, EmojiFactory* factory, jstring name) argument
115 android_emoji_EmojiFactory_newInstance( JNIEnv* env, jobject clazz, jstring name) argument
H A Dandroid_util_EventLog.cpp229 /* name, signature, funcPtr */
246 static struct { const char *name; jclass *clazz; } gClasses[] = { member in struct:android::__anon845
254 static struct { jclass *c; const char *name, *ft; jfieldID *id; } gFields[] = { member in struct:android::__anon846
259 static struct { jclass *c; const char *name, *mt; jmethodID *id; } gMethods[] = { member in struct:android::__anon847
266 jclass clazz = env->FindClass(gClasses[i].name);
268 ALOGE("Can't find class: %s\n", gClasses[i].name);
276 *gFields[i].c, gFields[i].name, gFields[i].ft);
278 ALOGE("Can't find field: %s\n", gFields[i].name);
285 *gMethods[i].c, gMethods[i].name, gMethods[i].mt);
287 ALOGE("Can't find method: %s\n", gMethods[i].name);
[all...]
H A Dandroid_util_XmlBlock.cpp259 jstring ns, jstring name)
262 if (st == NULL || name == NULL) {
274 const char16_t* name16 = env->GetStringChars(name, NULL);
275 jsize nameLen = env->GetStringLength(name);
282 env->ReleaseStringChars(name, name16);
367 /* name, signature, funcPtr */
257 android_content_XmlBlock_nativeGetAttributeIndex(JNIEnv* env, jobject clazz, jlong token, jstring ns, jstring name) argument

Completed in 295 milliseconds

<<21222324252627282930>>