Home
last modified time | relevance | path

Searched refs:getDescriptor (Results 1 – 15 of 15) sorted by relevance

/cts/hostsidetests/incident/src/com/android/server/cts/
DNotificationIncidentTest.java94 NotificationRecordProto.State.getDescriptor() in testNotificationRecords()
147 … ZenMode.getDescriptor().getValues().contains(zenProto.getZenMode().getValueDescriptor())); in verifyZenModeProto()
171 assertTrue(ConditionProto.State.getDescriptor().getValues() in verifyZenModeProto()
177 assertTrue(PolicyProto.Category.getDescriptor().getValues() in verifyZenModeProto()
180 assertTrue(PolicyProto.Sender.getDescriptor().getValues() in verifyZenModeProto()
182 assertTrue(PolicyProto.Sender.getDescriptor().getValues() in verifyZenModeProto()
185 assertTrue(PolicyProto.SuppressedVisualEffect.getDescriptor().getValues() in verifyZenModeProto()
226 assertTrue(NotificationRecordProto.State.getDescriptor().getValues() in verifyNotificationRecordProto()
DJobSchedulerIncidentTest.java136 assertTrue(StopReasonEnum.getDescriptor().getValues() in testDataSetProto()
149 assertTrue(JobPackageHistoryProto.Event.getDescriptor().getValues() in testJobPackageHistoryProto()
153 assertTrue(StopReasonEnum.getDescriptor().getValues() in testJobPackageHistoryProto()
193 assertTrue(JobStatusDumpProto.JobInfo.Backoff.Policy.getDescriptor().getValues() in testJobStatusDumpProto()
198 assertTrue(ConstraintEnum.getDescriptor().getValues() in testJobStatusDumpProto()
202 assertTrue(ConstraintEnum.getDescriptor().getValues() in testJobStatusDumpProto()
206 assertTrue(ConstraintEnum.getDescriptor().getValues() in testJobStatusDumpProto()
211 assertTrue(JobStatusDumpProto.TrackingController.getDescriptor().getValues() in testJobStatusDumpProto()
222 assertTrue(JobStatusDumpProto.Bucket.getDescriptor().getValues() in testJobStatusDumpProto()
236 assertTrue(NetworkRequestProto.Type.getDescriptor().getValues() in testNetworkRequestProto()
[all …]
DPowerIncidentTest.java45 PowerManagerInternalProto.Wakefulness.getDescriptor() in verifyPowerManagerServiceDumpProto()
49 BatteryPluggedStateEnum.getDescriptor() in verifyPowerManagerServiceDumpProto()
53 IntentProto.DockState.getDescriptor() in verifyPowerManagerServiceDumpProto()
86 assertTrue(ProcessStateEnum.getDescriptor() in verifyPowerManagerServiceDumpProto()
DBatteryStatsIncidentTest.java101 assertTrue(SystemProto.BatteryLevelStep.DisplayState.getDescriptor().getValues() in testBatteryLevelStep()
103 assertTrue(SystemProto.BatteryLevelStep.PowerSaveMode.getDescriptor().getValues() in testBatteryLevelStep()
105 assertTrue(SystemProto.BatteryLevelStep.IdleMode.getDescriptor().getValues() in testBatteryLevelStep()
178 assertTrue(NetworkTypeEnum.getDescriptor().getValues() in testSystemProto()
236 assertTrue(SystemProto.PowerUseItem.Sipper.getDescriptor().getValues() in testSystemProto()
278 assertTrue(SystemProto.WifiState.Name.getDescriptor().getValues() in testSystemProto()
284 assertTrue(SystemProto.WifiSupplicantState.Name.getDescriptor().getValues() in testSystemProto()
361 assertTrue(UidProto.Cpu.ProcessState.getDescriptor().getValues() in testUidProto()
435 assertTrue(UidProto.StateTime.State.getDescriptor().getValues() in testUidProto()
DDiskStatsProtoTest.java66 assertTrue(DiskStatsServiceDumpProto.EncryptionType.getDescriptor().getValues() in verifyDiskStatsServiceDumpProto()
95 assertTrue(DiskStatsFreeSpaceProto.Folder.getDescriptor().getValues() in verifyDiskStatsFreeSpaceProto()
DUsbIncidentTest.java55 … assertTrue(UsbHandlerProto.Function.getDescriptor().getValues().contains(f.getValueDescriptor())); in verifyUsbHandlerProto()
58 … assertTrue(UsbHandlerProto.Function.getDescriptor().getValues().contains(f.getValueDescriptor())); in verifyUsbHandlerProto()
DPrintProtoTest.java113 PrinterInfoProto.Status.getDescriptor().getValues() in verifyPrinterInfoProto()
124 PrintJobInfoProto.State.getDescriptor().getValues() in verifyPrintJobInfoProto()
DActivityManagerIncidentTest.java172 …assertTrue(ConnectionRecordProto.Flag.getDescriptor().getValues().contains(f.getValueDescriptor())… in verifyConnectionRecordProto()
239 … assertTrue(UidRecordProto.Change.getDescriptor().getValues().contains(c.getValueDescriptor())); in verifyUidRecordProto()
267 …assertTrue(VrControllerProto.VrMode.getDescriptor().getValues().contains(vm.getValueDescriptor())); in verifyVrControllerProto()
DWindowManagerIncidentTest.java38 assertTrue(WindowManagerPolicyProto.UserRotationMode.getDescriptor().getValues() in verifyWindowManagerPolicyProto()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleClientService.java557 BluetoothGattDescriptor descriptor = getDescriptor(uid); in writeDescriptor()
565 BluetoothGattDescriptor descriptor = getDescriptor(uuid); in readDescriptor()
572 BluetoothGattDescriptor descriptor = getDescriptor(cuid, duid); in writeDescriptor()
580 BluetoothGattDescriptor descriptor = getDescriptor(cuid, duid); in readDescriptor()
605 … BluetoothGattDescriptor descriptor = characteristic.getDescriptor(UPDATE_DESCRIPTOR_UUID); in setNotification()
843 private BluetoothGattDescriptor getDescriptor(UUID uid) { in getDescriptor() method in BleClientService
848 descriptor = characteristic.getDescriptor(uid); in getDescriptor()
856 private BluetoothGattDescriptor getDescriptor(UUID cuid, UUID duid) { in getDescriptor() method in BleClientService
861 descriptor = characteristic.getDescriptor(duid); in getDescriptor()
DBleEncryptedClientService.java240 private BluetoothGattDescriptor getDescriptor(UUID uid) { in getDescriptor() method in BleEncryptedClientService
245 descriptor = characteristic.getDescriptor(uid); in getDescriptor()
279 descriptor = getDescriptor(DESCRIPTOR_ENCRYPTED_WRITE_UUID); in startEncryptedAction()
285 descriptor = getDescriptor(DESCRIPTOR_ENCRYPTED_READ_UUID); in startEncryptedAction()
DBleServerService.java355 getDescriptor().setValue(WRITE_VALUE.getBytes()); in resetValues()
597 private BluetoothGattDescriptor getDescriptor() { in getDescriptor() method in BleServerService
602 descriptor = characteristic.getDescriptor(DESCRIPTOR_UUID); in getDescriptor()
1076 + (descriptor == getDescriptor()));
DBleEncryptedServerService.java187 … characteristic.getDescriptor(DESCRIPTOR_ENCRYPTED_READ_UUID).setValue(WRITE_VALUE.getBytes()); in resetValues()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DMicrophoneDeviceTestActivity.java115 + inputDevice.isVirtual() + ", descriptor: " + inputDevice.getDescriptor()); in createInputDeviceItems()
/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java531 assertTrue("Negative reply value expected, effect " + ae.getDescriptor().uuid + in executeSetParameter()
538 Log.w(TAG, "\"Set parameter\" command rejected for effect " + ae.getDescriptor().uuid + in executeSetParameter()