Searched refs:name (Results 26 - 50 of 1628) sorted by relevance

1234567891011>>

/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DServiceManager.java24 * Returns a reference to a service with the given name.
26 * @param name the name of the service to get
29 public static IBinder getService(String name) { argument
34 * Place a new @a service called @a name into the service
37 * @param name the name of the new service
40 public static void addService(String name, IBinder service) { argument
45 * Retrieve an existing service called @a name from the
48 public static IBinder checkService(String name) { argument
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h46 void setInt32(const char *name, int32_t value);
47 void setInt64(const char *name, int64_t value);
48 void setSize(const char *name, size_t value);
49 void setFloat(const char *name, float value);
50 void setDouble(const char *name, double value);
51 void setPointer(const char *name, void *value);
52 void setString(const char *name, const char *s, ssize_t len = -1);
53 void setString(const char *name, const AString &s);
54 void setObject(const char *name, const sp<RefBase> &obj);
55 void setBuffer(const char *name, cons
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioCodec.cpp28 const char *name; member in struct:AudioCodecType
42 while (type->name != NULL) {
43 if (strcasecmp(codecName, type->name) == 0) {
45 codec->name = type->name;
/frameworks/opt/net/wifi/service/jni/
H A Djni_helper.h7 jboolean getBoolField(JNIEnv *env, jobject obj, const char *name);
8 jint getIntField(JNIEnv *env, jobject obj, const char *name);
9 jlong getLongField(JNIEnv *env, jobject obj, const char *name);
10 jobject getObjectField(JNIEnv *env, jobject obj, const char *name, const char *type);
11 jlong getLongArrayField(JNIEnv *env, jobject obj, const char *name, int index);
12 jobject getObjectArrayField(JNIEnv *env, jobject obj, const char *name, const char *type, int index);
13 void setIntField(JNIEnv *env, jobject obj, const char *name, jint value);
14 void setLongField(JNIEnv *env, jobject obj, const char *name, jlong value);
15 void setLongArrayField(JNIEnv *env, jobject obj, const char *name, jlongArray value);
16 void setLongArrayElement(JNIEnv *env, jobject obj, const char *name, in
[all...]
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp268 bool parseMcc(const char* name, ResTable_config* out) { argument
269 if (strcmp(name, kWildcardName) == 0) {
273 const char* c = name;
298 bool parseMnc(const char* name, ResTable_config* out) { argument
299 if (strcmp(name, kWildcardName) == 0) {
303 const char* c = name;
329 bool parseLayoutDirection(const char* name, ResTable_config* out) { argument
330 if (strcmp(name, kWildcardName) == 0) {
335 } else if (strcmp(name, "ldltr") == 0) {
340 } else if (strcmp(name, "ldrt
350 parseScreenLayoutSize(const char* name, ResTable_config* out) argument
381 parseScreenLayoutLong(const char* name, ResTable_config* out) argument
402 parseOrientation(const char* name, ResTable_config* out) argument
420 parseUiModeType(const char* name, ResTable_config* out) argument
456 parseUiModeNight(const char* name, ResTable_config* out) argument
477 parseDensity(const char* name, ResTable_config* out) argument
557 parseTouchscreen(const char* name, ResTable_config* out) argument
575 parseKeysHidden(const char* name, ResTable_config* out) argument
600 parseKeyboard(const char* name, ResTable_config* out) argument
618 parseNavHidden(const char* name, ResTable_config* out) argument
640 parseNavigation(const char* name, ResTable_config* out) argument
661 parseScreenSize(const char* name, ResTable_config* out) argument
695 parseSmallestScreenWidthDp(const char* name, ResTable_config* out) argument
719 parseScreenWidthDp(const char* name, ResTable_config* out) argument
741 parseScreenHeightDp(const char* name, ResTable_config* out) argument
763 parseVersion(const char* name, ResTable_config* out) argument
[all...]
/frameworks/native/libs/diskusage/
H A Ddirsize.c52 const char *name = de->d_name; local
53 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) {
60 if (name[0] == '.') {
61 if (name[1] == 0)
63 if ((name[1] == '.') && (name[2] == 0))
67 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY);
/frameworks/compile/mclinker/lib/Support/
H A DMemoryAreaFactory.cpp29 llvm::StringRef name(pPath.native());
30 if (m_AreaMap.find(name) == m_AreaMap.end()) {
32 new (result) MemoryArea(name);
33 m_AreaMap[name] = result;
37 return m_AreaMap[name];
44 llvm::StringRef name(pPath.native());
45 if (m_AreaMap.find(name) == m_AreaMap.end()) {
47 new (result) MemoryArea(name);
48 m_AreaMap[name] = result;
52 return m_AreaMap[name];
[all...]
/frameworks/av/include/ndk/
H A DNdkMediaFormat.h50 bool AMediaFormat_getInt32(AMediaFormat*, const char *name, int32_t *out);
51 bool AMediaFormat_getInt64(AMediaFormat*, const char *name, int64_t *out);
52 bool AMediaFormat_getFloat(AMediaFormat*, const char *name, float *out);
57 bool AMediaFormat_getBuffer(AMediaFormat*, const char *name, void** data, size_t *size);
62 bool AMediaFormat_getString(AMediaFormat*, const char *name, const char **out);
65 void AMediaFormat_setInt32(AMediaFormat*, const char* name, int32_t value);
66 void AMediaFormat_setInt64(AMediaFormat*, const char* name, int64_t value);
67 void AMediaFormat_setFloat(AMediaFormat*, const char* name, float value);
71 void AMediaFormat_setString(AMediaFormat*, const char* name, const char* value);
75 void AMediaFormat_setBuffer(AMediaFormat*, const char* name, voi
[all...]
/frameworks/base/core/java/com/android/internal/util/
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/av/media/libstagefright/
H A DMediaCodecList.cpp256 void *me, const char *name, const char **attrs) {
257 static_cast<MediaCodecList *>(me)->startElementHandler(name, attrs);
261 void MediaCodecList::EndElementHandlerWrapper(void *me, const char *name) { argument
262 static_cast<MediaCodecList *>(me)->endElementHandler(name);
290 ALOGE("invalid include file name: %s", href);
297 ALOGE("invalid include file name: %s", href);
307 const char *name, const char **attrs) {
314 if (!strcmp(name, "Include")) {
327 if (!strcmp(name, "Decoders")) {
329 } else if (!strcmp(name, "Encoder
255 StartElementHandlerWrapper( void *me, const char *name, const char **attrs) argument
306 startElementHandler( const char *name, const char **attrs) argument
394 endElementHandler(const char *name) argument
467 const char *name = NULL; local
529 const char *name = NULL; local
555 const char *name = NULL; local
628 limitFoundMissingAttr(AString name, const char *attr, bool found = true) argument
634 limitError(AString name, const char *msg) argument
639 limitInvalidAttr(AString name, const char *attr, AString value) argument
672 AString name; local
794 const char *name = NULL; local
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAAtomizer.cpp27 const char *AAtomizer::Atomize(const char *name) { argument
28 return gAtomizer.atomize(name);
37 const char *AAtomizer::atomize(const char *name) { argument
41 size_t index = AAtomizer::Hash(name) % n;
45 if ((*it) == name) {
51 entry.push_back(AString(name));
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDevice.cpp30 android_hardware_UsbDevice_get_device_id(JNIEnv *env, jobject clazz, jstring name) argument
32 const char *nameStr = env->GetStringUTFChars(name, NULL);
34 env->ReleaseStringUTFChars(name, nameStr);
41 char* name = usb_device_get_name_from_unique_id(id); local
42 jstring result = env->NewStringUTF(name);
43 free(name);
/frameworks/base/core/java/android/util/
H A DEventLogTags.java32 Description(int tag, String name) { argument
34 mName = name;
42 public Description get(String name) { return null; } argument
/frameworks/base/core/java/android/app/
H A DIInstrumentationWatcher.aidl26 void instrumentationStatus(in ComponentName name, int resultCode,
28 void instrumentationFinished(in ComponentName name, int resultCode,
H A DIServiceConnection.aidl24 void connected(in ComponentName name, IBinder service);
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyExceptionUtils.java34 public BufferQueueAbandonedException(String name) { argument
35 super(name);
38 public BufferQueueAbandonedException(String name, Throwable cause) { argument
39 super(name, cause);
/frameworks/base/tests/backup/
H A Dbackup_helper_test.cpp31 const char* name; member in struct:Test
55 while (t->name) {
61 while (t->name) {
63 if (0 == strcmp(t->name, argv[i])) {
73 while (t->name) {
84 while (t->name) {
87 t->name, i, testCount);
108 while (t->name) {
111 printf(" %s\n", t->name);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetObjectLabelKHR.cpp1 /* void glGetObjectLabelKHR ( GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label ) */
3 android_glGetObjectLabelKHR(JNIEnv *_env, jobject _this, jint identifier, jint name) { argument
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DReplaceMethodCallsAdapter.java65 public boolean isNeeded(String owner, String name, String desc) {
66 return JAVA_LANG_SYSTEM.equals(owner) && "arraycopy".equals(name) &&
72 assert isNeeded(mi.owner, mi.name, mi.desc);
84 public boolean isNeeded(String owner, String name, String desc) {
86 ("toLanguageTag".equals(name) || "getScript".equals(name));
91 assert isNeeded(mi.owner, mi.name, mi.desc);
106 public boolean isNeeded(String owner, String name, String desc) {
108 ("adjustLanguageCode".equals(name) && desc.equals(STRING_TO_STRING) ||
109 "forLanguageTag".equals(name)
162 isReplacementNeeded(String owner, String name, String desc) argument
176 visitMethod(int access, String name, String desc, String signature, String[] exceptions) argument
188 visitMethodInsn(int opcode, String owner, String name, String desc) argument
207 public String name; field in class:ReplaceMethodCallsAdapter.MethodInformation
210 MethodInformation(int opcode, String owner, String name, String desc) argument
219 isNeeded(String owner, String name, String desc) argument
[all...]
H A DDelegateClassAdapter.java52 * @param className The internal class name of the class to visit,
71 public MethodVisitor visitMethod(int access, String name, String desc, argument
78 mDelegateMethods.contains(name);
82 return super.visitMethod(access, name, desc, signature, exceptions);
85 if (CONSTRUCTOR.equals(name) || CLASS_INIT.equals(name)) {
90 mClassName, name, desc));
96 MethodVisitor mwDelegate = super.visitMethod(access, name, desc, signature, exceptions);
99 mLog, null, mwDelegate, mClassName, name, desc, isStatic);
117 MethodVisitor mwOriginal = super.visitMethod(access, name
[all...]
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingTest.java118 runTest(ta, TestName.LEVELS_VEC3_RELAXED.name());
125 runTest(ta, TestName.LEVELS_VEC4_RELAXED.name());
132 runTest(ta, TestName.LEVELS_VEC3_FULL.name());
139 runTest(ta, TestName.LEVELS_VEC4_FULL.name());
146 runTest(ta, TestName.BLUR_RADIUS_25.name());
153 runTest(ta, TestName.INTRINSIC_BLUE_RADIUS_25.name());
160 runTest(ta, TestName.GREYSCALE.name());
167 runTest(ta, TestName.GRAIN.name());
174 runTest(ta, TestName.FISHEYE_FULL.name());
181 runTest(ta, TestName.FISHEYE_RELAXED.name());
[all...]
/frameworks/av/media/libmedia/
H A DMediaScannerClient.cpp42 status_t MediaScannerClient::addStringTag(const char* name, const char* value) argument
44 handleStringTag(name, value);
/frameworks/av/media/ndk/
H A DNdkMediaFormat.cpp85 const char *name = f->getEntryNameAt(i, &t); local
86 ret.append(name);
92 f->findInt32(name, &val);
99 f->findInt64(name, &val);
106 f->findSize(name, &val);
113 f->findFloat(name, &val);
120 f->findDouble(name, &val);
127 f->findString(name, &val);
149 bool AMediaFormat_getInt32(AMediaFormat* format, const char *name, int32_t *out) { argument
150 return format->mFormat->findInt32(name, ou
154 AMediaFormat_getInt64(AMediaFormat* format, const char *name, int64_t *out) argument
159 AMediaFormat_getFloat(AMediaFormat* format, const char *name, float *out) argument
164 AMediaFormat_getSize(AMediaFormat* format, const char *name, size_t *out) argument
169 AMediaFormat_getBuffer(AMediaFormat* format, const char *name, void** data, size_t *outsize) argument
180 AMediaFormat_getString(AMediaFormat* mData, const char *name, const char **out) argument
200 AMediaFormat_setInt32(AMediaFormat* format, const char *name, int32_t value) argument
205 AMediaFormat_setInt64(AMediaFormat* format, const char *name, int64_t value) argument
210 AMediaFormat_setFloat(AMediaFormat* format, const char* name, float value) argument
215 AMediaFormat_setString(AMediaFormat* format, const char* name, const char* value) argument
221 AMediaFormat_setBuffer(AMediaFormat* format, const char* name, void* data, size_t size) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DISerialManager.aidl28 ParcelFileDescriptor openSerialPort(String name);
/frameworks/base/core/java/android/test/
H A DPerformanceTestCase.java34 void addIntermediate(String name); argument
35 void addIntermediate(String name, long timeInNS); argument

Completed in 1823 milliseconds

1234567891011>>