Home
last modified time | relevance | path

Searched refs:templateId (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/core/java/android/service/controls/actions/
DCommandAction.java40 public CommandAction(@NonNull String templateId, @Nullable String challengeValue) { in CommandAction() argument
41 super(templateId, challengeValue); in CommandAction()
48 public CommandAction(@NonNull String templateId) { in CommandAction() argument
49 this(templateId, null); in CommandAction()
DModeAction.java54 public ModeAction(@NonNull String templateId, int newMode, @Nullable String challengeValue) { in ModeAction() argument
55 super(templateId, challengeValue); in ModeAction()
64 public ModeAction(@NonNull String templateId, int newMode) { in ModeAction() argument
65 this(templateId, newMode, null); in ModeAction()
DFloatAction.java39 public FloatAction(@NonNull String templateId, float newValue) { in FloatAction() argument
40 this(templateId, newValue, null); in FloatAction()
51 public FloatAction(@NonNull String templateId, float newValue, in FloatAction() argument
53 super(templateId, challengeValue); in FloatAction()
DBooleanAction.java43 public BooleanAction(@NonNull String templateId, boolean newState) { in BooleanAction() argument
44 this(templateId, newState, null); in BooleanAction()
54 public BooleanAction(@NonNull String templateId, boolean newState, in BooleanAction() argument
56 super(templateId, challengeValue); in BooleanAction()
DControlAction.java172 ControlAction(@NonNull String templateId, @Nullable String challengeValue) { in ControlAction() argument
173 Preconditions.checkNotNull(templateId); in ControlAction()
174 mTemplateId = templateId; in ControlAction()
/frameworks/base/core/java/android/service/controls/templates/
DToggleRangeTemplate.java56 public ToggleRangeTemplate(@NonNull String templateId, in ToggleRangeTemplate() argument
59 super(templateId); in ToggleRangeTemplate()
74 public ToggleRangeTemplate(@NonNull String templateId, in ToggleRangeTemplate() argument
78 this(templateId, in ToggleRangeTemplate()
DStatelessTemplate.java51 public StatelessTemplate(@NonNull String templateId) { in StatelessTemplate() argument
52 super(templateId); in StatelessTemplate()
DControlTemplate.java166 ControlTemplate(@NonNull String templateId) { in ControlTemplate() argument
167 Preconditions.checkNotNull(templateId); in ControlTemplate()
168 mTemplateId = templateId; in ControlTemplate()
DToggleTemplate.java44 public ToggleTemplate(@NonNull String templateId, @NonNull ControlButton button) { in ToggleTemplate() argument
45 super(templateId); in ToggleTemplate()
DRangeTemplate.java67 public RangeTemplate(@NonNull String templateId, in RangeTemplate() argument
73 super(templateId); in RangeTemplate()
DTemperatureControlTemplate.java163 public TemperatureControlTemplate(@NonNull String templateId, in TemperatureControlTemplate() argument
168 super(templateId); in TemperatureControlTemplate()
/frameworks/av/camera/ndk/
DNdkCameraDevice.cpp61 ACameraDevice_request_template templateId, in ACameraDevice_createCaptureRequest() argument
69 switch (templateId) { in ACameraDevice_createCaptureRequest()
78 ALOGE("%s: unknown template ID %d", __FUNCTION__, templateId); in ACameraDevice_createCaptureRequest()
81 return device->createCaptureRequest(templateId, nullptr /*physicalIdList*/, request); in ACameraDevice_createCaptureRequest()
87 ACameraDevice_request_template templateId, in ACameraDevice_createCaptureRequest_withPhysicalIds() argument
96 switch (templateId) { in ACameraDevice_createCaptureRequest_withPhysicalIds()
105 ALOGE("%s: unknown template ID %d", __FUNCTION__, templateId); in ACameraDevice_createCaptureRequest_withPhysicalIds()
108 return device->createCaptureRequest(templateId, physicalCameraIdList, request); in ACameraDevice_createCaptureRequest_withPhysicalIds()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlActionCoordinator.kt39 fun toggle(cvh: ControlViewHolder, templateId: String, isChecked: Boolean)
48 fun touch(cvh: ControlViewHolder, templateId: String, control: Control)
64 fun setValue(cvh: ControlViewHolder, templateId: String, newValue: Float)
DControlActionCoordinatorImpl.kt65 override fun toggle(cvh: ControlViewHolder, templateId: String, isChecked: Boolean) { in <lambda>()
68 cvh.action(BooleanAction(templateId, !isChecked)) in <lambda>()
72 override fun touch(cvh: ControlViewHolder, templateId: String, control: Control) { in <lambda>()
79 cvh.action(CommandAction(templateId)) in <lambda>()
92 override fun setValue(cvh: ControlViewHolder, templateId: String, newValue: Float) { in <lambda>()
94 cvh.action(FloatAction(templateId, newValue)) in <lambda>()
DToggleRangeBehavior.kt53 lateinit var templateId: String in <lambda>() variable in com.android.systemui.controls.ui.ToggleRangeBehavior
137 templateId = template.getTemplateId() in <lambda>()
183 cvh.controlActionCoordinator.toggle(cvh, templateId, isChecked) in <lambda>()
357 cvh.controlActionCoordinator.toggle(cvh, templateId, isChecked) in <lambda>()
/frameworks/av/camera/ndk/include/camera/
DNdkCameraDevice.h303 const ACameraDevice* device, ACameraDevice_request_template templateId,
852 const ACameraDevice* device, ACameraDevice_request_template templateId,
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java1258 CameraCharacteristics c, int templateId) { in createRequestTemplate() argument
1259 if (!ArrayUtils.contains(sAllowedTemplates, templateId)) { in createRequestTemplate()
1314 switch (templateId) { in createRequestTemplate()
1351 if (templateId == CameraDevice.TEMPLATE_RECORD || in createRequestTemplate()
1352 templateId == CameraDevice.TEMPLATE_VIDEO_SNAPSHOT) { in createRequestTemplate()
1357 } else if (templateId == CameraDevice.TEMPLATE_PREVIEW || in createRequestTemplate()
1358 templateId == CameraDevice.TEMPLATE_STILL_CAPTURE) { in createRequestTemplate()
1367 Log.v(TAG, "createRequestTemplate (templateId=" + templateId + ")," + in createRequestTemplate()
1415 if (templateId == CameraDevice.TEMPLATE_STILL_CAPTURE) { in createRequestTemplate()
1424 if (templateId == CameraDevice.TEMPLATE_STILL_CAPTURE) { in createRequestTemplate()
/frameworks/av/camera/ndk/ndk_vendor/impl/
Dutils.cpp78 TemplateId convertToHidl(ACameraDevice_request_template templateId) { in convertToHidl() argument
79 switch(templateId) { in convertToHidl()
DACameraDevice.h95 ACameraDevice_request_template templateId,
398 ACameraDevice_request_template templateId, in createCaptureRequest()
401 return mDevice->createCaptureRequest(templateId, physicalCameraIdList, request); in createCaptureRequest()
/frameworks/av/camera/ndk/impl/
DACameraDevice.h72 ACameraDevice_request_template templateId,
385 ACameraDevice_request_template templateId, in createCaptureRequest()
388 return mDevice->createCaptureRequest(templateId, physicalCameraIdList, request); in createCaptureRequest()
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceUser.aidl144 CameraMetadataNative createDefaultRequest(int templateId); in createDefaultRequest() argument
/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java161 public CameraMetadataNative createDefaultRequest(int templateId) throws CameraAccessException { in createDefaultRequest() argument
163 return mRemoteDevice.createDefaultRequest(templateId); in createDefaultRequest()
/frameworks/av/services/camera/libcameraservice/hidl/
DHidlCameraDeviceUser.cpp226 Return<void> HidlCameraDeviceUser::createDefaultRequest(TemplateId templateId, in createDefaultRequest() argument
229 binder::Status ret = mDeviceRemote->createDefaultRequest(convertFromHidl(templateId), in createDefaultRequest()
DConvert.cpp54 int32_t convertFromHidl(HTemplateId templateId) { in convertFromHidl() argument
55 switch(templateId) { in convertFromHidl()
DConvert.h68 int32_t convertFromHidl(HTemplateId templateId);

12