/frameworks/base/cmds/idmap2/tests/ |
D | IdmapTests.cpp | 105 const std::vector<std::unique_ptr<const IdmapData::TypeEntry>>& types = data->GetTypeEntries(); in TEST() local 106 ASSERT_EQ(types.size(), 2U); in TEST() 108 ASSERT_EQ(types[0]->GetTargetTypeId(), 0x02U); in TEST() 109 ASSERT_EQ(types[0]->GetOverlayTypeId(), 0x02U); in TEST() 110 ASSERT_EQ(types[0]->GetEntryCount(), 1U); in TEST() 111 ASSERT_EQ(types[0]->GetEntryOffset(), 0U); in TEST() 112 ASSERT_EQ(types[0]->GetEntry(0), 0x0000U); in TEST() 114 ASSERT_EQ(types[1]->GetTargetTypeId(), 0x03U); in TEST() 115 ASSERT_EQ(types[1]->GetOverlayTypeId(), 0x03U); in TEST() 116 ASSERT_EQ(types[1]->GetEntryCount(), 3U); in TEST() [all …]
|
/frameworks/compile/slang/tests/F_fs_types/ |
D | stderr.txt.expect | 1 fs_types.fs:4:8: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'd' 2 fs_types.fs:13:10: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'myS' 3 fs_types.fs:15:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'd' 4 fs_types.fs:16:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'e' 5 fs_types.fs:17:15: error: Builtin types > 32 bits in size are forbidden in Filterscript 6 fs_types.fs:18:7: error: Builtin types > 32 bits in size are forbidden in Filterscript 7 fs_types.fs:21:12: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'l' 8 fs_types.fs:22:10: error: Builtin types > 32 bits in size are forbidden in Filterscript: 'm' 9 fs_types.fs:23:13: error: Builtin types > 32 bits in size are forbidden in Filterscript 10 fs_types.fs:24:7: error: Builtin types > 32 bits in size are forbidden in Filterscript [all …]
|
/frameworks/ml/nn/tools/api/ |
D | generate_api.sh | 28 SPECFILE=$(dirname $0)/types.spec 43 doit hal_1.0 ${HALDIR}/1.0/types.t ${HALDIR}/1.0/types.hal 44 doit hal_1.1 ${HALDIR}/1.1/types.t ${HALDIR}/1.1/types.hal 45 doit hal_1.2 ${HALDIR}/1.2/types.t ${HALDIR}/1.2/types.hal 46 doit hal_1.3 ${HALDIR}/1.3/types.t ${HALDIR}/1.3/types.hal
|
/frameworks/base/core/java/android/view/ |
D | InsetsController.java | 223 public void show(@InsetType int types) { in show() argument 224 show(types, false /* fromIme */); in show() 227 private void show(@InsetType int types, boolean fromIme) { in show() argument 231 final ArraySet<Integer> internalTypes = InsetsState.toInternalType(types); in show() 253 public void hide(@InsetType int types) { in hide() argument 255 final ArraySet<Integer> internalTypes = InsetsState.toInternalType(types); in hide() 272 public void controlWindowInsetsAnimation(@InsetType int types, in controlWindowInsetsAnimation() argument 274 controlWindowInsetsAnimation(types, listener, false /* fromIme */); in controlWindowInsetsAnimation() 277 private void controlWindowInsetsAnimation(@InsetType int types, in controlWindowInsetsAnimation() argument 285 controlAnimationUnchecked(types, listener, mFrame, fromIme); in controlWindowInsetsAnimation() [all …]
|
D | WindowInsetsController.java | 43 void show(@InsetType int types); in show() argument 56 void hide(@InsetType int types); in hide() argument 67 void controlWindowInsetsAnimation(@InsetType int types, in controlWindowInsetsAnimation() argument
|
/frameworks/base/mime/ |
D | Android.bp | 63 srcs: [":mime.types.minimized"], 76 srcs: [":mime.types.minimized"], 81 // Combination of all *mime.types.minimized resources. 83 name: "mime.types.minimized", 88 ":debian.mime.types.minimized", 89 ":android.mime.types.minimized", 90 ":vendor.mime.types.minimized", 95 name: "android.mime.types.minimized", 99 out: ["android.mime.types"], 101 "java-res/android.mime.types", [all …]
|
/frameworks/hardware/interfaces/ |
D | current.txt | 11 …b0ef043f4c4b31fc418ba40e75030a10f249bc2d39df88da82317b9 android.frameworks.sensorservice@1.0::types 19 …48e1ff49f4776c7ea407b9be8d451510ff2cb8e57b2286f623496e android.frameworks.displayservice@1.0::types 24 …b2f5e440c78ff0f6234f68b5141af752a981be6b9366531a1b83ec6430b android.frameworks.bufferhub@1.0::types 25 …a4cb0da60969ca7a2ec617b7b7fb8629dc5a536ad8632dce android.frameworks.cameraservice.common@2.0::types 28 …170a087034f19b75c30d55c1efac33afdeead10f429af171 android.frameworks.cameraservice.device@2.0::types 31 …44514debf7f943ead81b33aa5aa59756e4f09f6e7f87a22 android.frameworks.cameraservice.service@2.0::types 33 d9c951c12923ae3962e6947fe008f4c372f117182a4c3aaf483d9b3748af0bcc android.frameworks.stats@1.0::types
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | LockTargetStateAnalysis.java | 54 List<LockTarget> types = new ArrayList<>(); in naryOperation() local 58 types.add(target); in naryOperation() 62 return new LockTargetState(base.getType(), types); in naryOperation() 68 List<LockTarget> types = new ArrayList<>(); in newValue() local 75 types.add(target); in newValue() 79 if (types.isEmpty()) { in newValue() 83 return new LockTargetState(base.getType(), types); in newValue()
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioContainers.h | 97 audio_devices_t types = AUDIO_DEVICE_NONE; in deviceTypesToBitMask() local 99 types |= deviceType; in deviceTypesToBitMask() 101 return types; in deviceTypesToBitMask() 106 static inline DeviceTypeSet deviceTypesFromBitMask(audio_devices_t types) { in deviceTypesFromBitMask() argument 108 if ((types & AUDIO_DEVICE_BIT_IN) == 0) { in deviceTypesFromBitMask() 110 if ((types & deviceType) == deviceType) { in deviceTypesFromBitMask() 116 if ((types & deviceType) == deviceType) { in deviceTypesFromBitMask()
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
D | TypeReference.java | 188 private static final Class<?> getRawType(Type[] types) { in getRawType() argument 189 if (types == null) { in getRawType() 193 for (Type type : types) { in getRawType() 401 private static void toString(Type[] types, StringBuilder out) { in toString() argument 402 if (types == null) { in toString() 404 } else if (types.length == 0) { in toString() 410 for (int i = 0; i < types.length; ++i) { in toString() 411 toString(types[i], out); in toString() 412 if (i != types.length - 1) { in toString()
|
/frameworks/ml/nn/extensions/ |
D | README.md | 4 collections of vendor-defined operations and data types. On devices running NN 10 data types, which were deprecated in Android 10. 39 Note: Names of extension operation and operand types must be qualified with a 47 The name acts as a namespace for operations and data types. The NNAPI uses this 50 Operations and data types are declared in a way similar to those in 83 types and operand types from other extensions. When using an operand type from 181 Of the 32 bits used to identify types and operations, the high 196 The driver must validate extension operations and data types because the NNAPI 197 runtime can't validate particular extension operations and data types. 202 ## OEM operation and data types [all …]
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
D | glGetDebugMessageLogKHR.java | 8 int[] types, in glGetDebugMessageLogKHR() argument 24 java.nio.IntBuffer types, in glGetDebugMessageLogKHR() argument 36 int[] types, in glGetDebugMessageLogKHR() argument 48 java.nio.IntBuffer types, in glGetDebugMessageLogKHR() argument
|
D | glGetDebugMessageLog.java | 8 int[] types, in glGetDebugMessageLog() argument 24 java.nio.IntBuffer types, in glGetDebugMessageLog() argument 36 int[] types, in glGetDebugMessageLog() argument 48 java.nio.IntBuffer types, in glGetDebugMessageLog() argument
|
/frameworks/native/libs/sensor/tests/ |
D | SensorEventQueue_test.cpp | 44 Events filterEvents(const Events &types) const { in filterEvents() 46 ASensorEvent* events = new ASensorEvent[types.size()]; in filterEvents() 47 for (size_t i = 0; i < types.size(); i++) { in filterEvents() 48 events[i].type = types[i]; in filterEvents() 52 ssize_t filteredCount = mQueue->filterEvents(events, types.size()); in filterEvents()
|
/frameworks/base/core/java/android/app/ |
D | MediaRouteActionProvider.java | 75 public void setRouteTypes(int types) { in setRouteTypes() argument 76 if (mRouteTypes != types) { in setRouteTypes() 87 mRouteTypes = types; in setRouteTypes() 88 if (types != 0) { in setRouteTypes() 89 mRouter.addCallback(types, mCallback, in setRouteTypes()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | MediaRouteChooserDialogFragment.java | 59 public void setRouteTypes(int types) { in setRouteTypes() argument 60 if (types != getRouteTypes()) { in setRouteTypes() 65 args.putInt(ARGUMENT_ROUTE_TYPES, types); in setRouteTypes() 70 dialog.setRouteTypes(types); in setRouteTypes()
|
/frameworks/base/core/proto/android/os/ |
D | enums.proto | 23 // These constants are defined in hardware/interfaces/health/1.0/types.hal 48 // These constants are defined in hardware/interfaces/health/1.0/types.hal 59 // These constants are defined in hardware/interfaces/thermal/1.0/types.hal 60 // and in hardware/interfaces/thermal/2.0/types.hal 62 // Any change to the types in the thermal hal should be made here as well. 82 // These constants are defined in hardware/interfaces/thermal/2.0/types.hal. 83 // Any change to the types in the thermal hal should be made here as well. 103 // Device cooling device types. 104 // These constants are defined in hardware/interfaces/thermal/2.0/types.hal. 105 // Any change to the types in the thermal hal should be made here as well. [all …]
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiControlManager.java | 305 int[] types = null; in HdmiControlManager() local 308 types = mService.getSupportedTypes(); in HdmiControlManager() 313 mHasTvDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_TV); in HdmiControlManager() 314 mHasPlaybackDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_PLAYBACK); in HdmiControlManager() 315 mHasAudioSystemDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM); in HdmiControlManager() 316 mHasSwitchDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_PURE_CEC_SWITCH); in HdmiControlManager() 320 private static boolean hasDeviceType(int[] types, int type) { in hasDeviceType() argument 321 if (types == null) { in hasDeviceType() 324 for (int t : types) { in hasDeviceType()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
D | SaveUi.java | 174 final ArraySet<String> types = new ArraySet<>(3); in SaveUi() local 178 types.add(context.getString(R.string.autofill_save_type_password)); in SaveUi() 181 types.add(context.getString(R.string.autofill_save_type_address)); in SaveUi() 184 types.add(context.getString(R.string.autofill_save_type_credit_card)); in SaveUi() 187 types.add(context.getString(R.string.autofill_save_type_username)); in SaveUi() 190 types.add(context.getString(R.string.autofill_save_type_email_address)); in SaveUi() 193 switch (types.size()) { in SaveUi() 198 types.valueAt(0), serviceLabel), 0); in SaveUi() 204 types.valueAt(0), types.valueAt(1), serviceLabel), 0); in SaveUi() 210 types.valueAt(0), types.valueAt(1), types.valueAt(2), serviceLabel), 0); in SaveUi()
|
/frameworks/compile/slang/tests/F_union/ |
D | stderr.txt.expect | 2 union.rscript:9:14: error: unions containing RS object types are not allowed 3 union.rscript:16:11: error: unions containing RS object types are not allowed
|
/frameworks/compile/slang/tests/F_refcount_15/ |
D | stderr.txt.expect | 1 refcount_15.rscript:5:15: error: arrays/structures containing RS object types cannot be exported in… 2 refcount_15.rscript:9:3: error: arrays/structures containing RS object types cannot be exported in …
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsControllerTest.java | 193 int types = Type.sideBars() | Type.systemBars(); in testShowHideSelectively() local 195 mController.show(types); in testShowHideSelectively() 202 mController.hide(types); in testShowHideSelectively() 219 int types = Type.sideBars() | Type.systemBars(); in testShowHideSingle() local 221 mController.show(types); in testShowHideSingle() 274 int types = Type.sideBars() | Type.systemBars(); in testShowHideMultiple() local 276 mController.show(types); in testShowHideMultiple() 300 int types = Type.sideBars() | Type.systemBars(); in testShowMultipleHideOneByOne() local 302 mController.show(types); in testShowMultipleHideOneByOne()
|
/frameworks/base/libs/androidfw/tests/ |
D | LoadedArsc_test.cpp | 66 const ResTable_type* type = type_spec->types[0]; in TEST() 90 const ResTable_type* type = type_spec->types[0]; in TEST() 173 ASSERT_THAT(type_spec->types[0], NotNull()); in TEST() 181 ASSERT_THAT(LoadedPackage::GetEntry(type_spec->types[0], entry_index), NotNull()); in TEST() 216 ASSERT_THAT(type_spec->types[0], NotNull()); in TEST() 221 ASSERT_THAT(type_spec->types[0], NotNull()); in TEST() 265 ASSERT_THAT(type_spec->types[0], NotNull()); in TEST() 268 ASSERT_THAT(LoadedPackage::GetEntry(type_spec->types[0], 0x0001u), IsNull()); in TEST() 275 ASSERT_THAT(LoadedPackage::GetEntry(type_spec->types[0], 0x0000), NotNull()); in TEST()
|
/frameworks/base/tools/aapt2/tools/ |
D | extract_unicode_properties.py | 31 types = [] 34 types.append(enum_str) 36 "{", self.first_char, self.last_char, ' | '.join(types), "}")
|
/frameworks/base/media/java/android/media/ |
D | MediaRouter.java | 776 static String typesToString(int types) { in typesToString() argument 778 if ((types & ROUTE_TYPE_LIVE_AUDIO) != 0) { in typesToString() 781 if ((types & ROUTE_TYPE_LIVE_VIDEO) != 0) { in typesToString() 784 if ((types & ROUTE_TYPE_REMOTE_DISPLAY) != 0) { in typesToString() 787 if ((types & ROUTE_TYPE_USER) != 0) { in typesToString() 876 public boolean isRouteAvailable(int types, int flags) { in isRouteAvailable() argument 880 if (route.matchesTypes(types)) { in isRouteAvailable() 923 public void addCallback(int types, Callback cb) { in addCallback() argument 924 addCallback(types, cb, 0); in addCallback() 943 public void addCallback(int types, Callback cb, int flags) { in addCallback() argument [all …]
|