Home
last modified time | relevance | path

Searched refs:Control (Results 1 – 25 of 185) sorted by relevance

12345678

/aosp12/frameworks/base/core/tests/coretests/src/android/service/controls/
H A DControlProviderServiceTest.java123 Control control1 = new Control.StatelessBuilder("TEST_ID", mPendingIntent).build(); in testOnLoad_allStateless()
124 Control control2 = new Control.StatelessBuilder("TEST_ID_2", mPendingIntent) in testOnLoad_allStateless()
154 Control control = new Control.StatefulBuilder("TEST_ID", mPendingIntent) in testOnLoad_statefulConvertedToStateless()
158 Control statelessControl = new Control.StatelessBuilder(control).build(); in testOnLoad_statefulConvertedToStateless()
186 Control control1 = new Control.StatelessBuilder("TEST_ID", mPendingIntent).build(); in testOnLoadSuggested_allStateless()
187 Control control2 = new Control.StatelessBuilder("TEST_ID_2", mPendingIntent) in testOnLoadSuggested_allStateless()
215 Control control = new Control.StatefulBuilder("TEST_ID", mPendingIntent) in testSubscribe()
239 Control control = new Control.StatefulBuilder("TEST_ID", mPendingIntent) in testThumbnailRescaled_bigger()
270 Control control = new Control.StatefulBuilder("TEST_ID", mPendingIntent) in testThumbnailRescaled_smaller()
314 private Control sendControlGetControl(Control control) throws RemoteException { in sendControlGetControl()
[all …]
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/ui/
H A DDescriptiveTextWithControlsView.java32 private Control mLeftControl;
33 private Control mCenterControl;
34 private Control mRightControl;
45 … CharSequence subtitle,Control leftControl, Control centerControl, Control rightControl) { in DescriptiveTextWithControlsView()
55 CharSequence subtitle, long startTime, Control leftControl, in DescriptiveTextWithControlsView()
56 Control centerControl, Control rightControl) { in DescriptiveTextWithControlsView()
87 public Control getLeftControl() { in getLeftControl()
91 public Control getCenterControl() { in getCenterControl()
95 public Control getRightControl() { in getRightControl()
104 public static class Control { class in DescriptiveTextWithControlsView
[all …]
/aosp12/system/incremental_delivery/incfs/include/
H A Dincfs.h178 using Control = UniqueControl; variable
222 std::string root(const Control& control);
231 RawMetadata getMetadata(const Control& control, FileId fileId);
233 FileId getFileId(const Control& control, std::string_view path);
235 RawSignature getSignature(const Control& control, FileId fileId);
239 ErrorCode unlink(const Control& control, std::string_view path);
252 UniqueFd openForSpecialOps(const Control& control, FileId fileId);
269 ErrorCode forEachFile(const Control& control, Callback&& cb);
278 LoadingState isFullyLoaded(const Control& control, FileId fileId);
279 LoadingState isEverythingFullyLoaded(const Control& control);
[all …]
H A Dincfs_inline.h161 inline std::string root(const Control& control) { in root()
188 inline RawMetadata getMetadata(const Control& control, FileId fileId) { in getMetadata()
208 inline RawSignature getSignature(const Control& control, FileId fileId) { in getSignature()
228 inline FileId getFileId(const Control& control, std::string_view path) { in getFileId()
232 inline ErrorCode link(const Control& control, std::string_view sourcePath, in link()
237 inline ErrorCode unlink(const Control& control, std::string_view path) { in unlink()
361 inline LoadingState isEverythingFullyLoaded(const Control& control) { in isEverythingFullyLoaded()
382 inline ErrorCode forEachFile(const Control& control, Callback&& cb) { in forEachFile()
384 const Control& c; in forEachFile()
395 const Control& c; in forEachIncompleteFile()
[all …]
/aosp12/frameworks/base/services/incremental/
H A DServiceWrappers.h77 using Control = incfs::Control;
97 virtual Control openMount(std::string_view path) const = 0;
98 virtual Control createControl(IncFsFd cmd, IncFsFd pendingReads, IncFsFd logs,
108 virtual FileId getFileId(const Control& control, std::string_view path) const = 0;
110 const Control& control, std::string_view path) const = 0;
111 virtual incfs::LoadingState isFileFullyLoaded(const Control& control,
115 virtual ErrorCode link(const Control& control, std::string_view from,
118 virtual UniqueFd openForSpecialOps(const Control& control, FileId id) const = 0;
122 const Control& control, std::chrono::milliseconds timeout,
125 const Control& control,
[all …]
H A DServiceWrappers.cpp155 Control openMount(std::string_view path) const final { return incfs::open(path); } in openMount()
156 Control createControl(IncFsFd cmd, IncFsFd pendingReads, IncFsFd logs, in createControl()
164 ErrorCode makeMappedFile(const Control& control, std::string_view path, int mode, in makeMappedFile()
180 FileId getFileId(const Control& control, std::string_view path) const final { in getFileId()
184 const Control& control, std::string_view path) const final { in countFilledBlocks()
214 incfs::LoadingState isFileFullyLoaded(const Control& control, in isFileFullyLoaded()
221 incfs::LoadingState isEverythingFullyLoaded(const Control& control) const final { in isEverythingFullyLoaded()
227 ErrorCode unlink(const Control& control, std::string_view path) const final { in unlink()
240 const Control& control, std::chrono::milliseconds timeout, in waitForPendingReads()
244 ErrorCode setUidReadTimeouts(const Control& control, in setUidReadTimeouts()
[all …]
/aosp12/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DNekoControlsService.kt23 import android.service.controls.Control
64 fun Control_toString(control: Control): String {
74 private val controls = HashMap<String, Control>()
136 .setStatus(Control.STATUS_OK)
152 .setStatus(Control.STATUS_OK)
171 .setStatus(Control.STATUS_OK)
237 private fun makeStateless(c: Control?): Control? {
268 ) : Flow.Publisher<Control> {
272 val initialControls: Iterator<Control>,
273 var subscriber: Flow.Subscriber<in Control>?
[all …]
/aosp12/hardware/libhardware/modules/camera/3_4/metadata/
H A Dcontrol.h33 class Control : public PartialMetadataInterface {
36 Control(std::unique_ptr<TaggedControlDelegate<T>> delegate,
58 DISALLOW_COPY_AND_ASSIGN(Control);
64 Control<T>::Control(std::unique_ptr<TaggedControlDelegate<T>> delegate, in Control() function
69 std::vector<int32_t> Control<T>::StaticTags() const { in StaticTags()
78 std::vector<int32_t> Control<T>::ControlTags() const { in ControlTags()
83 std::vector<int32_t> Control<T>::DynamicTags() const { in DynamicTags()
88 int Control<T>::PopulateStaticFields(android::CameraMetadata* metadata) const { in PopulateStaticFields()
117 int Control<T>::PopulateTemplateRequest( in PopulateTemplateRequest()
137 bool Control<T>::SupportsRequestValues( in SupportsRequestValues()
[all …]
H A Dpartial_metadata_factory.h49 static std::unique_ptr<Control<T>> NoEffectMenuControl(
67 static std::unique_ptr<Control<T>> NoEffectControl(
76 static std::unique_ptr<Control<T>> V4L2Control(
117 return std::make_unique<Control<T>>( in NoEffectOptionlessControl()
125 std::unique_ptr<Control<T>> NoEffectMenuControl( in NoEffectMenuControl()
137 return std::make_unique<Control<T>>( in NoEffectMenuControl()
147 std::unique_ptr<Control<T>> NoEffectSliderControl( in NoEffectSliderControl()
155 return std::make_unique<Control<T>>( in NoEffectSliderControl()
182 std::unique_ptr<Control<T>> V4L2Control( in V4L2Control()
298 return std::make_unique<Control<T>>( in V4L2Control()
[all …]
/aosp12/system/bt/gd/l2cap/
H A Dl2cap_packets.pdl241 packet Control {
254 packet CommandReject : Control (code = COMMAND_REJECT) {
271 packet ConnectionRequest : Control (code = CONNECTION_REQUEST) {
292 packet ConnectionResponse : Control (code = CONNECTION_RESPONSE) {
420 packet EchoRequest : Control (code = ECHO_REQUEST) {
424 packet EchoResponse : Control (code = ECHO_RESPONSE) {
434 packet InformationRequest : Control (code = INFORMATION_REQUEST) {
443 packet InformationResponse : Control (code = INFORMATION_RESPONSE) {
504 packet MoveChannelRequest : Control (code = MOVE_CHANNEL_REQUEST) {
519 packet MoveChannelResponse : Control (code = MOVE_CHANNEL_RESPONSE) {
[all …]
/aosp12/frameworks/base/core/java/android/service/controls/
H A DControlsProviderService.java94 public abstract Publisher<Control> createPublisherForAllAvailable(); in createPublisherForAllAvailable()
109 public Publisher<Control> createPublisherForSuggested() { in createPublisherForSuggested()
121 public abstract Publisher<Control> createPublisherFor(@NonNull List<String> controlIds); in createPublisherFor()
196 Publisher<Control> publisher =
243 private static boolean isStatelessControl(Control control) {
244 return (control.getStatus() == Control.STATUS_UNKNOWN
250 private static class SubscriberProxy implements Subscriber<Control> {
275 public void onNext(@NonNull Control control) {
281 control = new Control.StatelessBuilder(control).build();
320 @NonNull Control control) {
[all …]
H A DControl.java59 public final class Control implements Parcelable { class
141 Control(@NonNull String controlId, in Control() method in Control
189 Control(Parcel in) { in Control() method in Control
381 public static final @NonNull Creator<Control> CREATOR = new Creator<Control>() {
384 return new Control(source);
388 public Control[] newArray(int size) {
389 return new Control[size];
576 public Control build() { in build()
577 return new Control(mControlId, in build()
827 public Control build() { in build()
[all …]
H A DIControlsSubscriber.aidl19 import android.service.controls.Control;
27 void onNext(in IBinder token, in Control c); in onNext()
/aosp12/frameworks/native/libs/binderdebug/tests/
H A Dbinderdebug_test.cpp33 class Control : public BnControl { class
35 Control() {sem_init(&s, 1, 0);}; in Control() function in android::binderdebug::test::Control
40 ::android::binder::Status Control::Continue() { in Continue()
79 sp<Control> iface = new Control; in main()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
H A DStatusBehavior.kt24 import android.service.controls.Control
38 val status = cws.control?.status ?: Control.STATUS_UNKNOWN
40 Control.STATUS_ERROR -> R.string.controls_error_generic
41 Control.STATUS_DISABLED -> R.string.controls_error_timeout
42 Control.STATUS_NOT_FOUND -> {
H A DControlWithState.kt20 import android.service.controls.Control
36 val control: Control?
H A DControlViewHolder.kt33 import android.service.controls.Control
95 status != Control.STATUS_OK -> StatusBehavior::class
134 get() = cws.control?.let { it.status } ?: Control.STATUS_UNKNOWN
159 if (controlStatus == Control.STATUS_UNKNOWN || controlStatus == Control.STATUS_NOT_FOUND) {
276 val deviceTypeOrError = if (controlStatus == Control.STATUS_OK ||
277 controlStatus == Control.STATUS_UNKNOWN) {
464 control: Control?
H A DControlActionCoordinator.kt20 import android.service.controls.Control
52 fun touch(cvh: ControlViewHolder, templateId: String, control: Control)
H A DControlsUiController.kt21 import android.service.controls.Control
41 fun onRefreshState(componentName: ComponentName, controls: List<Control>)
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
H A DControlsBindingControllerImplTest.kt23 import android.service.controls.Control
110 override fun accept(t: List<Control>) {}
122 override fun accept(t: List<Control>) {}
140 override fun accept(t: List<Control>) {}
160 override fun accept(t: List<Control>) {}
179 override fun accept(t: List<Control>) {}
198 override fun accept(t: List<Control>) {}
218 override fun accept(t: List<Control>) {}
230 override fun accept(t: List<Control>) {}
249 override fun accept(t: List<Control>) {}
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
H A DControlViewHolderTest.kt24 import android.service.controls.Control
74 Control.StatelessBuilder(CONTROL_ID, mock(PendingIntent::class.java)).build()
83 val control = Control.StatelessBuilder(DEFAULT_CONTROL)
98 val control = Control.StatelessBuilder(CONTROL_ID, mock(PendingIntent::class.java))
117 private val DEFAULT_CONTROL = Control.StatelessBuilder(
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
H A DControlsBindingControllerImpl.kt23 import android.service.controls.Control
55 override fun accept(controls: List<Control>) {}
233 val list: List<Control>,
244 val list: List<Control>,
295 val loadedControls = ArrayList<Control>()
317 override fun onNext(token: IBinder, c: Control) {
H A DControlInfo.kt19 import android.service.controls.Control
43 fun fromControl(control: Control): ControlInfo {
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/
H A DInCallModel.java72 private DescriptiveTextWithControlsView.Control mMuteButton;
73 private DescriptiveTextWithControlsView.Control mEndCallButton;
74 private DescriptiveTextWithControlsView.Control mDialpadButton;
266 mMuteButton = new DescriptiveTextWithControlsView.Control( in initializeAudioControls()
273 mEndCallButton = new DescriptiveTextWithControlsView.Control( in initializeAudioControls()
276 mDialpadButton = new DescriptiveTextWithControlsView.Control( in initializeAudioControls()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/
H A DParametricEditor.java35 import com.android.gallery3d.filtershow.controller.Control;
62 protected Control mControl;
145 public Control[] getControls() { in getControls()
147 return new Control[] { in getControls()
191 mControl = (Control) c.newInstance(); in control()

12345678