/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/voiceinteraction/ |
D | HotwordDetectorKeyphraseTriggeredStatsTest.java | 123 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorKeyphraseTriggeredDspDetected() local 126 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorKeyphraseTriggeredDspDetected() 147 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorKeyphraseTriggeredSoftwareDetectorDetected() local 150 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorKeyphraseTriggeredSoftwareDetectorDetected() 169 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorKeyphraseTriggeredDspDetectorUnexpectedDetected() local 172 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorKeyphraseTriggeredDspDetectorUnexpectedDetected() 200 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorKeyphraseTriggeredSoftwareDetectorUnexpectedDetected() local 203 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorKeyphraseTriggeredSoftwareDetectorUnexpectedDetected() 229 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorKeyphraseTriggeredDspDetectorUnexpectedRejected() local 232 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorKeyphraseTriggeredDspDetectorUnexpectedRejected() [all …]
|
D | HotwordAudioEgressEventReportedStatsTest.java | 115 int appId = getTestAppUid(getDevice()); in testDspStartedAndEnded() local 118 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testDspStartedAndEnded() 138 int appId = getTestAppUid(getDevice()); in testDspEmptyAudiostreamList() local 141 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testDspEmptyAudiostreamList() 159 int appId = getTestAppUid(getDevice()); in testDspIllegalCopyBufferSize() local 162 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testDspIllegalCopyBufferSize() 184 int appId = getTestAppUid(getDevice()); in testSoftwareDetectorStartedAndEnded() local 187 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testSoftwareDetectorStartedAndEnded() 207 int appId = getTestAppUid(getDevice()); in testSoftwareDetectorEmptyAudiostreamList() local 210 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testSoftwareDetectorEmptyAudiostreamList() [all …]
|
D | HotwordDetectorCreateRequestedStatsTests.java | 103 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorCreateRequestedspCreateSuccess() local 106 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorCreateRequestedspCreateSuccess() 123 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorCreateRequestedDspCreateFail() local 126 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorCreateRequestedDspCreateFail() 143 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorCreateRequestedSoftwareCreateSuccess() local 146 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorCreateRequestedSoftwareCreateSuccess() 163 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorCreateRequestedSoftwareCreateFail() local 166 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorCreateRequestedSoftwareCreateFail() 186 private List<StatsLog.EventMetricData> filterTestAppMetrics(int appId, in filterTestAppMetrics() argument 190 if (metric.getAtom().getHotwordDetectorCreateRequested().getUid() == appId) { in filterTestAppMetrics()
|
D | HotwordDetectorEventsStatsTest.java | 114 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorEventsForDspDetection() local 117 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorEventsForDspDetection() 140 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorEventsConnectedAppUpdateState() local 143 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorEventsConnectedAppUpdateState() 169 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorEventsForExternalDetection() local 172 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorEventsForExternalDetection() 200 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorEventsForSoftwareDetection() local 203 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorEventsForSoftwareDetection() 231 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectorEventsSoftwareConnectedAppUpdateState() local 234 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectorEventsSoftwareConnectedAppUpdateState() [all …]
|
D | HotwordDetectionServiceInitResultReportedStatsTest.java | 104 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectionServiceInitResultReportedDspInitSuccess() local 107 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectionServiceInitResultReportedDspInitSuccess() 131 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectionServiceInitResultReportedSoftwareInitSuccess() local 134 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectionServiceInitResultReportedSoftwareInitSuccess() 157 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectionServiceInitResultReportedDspInitError() local 160 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectionServiceInitResultReportedDspInitError() 184 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectionServiceInitResultReportedSoftwareInitError() local 187 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectionServiceInitResultReportedSoftwareInitError() 200 private List<StatsLog.EventMetricData> filterTestAppMetrics(int appId, in filterTestAppMetrics() argument 204 if (metric.getAtom().getHotwordDetectionServiceInitResultReported().getUid() == appId) { in filterTestAppMetrics()
|
D | HotwordDetectionServiceRestartedStatsTests.java | 102 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectionServiceRestartedDspScheduleRestartService() local 105 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectionServiceRestartedDspScheduleRestartService() 130 int appId = getTestAppUid(getDevice()); in testLogHotwordDetectionServiceRestartedSoftwareScheduleRestartService() local 133 List<StatsLog.EventMetricData> filteredData = filterTestAppMetrics(appId, data); in testLogHotwordDetectionServiceRestartedSoftwareScheduleRestartService() 147 private List<StatsLog.EventMetricData> filterTestAppMetrics(int appId, in filterTestAppMetrics() argument 151 if (metric.getAtom().getHotwordDetectionServiceRestarted().getUid() == appId) { in filterTestAppMetrics()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | UserHandleTest.java | 97 private void assertConsistent(int userId, int appId) { in assertConsistent() argument 98 final int uid = UserHandle.getUid(userId, appId); in assertConsistent() 100 assertEquals(appId, UserHandle.getAppId(uid)); in assertConsistent()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | AttestationTest.java | 121 String appId = appContext.getPackageName(); in attestationTest() local 122 assertTrue(Bytes.indexOf(attestationApplicationId.get(), appId.getBytes()) != -1); in attestationTest()
|
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | LocationDisabledAppOpsTest.java | 82 int appId = UserHandle.getAppId(ai.uid); in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled() local 83 if (appId != Process.SYSTEM_UID) { in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | LocationDisabledAppOpsTest.java | 89 int appId = UserHandle.getAppId(ai.uid); in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled() local 90 if (appId != Process.SYSTEM_UID) { in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
|
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
D | ListeningPortsTest.java | 166 int appId = UserHandle.getAppId(entry.uid); in testNoAccessibleListeningPorts() local 167 if (appId >= Process.FIRST_APPLICATION_UID in testNoAccessibleListeningPorts() 168 && appId <= Process.LAST_APPLICATION_UID) { in testNoAccessibleListeningPorts()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandIncrementalTest.java | 649 public final int appId; field in PackageManagerShellCommandIncrementalTest.ReadLogEntry 652 private ReadLogEntry(String line, int blockIdx, int count, int fileIdx, int appId, in ReadLogEntry() argument 658 this.appId = appId; in ReadLogEntry() 663 return blockIdx + "/" + count + "/" + fileIdx + "/" + appId + "/" + userId; in toString() 872 readLogEntry.appId); in testInstallWithIdSigNoDigesting() 904 final int appId = UserHandle.getAppId(uid); in testInstallWithIdSigNoDigesting() local 908 if (appId < Process.FIRST_APPLICATION_UID) { in testInstallWithIdSigNoDigesting() 913 packageName = "<unknown package, appId=" + appId + ", userId=" + userId + ">"; in testInstallWithIdSigNoDigesting()
|
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | IRadioSimImpl.java | 299 int serial, String facility, String password, int serviceClass, String appId) { in getFacilityLockForApp() argument 315 if (appId.equals(mSimAppList.get(simAppIdx).getAid())) { in getFacilityLockForApp() 321 if (appId.equals(mSimAppList.get(simAppIdx).getAid())) { in getFacilityLockForApp() 334 Log.e(mTag, "Not support sim application aid = " + appId); in getFacilityLockForApp() 774 String appId) { in setFacilityLockForApp() argument
|