/packages/modules/Bluetooth/system/gd/dumpsys/internal/ |
D | filter_internal_test.cc | 130 const reflection::Object* object = schema_->root_table(); in TEST_F() local 131 ASSERT_TRUE(object != nullptr); in TEST_F() 133 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 145 const reflection::Object* object = schema_->root_table(); in TEST_F() local 146 ASSERT_TRUE(object != nullptr); in TEST_F() 148 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 161 const reflection::Object* object = schema_->root_table(); in TEST_F() local 162 ASSERT_TRUE(object != nullptr); in TEST_F() 164 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 176 const reflection::Object* object = schema_->root_table(); in TEST_F() local [all …]
|
/packages/modules/Bluetooth/system/osi/src/ |
D | reactor.cc | 144 reactor_object_t* object = in reactor_register() local 147 object->reactor = reactor; in reactor_register() 148 object->fd = fd; in reactor_register() 149 object->context = context; in reactor_register() 150 object->read_ready = read_ready; in reactor_register() 151 object->write_ready = write_ready; in reactor_register() 152 object->mutex = new std::mutex; in reactor_register() 158 event.data.ptr = object; in reactor_register() 163 delete object->mutex; in reactor_register() 164 osi_free(object); in reactor_register() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | EntrySchema.java | 103 public <T extends Entry> T cursorToObject(Cursor cursor, T object) { in cursorToObject() argument 110 field.set(object, cursor.isNull(columnIndex) in cursorToObject() 115 field.setBoolean(object, cursor.getShort(columnIndex) == 1); in cursorToObject() 118 field.setShort(object, cursor.getShort(columnIndex)); in cursorToObject() 121 field.setInt(object, cursor.getInt(columnIndex)); in cursorToObject() 124 field.setLong(object, cursor.getLong(columnIndex)); in cursorToObject() 127 field.setFloat(object, cursor.getFloat(columnIndex)); in cursorToObject() 130 field.setDouble(object, cursor.getDouble(columnIndex)); in cursorToObject() 133 field.set(object, cursor.isNull(columnIndex) in cursorToObject() 139 return object; in cursorToObject() [all …]
|
/packages/services/Car/packages/ScriptExecutor/tests/unit/src/com/android/car/scriptexecutortest/unit/ |
D | JniUtilsTestHelper.cpp | 34 bool hasValidNumberArray(JNIEnv* env, jobject object, jlong luaEnginePtr, jstring key, in hasValidNumberArray() argument 76 bool hasValidBooleanArray(JNIEnv* env, jobject object, jlong luaEnginePtr, jstring key, in hasValidBooleanArray() argument 119 jobject object) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeCreateLuaEngine() argument 126 JNIEnv* env, jobject object, jlong luaEnginePtr) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeDestroyLuaEngine() argument 132 JNIEnv* env, jobject object, jlong luaEnginePtr, jobject bundle) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativePushBundleToLuaTableCaller() argument 140 JNIEnv* env, jobject object, jlong luaEnginePtr, jobject bundleList) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativePushBundleListToLuaTableCaller() argument 148 jobject object, in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeGetObjectSize() argument 158 JNIEnv* env, jobject object, jlong luaEnginePtr, jstring key, jboolean value) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeHasBooleanValue() argument 176 JNIEnv* env, jobject object, jlong luaEnginePtr, jstring key, jint value) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeHasIntValue() argument 196 JNIEnv* env, jobject object, jlong luaEnginePtr, jstring key, jdouble value) { in Java_com_android_car_scriptexecutortest_unit_JniUtilsTest_nativeHasDoubleValue() argument [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | Wikidata.java | 216 private static void dumpJson(String name, String indent, Object object) throws JSONException { in dumpJson() argument 218 if (object == JSONObject.NULL) { in dumpJson() 220 } else if (object instanceof JSONObject) { in dumpJson() 222 JSONObject jsonObject = (JSONObject) object; in dumpJson() 229 } else if (object instanceof JSONArray) { in dumpJson() 231 JSONArray jsonArray = (JSONArray) object; in dumpJson() 236 } else if (object instanceof String) { in dumpJson() 237 String jsonString = (String) object; in dumpJson() 239 } else if (object instanceof Boolean) { in dumpJson() 240 Boolean jsonBoolean = (Boolean) object; in dumpJson() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/icons/ |
D | LauncherActivityCachingLogic.java | 47 public ComponentName getComponent(@NonNull LauncherActivityInfo object) { in getComponent() argument 48 return object.getComponentName(); in getComponent() 53 public UserHandle getUser(@NonNull LauncherActivityInfo object) { in getUser() argument 54 return object.getUser(); in getUser() 59 public CharSequence getLabel(@NonNull LauncherActivityInfo object) { in getLabel() argument 60 return object.getLabel(); in getLabel() 65 public BitmapInfo loadIcon(@NonNull Context context, @NonNull LauncherActivityInfo object) { in loadIcon() argument 68 .getIconProvider().getIcon(object, li.mFillResIconDpi), in loadIcon() 69 new IconOptions().setUser(object.getUser())); in loadIcon()
|
D | ComponentWithLabel.java | 48 public ComponentName getComponent(@NonNull T object) { in getComponent() argument 49 return object.getComponent(); in getComponent() 54 public UserHandle getUser(@NonNull T object) { in getUser() argument 55 return object.getUser(); in getUser() 60 public CharSequence getLabel(@NonNull T object) { in getLabel() argument 61 return object.getLabel(mPackageManager); in getLabel() 66 public BitmapInfo loadIcon(@NonNull Context context, @NonNull T object) { in loadIcon() argument
|
/packages/modules/Permission/service/java/com/android/permission/persistence/ |
D | RuntimePermissionsState.java | 122 public boolean equals(Object object) { in equals() argument 123 if (this == object) { in equals() 126 if (object == null || getClass() != object.getClass()) { in equals() 129 RuntimePermissionsState that = (RuntimePermissionsState) object; in equals() 204 public boolean equals(Object object) { in equals() argument 205 if (this == object) { in equals() 208 if (object == null || getClass() != object.getClass()) { in equals() 211 PermissionState that = (PermissionState) object; in equals()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/response/ |
D | GetImsiPseudonymResponse.java | 57 JSONObject object = array.optJSONObject(i); in GetImsiPseudonymResponse() local 58 if (object == null) { in GetImsiPseudonymResponse() 61 int id = object.optInt(JSON_KEY_MESSAGE_ID, -1); in GetImsiPseudonymResponse() 64 parse3gppAuthentication(object); in GetImsiPseudonymResponse() 67 parseGetImsiPseudonym(object); in GetImsiPseudonymResponse() 78 private void parseGetImsiPseudonym(JSONObject object) { in parseGetImsiPseudonym() argument 79 mGetImsiPseudonymResponseCode = object.optInt(JSON_KEY_RESPONSE_CODE, -1); in parseGetImsiPseudonym() 80 mImsiPseudonym = object.optString(JSON_KEY_IMSI_PSEUDONYM, null); in parseGetImsiPseudonym() 81 mRefreshInterval = object.optInt(JSON_KEY_REFRESH_INTERVAL, -1); in parseGetImsiPseudonym()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | MainThreadInitializedObject.java | 134 protected <T> T getObject(MainThreadInitializedObject<T> object) { in getObject() argument 139 T t = (T) mObjectMap.get(object); in getObject() 144 t = createObject(object); in getObject() 147 if (!mAllowedObjects.contains(object) && !(t instanceof SafeCloseable)) { in getObject() 149 + object + " " + object.mProvider + " " + t); in getObject() 151 mObjectMap.put(object, t); in getObject() 158 return MAIN_EXECUTOR.submit(() -> getObject(object)).get(); in getObject() 165 protected <T> T createObject(MainThreadInitializedObject<T> object) { in createObject() argument 166 return object.mProvider.get(this); in createObject()
|
/packages/apps/CellBroadcastReceiver/tests/compliancetests/src/com/android/cellbroadcastreceiver/compliancetests/ |
D | CellBroadcastChannelTestConfig.java | 46 JSONObject object = channelsForCarrier.getJSONObject(channel); in CellBroadcastChannelTestConfig() local 47 String defaultValue = object.getString(CHANNEL_DEFAULT_VALUE_FIELD); in CellBroadcastChannelTestConfig() 51 mExpectedTitle = object.getString(CHANNEL_TITLE); in CellBroadcastChannelTestConfig() 52 mFilteredLanguage = getObjectString(object, CHANNEL_FILTER_LANGUAGE); in CellBroadcastChannelTestConfig() 61 String alertType = getObjectString(object, CHANNEL_ALERT_TYPE); in CellBroadcastChannelTestConfig() 66 String testModeString = getObjectString(object, CHANNEL_TEST_MODE); in CellBroadcastChannelTestConfig() 70 String displayString = getObjectString(object, CHANNEL_DISPLAY); in CellBroadcastChannelTestConfig() 74 mWarningType = getObjectString(object, CHANNEL_WARNING_TYPE); in CellBroadcastChannelTestConfig()
|
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | CachingLogic.java | 31 ComponentName getComponent(T object); in getComponent() argument 33 UserHandle getUser(T object); in getUser() argument 35 CharSequence getLabel(T object); in getLabel() argument 37 default CharSequence getDescription(T object, CharSequence fallback) { in getDescription() argument 42 BitmapInfo loadIcon(Context context, T object); in loadIcon() argument 48 default String getKeywords(T object, LocaleList localeList) { in getKeywords() argument 55 default long getLastUpdatedTime(T object, PackageInfo info) { in getLastUpdatedTime() argument
|
D | BaseIconCache.java | 245 public synchronized <T> void addIconToDBAndMemCache(T object, CachingLogic<T> cachingLogic, in addIconToDBAndMemCache() argument 247 UserHandle user = cachingLogic.getUser(object); in addIconToDBAndMemCache() 248 ComponentName componentName = cachingLogic.getComponent(object); in addIconToDBAndMemCache() 261 entry.bitmap = cachingLogic.loadIcon(mContext, object); in addIconToDBAndMemCache() 267 entry.title = cachingLogic.getLabel(object); in addIconToDBAndMemCache() 272 componentName.getPackageName(), cachingLogic.getKeywords(object, mLocaleList)); in addIconToDBAndMemCache() 274 cachingLogic.getLastUpdatedTime(object, info)); in addIconToDBAndMemCache() 319 T object = null; in cacheLocked() local 323 object = infoProvider.get(); in cacheLocked() 326 if (object != null) { in cacheLocked() [all …]
|
/packages/apps/Camera2/src/com/android/camera/debug/ |
D | LogUtil.java | 35 public static String addTags(Object object, String msg) { in addTags() argument 36 return hashCodeTag(object) + mainThreadTag() + " " + msg; in addTags() 44 public static String addTags(Object object, String msg, String tagList) { in addTags() argument 45 return hashCodeTag(object) + mainThreadTag() + formatTags(tagList) + " " + msg; in addTags() 71 private static String hashCodeTag(Object object) { in hashCodeTag() argument 73 if (object == null) { in hashCodeTag() 76 tag = Integer.toHexString(Objects.hashCode(object)); in hashCodeTag()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowSecureSettings.java | 74 final Object object = userTable.get(userHandle, name); in getIntForUser() local 75 return object instanceof Integer ? (Integer) object : def; in getIntForUser() 94 final Object object = userTable.get(userHandle, name); in getLongForUser() local 95 return object instanceof Long ? (Long) object : def; in getLongForUser() 114 final Object object = userTable.get(userHandle, name); in getFloatForUser() local 115 return object instanceof Float ? (Float) object : def; in getFloatForUser()
|
/packages/modules/Bluetooth/system/gd/dumpsys/ |
D | filter.cc | 65 virtual void FilterObject(const reflection::Object* object, flatbuffers::Table* table){}; in FilterObject() argument 94 void FilterObject(const reflection::Object* object, flatbuffers::Table* table) override; 130 void UserPrivacyFilter::FilterObject(const reflection::Object* object, flatbuffers::Table* table) { in FilterObject() argument 131 ASSERT(object != nullptr); in FilterObject() 135 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in FilterObject() 148 const reflection::Object* object = schema->root_table(); in FilterTable() local 149 if (object == nullptr) { in FilterTable() 158 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in FilterTable()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | ReflectionHelpers.java | 31 public static <R> R getField(Object object, String fieldName) { in getField() argument 33 Field field = object.getClass().getDeclaredField(fieldName); in getField() 35 return (R) field.get(object); in getField() 48 public static void setField(Object object, String fieldName, Object fieldNewValue) { in setField() argument 50 Field field = object.getClass().getDeclaredField(fieldName); in setField() 52 field.set(object, fieldNewValue); in setField()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/common/ |
D | Validator.java | 39 default void validate(T object) throws IllegalArgumentException { in validate() argument 40 Collection<String> violations = getValidationViolations(object); in validate() 44 EXCEPTION_MESSAGE_FORMAT, object.getClass().getName(), violations)); in validate() 55 default Collection<String> getValidationViolations(T object) { in getValidationViolations() argument 57 addValidation(object, violations); in getValidationViolations() 62 void addValidation(T object, ImmutableCollection.Builder<String> violations); in addValidation() argument
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CaptureDataSerializer.java | 132 private static String metadataValueToString(Object object) { in metadataValueToString() argument 133 if (object == null) { in metadataValueToString() 136 if (object.getClass().isArray()) { in metadataValueToString() 140 int length = Array.getLength(object); in metadataValueToString() 142 Object item = Array.get(object, i); in metadataValueToString() 155 if (object instanceof LensShadingMap) { in metadataValueToString() 156 return toString((LensShadingMap) object); in metadataValueToString() 157 } else if (object instanceof Pair) { in metadataValueToString() 158 return toString((Pair<?, ?>) object); in metadataValueToString() 160 return object.toString(); in metadataValueToString()
|
/packages/services/Car/tools/hidl_parser/ |
D | parser.py | 83 class Typename(object): 101 class EnumHeader(object): 109 class StructHeader(object): 116 class TypedefHeader(object): 123 class EnumDecl(object): 150 class StructDecl(object): 162 class TypedefDecl(object): 174 class StructElement(object): 193 class EnumCase(object): 201 class PackageID(object): [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiPalettesAdapter.java | 92 final Object object) { in setPrimaryItem() argument 128 public boolean isViewFromObject(final View view, final Object object) { in isViewFromObject() argument 129 return view == object; in isViewFromObject() 134 final Object object) { in destroyItem() argument 136 Log.d(TAG, "destroy item: " + position + ", " + object.getClass().getSimpleName()); in destroyItem() 143 if (object instanceof View) { in destroyItem() 144 container.removeView((View)object); in destroyItem() 146 Log.w(TAG, "Warning!!! Emoji palette may be leaking. " + object); in destroyItem()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_vc.cpp | 226 static void initNative(JNIEnv* env, jobject object) { in initNative() argument 248 if ((mCallbacksObj = env->NewGlobalRef(object)) == nullptr) { in initNative() 263 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() argument 284 static jboolean connectVolumeControlNative(JNIEnv* env, jobject object, in connectVolumeControlNative() argument 307 static jboolean disconnectVolumeControlNative(JNIEnv* env, jobject object, in disconnectVolumeControlNative() argument 330 static void setVolumeNative(JNIEnv* env, jobject object, jbyteArray address, in setVolumeNative() argument 349 static void setGroupVolumeNative(JNIEnv* env, jobject object, jint group_id, in setGroupVolumeNative() argument 360 static void muteNative(JNIEnv* env, jobject object, jbyteArray address) { in muteNative() argument 378 static void muteGroupNative(JNIEnv* env, jobject object, jint group_id) { in muteGroupNative() argument 387 static void unmuteNative(JNIEnv* env, jobject object, jbyteArray address) { in unmuteNative() argument [all …]
|
D | com_android_bluetooth_gatt.cpp | 1352 static void initializeNative(JNIEnv* env, jobject object) { in initializeNative() argument 1394 mCallbacksObj = env->NewGlobalRef(object); in initializeNative() 1397 static void cleanupNative(JNIEnv* env, jobject object) { in cleanupNative() argument 1418 static int gattClientGetDeviceTypeNative(JNIEnv* env, jobject object, in gattClientGetDeviceTypeNative() argument 1424 static void gattClientRegisterAppNative(JNIEnv* env, jobject object, in gattClientRegisterAppNative() argument 1432 static void gattClientUnregisterAppNative(JNIEnv* env, jobject object, in gattClientUnregisterAppNative() argument 1447 static void registerScannerNative(JNIEnv* env, jobject object, in registerScannerNative() argument 1456 static void unregisterScannerNative(JNIEnv* env, jobject object, in unregisterScannerNative() argument 1463 static void gattClientScanNative(JNIEnv* env, jobject object, jboolean start) { in gattClientScanNative() argument 1468 static void gattClientConnectNative(JNIEnv* env, jobject object, jint clientif, in gattClientConnectNative() argument [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | ItemFocusIndicatorHelper.java | 48 public void setValue(ItemFocusIndicatorHelper object, float value) { 49 object.setAlpha(value); 53 public Float get(ItemFocusIndicatorHelper object) { 54 return object.mAlpha; 62 public void setValue(ItemFocusIndicatorHelper object, float value) { 63 object.mShift = value; 67 public Float get(ItemFocusIndicatorHelper object) { 68 return object.mShift;
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | PermissionSet.java | 65 public boolean equals(Object object) { in equals() argument 66 if (this == object) { in equals() 69 if (object == null || getClass() != object.getClass()) { in equals() 72 PermissionSet that = (PermissionSet) object; in equals()
|