Home
last modified time | relevance | path

Searched refs:sliceUri (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/slice/src/android/slice/cts/
DLocalSliceProvider.java68 public Slice onBindSlice(Uri sliceUri, Set<SliceSpec> specs) { in onBindSlice() argument
69 if (sProxy != null) return sProxy.onBindSlice(sliceUri, specs); in onBindSlice()
70 return super.onBindSlice(sliceUri, specs); in onBindSlice()
86 public void onSlicePinned(Uri sliceUri) { in onSlicePinned() argument
87 if (sProxy != null) sProxy.onSlicePinned(sliceUri); in onSlicePinned()
88 super.onSlicePinned(sliceUri); in onSlicePinned()
92 public void onSliceUnpinned(Uri sliceUri) { in onSliceUnpinned() argument
93 if (sProxy != null) sProxy.onSliceUnpinned(sliceUri); in onSliceUnpinned()
94 super.onSliceUnpinned(sliceUri); in onSliceUnpinned()
98 public PendingIntent onCreatePermissionRequest(Uri sliceUri) { in onCreatePermissionRequest() argument
[all …]
DSliceProvider.java74 public Slice onBindSlice(Uri sliceUri, Set<SliceSpec> supportedSpecs) { in onBindSlice() argument
75 switch (sliceUri.getPath()) { in onBindSlice()
80 Builder b = new Builder(sliceUri, SPEC); in onBindSlice()
83 return new Slice.Builder(sliceUri, SPEC).addText("Expected text", "text", in onBindSlice()
86 return new Slice.Builder(sliceUri, SPEC).addIcon( in onBindSlice()
90 Builder builder = new Builder(sliceUri, SPEC); in onBindSlice()
97 return new Slice.Builder(sliceUri, SPEC).addInt(0xff121212, "int", in onBindSlice()
100 return new Slice.Builder(sliceUri, SPEC).addLong(43, "timestamp", in onBindSlice()
103 return new Slice.Builder(sliceUri, SPEC) in onBindSlice()
112 return new Slice.Builder(sliceUri, SPEC).addBundle(b1, "bundle", in onBindSlice()
[all …]