Searched defs:properties (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/location/
H A DGpsXtraDownloader.java48 GpsXtraDownloader(Properties properties) { argument
51 String server1 = properties.getProperty("XTRA_SERVER_1");
52 String server2 = properties.getProperty("XTRA_SERVER_2");
53 String server3 = properties.getProperty("XTRA_SERVER_3");
58 // Set User Agent from properties, if possible.
59 String agent = properties.getProperty("XTRA_USER_AGENT");
H A DMockProvider.java57 ProviderProperties properties) {
58 if (properties == null) throw new NullPointerException("properties is null");
62 mProperties = properties;
56 MockProvider(String name, ILocationManager locationManager, ProviderProperties properties) argument
/frameworks/base/location/lib/java/com/android/location/provider/
H A DProviderPropertiesUnbundled.java40 private ProviderPropertiesUnbundled(ProviderProperties properties) { argument
41 mProperties = properties;
H A DLocationProviderBase.java115 public LocationProviderBase(String tag, ProviderPropertiesUnbundled properties) { argument
119 mProperties = properties.getProviderProperties();
/frameworks/av/radio/
H A DIRadioService.cpp53 virtual status_t listModules(struct radio_properties *properties, argument
56 if (numModules == NULL || (*numModules != 0 && properties == NULL)) {
61 unsigned int numModulesReq = (properties == NULL) ? 0 : *numModules;
74 reply.read(properties, numModulesReq * sizeof(struct radio_properties));
126 struct radio_properties *properties = local
129 if (properties == NULL) {
135 status_t status = listModules(properties, &numModules);
144 reply->write(properties,
147 free(properties);
H A DRadio.cpp83 status_t Radio::listModules(struct radio_properties *properties, argument
91 return service->listModules(properties, numModules);
/frameworks/base/core/tests/coretests/src/android/animation/
H A DAutoCancelTest.java42 ObjectAnimator setupAnimator(long startDelay, String... properties) { argument
44 if (properties.length == 1) {
45 returnVal = ObjectAnimator.ofFloat(this, properties[0], 0, 1);
47 PropertyValuesHolder[] pvhArray = new PropertyValuesHolder[properties.length];
48 for (int i = 0; i < properties.length; i++) {
49 pvhArray[i] = PropertyValuesHolder.ofFloat(properties[i], 0, 1);
/frameworks/base/location/java/android/location/
H A DLocationProvider.java59 public LocationProvider(String name, ProviderProperties properties) { argument
64 mProperties = properties;
85 public static boolean propertiesMeetCriteria(String name, ProviderProperties properties, argument
91 if (properties == null) {
98 criteria.getAccuracy() < properties.mAccuracy) {
102 criteria.getPowerRequirement() < properties.mPowerRequirement) {
105 if (criteria.isAltitudeRequired() && !properties.mSupportsAltitude) {
108 if (criteria.isSpeedRequired() && !properties.mSupportsSpeed) {
111 if (criteria.isBearingRequired() && !properties.mSupportsBearing) {
114 if (!criteria.isCostAllowed() && properties
[all...]
/frameworks/wilhelm/src/itf/
H A DIPlaybackRate.c117 SLuint32 properties = thiz->mProperties; local
119 *pProperties = properties;
H A DIEnvironmentalReverb.c643 // note that it's unnecessary to verify that any level stored inside the "properties" struct
650 SLEnvironmentalReverbSettings properties = *pProperties; local
651 if (!(properties.roomLevel <= 0))
653 if (!(properties.roomHFLevel <= 0))
655 if (!(100 <= properties.decayTime && properties.decayTime <= 20000))
657 if (!(100 <= properties.decayHFRatio && properties.decayHFRatio <= 2000))
659 if (!(properties.reflectionsLevel <= 1000))
661 if (!(/* 0 <= properties
[all...]
/frameworks/av/services/radio/
H A DRadioService.h51 virtual status_t listModules(struct radio_properties *properties,
70 struct radio_properties properties);
87 const struct radio_properties properties() const { return mProperties; } function in class:android::RadioService::Module
96 const struct radio_properties mProperties; // cached hardware module properties
202 static void convertProperties(radio_properties_t *properties,
/frameworks/base/libs/hwui/tests/unit/
H A DVectorDrawableTests.cpp396 //TODO: Also need to test property sync and dirty flag when properties change.
398 VectorDrawable::Group::GroupProperties* properties = group.mutateProperties(); local
400 EXPECT_EQ(0.0f, properties->getTranslateX());
401 properties->setTranslateX(1.0f);
402 EXPECT_EQ(1.0f, properties->getTranslateX());
404 EXPECT_EQ(0.0f, properties->getTranslateY());
405 properties->setTranslateY(1.0f);
406 EXPECT_EQ(1.0f, properties->getTranslateY());
408 EXPECT_EQ(0.0f, properties->getRotation());
409 properties
[all...]
/frameworks/base/media/java/android/mtp/
H A DMtpPropertyGroup.java55 // list of all properties in this group
66 // constructs a property group for a list of properties
68 int[] properties) {
74 int count = properties.length;
80 mProperties[i] = createProperty(properties[i], columns);
201 // for now we are only reading properties from the "objects" table
264 // for now we are only reading properties from the "objects" table
353 // iterate over all properties in the query for the given object
67 MtpPropertyGroup(MtpDatabase database, ContentProviderClient provider, String volumeName, int[] properties) argument
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
H A DDataBindingBuilder.java85 InputStream stream = getClass().getResourceAsStream("/data_binding_version_info.properties");
185 public Versions(Properties properties) { argument
186 compilerCommon = properties.getProperty("compilerCommon");
187 compiler = properties.getProperty("compiler");
188 baseLibrary = properties.getProperty("baseLibrary");
189 extensions = properties.getProperty("extensions");
/frameworks/base/media/java/android/media/midi/
H A DMidiDeviceInfo.java199 String[] inputPortNames, String[] outputPortNames, Bundle properties,
215 mProperties = properties;
277 * Returns the {@link android.os.Bundle} containing the device's properties.
279 * @return the device's properties
330 Bundle properties = in.readBundle();
333 inputPortNames, outputPortNames, properties, isPrivate);
198 MidiDeviceInfo(int type, int id, int numInputPorts, int numOutputPorts, String[] inputPortNames, String[] outputPortNames, Bundle properties, boolean isPrivate) argument
H A DMidiManager.java314 Bundle properties, int type, MidiDeviceServer.Callback callback) {
320 properties, type);
312 createDeviceServer(MidiReceiver[] inputPortReceivers, int numOutputPorts, String[] inputPortNames, String[] outputPortNames, Bundle properties, int type, MidiDeviceServer.Callback callback) argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
H A DAppearAnimationUtils.java74 AppearAnimationProperties properties = getDelays(objects);
75 startAnimations(properties, objects, finishListener, creator);
80 AppearAnimationProperties properties = getDelays(objects);
81 startAnimations(properties, objects, finishListener, creator);
84 private <T> void startAnimations(AppearAnimationProperties properties, T[] objects, argument
86 if (properties.maxDelayRowIndex == -1 || properties.maxDelayColIndex == -1) {
90 for (int row = 0; row < properties.delays.length; row++) {
91 long[] columns = properties.delays[row];
94 if (properties
107 startAnimations(AppearAnimationProperties properties, T[][] objects, final Runnable finishListener, AppearAnimationCreator<T> creator) argument
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbMidiDevice.java140 public static UsbMidiDevice create(Context context, Bundle properties, int card, int device) { argument
149 if (!midiDevice.register(context, properties)) {
288 private boolean register(Context context, Bundle properties) { argument
296 null, null, properties, MidiDeviceInfo.TYPE_USB, mCallback);
/frameworks/base/telecomm/java/android/telecom/
H A DConnectionServiceAdapter.java199 void setConnectionProperties(String callId, int properties) { argument
202 adapter.setConnectionProperties(callId, properties);
H A DParcelableConnection.java59 int properties,
76 mConnectionProperties = properties;
111 * Returns the current connection properties bit-mask. Connection properties are defined as
114 * @return Bit-mask containing properties of the connection.
181 .append(", properties:")
212 int properties = source.readInt();
218 properties,
55 ParcelableConnection( PhoneAccountHandle phoneAccount, int state, int capabilities, int properties, Uri address, int addressPresentation, String callerDisplayName, int callerDisplayNamePresentation, IVideoProvider videoProvider, int videoState, boolean ringbackRequested, boolean isVoipAudioMode, long connectTimeMillis, StatusHints statusHints, DisconnectCause disconnectCause, List<String> conferenceableConnectionIds, Bundle extras) argument
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
H A DTestSoundTriggerActivity.java93 // Find meta-data in .properties files, ignore everything else.
94 if (!file.getName().endsWith(".properties")) {
98 Properties properties = new Properties();
99 properties.load(new FileInputStream(file));
100 createModelInfoAndWidget(properties);
102 Log.e(TAG, "Failed to load properties file " + file.getName());
116 private void createModelInfoAndWidget(Properties properties) { argument
120 if (!properties.containsKey("name")) {
123 modelInfo.name = properties.getProperty("name");
125 if (properties
[all...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
H A DProcessBindable.java110 HashSet<String> properties = new HashSet<String>();
111 mProperties.captureProperties(properties);
114 intermediate.captureProperties(properties);
117 BRWriter brWriter = new BRWriter(properties, useFinalFields);
119 //writeBRClass(useFinalFields, pkg, properties);
231 void captureProperties(Set<String> properties); argument
252 public void captureProperties(Set<String> properties) { argument
254 properties.addAll(propertySet);
260 HashSet<String> properties = mProperties.get(className);
261 if (properties
[all...]
/frameworks/native/vulkan/tools/
H A Dvkinfo.cpp39 VkPhysicalDeviceProperties properties; member in struct:__anon1610::GpuInfo
131 vkGetPhysicalDeviceProperties(gpu, &info.properties);
495 info.properties.deviceName,
496 VkPhysicalDeviceTypeStr(info.properties.deviceType),
497 VK_VERSION_MAJOR(info.properties.apiVersion),
498 VK_VERSION_MINOR(info.properties.apiVersion),
499 VK_VERSION_PATCH(info.properties.apiVersion),
500 info.properties.driverVersion, info.properties.vendorID,
501 info.properties
[all...]
/frameworks/wilhelm/tests/mimeUri/
H A DslesTestSlowDownUri.cpp295 /* Get the default rate properties */
296 SLuint32 properties = 0; local
297 res = (*rateItf)->GetProperties(rateItf, &properties); CheckErr(res);
298 printf("default rate properties: ");
299 printCapabilities(properties);
301 assert(SL_RATEPROP_NOPITCHCORAUDIO == properties);
/frameworks/base/libs/hwui/
H A DRenderNode.h78 * Primary class for storing recorded canvas commands, as well as per-View/ViewGroup display properties.
82 * (which holds the actual data), and DisplayList (which holds properties and performs playback onto
86 * recorded stream of canvas operations is refreshed. The RenderNode (and its properties) stay
174 const RenderProperties& properties() const { function in class:android::uirenderer::RenderNode
191 return properties().getWidth();
195 return properties().getHeight();
215 const Outline& outline = properties().getOutline();
217 || properties().getAlpha() <= 0
219 || properties().getScaleX() == 0
220 || properties()
[all...]

Completed in 609 milliseconds

123