Searched refs:atomTag (Results 1 – 7 of 7) sorted by relevance
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | UidAtomTests.java | 93 final int atomTag = Atom.LMK_KILL_OCCURRED_FIELD_NUMBER; in testLmkKillOccurred() local 94 addAtomEvent(conf, atomTag, false); in testLmkKillOccurred() 117 final int atomTag = Atom.APP_CRASH_OCCURRED_FIELD_NUMBER; in testAppCrashOccurred() local 118 createAndUploadConfig(atomTag, false); in testAppCrashOccurred() 139 final int atomTag = Atom.APP_START_OCCURRED_FIELD_NUMBER; in testAppStartOccurred() local 141 createAndUploadConfig(atomTag, false); in testAppStartOccurred() 164 final int atomTag = Atom.AUDIO_STATE_CHANGED_FIELD_NUMBER; in testAudioState() local 175 createAndUploadConfig(atomTag, true); // True: uses attribution. in testAudioState() 284 final int atomTag = Atom.HIDDEN_API_USED_FIELD_NUMBER; in testHiddenApiUsed() local 286 createAndUploadConfig(atomTag, false); in testHiddenApiUsed() [all …]
|
D | HostAtomTests.java | 70 final int atomTag = Atom.SCREEN_STATE_CHANGED_FIELD_NUMBER; in testScreenStateChangedAtom() local 85 createAndUploadConfig(atomTag); in testScreenStateChangedAtom() 114 final int atomTag = Atom.CHARGING_STATE_CHANGED_FIELD_NUMBER; in testChargingStateChangedAtom() local 131 createAndUploadConfig(atomTag); in testChargingStateChangedAtom() 167 final int atomTag = Atom.PLUGGED_STATE_CHANGED_FIELD_NUMBER; in testPluggedStateChangedAtom() local 182 createAndUploadConfig(atomTag); in testPluggedStateChangedAtom() 220 final int atomTag = Atom.BATTERY_LEVEL_CHANGED_FIELD_NUMBER; in testBatteryLevelChangedAtom() local 232 createAndUploadConfig(atomTag); in testBatteryLevelChangedAtom() 267 final int atomTag = Atom.DEVICE_IDLE_MODE_STATE_CHANGED_FIELD_NUMBER; in testDeviceIdleModeStateChangedAtom() local 279 createAndUploadConfig(atomTag); in testDeviceIdleModeStateChangedAtom() [all …]
|
D | DeviceAtomTestCase.java | 110 protected void createAndUploadConfig(int atomTag, boolean useAttribution) throws Exception { in createAndUploadConfig() argument 112 addAtomEvent(conf, atomTag, useAttribution); in createAndUploadConfig() 123 … protected void addAtomEvent(StatsdConfig.Builder conf, int atomTag, FieldValueMatcher.Builder fvm) in addAtomEvent() argument 128 addAtomEvent(conf, atomTag, Arrays.asList(fvm, fvmUid)); in addAtomEvent() 137 protected void addAtomEvent(StatsdConfig.Builder conf, int atomTag, in addAtomEvent() argument 146 addAtomEvent(conf, atomTag, Arrays.asList(fvmUid)); in addAtomEvent()
|
D | GarageModeAtomTests.java | 43 final int atomTag = Atom.GARAGE_MODE_INFO_FIELD_NUMBER; in testGarageModeOnOff() local 44 createAndUploadConfig(atomTag); in testGarageModeOnOff()
|
D | AtomTestCase.java | 208 protected void createAndUploadConfig(int atomTag) throws Exception { in createAndUploadConfig() argument 210 addAtomEvent(conf, atomTag); in createAndUploadConfig() 491 protected void addAtomEvent(StatsdConfig.Builder conf, int atomTag) throws Exception { in addAtomEvent() argument 492 addAtomEvent(conf, atomTag, new ArrayList<FieldValueMatcher.Builder>()); in addAtomEvent() 502 protected void addAtomEvent(StatsdConfig.Builder conf, int atomTag, in addAtomEvent() argument 505 addAtomEvent(conf, atomTag, Arrays.asList(fvm)); in addAtomEvent()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/metrics/ |
D | AtomMetricTester.java | 78 void createAndUploadConfig(int atomTag) throws Exception { in createAndUploadConfig() argument 80 addAtomEvent(conf, atomTag); in createAndUploadConfig() 149 private void addAtomEvent(StatsdConfig.Builder conf, int atomTag) throws Exception { in addAtomEvent() argument 150 addAtomEvent(conf, atomTag, new ArrayList<FieldValueMatcher.Builder>()); in addAtomEvent() 160 private void addAtomEvent(StatsdConfig.Builder conf, int atomTag, in addAtomEvent() argument 166 SimpleAtomMatcher.Builder sam = SimpleAtomMatcher.newBuilder().setAtomId(atomTag); in addAtomEvent()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/ |
D | ValidationTests.java | 91 final int atomTag = Atom.WAKELOCK_STATE_CHANGED_FIELD_NUMBER; in testPartialWakelock() local 105 createAndUploadConfig(atomTag, true); // True: uses attribution. in testPartialWakelock() 376 final int atomTag = Atom.WAKELOCK_STATE_CHANGED_FIELD_NUMBER; in uploadWakelockDurationBatteryStatsConfig() local 442 .setField(atomTag) in uploadWakelockDurationBatteryStatsConfig() 454 .setAtomId(atomTag) in uploadWakelockDurationBatteryStatsConfig() 465 .setAtomId(atomTag) in uploadWakelockDurationBatteryStatsConfig() 476 .setAtomId(atomTag) in uploadWakelockDurationBatteryStatsConfig() 487 .setAtomId(atomTag) in uploadWakelockDurationBatteryStatsConfig()
|