/frameworks/base/cmds/installd/ |
H A D | installd.c | 126 const char *name; member in struct:cmdinfo 224 if (!strcmp(cmds[i].name,arg[0])) { 227 cmds[i].name, cmds[i].numargs, n);
|
H A D | utils.c | 53 * Create the package path name for a given package name with a postfix for 99 * Create the path name for user data for a certain persona. 153 * Checks whether the package name is valid. Returns -1 on error and 166 LOGE("invalid package name '%s'\n", pkgname); 175 LOGE("invalid package name '%s'\n", pkgname); 187 LOGE("invalid package name '%s' should include only numbers after -\n", pkgname); 208 const char *name = de->d_name; local 210 /* skip the ignore name if provided */ 211 if (ignore && !strcmp(name, ignor 278 delete_dir_contents_fd(int dfd, const char *name) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHealth.java | 106 * @param name The friendly name associated with the application or configuration. 113 public boolean registerSinkAppConfiguration(String name, int dataType, argument 115 if (!isEnabled() || name == null) return false; 117 if (DBG) log("registerSinkApplication(" + name + ":" + dataType + ")"); 118 return registerAppConfiguration(name, dataType, SINK_ROLE, 129 * @param name The friendly name associated with the application or configuration. 138 public boolean registerAppConfiguration(String name, int dataType, int role, argument 141 if (!isEnabled() || !checkAppParam(name, rol 474 checkAppParam(String name, int role, int channelType, BluetoothHealthCallback callback) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | IntentSender.java | 44 * name explicitly set to one of your own components, to ensure it is ultimately 71 public SendIntentException(String name) { argument 72 super(name); 207 * Return the package name of the application that created this 212 * @return The package name of the PendingIntent, or null if there is
|
/frameworks/base/core/java/android/content/res/ |
H A D | TypedArray.java | 474 * @param name Textual name of attribute for error reporting. 479 public int getLayoutDimension(int index, String name) { argument 492 + ": You must supply a " + name + " attribute.");
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteQueryBuilder.java | 127 * could map "name" to "people.name". If a projection map is set 231 private static void appendClause(StringBuilder s, String name, String clause) { argument 233 s.append(name); 447 * @param typeDiscriminatorColumn the name of the result column 448 * whose cells will contain the name of the table from which 456 * that appear in this table (i.e. in the table whose name is
|
/frameworks/base/core/java/android/emoji/ |
H A D | EmojiFactory.java | 71 private EmojiFactory(int 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/usb/ |
H A D | UsbDevice.java | 60 public UsbDevice(String name, int vendorId, int productId, argument 62 mName = name; 72 * Returns the name of the device. 76 * @return the device name 85 * the device, rather than the device name. 185 String name = in.readString(); 192 return new UsbDevice(name, vendorId, productId, clasz, subClass, protocol, interfaces); 214 public static int getDeviceId(String name) { argument 215 return native_get_device_id(name); 222 private static native int native_get_device_id(String name); argument [all...] |
H A D | UsbDeviceConnection.java | 46 /* package */ boolean open(String name, ParcelFileDescriptor pfd) { argument 47 return native_open(name, pfd.getFileDescriptor());
|
/frameworks/base/core/java/android/net/http/ |
H A D | AndroidHttpClient.java | 361 * @param name to log messages with 364 public void enableCurlLogging(String name, int level) { argument 365 if (name == null) { 366 throw new NullPointerException("name"); 373 curlConfiguration = new LoggingConfiguration(name, level);
|
H A D | Request.java | 168 * be formatted in request as "name: value\r\n". 169 * @param name of header 172 void addHeader(String name, String value) { argument 173 if (name == null) { 174 String damage = "Null http header name"; 179 String damage = "Null or empty value for header \"" + name + "\""; 183 mHttpRequest.addHeader(name, value);
|
/frameworks/base/core/java/android/os/ |
H A D | MemoryFile.java | 44 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 71 mFD = native_open(name, length);
|
H A D | ParcelFileDescriptor.java | 229 * @param name Name for the shared memory area that may back the file descriptor. 235 public static ParcelFileDescriptor fromData(byte[] data, String name) throws IOException { argument 237 MemoryFile file = new MemoryFile(name, data.length);
|
/frameworks/base/core/java/android/preference/ |
H A D | GenericInflater.java | 76 * @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 D | PreferenceGroupAdapter.java | 94 private String name; field in class:PreferenceGroupAdapter.PreferenceLayout 97 int compareNames = name.compareTo(other.name); 172 * Creates a string that includes the preference name, layout id and widget layout id. 178 pl.name = preference.getClass().getName();
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TtsEngines.java | 81 * @return the package name of the highest ranked system engine, {@code null} 88 return engines.get(0).name; 95 * Returns the engine info for a given engine name. Note that engines are 96 * identified by their package name. 105 // package name. Since the "engine name" is the same as 106 // the package name. 165 // package name. Since the "engine name" is the same as 166 // the package name 410 updateLocalePrefForEngine(String name, String newLocale) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | EventLog.java | 196 * Get the name associated with an event type tag code. 198 * @return the name of the tag, or null if no tag has that number 206 * Get the event type tag code associated with an event name. 207 * @param name of event to look up 208 * @return the tag code, or -1 if no tag has that name 210 public static int getTagCode(String name) { argument 212 Integer code = sTagCodes.get(name); 243 String name = m.group(2); 244 sTagCodes.put(name, num); 245 sTagNames.put(num, name); [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastXmlSerializer.java | 152 public XmlSerializer attribute(String namespace, String name, String value) throws IOException, argument 159 append(name); 186 public XmlSerializer endTag(String namespace, String name) throws IOException, argument 196 append(name); 247 public boolean getFeature(String name) { argument 264 public Object getProperty(String name) { argument 278 public void setFeature(String name, boolean state) throws IllegalArgumentException, argument 280 if (name.equals("http://xmlpull.org/v1/doc/features.html#indent-output")) { 319 public void setProperty(String name, Object value) throws IllegalArgumentException, argument 330 public XmlSerializer startTag(String namespace, String name) throw argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Typeface.cpp | 30 static SkTypeface* Typeface_create(JNIEnv* env, jobject, jstring name, argument 34 if (NULL == name) { 38 AutoJavaStringToUTF8 str(env, name);
|
/frameworks/base/core/jni/ |
H A D | android_bluetooth_common.h | 63 dbus_message_get_member((msg)), (err)->name, (err)->message); \ 67 (err)->name, (err)->message); \ 97 char name[32]; member in struct:android::_Properties
|
H A D | android_emoji_EmojiFactory.cpp | 22 EmojiFactory *TryCallGetImplementation(const char* name); 78 const char* name) { 82 return m_get_implementation(name); 108 JNIEnv* env, EmojiFactory* factory, jstring name) { 110 static_cast<jint>(reinterpret_cast<uintptr_t>(factory)), name); 119 JNIEnv* env, jobject clazz, jstring name) { 120 if (NULL == name) { 128 const jchar* jchars = env->GetStringChars(name, NULL); 129 jsize len = env->GetStringLength(name); 137 env->ReleaseStringChars(name, jchar 77 TryCallGetImplementation( const char* name) argument 107 create_java_EmojiFactory( JNIEnv* env, EmojiFactory* factory, jstring name) argument 118 android_emoji_EmojiFactory_newInstance( JNIEnv* env, jobject clazz, jstring name) argument [all...] |
H A D | android_util_EventLog.cpp | 231 /* name, signature, funcPtr */ 248 static struct { const char *name; jclass *clazz; } gClasses[] = { member in struct:android::__anon38 256 static struct { jclass *c; const char *name, *ft; jfieldID *id; } gFields[] = { member in struct:android::__anon39 261 static struct { jclass *c; const char *name, *mt; jmethodID *id; } gMethods[] = { member in struct:android::__anon40 268 jclass clazz = env->FindClass(gClasses[i].name); 270 LOGE("Can't find class: %s\n", gClasses[i].name); 278 *gFields[i].c, gFields[i].name, gFields[i].ft); 280 LOGE("Can't find field: %s\n", gFields[i].name); 287 *gMethods[i].c, gMethods[i].name, gMethods[i].mt); 289 LOGE("Can't find method: %s\n", gMethods[i].name); [all...] |
H A D | android_util_XmlBlock.cpp | 257 jstring ns, jstring name) 260 if (st == NULL || name == NULL) { 272 const char16_t* name16 = env->GetStringChars(name, NULL); 273 jsize nameLen = env->GetStringLength(name); 280 env->ReleaseStringChars(name, name16); 365 /* name, signature, funcPtr */ 255 android_content_XmlBlock_nativeGetAttributeIndex(JNIEnv* env, jobject clazz, jint token, jstring ns, jstring name) argument
|
H A D | android_view_InputChannel.cpp | 123 String8 name(nameChars); 128 status_t result = InputChannel::openInputChannelPair(name, serverChannel, clientChannel); 201 String8 name = parcel->readString8(); local 226 InputChannel* inputChannel = new InputChannel(name, ashmemFd, 262 jstring name = env->NewStringUTF(nativeInputChannel->getInputChannel()->getName().string()); local 263 return name; 269 /* name, signature, funcPtr */
|
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | SearchablesTest.java | 362 * @param packageName The name of the package that this xml is coming from. 389 * Find a single content provider by its base path name. 391 * @param name The name of the provider to find. 398 public ProviderInfo resolveContentProvider(String name, int flags) { argument 399 assertNotNull(name); 400 MoreAsserts.assertNotEqual(name, ""); 404 return mRealPackageManager.resolveContentProvider(name, flags); 414 * @param name The name o 420 getActivityInfo(ComponentName name, int flags) argument [all...] |