Home
last modified time | relevance | path

Searched refs:propertyName (Results 1 – 25 of 46) sorted by relevance

12

/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DPropertyPath.java108 String propertyName = path.substring(0, controlPos); in recursivePathScan() local
111 mPathList.add(new PathSegment(propertyName, PathSegment.NON_REPEATED_CARDINALITY)); in recursivePathScan()
139 String propertyName = path.substring(0, controlPos); in consumePropertyWithIndex() local
158 mPathList.add(new PathSegment(propertyName, index)); in consumePropertyWithIndex()
271 public static PathSegment create(@NonNull String propertyName, int propertyIndex) { in create() argument
272 Objects.requireNonNull(propertyName); in create()
274 if (propertyName.isEmpty() in create()
275 || propertyName.contains("[") in create()
276 || propertyName.contains("]") in create()
277 || propertyName.contains(".")) { in create()
[all …]
DAppSearchSchema.java816 public Builder(@NonNull String propertyName) { in Builder() argument
817 mPropertyName = Objects.requireNonNull(propertyName); in Builder()
1046 public Builder(@NonNull String propertyName) { in Builder() argument
1047 mPropertyName = Objects.requireNonNull(propertyName); in Builder()
1142 public Builder(@NonNull String propertyName) { in Builder() argument
1143 mPropertyName = Objects.requireNonNull(propertyName); in Builder()
1200 public Builder(@NonNull String propertyName) { in Builder() argument
1201 mPropertyName = Objects.requireNonNull(propertyName); in Builder()
1258 public Builder(@NonNull String propertyName) { in Builder() argument
1259 mPropertyName = Objects.requireNonNull(propertyName); in Builder()
[all …]
DSearchResult.java685 private static String getPropertyValues(GenericDocument document, String propertyName) { in getPropertyValues() argument
686 String result = document.getPropertyString(propertyName); in getPropertyValues()
689 "No content found for requested property path: " + propertyName); in getPropertyValues()
/packages/services/Car/service/src/com/android/car/hal/property/
DPropertyHalServiceConfigs.java83 public String propertyName; field in PropertyHalServiceConfigs.CarSvcPropertyConfig
101 && Objects.equals(propertyName, other.propertyName) in equals()
110 return propertyId + halPropId + Objects.hashCode(propertyName) in hashCode()
120 .append(", propertyName: ").append(propertyName) in toString()
492 String propertyName = reader.nextName(); in parseJsonConfig()
495 config = readPropertyObject(propertyName, reader); in parseJsonConfig()
498 + propertyName + ", error: " + e); in parseJsonConfig()
515 String propertyName, JsonReader reader) throws IOException { in readPropertyObject() argument
564 "Failed to parse read permissions for property: " + propertyName in readPropertyObject()
573 "Failed to parse write permissions for property: " + propertyName in readPropertyObject()
[all …]
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/safeparcel/
DPropertyConfigParcel.java115 @NonNull String propertyName, in createForString()
121 Objects.requireNonNull(propertyName), in createForString()
136 @NonNull String propertyName, in createForLong()
141 Objects.requireNonNull(propertyName), in createForLong()
156 @NonNull String propertyName, in createForDouble()
160 Objects.requireNonNull(propertyName), in createForDouble()
175 @NonNull String propertyName, in createForBoolean()
179 Objects.requireNonNull(propertyName), in createForBoolean()
194 @NonNull String propertyName, in createForBytes()
198 Objects.requireNonNull(propertyName), in createForBytes()
[all …]
DPropertyParcel.java80 @Param(id = 1) @NonNull String propertyName, in PropertyParcel()
88 mPropertyName = Objects.requireNonNull(propertyName); in PropertyParcel()
273 public Builder(@NonNull String propertyName) { in Builder() argument
274 mPropertyName = Objects.requireNonNull(propertyName); in Builder()
/packages/services/Car/libs/backported-car-property-helper-lib/src/com/android/car/property/backported/
DCarPropertyHelper.java126 public Integer getPropertyId(String propertyName) { in getPropertyId() argument
127 PropertyInfo propertyInfo = PROPERTY_INFO_BY_NAME.get(propertyName); in getPropertyId()
156 public String getReadPermission(String propertyName) { in getReadPermission() argument
157 PropertyInfo propertyInfo = PROPERTY_INFO_BY_NAME.get(propertyName); in getReadPermission()
186 public String getWritePermission(String propertyName) { in getWritePermission() argument
187 PropertyInfo propertyInfo = PROPERTY_INFO_BY_NAME.get(propertyName); in getWritePermission()
/packages/services/Car/tools/vehiclepropertyidsparser/src/com/android/car/tool/
DVehiclePropertyIdsParser.java98 public String propertyName; field in VehiclePropertyIdsParser.PropertyConfig
114 .append("\n propertyName: ").append(propertyName) in toString()
403 + annotation + " for property: " + config.propertyName); in parseAndSetPermAnnotation()
426 String propertyName = getFieldName(propertyDef); in parse() local
427 if (propertyName.equals("INVALID")) { in parse()
432 propertyConfig.propertyName = propertyName; in parse()
435 if (VHAL_PROP_ID_MAP.get(propertyName) != null) { in parse()
436 propertyConfig.vhalPropertyId = VHAL_PROP_ID_MAP.get(propertyName); in parse()
441 System.out.println("missing comment for property: " + propertyName); in parse()
466 + " for property: " + propertyName); in parse()
[all …]
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DGenericDocumentToProtoConverter.java321 @NonNull String propertyName, in setEmptyProperty()
326 if (propertyName.equals(schema.getProperties(i).getPropertyName())) { in setEmptyProperty()
334 documentBuilder.setPropertyString(propertyName, EMPTY_STRING_ARRAY); in setEmptyProperty()
337 documentBuilder.setPropertyLong(propertyName, EMPTY_LONG_ARRAY); in setEmptyProperty()
340 documentBuilder.setPropertyDouble(propertyName, EMPTY_DOUBLE_ARRAY); in setEmptyProperty()
343 documentBuilder.setPropertyBoolean(propertyName, EMPTY_BOOLEAN_ARRAY); in setEmptyProperty()
346 documentBuilder.setPropertyBytes(propertyName, EMPTY_BYTES_ARRAY); in setEmptyProperty()
349 documentBuilder.setPropertyDocument(propertyName, EMPTY_DOCUMENT_ARRAY); in setEmptyProperty()
352 documentBuilder.setPropertyEmbedding(propertyName, EMPTY_EMBEDDING_ARRAY); in setEmptyProperty()
355 throw new IllegalStateException("Unknown type of value: " + propertyName); in setEmptyProperty()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DSafetyCenterUtils.kt77 propertyName: String, in setDeviceConfigPrivacyProperty()
85 /* name = */ propertyName, in setDeviceConfigPrivacyProperty()
89 check(valueWasSet) { "Could not set $propertyName to $value" } in setDeviceConfigPrivacyProperty()
95 propertyName: String, in deleteDeviceConfigPrivacyProperty()
99 DeviceConfig.deleteProperty(DeviceConfig.NAMESPACE_PRIVACY, propertyName) in deleteDeviceConfigPrivacyProperty()
DBaseNotificationListenerCheckTest.java150 protected static void setDeviceConfigPrivacyProperty(String propertyName, String value) { in setDeviceConfigPrivacyProperty() argument
154 /* name = */ propertyName, in setDeviceConfigPrivacyProperty()
158 throw new IllegalStateException("Could not set " + propertyName + " to " + value); in setDeviceConfigPrivacyProperty()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
DHttpsServiceConnection.java82 public void setRequestProperty(String propertyName, String value) { in setRequestProperty() argument
85 if (!TextUtils.equals("Connection", propertyName) || !TextUtils.equals("close", value)) { in setRequestProperty()
86 mConnection.setRequestProperty(propertyName, value); in setRequestProperty()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/property/
DPropertyHalServiceConfigsUnitTest.java468 expectedConfig.propertyName = "PROP_NAME"; in testParseJsonConfig_validConfig()
498 "propertyName": "PROP_NAME", in testParseJsonConfig_halPropIdDefaultEqualPropId()
512 expectedConfig.propertyName = "PROP_NAME"; in testParseJsonConfig_halPropIdDefaultEqualPropId()
532 "propertyName": "PROP_NAME", in testParseJsonConfig_dataFlags()
547 expectedConfig.propertyName = "PROP_NAME"; in testParseJsonConfig_dataFlags()
569 "propertyName": "OLD_PROP", in testParseJsonConfig_ignoreDeprecate()
574 "propertyName": "PROP_NAME", in testParseJsonConfig_ignoreDeprecate()
619 "propertyName": "PROP_NAME", in testParseJsonConfig_missingPropertyIdField()
642 "propertyName": "PROP_NAME", in testParseJsonConfig_noReadOrWritePermission()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/
DConfigListener.java29 public void setLatchForProperty(CountDownLatch countDownLatch, String propertyName) { in setLatchForProperty() argument
31 mPropertyName = propertyName; in setLatchForProperty()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/safeparcel/
DPropertyParcelTest.java37 String propertyName = "propertyName"; in testTwoDimensionByteArray_serializationSupported() local
39 new PropertyParcel.Builder(propertyName).setBytesValues(bytesArray).build(); in testTwoDimensionByteArray_serializationSupported()
/packages/services/Car/car-lib/src/com/android/car/internal/property/
DVehiclePropertyIdDebugUtils.java54 public static Integer toId(String propertyName) { in toId() argument
55 return ConstantDebugUtils.toValue(VehiclePropertyIds.class, propertyName); in toId()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appcompat/
DUserAspectRatioAppPreferenceTest.kt198 private fun mockProperty(propertyName: String, value: Boolean) { in mockProperty()
200 propertyName, value, PACKAGE_NAME, "" /* className */) in mockProperty()
201 whenever(packageManager.getProperty(propertyName, PACKAGE_NAME)).thenReturn(prop) in mockProperty()
/packages/modules/AdServices/sdksandbox/service/java/com/android/server/sdksandbox/helpers/
DPackageManagerHelper.java84 @NonNull String propertyName, @NonNull String packageName) in getProperty()
86 return mPackageManager.getProperty(propertyName, packageName); in getProperty()
/packages/modules/AdServices/sdksandbox/tests/unittest/src/com/android/server/sdksandbox/helpers/
DPackageManagerHelperUnitTest.java88 String propertyName = "android.sdksandbox.PROPERTY_SDK_PROVIDER_CLASS_NAME"; in testGetProperty() local
92 propertyName, /* packageName= */ SDK_PACKAGE_NAMES.get(0)) in testGetProperty()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/sensors/
DSensors.java92 private static <T> Sensor<T> registerSensor(String propertyName, int propertyId, int areaId, in registerSensor() argument
94 Sensor<T> sensor = new Sensor<>(propertyName, propertyId, areaId, expectedPropertyType, in registerSensor()
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/sensors/
DSensors.java92 private static <T> Sensor<T> registerSensor(String propertyName, int propertyId, int areaId, in registerSensor() argument
94 Sensor<T> sensor = new Sensor<>(propertyName, propertyId, areaId, expectedPropertyType, in registerSensor()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DPersonBuilderHelper.java284 @NonNull String propertyName, in appendPropertyString()
287 Objects.requireNonNull(propertyName); in appendPropertyString()
291 builder.append("\"").append(propertyName).append("\": ["); in appendPropertyString()
/packages/modules/Virtualization/tests/hostside/helper/java/com/android/microdroid/test/host/
DMicrodroidHostTestCaseBase.java157 public static void setPropertyOrThrow(ITestDevice device, String propertyName, String value) in setPropertyOrThrow() argument
159 if (!device.setProperty(propertyName, value)) { in setPropertyOrThrow()
160 throw new RuntimeException("Failed to set sysprop " + propertyName + " to " + value); in setPropertyOrThrow()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DBasePermissionTest.kt202 propertyName: String, in <lambda>()
209 /* name = */ propertyName, in <lambda>()
213 check(valueWasSet) { "Could not set $propertyName to $value" } in <lambda>()

12