Home
last modified time | relevance | path

Searched refs:mNamespace (Results 1 – 23 of 23) sorted by relevance

/packages/modules/AppSearch/framework/java/external/android/app/appsearch/observer/
DDocumentChangeInfo.java45 private final String mNamespace; field in DocumentChangeInfo
67 mNamespace = Objects.requireNonNull(namespace); in DocumentChangeInfo()
88 return mNamespace; in getNamespace()
120 && mNamespace.equals(that.mNamespace) in equals()
127 return Objects.hash(mPackageName, mDatabase, mNamespace, mSchemaName, mChangedDocumentIds); in hashCode()
141 + mNamespace in toString()
/packages/modules/AdServices/adservices/tests/cts/hosttests/app/src/com/android/adservices/cts/dao/
DAppSearchConsentDao.java32 @Document.Namespace private final String mNamespace; field in AppSearchConsentDao
61 this.mNamespace = namespace; in AppSearchConsentDao()
75 return mNamespace; in getNamespace()
104 + mNamespace in toString()
111 return Objects.hash(mId, mUserId, mNamespace, mConsent, mApiType); in hashCode()
122 && (Objects.equals(this.mNamespace, obj.mNamespace)) in equals()
DAppSearchTopicsConsentDao.java44 @Document.Namespace private final String mNamespace; field in AppSearchTopicsConsentDao
77 this.mNamespace = namespace; in AppSearchTopicsConsentDao()
112 return mNamespace; in getNamespace()
161 + mNamespace in toString()
DAppSearchNotificationDao.java27 @Document.Namespace private final String mNamespace; field in AppSearchNotificationDao
43 this.mNamespace = namespace; in AppSearchNotificationDao()
57 return mNamespace; in getNamespace()
/packages/modules/AdServices/shared/libraries/side-less/java/com/android/adservices/shared/testing/
DDeviceConfigHelper.java48 private final String mNamespace; field in DeviceConfigHelper
54 mNamespace = Objects.requireNonNull(namespace); in DeviceConfigHelper()
55 mInterface = Objects.requireNonNull(interfaceFactory).getInterface(mNamespace); in DeviceConfigHelper()
113 + mNamespace in toString()
171 protected final String mNamespace; field in DeviceConfigHelper.Interface
174 mNamespace = Objects.requireNonNull(namespace); in Interface()
194 String value = runShellCommand("device_config get %s %s", mNamespace, name).trim(); in get()
203 String allFlags = runShellCommand("device_config list %s", mNamespace); in get()
288 runShellCommand("device_config put %s %s %s", mNamespace, name, value); in asyncSet()
310 runShellCommand("device_config delete %s %s", mNamespace, name); in asyncDelete()
[all …]
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DReportSystemUsageRequest.java37 private final String mNamespace; field in ReportSystemUsageRequest
49 mNamespace = Objects.requireNonNull(namespace); in ReportSystemUsageRequest()
69 return mNamespace; in getNamespace()
93 private final String mNamespace; field in ReportSystemUsageRequest.Builder
116 mNamespace = Objects.requireNonNull(namespace); in Builder()
144 mPackageName, mDatabase, mNamespace, mDocumentId, mUsageTimestampMillis); in build()
DReportUsageRequest.java50 private final String mNamespace; field in ReportUsageRequest
64 mNamespace = Objects.requireNonNull(namespace); in ReportUsageRequest()
72 return mNamespace; in getNamespace()
100 private final String mNamespace; field in ReportUsageRequest.Builder
113 mNamespace = Objects.requireNonNull(namespace); in Builder()
140 return new ReportUsageRequest(mNamespace, mDocumentId, mUsageTimestampMillis); in build()
DRemoveByDocumentIdRequest.java56 private final String mNamespace; field in RemoveByDocumentIdRequest
73 mNamespace = Objects.requireNonNull(namespace); in RemoveByDocumentIdRequest()
80 return mNamespace; in getNamespace()
100 private final String mNamespace; field in RemoveByDocumentIdRequest.Builder
106 mNamespace = Objects.requireNonNull(namespace); in Builder()
132 return new RemoveByDocumentIdRequest(mNamespace, new ArrayList<>(mIds)); in build()
DGetByDocumentIdRequest.java67 private final String mNamespace; field in GetByDocumentIdRequest
85 mNamespace = Objects.requireNonNull(namespace); in GetByDocumentIdRequest()
93 return mNamespace; in getNamespace()
160 private final String mNamespace; field in GetByDocumentIdRequest.Builder
167 mNamespace = Objects.requireNonNull(namespace); in Builder()
254 return new GetByDocumentIdRequest(mNamespace, mIds, mProjectionTypePropertyPaths); in build()
DSetSchemaResponse.java329 private final String mNamespace; field in SetSchemaResponse.MigrationFailure
351 mNamespace = namespace; in MigrationFailure()
372 mNamespace = namespace; in MigrationFailure()
386 return mNamespace; in getNamespace()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/appsearch/
DAppSearchConsentDao.java49 @Document.Namespace private final String mNamespace; field in AppSearchConsentDao
80 this.mNamespace = namespace; in AppSearchConsentDao()
109 return mNamespace; in getNamespace()
153 + mNamespace in toString()
160 return Objects.hash(mId, mUserId, mNamespace, mConsent, mApiType); in hashCode()
171 && (Objects.equals(this.mNamespace, obj.mNamespace)) in equals()
DAppSearchAppConsentDao.java51 @Document.Namespace private final String mNamespace; field in AppSearchAppConsentDao
85 this.mNamespace = namespace; in AppSearchAppConsentDao()
114 return mNamespace; in getNamespace()
160 + mNamespace in toString()
167 return Objects.hash(mId, mUserId, mNamespace, mApps, mConsentType); in hashCode()
178 && (Objects.equals(this.mNamespace, obj.mNamespace)) in equals()
DAppSearchMeasurementRollbackDao.java56 @Document.Namespace private final String mNamespace; field in AppSearchMeasurementRollbackDao
73 mNamespace = namespace; in AppSearchMeasurementRollbackDao()
102 return mNamespace; in getNamespace()
125 + mNamespace in toString()
132 return Objects.hash(mId, mUserId, mNamespace, mApexVersion); in hashCode()
142 && (Objects.equals(this.mNamespace, obj.getNamespace())) in equals()
DAppSearchNotificationDao.java55 @Document.Namespace private final String mNamespace; field in AppSearchNotificationDao
84 this.mNamespace = namespace; in AppSearchNotificationDao()
113 return mNamespace; in getNamespace()
150 + mNamespace in toString()
160 mId, mUserId, mNamespace, mWasNotificationDisplayed, mWasGaUxNotificationDisplayed); in hashCode()
172 && (Objects.equals(this.mNamespace, obj.getNamespace())) in equals()
DAppSearchInteractionsDao.java61 @Document.Namespace private final String mNamespace; field in AppSearchInteractionsDao
97 this.mNamespace = namespace; in AppSearchInteractionsDao()
126 return mNamespace; in getNamespace()
159 + mNamespace in toString()
168 return Objects.hash(mId, mUserId, mNamespace, mApiType, mValue); in hashCode()
179 && (Objects.equals(this.mNamespace, obj.getNamespace())) in equals()
DAppSearchUxStatesDao.java57 @Document.Namespace private final String mNamespace; field in AppSearchUxStatesDao
88 this.mNamespace = namespace; in AppSearchUxStatesDao()
103 this.mNamespace = namespace; in AppSearchUxStatesDao()
172 return mNamespace; in getNamespace()
270 + mNamespace in toString()
296 mNamespace, in hashCode()
315 && (Objects.equals(this.mNamespace, obj.mNamespace)) in equals()
DAppSearchTopicsConsentDao.java57 @Document.Namespace private final String mNamespace; field in AppSearchTopicsConsentDao
91 this.mNamespace = namespace; in AppSearchTopicsConsentDao()
126 return mNamespace; in getNamespace()
181 + mNamespace in toString()
195 mNamespace, in hashCode()
209 && (Objects.equals(this.mNamespace, obj.getNamespace())) in equals()
/packages/modules/AdServices/sdksandbox/tests/testutils/src/android/app/sdksandbox/testutils/
DDeviceConfigUtils.java27 private final String mNamespace; field in DeviceConfigUtils
31 mNamespace = namespace; in DeviceConfigUtils()
35 if (DeviceConfig.getProperty(mNamespace, property) == null) { in deleteProperty()
40 DeviceConfig.deleteProperty(mNamespace, property); in deleteProperty()
47 DeviceConfig.setProperty(mNamespace, property, value, /*makeDefault= */ false); in setProperty()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/experimental/
DDeviceConfigFlagsManager.java44 private final String mNamespace; field in DeviceConfigFlagsManager
53 mNamespace = Objects.requireNonNull(namespace); in DeviceConfigFlagsManager()
57 () -> DeviceConfig.getProperties(mNamespace, new String[] {})); in DeviceConfigFlagsManager()
77 Properties.Builder builder = new Properties.Builder(mNamespace); in setFlags()
101 () -> DeviceConfig.setProperty(mNamespace, name, value, /* makeDefault= */ false)); in setFlag()
114 callWithDeviceConfigPermissions(() -> DeviceConfig.deleteProperty(mNamespace, name)); in deleteFlag()
119 () -> DeviceConfig.getString(mNamespace, name, /* defaultValue= */ null)); in getStringFlag()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/safeparcel/
DGenericDocumentParcel.java62 private final String mNamespace; field in GenericDocumentParcel
148 mNamespace = Objects.requireNonNull(namespace); in GenericDocumentParcel()
187 return mNamespace; in getNamespace()
245 return mNamespace.equals(otherDocument.mNamespace) in equals()
261 mNamespace, in hashCode()
281 private String mNamespace; field in GenericDocumentParcel.Builder
298 mNamespace = Objects.requireNonNull(namespace); in Builder()
314 mNamespace = documentSafeParcel.mNamespace; in Builder()
345 mNamespace = namespace; in setNamespace()
534 mNamespace, in build()
/packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/common/
DDeviceSideDeviceConfigHelper.java49 () -> DeviceConfig.getString(mNamespace, name, /* defaultValue= */ null)); in get()
58 () -> DeviceConfigUtil.setDeviceConfigFlag(mNamespace, name, value)); in asyncSet()
67 () -> DeviceConfig.deleteProperty(mNamespace, name)); in asyncDelete()
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/
DObserverManager.java59 final String mNamespace; field in ObserverManager.DocumentChangeGroupKey
69 mNamespace = Objects.requireNonNull(namespace); in DocumentChangeGroupKey()
84 && mNamespace.equals(that.mNamespace) in equals()
90 return Objects.hash(mPackageName, mDatabaseName, mNamespace, mSchemaName); in hashCode()
434 entry.getKey().mNamespace, in dispatchAndClearPendingNotificationsLocked()
/packages/modules/ConfigInfrastructure/framework/java/android/provider/
DDeviceConfig.java1727 private final String mNamespace; field in DeviceConfig.Properties
1741 mNamespace = namespace; in Properties()
1753 return mNamespace; in getNamespace()
1886 private final String mNamespace; field in DeviceConfig.Properties.Builder
1895 mNamespace = namespace; in Builder()
1964 return new Properties(mNamespace, mKeyValues); in build()