Searched refs:Capability (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerLauncherApiTest.java | 31 import android.content.pm.Capability; 438 new Capability.Builder("action.intent.START_EXERCISE").build(), in setDynamicShortcuts_PersistsShortcutsToDisk() 443 new Capability.Builder("action.intent.START_EXERCISE").build(), in setDynamicShortcuts_PersistsShortcutsToDisk() 467 assertEquals(list(new Capability.Builder( in setDynamicShortcuts_PersistsShortcutsToDisk() 473 si.getCapabilityParams(new Capability.Builder( in setDynamicShortcuts_PersistsShortcutsToDisk() 492 new Capability.Builder("action.intent.START_EXERCISE").build(), in removeAllDynamicShortcuts_RemovesShortcutsFromDisk() 497 new Capability.Builder("action.intent.START_EXERCISE").build(), in removeAllDynamicShortcuts_RemovesShortcutsFromDisk() 509 assertEquals(list(new Capability.Builder( in removeAllDynamicShortcuts_RemovesShortcutsFromDisk() 516 si.getCapabilityParams(new Capability.Builder( in removeAllDynamicShortcuts_RemovesShortcutsFromDisk() 551 new Capability.Builder("action.intent.START_EXERCISE").build(), in addDynamicShortcuts_PersistsShortcutsToDisk() [all …]
|
D | ShortcutManagerClientApiTest.java | 30 import android.content.pm.Capability; 606 new Capability.Builder("action.intent.START_EXERCISE").build(), in testSetDynamicShortcuts_withCapabilities() 611 new Capability.Builder("action.intent.START_EXERCISE").build(), in testSetDynamicShortcuts_withCapabilities() 619 new Capability.Builder("action.intent.STOP_EXERCISE").build(), in testSetDynamicShortcuts_withCapabilities() 633 assertEquals(list(new Capability.Builder( in testSetDynamicShortcuts_withCapabilities() 640 si.getCapabilityParams(new Capability.Builder( in testSetDynamicShortcuts_withCapabilities() 644 assertEquals(list(new Capability.Builder( in testSetDynamicShortcuts_withCapabilities() 649 si.getCapabilityParams(new Capability.Builder( in testSetDynamicShortcuts_withCapabilities()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | SimpleObjectsTest.java | 27 import android.hardware.camera2.params.Capability; 150 Capability capability = new Capability(/*mode*/ 0, /*maxStreamingSize*/ new Size(128, 128), in capabilityConstructionTest() 154 capability = new Capability(/*mode*/ 0, /*maxStreamingSize*/ new Size(-1, 128), in capabilityConstructionTest() 163 capability = new Capability(/*mode*/ 0, /*maxStreamingSize*/ new Size(128, -1), in capabilityConstructionTest() 172 capability = new Capability(/*mode*/ 0, /*maxStreamingSize*/ new Size(128, 128), in capabilityConstructionTest() 181 capability = new Capability(/*mode*/ 0, /*maxStreamingSize*/ new Size(128, 128), in capabilityConstructionTest()
|
D | BurstCaptureTest.java | 29 import android.hardware.camera2.params.Capability; 108 Capability[] extendedSceneModeCaps = in testBurst() 111 for (Capability cap : extendedSceneModeCaps) { in testBurst()
|
D | CaptureRequestTest.java | 36 import android.hardware.camera2.params.Capability; 3274 Capability[] extendedSceneModeCaps = mStaticInfo.getAvailableExtendedSceneModeCapsChecked(); 3283 for (Capability cap : extendedSceneModeCaps) {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/ |
D | CameraBokehActivity.java | 40 import android.hardware.camera2.params.Capability; 130 private HashMap<String, ArrayList<Capability>> mTestCases = new HashMap<>(); 229 Key<Capability[]> key = in onCreate() 231 Capability[] extendedSceneModeCaps = characteristics.get(key); in onCreate() 237 ArrayList<Capability> nonOffModes = new ArrayList<>(); in onCreate() 238 for (Capability cap : extendedSceneModeCaps) { in onCreate() 341 ArrayList<Capability> bokehCaps = mTestCases.get(mCameraId); in setUntestedCombination() 342 for (Capability cap : bokehCaps) { in setUntestedCombination() 669 ArrayList<Capability> currentTestCase = mTestCases.get(mCameraId); in setUpCamera() 670 for (Capability bokehCap : currentTestCase) { in setUpCamera()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputHidTestCase.java | 142 interface Capability { interface in InputHidTestCase 167 protected InputDevice getInputDevice(Capability capability) { in getInputDevice()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/ |
D | StaticMetadata.java | 30 import android.hardware.camera2.params.Capability; 2069 public Capability[] getAvailableExtendedSceneModeCapsChecked() { in getAvailableExtendedSceneModeCapsChecked() 2073 Key<Capability[]> key = in getAvailableExtendedSceneModeCapsChecked() 2075 Capability[] caps = mCharacteristics.get(key); in getAvailableExtendedSceneModeCapsChecked() 2077 return new Capability[0]; in getAvailableExtendedSceneModeCapsChecked() 2083 for (Capability cap : caps) { in getAvailableExtendedSceneModeCapsChecked()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 12303 public final class Capability implements android.os.Parcelable { 12307 …field @NonNull public static final android.os.Parcelable.Creator<android.content.pm.Capability> CR… 12310 public static final class Capability.Builder { 12311 ctor public Capability.Builder(@NonNull String); 12312 method @NonNull public android.content.pm.Capability build(); 13546 method @NonNull public java.util.List<android.content.pm.Capability> getCapabilities(); 13547 …t<android.content.pm.CapabilityParams> getCapabilityParams(@NonNull android.content.pm.Capability); 13587 ….ShortcutInfo.Builder addCapabilityBinding(@NonNull android.content.pm.Capability, @Nullable andro… 19120 …ware.camera2.CameraCharacteristics.Key<android.hardware.camera2.params.Capability[]> CONTROL_AVAIL… 19959 public final class Capability { [all …]
|