Searched refs:mSignals (Results 1 – 3 of 3) sorted by relevance
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/ |
D | ProtectedSignalsArgumentUtilTest.java | 49 private Map<String, List<ProtectedSignal>> mSignals; field in ProtectedSignalsArgumentUtilTest 56 mSignals = new HashMap<>(); in setup() 62 mSignals.put(getBase64String("test_key"), List.of(signal)); in testJSArgument() 65 ProtectedSignalsArgumentUtil.asScriptArgument(SIGNAL_FIELD_NAME, mSignals); in testJSArgument() 83 assertEquals(expectedEmpty, ProtectedSignalsArgumentUtil.marshalToJson(mSignals)); in testEmptySignals() 89 mSignals.put(getBase64String("test_key"), List.of(signal)); in testSingleSignal() 97 String actualJSON = ProtectedSignalsArgumentUtil.marshalToJson(mSignals); in testSingleSignal() 106 mSignals.put("non_base64_string", List.of(signal)); in testHandleInvalidBase64Signal() 112 ProtectedSignalsArgumentUtil.marshalToJson(mSignals); in testHandleInvalidBase64Signal() 123 mSignals.put(getBase64String("test_key_A"), List.of(signalA1, signalA2)); in testMultipleSignals() [all …]
|
/packages/modules/AdServices/adservices/framework/java/android/adservices/common/ |
D | AdSelectionSignals.java | 40 @NonNull private final String mSignals; field in AdSelectionSignals 55 mSignals = adSelectionSignals; in AdSelectionSignals() 80 dest.writeString(mSignals); in writeToParcel() 97 && mSignals.equals(((AdSelectionSignals) o).toString()); in equals() 110 return mSignals.hashCode(); in hashCode() 117 return mSignals; in toString() 150 return this.mSignals.getBytes(StandardCharsets.UTF_8).length; in getSizeInBytes() 159 JSONObject json = new JSONObject(mSignals); in containsAdCost() 172 JSONObject json = new JSONObject(mSignals); in containsDataVersion()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/indexer/ |
D | IndexerMaintenanceService.java | 62 private final Map<UserHandle, CancellationSignal> mSignals = new ArrayMap<>(); field in IndexerMaintenanceService 217 synchronized (mSignals) { in onStartJob() 218 oldSignal = mSignals.get(userHandle); in onStartJob() 227 synchronized (mSignals) { in onStartJob() 228 mSignals.put(userHandle, signal); in onStartJob() 285 synchronized (mSignals) { in doUpdateForUser() 286 if (signal == mSignals.get(userHandle)) { in doUpdateForUser() 287 mSignals.remove(userHandle); in doUpdateForUser() 311 synchronized (mSignals) { in onStopJob() 312 final CancellationSignal signal = mSignals.get(userHandle); in onStopJob() [all …]
|