Searched refs:name (Results 151 - 175 of 1628) sorted by relevance

1234567891011>>

/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsHelper.java55 * @param name the name of the setting
61 public boolean restoreValue(String name, String value) { argument
62 if (Settings.System.SCREEN_BRIGHTNESS.equals(name)) {
64 } else if (Settings.System.SOUND_EFFECTS_ENABLED.equals(name)) {
66 } else if (Settings.Secure.LOCATION_PROVIDERS_ALLOWED.equals(name)) {
69 } else if (Settings.Secure.BACKUP_AUTO_RESTORE.equals(name)) {
71 } else if (isAlreadyConfiguredCriticalAccessibilitySetting(name)) {
73 } else if (Settings.System.RINGTONE.equals(name)
74 || Settings.System.NOTIFICATION_SOUND.equals(name)) {
81 onBackupValue(String name, String value) argument
113 setRingtone(String name, String value) argument
138 isAlreadyConfiguredCriticalAccessibilitySetting(String name) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DSystemService.java163 protected final void publishBinderService(String name, IBinder service) { argument
164 publishBinderService(name, service, false);
170 protected final void publishBinderService(String name, IBinder service, argument
172 ServiceManager.addService(name, service, allowIsolated);
176 * Get a binder service by its name.
178 protected final IBinder getBinderService(String name) { argument
179 return ServiceManager.getService(name);
/frameworks/av/media/libstagefright/codecs/common/include/
H A DvoIndex.h33 #define _MAKE_SOURCE_ID(id, name) \
34 VO_INDEX_SRC_##name = _VO_INDEX_SOURCE | id,
36 #define _MAKE_CODEC_ID(id, name) \
37 VO_INDEX_DEC_##name = _VO_INDEX_DEC | id, \
38 VO_INDEX_ENC_##name = _VO_INDEX_ENC | id,
40 #define _MAKE_EFFECT_ID(id, name) \
41 VO_INDEX_EFT_##name = _VO_INDEX_EFFECT | id,
43 #define _MAKE_SINK_ID(id, name) \
44 VO_INDEX_SNK_##name = _VO_INDEX_SINK | id,
46 #define _MAKE_FILTER_ID(id, name) \
[all...]
/frameworks/base/libs/hwui/
H A DProgram.cpp100 int Program::addAttrib(const char* name) { argument
101 int slot = glGetAttribLocation(mProgramId, name);
102 mAttributes.add(name, slot);
106 int Program::bindAttrib(const char* name, ShaderBindings bindingSlot) { argument
107 glBindAttribLocation(mProgramId, bindingSlot, name);
108 mAttributes.add(name, bindingSlot);
112 int Program::getAttrib(const char* name) { argument
113 ssize_t index = mAttributes.indexOfKey(name);
117 return addAttrib(name);
120 int Program::addUniform(const char* name) { argument
126 getUniform(const char* name) argument
[all...]
/frameworks/compile/mclinker/unittests/
H A DSymbolCategoryTest.cpp73 ASSERT_STREQ("a", (*sym)->name());
75 ASSERT_STREQ("b", (*sym)->name());
77 ASSERT_STREQ("c", (*sym)->name());
79 ASSERT_STREQ("d", (*sym)->name());
81 ASSERT_STREQ("e", (*sym)->name());
122 ASSERT_STREQ("c", (*sym)->name());
124 ASSERT_STREQ("b", (*sym)->name());
126 ASSERT_STREQ("a", (*sym)->name());
128 ASSERT_STREQ("d", (*sym)->name());
130 ASSERT_STREQ("e", (*sym)->name());
[all...]
/frameworks/opt/net/wifi/service/jni/
H A Djni_helper.cpp50 jboolean getBoolField(JNIEnv *env, jobject obj, const char *name) argument
53 jfieldID field = (env)->GetFieldID(cls, name, "Z");
64 jint getIntField(JNIEnv *env, jobject obj, const char *name) argument
67 jfieldID field = (env)->GetFieldID(cls, name, "I");
78 jlong getLongField(JNIEnv *env, jobject obj, const char *name) argument
81 jfieldID field = (env)->GetFieldID(cls, name, "J");
92 jlong getStaticLongField(JNIEnv *env, jobject obj, const char *name) argument
95 jlong result = getStaticLongField(env, cls, name);
100 jlong getStaticLongField(JNIEnv *env, jclass cls, const char *name) argument
102 jfieldID field = (env)->GetStaticFieldID(cls, name, "
112 getObjectField(JNIEnv *env, jobject obj, const char *name, const char *type) argument
126 getLongArrayField(JNIEnv *env, jobject obj, const char *name, int index) argument
156 getStaticLongArrayField(JNIEnv *env, jobject obj, const char *name, int index) argument
164 getStaticLongArrayField(JNIEnv *env, jclass cls, const char *name, int index) argument
186 getObjectArrayField(JNIEnv *env, jobject obj, const char *name, const char *type, int index) argument
207 setIntField(JNIEnv *env, jobject obj, const char *name, jint value) argument
225 setLongField(JNIEnv *env, jobject obj, const char *name, jlong value) argument
243 setStaticLongField(JNIEnv *env, jobject obj, const char *name, jlong value) argument
255 setStaticLongField(JNIEnv *env, jclass cls, const char *name, jlong value) argument
266 setLongArrayField(JNIEnv *env, jobject obj, const char *name, jlongArray value) argument
288 setStaticLongArrayField(JNIEnv *env, jobject obj, const char *name, jlongArray value) argument
302 setStaticLongArrayField(JNIEnv *env, jclass cls, const char *name, jlongArray value) argument
314 setLongArrayElement(JNIEnv *env, jobject obj, const char *name, int index, jlong value) argument
352 setObjectField(JNIEnv *env, jobject obj, const char *name, const char *type, jobject value) argument
370 setStringField(JNIEnv *env, jobject obj, const char *name, const char *value) argument
[all...]
/frameworks/rs/
H A Drsg_generator.c62 if (vt->name[0]) {
63 fprintf(f, " %s", vt->name);
82 fprintf(f, "typedef struct RS_CMD_%s_rec RS_CMD_%s;\n", apis[ct].name, apis[ct].name);
88 fprintf(f, "#define RS_CMD_ID_%s %i\n", api->name, ct+1);
89 fprintf(f, "struct __attribute__((packed)) RS_CMD_%s_rec {\n", api->name);
105 strcpy(t, api->name);
111 fprintf(f, " (* %s%s) (", prefix, api->name);
113 fprintf(f, " %s%s (", prefix, api->name);
157 fprintf(f, "void %s%s (Context *, const void *);\n", prefix, apis[ct].name);
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dasm_common.S29 .macro function name, export=0
31 .global \name
33 .type \name, %function
34 .func \name
35 \name:
/frameworks/base/core/tests/coretests/apks/version/
H A DAndroid.mk6 LOCAL_AAPT_FLAGS := --version-code 1 --version-name 1.0
13 LOCAL_AAPT_FLAGS := --version-code 2 --version-name 2.0
20 LOCAL_AAPT_FLAGS := --version-code 3 --version-name 3.0
27 LOCAL_AAPT_FLAGS := --version-code 1 --version-name 1.0
34 LOCAL_AAPT_FLAGS := --version-code 2 --version-name 2.0
/frameworks/base/tools/apilint/
H A Dapilint.py63 self.name = raw[1].strip(";")
93 self.name = raw[1]
135 self.fullname = self.pkg.name + "." + self.fullname
136 self.name = self.fullname[self.fullname.rindex(".")+1:]
148 self.name = raw[raw.index("package")+1]
220 if re.match("[A-Z0-9_]+", f.name) is None:
236 if re.search("[A-Z]{2,}", clazz.name) is not None:
237 warn(clazz, None, "Class name style should be Mtp not MTP")
238 if re.match("[^A-Z]", clazz.name):
249 if re.search("[A-Z]{2,}", m.name) i
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAbstractClassAdapter.java41 * @param name Old FQCN
44 abstract String renameInternalType(String name); argument
65 * If the type doesn't need to be renamed, returns the internal name of the input type.
127 String name = renameType(arg);
128 sb.append(name);
133 String name = renameType(ret);
134 sb.append(name);
169 public void visit(int version, int access, String name, String signature, argument
171 name = renameInternalType(name);
195 visitInnerClass(String name, String outerName, String innerName, int access) argument
202 visitOuterClass(String owner, String name, String desc) argument
207 visitMethod(int access, String name, String desc, String signature, String[] exceptions) argument
222 visitField(int access, String name, String desc, String signature, Object value) argument
271 visitFieldInsn(int opcode, String owner, String name, String desc) argument
279 visitMethodInsn(int opcode, String owner, String name, String desc) argument
316 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
338 visitClassType(String name) argument
344 visitInnerClassType(String name) argument
378 visitFormalTypeParameter(String name) argument
424 visitTypeVariable(String name) argument
[all...]
/frameworks/base/media/mca/
H A Dstructgen.py107 def __init__(self, name, structname, jclassname, package, javatype, ctype, jtype, defval):
108 self.name = name
118 return " %s %s;" % (self.ctype, self.name)
124 " }" % (self.javatype, ToJavaName(self.name, 0), ToJavaName(self.name, 0))
130 " }" % (ToJavaName(self.name, 0), self.javatype, ToJavaName(self.name, 0))
134 % (self.javatype, ToJavaName(self.name, 0))
138 % (ToJavaName(self.name,
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleAppName.java27 * Track our app name. We don't (currently) handle any inbound packets.
68 * Set the application name. Called when we get named, which may be
72 public static void setAppName(String name, int userId) { argument
73 if (name == null || name.length() == 0)
76 mAppName = name;
78 // if DDMS is already connected, send the app name up
79 sendAPNM(name, userId);
91 Log.v("ddm", "Sending app name");
/frameworks/base/core/java/com/android/internal/app/
H A DIBatteryStats.aidl51 void noteEvent(int code, String name, int uid);
53 void noteSyncStart(String name, int uid);
54 void noteSyncFinish(String name, int uid);
55 void noteJobStart(String name, int uid);
56 void noteJobFinish(String name, int uid);
58 void noteStartWakelock(int uid, int pid, String name, String historyName,
60 void noteStopWakelock(int uid, int pid, String name, String historyName, int type);
62 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, String historyName,
64 void noteChangeWakelockFromSource(in WorkSource ws, int pid, String name, String histyoryName,
67 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, Strin
[all...]
/frameworks/native/include/binder/
H A DIServiceManager.h39 virtual sp<IBinder> getService( const String16& name) const = 0;
44 virtual sp<IBinder> checkService( const String16& name) const = 0;
49 virtual status_t addService( const String16& name,
69 status_t getService(const String16& name, sp<INTERFACE>* outService) argument
73 *outService = interface_cast<INTERFACE>(sm->getService(name));
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DFilter.java72 public Filter(String name) { argument
73 mName = name;
82 * full filter package name, including filterpack.
87 // First see if a class of that name exists
248 protected final void pushOutput(String name, Frame frame) { argument
250 if (mLogVerbose) Log.v(TAG, "Default-setting output Frame timestamp on port " + name + " to " + mCurrentTimestamp);
253 getOutputPort(name).pushFrame(frame);
256 protected final Frame pullInput(String name) { argument
257 Frame result = getInputPort(name).pullFrame();
260 if (mLogVerbose) Log.v(TAG, "Default-setting current timestamp from input port " + name
268 fieldPortValueUpdated(String name, FilterContext context) argument
275 transferInputPortFrame(String name, FilterContext context) argument
301 addInputPort(String name) argument
313 addMaskedInputPort(String name, FrameFormat formatMask) argument
329 addOutputPort(String name, FrameFormat format) argument
354 addFieldPort(String name, Field field, boolean hasDefault, boolean isFinal) argument
376 addProgramPort(String name, String varName, Field field, Class varType, boolean hasDefault) argument
397 closeOutputPort(String name) argument
528 notifyFieldPortValueUpdated(String name, FilterContext context) argument
619 setImmediateInputValue(String name, Object value) argument
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DCompoundTransform.java40 Component(int type, String name) { argument
43 mName = name;
48 if (mData.name != null) {
51 mData.name = SceneManager.getCachedAlloc(getName());
52 if (mData.name == null) {
53 mData.name = SceneManager.getStringAsAllocation(rs, getName());
54 SceneManager.cacheAlloc(getName(), mData.name);
75 public TranslateComponent(String name, Float3 translate) { argument
76 super(ScriptC_export.const_Transform_TRANSLATE, name);
91 public RotateComponent(String name, Float argument
115 ScaleComponent(String name, Float3 scale) argument
137 addTranslate(String name, Float3 translate) argument
143 addRotate(String name, Float3 axis, float angle) argument
149 addScale(String name, Float3 scale) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXMaster.cpp77 char name[128]; local
80 name, sizeof(name), index++)) == OMX_ErrorNone) {
81 String8 name8(name);
84 ALOGE("A component of name '%s' already exists, ignoring this one.",
122 const char *name,
130 ssize_t index = mPluginByComponentName.indexOfKey(String8(name));
138 plugin->makeComponentInstance(name, callbacks, appData, component);
166 OMX_STRING name,
180 strcpy(name, name
121 makeComponentInstance( const char *name, const OMX_CALLBACKTYPE *callbacks, OMX_PTR appData, OMX_COMPONENTTYPE **component) argument
165 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
185 getRolesOfComponent( const char *name, Vector<String8> *roles) argument
[all...]
/frameworks/base/core/java/android/os/
H A DServiceManagerNative.java58 String name = data.readString();
59 IBinder service = getService(name);
66 String name = data.readString();
67 IBinder service = checkService(name);
74 String name = data.readString();
77 addService(name, service, allowIsolated);
118 public IBinder getService(String name) throws RemoteException { argument
122 data.writeString(name);
130 public IBinder checkService(String name) throws RemoteException { argument
134 data.writeString(name);
142 addService(String name, IBinder service, boolean allowIsolated) argument
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dtime_util.h34 explicit NamedStopWatch(const string& name);
38 void SetName(const string& name) { mName = name; } argument
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DFrameBranch.java31 @GenerateFinalPort(name = "outputs", hasDefault = true)
34 public FrameBranch(String name) { argument
35 super(name);
H A DOutputStreamTarget.java34 @GenerateFieldPort(name = "stream")
37 public OutputStreamTarget(String name) { argument
38 super(name);
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/text/
H A DStringSource.java32 @GenerateFieldPort(name = "stringValue")
37 public StringSource(String name) { argument
38 super(name);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneLayoutInflater.java52 @Override protected View onCreateView(String name, AttributeSet attrs) throws ClassNotFoundException { argument
55 View view = createView(name, prefix, attrs);
65 return super.onCreateView(name, attrs);
/frameworks/base/services/core/java/com/android/server/pm/
H A DSharedUserSetting.java25 final String name; field in class:SharedUserSetting
39 name = _name;
45 + name + "/" + userId + "}";

Completed in 3632 milliseconds

1234567891011>>