Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp105 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/
Dstderr.txt.expect1 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/base/core/java/android/view/
DInsetsController.java223 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 …]
DWindowInsetsController.java43 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/hardware/interfaces/
Dcurrent.txt11 …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/
DLockTargetStateAnalysis.java54 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/native/opengl/tools/glgen/stubs/gles11/
DglGetDebugMessageLogKHR.java8 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
DglGetDebugMessageLog.java8 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/base/core/java/android/hardware/camera2/utils/
DTypeReference.java187 private static final Class<?> getRawType(Type[] types) { in getRawType() argument
188 if (types == null) { in getRawType()
192 for (Type type : types) { in getRawType()
400 private static void toString(Type[] types, StringBuilder out) { in toString() argument
401 if (types == null) { in toString()
403 } else if (types.length == 0) { in toString()
409 for (int i = 0; i < types.length; ++i) { in toString()
410 toString(types[i], out); in toString()
411 if (i != types.length - 1) { in toString()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteChooserDialogFragment.java59 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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DTypeRegistry.cs140 private readonly Dictionary<string, MessageDescriptor> types; field in Google.Protobuf.Reflection.TypeRegistry.Builder
145 types = new Dictionary<string, MessageDescriptor>(); in Builder()
174 types[messageDescriptor.FullName] = messageDescriptor; in AddMessage()
179 return new TypeRegistry(types); in Build()
/frameworks/native/libs/sensor/tests/
DSensorEventQueue_test.cpp44 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/
DMediaRouteActionProvider.java75 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/ml/nn/extensions/
DREADME.md4 more structured alternative to the OEM operation and data types.
5 An extension is a collection of vendor-defined operations and data types.
41 This name acts as a namespace for operations and data types.
44 Operations and data types are declared in a way similar to
75 An extension operation may use any operand types, including non-extension
76 operand types and operand types from other extensions. In the latter case,
173 When handling operation and operand types, the driver must check the
181 The driver must validate extension operations and data types, as the NNAPI
183 types.
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiControlManager.java307 int[] types = null; in HdmiControlManager() local
310 types = mService.getSupportedTypes(); in HdmiControlManager()
315 mHasTvDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_TV); in HdmiControlManager()
316 mHasPlaybackDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_PLAYBACK); in HdmiControlManager()
317 mHasAudioSystemDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_AUDIO_SYSTEM); in HdmiControlManager()
318 mHasSwitchDevice = hasDeviceType(types, HdmiDeviceInfo.DEVICE_PURE_CEC_SWITCH); in HdmiControlManager()
323 private static boolean hasDeviceType(int[] types, int type) { in hasDeviceType() argument
324 if (types == null) { in hasDeviceType()
327 for (int t : types) { in hasDeviceType()
/frameworks/base/core/proto/android/os/
Denums.proto23 // 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/compile/slang/tests/F_union/
Dstderr.txt.expect2 union.rs:9:14: error: unions containing RS object types are not allowed
3 union.rs:16:11: error: unions containing RS object types are not allowed
/frameworks/compile/slang/tests/F_refcount_15/
Dstderr.txt.expect1 refcount_15.rs:5:15: error: arrays/structures containing RS object types cannot be exported in targ…
2 refcount_15.rs:9:3: error: arrays/structures containing RS object types cannot be exported in targe…
/frameworks/base/tools/aapt2/tools/
Dextract_unicode_properties.py31 types = []
34 types.append(enum_str)
36 "{", self.first_char, self.last_char, ' | '.join(types), "}")
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DSaveUi.java174 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/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java193 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/
DLoadedArsc_test.cpp66 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/native/libs/ui/include_vndk/ui/
DHdrCapabilities.h32 HdrCapabilities(const std::vector<ui::Hdr>& types, in HdrCapabilities() argument
34 : mSupportedHdrTypes(types), in HdrCapabilities()
/frameworks/native/libs/ui/include/ui/
DHdrCapabilities.h32 HdrCapabilities(const std::vector<ui::Hdr>& types, in HdrCapabilities() argument
34 : mSupportedHdrTypes(types), in HdrCapabilities()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp147 availableOutputDevices.types() & ~outputDeviceTypesToIgnore; in getDeviceForStrategyInt()
210 (primaryOutput->supportedDevices().types() | AUDIO_DEVICE_OUT_HEARING_AID) & in getDeviceForStrategyInt()
211 availableOutputDevices.types(); in getDeviceForStrategyInt()
213 if (((availableInputDevices.types() & in getDeviceForStrategyInt()
364 audio_devices_t devices = desc->devices().types() & in getDeviceForStrategyInt()
368 availableOutputDevicesType = availableOutputDevices.types() & ~devices; in getDeviceForStrategyInt()
396 device2 = availableOutputDevices.types() & AUDIO_DEVICE_OUT_REMOTE_SUBMIX; in getDeviceForStrategyInt()
508 audio_devices_t availableDeviceTypes = availableInputDevices.types() & ~AUDIO_DEVICE_BIT_IN; in getDeviceForInputSource()
555 (availableOutputDevices.types() & AUDIO_DEVICE_OUT_TELEPHONY_TX) == 0) { in getDeviceForInputSource()
674 strategy->setDeviceTypes(devices.types()); in updateDeviceSelectionCache()

12345678910>>...18