/packages/modules/RemoteKeyProvisioning/app/tests/hosttest/src/com/android/rkpdapp/hosttest/ |
D | RkpdClientOperationAtomTests.java | 41 List<RkpdClientOperation> atoms = getAtoms(RkpdExtensionAtoms.rkpdClientOperation); in testGetKeySuccess() local 42 assertThat(atoms).hasSize(2); in testGetKeySuccess() 43 verifyE2eTestAtom(atoms.get(0), Operation.OPERATION_GET_REGISTRATION, in testGetKeySuccess() 45 verifyE2eTestAtom(atoms.get(1), Operation.OPERATION_GET_KEY, Result.RESULT_SUCCESS); in testGetKeySuccess() 51 List<RkpdClientOperation> atoms = getAtoms(RkpdExtensionAtoms.rkpdClientOperation); in testGetKeyWithResultUnknown() local 52 assertThat(atoms).hasSize(2); in testGetKeyWithResultUnknown() 53 verifyE2eTestAtom(atoms.get(0), Operation.OPERATION_GET_REGISTRATION, in testGetKeyWithResultUnknown() 55 verifyE2eTestAtom(atoms.get(1), Operation.OPERATION_GET_KEY, Result.RESULT_UNKNOWN); in testGetKeyWithResultUnknown() 61 List<RkpdClientOperation> atoms = getAtoms(RkpdExtensionAtoms.rkpdClientOperation); in testGetKeyWithResultCanceled() local 62 assertThat(atoms).hasSize(2); in testGetKeyWithResultCanceled() [all …]
|
D | RkpdPoolStatsAtomTests.java | 41 List<RkpdPoolStats> atoms = getAtoms(RkpdExtensionAtoms.rkpdPoolStats); in testKeyConsumed() local 42 assertThat(atoms).hasSize(2); in testKeyConsumed() 45 final int totalKeyCount = atoms.get(0).getTotal(); in testKeyConsumed() 48 assertThat(atoms.get(0).getRemotelyProvisionedComponent()).isEqualTo(DEFAULT_IRPC); in testKeyConsumed() 49 assertThat(atoms.get(0).getExpiring()).isEqualTo(0); in testKeyConsumed() 50 assertThat(atoms.get(0).getUnassigned()).isEqualTo(totalKeyCount); in testKeyConsumed() 52 assertThat(atoms.get(1).getRemotelyProvisionedComponent()).isEqualTo(DEFAULT_IRPC); in testKeyConsumed() 53 assertThat(atoms.get(1).getTotal()).isEqualTo(totalKeyCount); in testKeyConsumed() 54 assertThat(atoms.get(1).getExpiring()).isEqualTo(0); in testKeyConsumed() 55 assertThat(atoms.get(1).getUnassigned()).isEqualTo(totalKeyCount - 1); in testKeyConsumed() [all …]
|
D | AtomsHostTest.java | 43 AtomsHostTest(int... atoms) { in AtomsHostTest() argument 44 mAtoms = atoms; in AtomsHostTest() 88 List<Type> atoms = new ArrayList<>(); in getAtoms() local 90 atoms.add(event.getAtom().getExtension(extension)); in getAtoms() 92 return atoms; in getAtoms()
|
/packages/modules/Telephony/libs/TelephonyStatsLib/src/com/android/telephony/statslib/ |
D | StatsLibStorage.java | 105 List<AtomsPushed> atoms = in appendPushedAtoms() local 107 atoms.add(info.copy()); in appendPushedAtoms() 113 List<AtomsPushed> atoms = mPushed.computeIfAbsent(statsId, k -> new ArrayList<>()); in popPushedAtoms() local 114 AtomsPushed[] infos = atoms.toArray(new AtomsPushed[0]); in popPushedAtoms() 115 logt("popPushedAtoms, AtomsPushed:" + atoms); in popPushedAtoms() 116 atoms.clear(); in popPushedAtoms() 126 ConcurrentHashMap<String, AtomsPulled> atoms = in appendPulledAtoms() local 128 AtomsPulled alreadyExistPulled = atoms.get(info.getDimension()); in appendPulledAtoms() 130 atoms.put(info.getDimension(), info.copy()); in appendPulledAtoms() 143 ConcurrentHashMap<String, AtomsPulled> atoms = mPulled.get(statsId); in popPulledAtoms() local [all …]
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/ |
D | AtomListConverter.java | 65 @NonNull List<Atom> atoms, in convert() 69 if (atoms.size() == 0) { in convert() 73 if (atoms.get(0).getPushedCase() != Atom.PushedCase.PUSHED_NOT_SET) { in convert() 74 return sPushedCaseConverters.get(atoms.get(0).getPushedCase()).convert( in convert() 75 atoms, dimensionsFieldsIds, dimensionsValuesList, hashToStringMap); in convert() 77 return sPulledCaseConverters.get(atoms.get(0).getPulledCase()).convert( in convert() 78 atoms, dimensionsFieldsIds, dimensionsValuesList, hashToStringMap); in convert()
|
D | EventMetricDataConverter.java | 51 List<AtomsProto.Atom> atoms = new ArrayList<>(eventDataList.size()); in convertEventDataList() local 58 atoms.add(atom); in convertEventDataList() 62 atoms.add(eventData.getAtom()); in convertEventDataList() 65 PersistableBundle bundle = AtomListConverter.convert(atoms, null, null, null); in convertEventDataList()
|
D | GaugeMetricDataConverter.java | 65 List<Atom> atoms = new ArrayList<>(); in convertGaugeDataList() local 78 atoms.add(atom); in convertGaugeDataList() 85 atoms.add(atom); in convertGaugeDataList() 92 atoms, in convertGaugeDataList()
|
D | AbstractAtomConverter.java | 104 @NonNull List<Atom> atoms, in convert() 115 if (atomFieldAccessor.hasField(getAtomData(atoms.get(0)))) { in convert() 116 List<Object> valueList = new ArrayList<>(atoms.size()); in convert() 117 for (Atom atom : atoms) { in convert()
|
/packages/services/Mms/src/com/android/mms/service/metrics/ |
D | PersistMmsAtomsStorage.java | 99 PersistMmsAtoms atoms = PersistMmsAtoms.parseFrom( in loadAtomsFromFile() local 104 if (!Build.FINGERPRINT.equals(atoms.getBuildFingerprint())) { in loadAtomsFromFile() 109 List<IncomingMms> incomingMms = sanitizeAtoms(atoms.getIncomingMmsList(), mMaxNumMms); in loadAtomsFromFile() 110 List<OutgoingMms> outgoingMms = sanitizeAtoms(atoms.getOutgoingMmsList(), mMaxNumMms); in loadAtomsFromFile() 112 atoms.getIncomingMmsPullTimestampMillis()); in loadAtomsFromFile() 114 atoms.getOutgoingMmsPullTimestampMillis()); in loadAtomsFromFile() 117 atoms = atoms.toBuilder() in loadAtomsFromFile() 125 return atoms; in loadAtomsFromFile() 246 PersistMmsAtoms atoms = PersistMmsAtoms.newBuilder() in makeNewPersistMmsAtoms() local 251 return atoms; in makeNewPersistMmsAtoms()
|
/packages/services/Car/service/proto/android/car/watchdog/ |
D | atoms.proto | 17 // Partial clone of frameworks/proto_logging/stats/atoms.proto. CarWatchdogService only uses small 18 // number of atoms. 29 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto 73 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto 86 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto 111 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto 127 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto 137 * Keep in sync with proto file at frameworks/proto_logging/stats/atoms.proto 166 * packages/services/Car/service/src/com/android/car/watchdog/proto/atoms.proto 184 * packages/services/Car/service/src/com/android/car/watchdog/proto/atoms.proto [all …]
|
/packages/modules/StatsD/statsd/tools/localtools/test/com/android/statsd/shelltools/testdrive/ |
D | TestDriveTest.java | 43 public Integer[] atoms; field in TestDriveTest.Expect 49 static Expect success(Integer... atoms) { in success() argument 50 return new Expect(true, atoms, in success() 53 Expect(boolean success, Integer[] atoms, String target) { in Expect() argument 55 this.atoms = atoms; in Expect() 183 assertArrayEquals(mExpect.atoms, collectAtoms(mConfiguration)); in testProcessArgs()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsMetrics.java | 35 import com.android.telephony.qns.atoms.AtomsQnsFallbackRestrictionChangedInfo; 36 import com.android.telephony.qns.atoms.AtomsQnsHandoverPingPongInfo; 37 import com.android.telephony.qns.atoms.AtomsQnsHandoverTimeMillisInfo; 38 import com.android.telephony.qns.atoms.AtomsQnsImsCallDropStats; 39 import com.android.telephony.qns.atoms.AtomsQnsRatPreferenceMismatchInfo; 40 import com.android.telephony.qns.atoms.AtomsQualifiedRatListChangedInfo; 476 AtomsQualifiedRatListChangedInfo atoms = in writeQualifiedRatListChangedInfo() local 496 mStats.write(atoms); in writeQualifiedRatListChangedInfo() 501 AtomsQnsHandoverTimeMillisInfo atoms = in writeQnsHandoverTimeMillisInfo() local 503 mStats.append(atoms); in writeQnsHandoverTimeMillisInfo() [all …]
|
/packages/modules/NeuralNetworks/runtime/ |
D | TelemetryStatsd.cpp | 313 std::vector<Atom> atoms; in AsyncLogger() local 314 atoms.reserve(kInitialChannelSize); in AsyncLogger() 319 const Result result = takeAll(&atoms, /*blockUntilDataIsAvailable=*/data.empty()); in AsyncLogger() 325 std::for_each(atoms.begin(), atoms.end(), in AsyncLogger() 327 atoms.clear(); in AsyncLogger()
|
/packages/modules/StatsD/statsd/src/ |
D | experiment_ids.proto | 25 // BinaryPushStateChanged atoms. This needs to be in sync with 26 // TrainExperimentIds in atoms.proto.
|
/packages/modules/Bluetooth/framework/tests/metrics/host/android/bluetooth/ |
D | MetricsTest.kt | 78 atoms: IntArray in uploadAtomConfigAndTriggerTest() 80 ConfigUtils.uploadConfigForPushedAtoms(device, TEST_APP_PKG_NAME, atoms) in uploadAtomConfigAndTriggerTest()
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | QnsMetricsTest.java | 36 import com.android.telephony.qns.atoms.AtomsQnsFallbackRestrictionChangedInfo; 37 import com.android.telephony.qns.atoms.AtomsQnsHandoverPingPongInfo; 38 import com.android.telephony.qns.atoms.AtomsQnsHandoverTimeMillisInfo; 39 import com.android.telephony.qns.atoms.AtomsQnsImsCallDropStats; 40 import com.android.telephony.qns.atoms.AtomsQnsRatPreferenceMismatchInfo; 41 import com.android.telephony.qns.atoms.AtomsQualifiedRatListChangedInfo;
|
/packages/services/Car/service/proto/android/car/telemetry/ |
D | atoms.proto | 17 // Partial clone of frameworks/proto_logging/stats/atoms.proto. CarTelemetryService only uses 18 // small number of atoms. 86 // copied from frameworks/proto_logging/stats/atoms.proto
|
/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/ |
D | PersistMmsAtomsStorageTest.java | 688 PersistMmsAtoms atoms = PersistMmsAtoms.newBuilder().build(); in createEmptyTestFile() local 690 stream.write(atoms.toByteArray()); in createEmptyTestFile() 695 PersistMmsAtoms atoms = PersistMmsAtoms.newBuilder() in createTestFile() local 704 stream.write(atoms.toByteArray()); in createTestFile()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/atoms/ |
D | AtomsQnsHandoverTimeMillisInfo.java | 17 package com.android.telephony.qns.atoms;
|
D | AtomsQnsHandoverPingPongInfo.java | 17 package com.android.telephony.qns.atoms;
|
D | AtomsQnsFallbackRestrictionChangedInfo.java | 17 package com.android.telephony.qns.atoms;
|
D | AtomsQnsRatPreferenceMismatchInfo.java | 17 package com.android.telephony.qns.atoms;
|
/packages/modules/StatsD/statsd/src/shell/ |
D | shell_data.proto | 24 import "frameworks/proto_logging/stats/atoms.proto";
|
/packages/modules/StatsD/statsd/tools/localtools/test/data/ |
D | atoms.proto | 25 import "test/data/atoms/external_atoms/external_test_atom.proto";
|
/packages/apps/ManagedProvisioning/proto/ |
D | devicepolicy.proto | 23 // Copied from frameworks/proto_logging/stats/atoms.proto
|