/frameworks/base/core/java/com/android/internal/util/dump/ |
D | DualDumpOutputStream.java | 104 public void add(String fieldName, Dumpable d) { in add() argument 105 ArrayList<Dumpable> l = mSubObjects.get(fieldName); in add() 109 mSubObjects.put(fieldName, l); in add() 157 public void write(@NonNull String fieldName, long fieldId, double val) { in write() argument 161 mDumpObjects.getLast().add(fieldName, new DumpField(fieldName, String.valueOf(val))); in write() 165 public void write(@NonNull String fieldName, long fieldId, boolean val) { in write() argument 169 mDumpObjects.getLast().add(fieldName, new DumpField(fieldName, String.valueOf(val))); in write() 173 public void write(@NonNull String fieldName, long fieldId, int val) { in write() argument 177 mDumpObjects.getLast().add(fieldName, new DumpField(fieldName, String.valueOf(val))); in write() 181 public void write(@NonNull String fieldName, long fieldId, float val) { in write() argument [all …]
|
/frameworks/base/tools/incident_section_gen/ |
D | main.cpp | 155 static string replaceAll(const string& fieldName, const char oldC, const string& newS) { in replaceAll() argument 156 if (fieldName.find_first_of(oldC) == fieldName.npos) return fieldName.c_str(); in replaceAll() 158 char* res = new char[fieldName.size() * newS.size() + 1]; // assign a larger buffer in replaceAll() 159 while (pos != fieldName.size()) { in replaceAll() 160 char cur = fieldName[pos++]; in replaceAll() 318 const string fieldName = getFieldName(field); in generatePrivacyFlags() local 321 if (variableNames.find(fieldName) != variableNames.end()) { in generatePrivacyFlags() 322 hasDefaultFlags[i] = variableNames[fieldName]; in generatePrivacyFlags() 337 printPrivacy(fieldName, field, "NULL", fieldDest, "NULL", in generatePrivacyFlags() 340 … gSelfRecursionAssignments.push_back(fieldName + ".children = " + fieldMessageName); in generatePrivacyFlags() [all …]
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | JsonParser.java | 47 String fieldName = reader.nextName(); in parse() local 49 if (output.has(fieldName)) { in parse() 57 output.put(fieldName, new JSONArray(parseArray(reader))); in parse() 59 output.put(fieldName, reader.nextString()); in parse() 62 output.put(fieldName, parse(reader)); in parse()
|
/frameworks/base/core/tests/coretests/src/android/transition/ |
D | TransitionTest.java | 109 private static void assertFieldEquals(Fade fade1, Fade fade2, String fieldName) in assertFieldEquals() argument 111 Field field = findField(Fade.class, fieldName); in assertFieldEquals() 113 assertEquals("Field '" + fieldName + "' value mismatch", field.get(fade1), in assertFieldEquals() 117 private static Field findField(Class<?> type, String fieldName) throws NoSuchFieldException { in findField() argument 120 return type.getDeclaredField(fieldName); in findField() 126 throw new NoSuchFieldException(fieldName); in findField()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | InputPort.java | 141 public void bindToFieldNamed(String fieldName) { in bindToFieldNamed() argument 142 Field field = findFieldNamed(fieldName, mFilter.getClass()); in bindToFieldNamed() 145 + fieldName + "'!"); in bindToFieldNamed() 313 private Field findFieldNamed(String fieldName, Class<?> clazz) { in findFieldNamed() argument 316 field = clazz.getDeclaredField(fieldName); in findFieldNamed() 321 field = findFieldNamed(fieldName, superClass); in findFieldNamed()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | EditorInfo.java | 432 public String fieldName; field in EditorInfo 546 + " fieldName=" + fieldName); in dump() 574 dest.writeString(fieldName); in writeToParcel() 604 res.fieldName = source.readString();
|
/frameworks/base/core/jni/ |
D | android_hardware_input_InputApplicationHandle.cpp | 131 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 132 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 133 LOG_FATAL_IF(! (var), "Unable to find field " fieldName);
|
D | android_hardware_input_InputWindowHandle.cpp | 252 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 253 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 254 LOG_FATAL_IF(! (var), "Unable to find field " fieldName);
|
/frameworks/av/media/codec2/sfplugin/ |
D | ReflectedParamUpdater.cpp | 149 C2String fieldName = path + "." + it->name(); in addParamStructDesc() local 152 ALOGD("ignored struct field %s", fieldName.c_str()); in addParamStructDesc() 158 ALOGD("Could not describe structure of %s", fieldName.c_str()); in addParamStructDesc() 161 addParamStructDesc(desc, fieldName, offset + _C2ParamInspector::GetOffset(*it), in addParamStructDesc() 176 ALOGD("extent() != 1 for single value type: %s", fieldName.c_str()); in addParamStructDesc() 185 ALOGD("Unrecognized type: %s", fieldName.c_str()); in addParamStructDesc() 189 ALOGV("%s registered", fieldName.c_str()); in addParamStructDesc() 192 mMap.emplace(fieldName, FieldDesc { in addParamStructDesc()
|
/frameworks/rs/cpu_ref/ |
D | rsCpuExecutable.cpp | 433 char** fieldName = nullptr; in createFromSharedObject() local 468 fieldName = new char*[varCount]; in createFromSharedObject() 469 if (fieldName == nullptr) { in createFromSharedObject() 489 fieldName[i] = duplicateString(line, sizeof(line)); in createFromSharedObject() 817 fieldAddress, fieldIsObject, fieldName, varCount, in createFromSharedObject() 853 delete[] fieldName[i]; in createFromSharedObject() 855 delete[] fieldName; in createFromSharedObject()
|
D | rsCpuExecutable.h | 80 const char* const * fieldName, size_t varCount, in ScriptExecutable() argument 92 mFieldName(fieldName), mExportedVarCount(varCount), in ScriptExecutable()
|
/frameworks/base/drm/jni/ |
D | android_drm_DrmManagerClient.cpp | 47 static String8 getStringValue(JNIEnv* env, jobject object, const char* fieldName); 50 JNIEnv* env, jobject object, const char* fieldName, int* dataLength); 57 static int getIntValue(JNIEnv* env, jobject object, const char* fieldName); 60 String8 Utility::getStringValue(JNIEnv* env, jobject object, const char* fieldName) { in getStringValue() argument 63 = env->GetFieldID(env->GetObjectClass(object), fieldName , "Ljava/lang/String;"); in getStringValue() 92 JNIEnv* env, jobject object, const char* fieldName, int* dataLength) { in getByteArrayValue() argument 96 jfieldID fieldID = env->GetFieldID(env->GetObjectClass(object), fieldName , "[B"); in getByteArrayValue() 119 int Utility::getIntValue(JNIEnv* env, jobject object, const char* fieldName) { in getIntValue() argument 126 fieldID = env->GetFieldID(clazz, fieldName , "I"); in getIntValue()
|
/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.cpp | 425 std::string fieldName = iter->first; in insertField() local 426 std::string prefix = fieldName + "_"; // underscore is the delimiter in the name in insertField() 428 if (mPreviousField != fieldName) { in insertField() 430 startSession(proto, fieldName); in insertField() 432 return mSubMessages[fieldName]->insertField(proto, mutableName, value); in insertField()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 332 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 333 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 334 LOG_FATAL_IF(! (var), "Unable to find field " fieldName);
|
D | com_android_server_input_InputManagerService.cpp | 1836 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 1837 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 1838 LOG_FATAL_IF(! (var), "Unable to find field " fieldName);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/ |
D | FakeSensorManager.java | 222 private void setSensorField(Sensor sensor, String fieldName, Object value) throws Exception { in setSensorField() argument 223 Field field = Sensor.class.getDeclaredField(fieldName); in setSensorField()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.cpp | 48 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 49 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 50 LOG_FATAL_IF(! (var), "Unable to find field %s", fieldName); 52 #define GET_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 53 var = env->GetMethodID(clazz, fieldName, fieldDescriptor); \ 54 LOG_FATAL_IF(! (var), "Unable to find method %s", fieldName); 56 #define GET_STATIC_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 57 var = env->GetStaticFieldID(clazz, fieldName, fieldDescriptor); \ 58 LOG_FATAL_IF(! (var), "Unable to find field %s", fieldName); 60 #define GET_STATIC_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \ argument [all …]
|
D | android_media_MediaPlayer.cpp | 64 #define GET_METHOD_ID(var, clazz, fieldName, fieldDescriptor) \ argument 65 var = env->GetMethodID(clazz, fieldName, fieldDescriptor); \ 66 LOG_FATAL_IF(! (var), "Unable to find method " fieldName);
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleUserState.java | 534 public void dump(@NonNull DualDumpOutputStream dumpOutputStream, @NonNull String fieldName, in dump() argument 547 long fieldToken = dumpOutputStream.start(fieldName, fieldId); in dump()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PerformanceCollectorTest.java | 485 private Object readPrivateField(String fieldName, Object object) throws Exception { in readPrivateField() argument 486 Field f = object.getClass().getDeclaredField(fieldName); in readPrivateField()
|
/frameworks/multidex/library/src/androidx/multidex/ |
D | MultiDex.java | 438 private static void expandFieldArray(Object instance, String fieldName, in expandFieldArray() argument 441 Field jlrField = findField(instance, fieldName); in expandFieldArray()
|
/frameworks/rs/driver/ |
D | rsdShader.cpp | 542 const char *fieldName = e->mHal.state.fieldNames[field]; in setupUserConstants() local 558 slot, offset, ct, field, uidx, fieldName); in setupUserConstants()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 758 private void setSensorField(Sensor sensor, String fieldName, Object value) in setSensorField() argument 760 Field field = Sensor.class.getDeclaredField(fieldName); in setSensorField()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 2108 if (DEBUG) Log.v(TAG, "Pre-Render IME for " + mInputEditorInfo.fieldName); in doStartInput()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerService.java | 911 + " fieldName=" + entry.mEditorInfo.fieldName in dump()
|