/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 100 List<Size> supported = parameters.getSupportedPictureSizes(); in initialCameraPictureSize() local 101 if (supported == null) return; in initialCameraPictureSize() 104 if (setCameraPictureSize(candidate, supported, parameters)) { in initialCameraPictureSize() 121 String candidate, List<Size> supported, Parameters parameters) { in setCameraPictureSize() argument 126 for (Size size : supported) { in setCameraPictureSize() 253 ListPreference pref, List<String> supported) { in filterUnsupportedOptions() argument 257 if (supported == null || supported.size() <= 1) { in filterUnsupportedOptions() 262 pref.filterUnsupported(supported); in filterUnsupportedOptions() 456 ArrayList<String> supported = new ArrayList<String>(); in getSupportedVideoQuality() local 459 supported.add(Integer.toString(CamcorderProfile.QUALITY_1080P)); in getSupportedVideoQuality() [all …]
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | SampleDriverPartial.cpp | 39 std::vector<bool> supported = getSupportedOperationsImpl(model); in getSupportedOperations_1_3() local 40 cb(V1_3::ErrorStatus::NONE, supported); in getSupportedOperations_1_3() 42 std::vector<bool> supported; in getSupportedOperations_1_3() local 43 cb(V1_3::ErrorStatus::INVALID_ARGUMENT, supported); in getSupportedOperations_1_3() 53 std::vector<bool> supported = getSupportedOperationsImpl(model); in prepareModel_1_3() local 55 std::all_of(supported.begin(), supported.end(), [](bool v) { return v; }); in prepareModel_1_3()
|
D | SampleDriverFull.cpp | 48 std::vector<bool> supported(count, true); in getSupportedOperations_1_3() local 51 supported[i] = !isExtensionOperationType(operation.type); in getSupportedOperations_1_3() 53 cb(V1_3::ErrorStatus::NONE, supported); in getSupportedOperations_1_3() 55 std::vector<bool> supported; in getSupportedOperations_1_3() local 56 cb(V1_3::ErrorStatus::INVALID_ARGUMENT, supported); in getSupportedOperations_1_3()
|
D | SampleDriverQuant.cpp | 64 std::vector<bool> supported(count); in getSupportedOperationsImpl() local 69 supported[i] = isQuantized(firstOperand.type); in getSupportedOperationsImpl() 72 supported[i] = isQuantized(secondOperand.type); in getSupportedOperationsImpl() 76 return supported; in getSupportedOperationsImpl()
|
D | SampleDriverMinimal.cpp | 63 std::vector<bool> supported(count); in getSupportedOperationsImpl() local 66 supported[i] = false; in getSupportedOperationsImpl() 74 supported[i] = true; in getSupportedOperationsImpl() 82 return supported; in getSupportedOperationsImpl()
|
D | SampleDriverFloatSlow.cpp | 64 std::vector<bool> supported(count); in getSupportedOperationsImpl() local 69 supported[i] = firstOperand.type == V1_3::OperandType::TENSOR_FLOAT32; in getSupportedOperationsImpl() 72 return supported; in getSupportedOperationsImpl()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | SelectionManager.java | 142 int supported = 0; in getSupportedOperations() local 145 supported |= MediaObject.SUPPORT_CROP; in getSupportedOperations() 148 supported |= MediaObject.SUPPORT_EDIT; in getSupportedOperations() 151 supported |= MediaObject.SUPPORT_SETAS; in getSupportedOperations() 154 supported |= MediaObject.SUPPORT_TRIM; in getSupportedOperations() 157 supported |= MediaObject.SUPPORT_MUTE; in getSupportedOperations() 161 supported |= MediaObject.SUPPORT_DELETE; in getSupportedOperations() 164 supported |= MediaObject.SUPPORT_SHARE; in getSupportedOperations() 166 return supported; in getSupportedOperations()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
D | PictureSizeCalculator.java | 112 private Size getSmallestSupportedSizeContainingTarget(List<Size> supported, Size target) { in getSmallestSupportedSizeContainingTarget() argument 113 Preconditions.checkState(!supported.isEmpty()); in getSmallestSupportedSizeContainingTarget() 116 for (Size candidate : supported) { in getSmallestSupportedSizeContainingTarget() 129 best = getLargestSupportedSize(supported); in getSmallestSupportedSizeContainingTarget() 160 private Size getLargestSupportedSize(List<Size> supported) { in getLargestSupportedSize() argument 161 Preconditions.checkState(!supported.isEmpty()); in getLargestSupportedSize() 162 Size largestSize = supported.get(0); in getLargestSupportedSize() 164 for (Size candidate : supported) { in getLargestSupportedSize()
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarFeatures.java | 59 Boolean supported = mCachedFeatures.get(featureName); in isFeatureEnabled() local 60 if (supported != null) { in isFeatureEnabled() 61 return supported; in isFeatureEnabled() 66 boolean supported = service.isFeatureEnabled(featureName); in isFeatureEnabled() 68 mCachedFeatures.put(featureName, Boolean.valueOf(supported)); in isFeatureEnabled() 70 return supported; in isFeatureEnabled()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | MenuExecutor.java | 168 public static void updateMenuOperation(Menu menu, int supported) { in updateMenuOperation() argument 169 boolean supportDelete = (supported & MediaObject.SUPPORT_DELETE) != 0; in updateMenuOperation() 170 boolean supportRotate = (supported & MediaObject.SUPPORT_ROTATE) != 0; in updateMenuOperation() 171 boolean supportCrop = (supported & MediaObject.SUPPORT_CROP) != 0; in updateMenuOperation() 172 boolean supportTrim = (supported & MediaObject.SUPPORT_TRIM) != 0; in updateMenuOperation() 173 boolean supportMute = (supported & MediaObject.SUPPORT_MUTE) != 0; in updateMenuOperation() 174 boolean supportShare = (supported & MediaObject.SUPPORT_SHARE) != 0; in updateMenuOperation() 175 boolean supportSetAs = (supported & MediaObject.SUPPORT_SETAS) != 0; in updateMenuOperation() 176 boolean supportShowOnMap = (supported & MediaObject.SUPPORT_SHOW_ON_MAP) != 0; in updateMenuOperation() 177 boolean supportCache = (supported & MediaObject.SUPPORT_CACHE) != 0; in updateMenuOperation() [all …]
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | DSULoader.java | 292 boolean supported = true; in isSupported() 296 supported = false; in isSupported() 302 supported = false; in isSupported() 305 supported = false; in isSupported() 312 supported = false; in isSupported() 323 supported = false; in isSupported() 331 supported = false; in isSupported() 334 supported = false; in isSupported() 337 Slog.i(TAG, mName + " isSupported " + supported); in isSupported() 338 return supported; in isSupported()
|
/packages/modules/Connectivity/framework/src/android/net/util/ |
D | KeepaliveUtils.java | 74 int supported; in getSupportedKeepalives() local 77 supported = Integer.parseInt(arr[1]); in getSupportedKeepalives() 86 if (supported < 0) { in getSupportedKeepalives() 88 "Invalid supported count " + supported + " for " in getSupportedKeepalives() 91 ret[transport] = supported; in getSupportedKeepalives()
|
/packages/services/Car/service/proto/ |
D | ble_version_exchange.proto | 9 // Minimum supported protobuf version. 12 // Maximum supported protobuf version. 15 // Minimum supported version of the encryption engine. 18 // Maximum supported version of the encryption engine.
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowConnectivityManager.java | 33 public void setNetworkSupported(int networkType, boolean supported) { in setNetworkSupported() argument 34 mSupportedNetworkTypes.put(networkType, supported); in setNetworkSupported() 42 public void setTetheringSupported(boolean supported) { in setTetheringSupported() argument 43 mTetheringSupported = supported; in setTetheringSupported()
|
/packages/services/Car/cpp/computepipe/proto/ |
D | Options.proto | 12 * input configurations supported by the graph 17 * Offload options supported by the graph 21 * Termination options supported by the graph 25 * Output streams supported by the graph.
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ConnectivityManagerTest.java | 665 boolean supported = mCm.isNetworkSupported(type); in testIsNetworkSupported() 667 assertTrue("Network type " + type + " should be supported", supported); in testIsNetworkSupported() 669 assertFalse("Network type " + type + " should not be supported", supported); in testIsNetworkSupported() 1648 final int supported = getSupportedKeepalivesForNet(network); 1649 if (supported == 0) { 1657 assertGreaterOrEqual(supported, MIN_SUPPORTED_WIFI_KEEPALIVE_COUNT); 1660 assertEquals(supported, createConcurrentSocketKeepalives(network, srcAddr, 1661 supported + 1, 0)); 1663 assertEquals(supported, createConcurrentSocketKeepalives(network, srcAddr, supported, 1672 assertEquals(supported, createConcurrentSocketKeepalives(network, srcAddr, 0, [all …]
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverMinimal.cpp | 62 std::vector<bool> supported(count); in getSupportedOperationsImpl() local 65 supported[i] = false; in getSupportedOperationsImpl() 73 supported[i] = true; in getSupportedOperationsImpl() 81 return supported; in getSupportedOperationsImpl()
|
D | SampleDriverQuant.cpp | 63 std::vector<bool> supported(count); in getSupportedOperationsImpl() local 68 supported[i] = isQuantized(firstOperand.type); in getSupportedOperationsImpl() 71 supported[i] = isQuantized(secondOperand.type); in getSupportedOperationsImpl() 75 return supported; in getSupportedOperationsImpl()
|
D | SampleDriverPartial.cpp | 60 std::vector<bool> supported = getSupportedOperationsImpl(canonicalModel.value()); in prepareModel() local 62 std::all_of(supported.begin(), supported.end(), [](bool v) { return v; }); in prepareModel()
|
D | SampleDriverFloatSlow.cpp | 63 std::vector<bool> supported(count); in getSupportedOperationsImpl() local 68 supported[i] = firstOperand.type == OperandType::TENSOR_FLOAT32; in getSupportedOperationsImpl() 71 return supported; in getSupportedOperationsImpl()
|
D | SampleDriverFloatFast.cpp | 64 std::vector<bool> supported(count); in getSupportedOperationsImpl() local 69 supported[i] = firstOperand.type == OperandType::TENSOR_FLOAT32; in getSupportedOperationsImpl() 72 return supported; in getSupportedOperationsImpl()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | Config.java | 129 boolean supported = resources.getBoolean(config.mSupported); in init() 131 …if (!supported && (config.mClass == HearingAidService.class) && isHearingAidSettingsEnabled(ctx)) { in init() 133 supported = true; in init() 137 supported = true; in init() 138 Log.v(TAG, config.mClass.getSimpleName() + " Feature Flag set to " + supported in init() 142 if (supported && !isProfileDisabled(ctx, config.mMask)) { in init()
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | SettingsUtil.java | 160 public static Size getPhotoSize(String sizeSetting, List<Size> supported, int cameraId) { in getPhotoSize() argument 164 Size selectedSize = getCameraPictureSize(sizeSetting, supported, cameraId); in getPhotoSize() 180 private static Size getCameraPictureSize(String sizeSetting, List<Size> supported, in getCameraPictureSize() argument 182 return getSelectedCameraPictureSizes(supported, cameraId).getFromSetting(sizeSetting, in getCameraPictureSize() 183 supported); in getCameraPictureSize() 194 static SelectedPictureSizes getSelectedCameraPictureSizes(List<Size> supported, int cameraId) { in getSelectedCameraPictureSizes() argument 195 List<Size> supportedCopy = new LinkedList<Size>(supported); in getSelectedCameraPictureSizes()
|
/packages/apps/TV/src/com/android/tv/receiver/ |
D | AudioCapabilitiesReceiver.java | 84 boolean supported = false; in onReceive() 89 supported = true; in onReceive() 95 mListener.onAc3PassthroughCapabilityChange(supported); in onReceive() 98 reportAudioCapabilities(supported); in onReceive()
|
/packages/apps/Car/Radio/src/com/android/car/radio/bands/ |
D | RegionConfig.java | 79 List<ProgramType> supported = new ArrayList<>(); in createSupportedProgramTypes() local 80 if (!mAmConfig.isEmpty()) supported.add(ProgramType.AM); in createSupportedProgramTypes() 81 if (!mFmConfig.isEmpty()) supported.add(ProgramType.FM); in createSupportedProgramTypes() 82 return supported; in createSupportedProgramTypes()
|