/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/ |
D | ApduSenderTest.java | 101 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "A1A1A19000"); in testSendEmptyCommands() local 102 LogicalChannelMocker.mockCloseLogicalChannel(mMockCi, channel); in testSendEmptyCommands() 112 verify(mMockCi).iccCloseLogicalChannel(eq(channel), any()); in testSendEmptyCommands() 132 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); in testSend() local 133 LogicalChannelMocker.mockSendToLogicalChannel(mMockCi, channel, "A1A1A19000"); in testSend() 134 LogicalChannelMocker.mockCloseLogicalChannel(mMockCi, channel); in testSend() 141 verify(mMockCi).iccTransmitApduLogicalChannel(eq(channel), eq(channel | 10), eq(1), eq(2), in testSend() 147 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); in testSendMultiApdus() local 148 LogicalChannelMocker.mockSendToLogicalChannel(mMockCi, channel, "A19000", "A29000", in testSendMultiApdus() 150 LogicalChannelMocker.mockCloseLogicalChannel(mMockCi, channel); in testSendMultiApdus() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCardTest.java | 172 int channel = mockLogicalChannelResponses("BF3E065A041A2B3C4D9000"); in testLoadEidAndNotifyRegistrants() local 191 verifyStoreData(channel, "BF3E035C015A"); in testLoadEidAndNotifyRegistrants() 196 int channel = mockLogicalChannelResponses( in testGetAllProfiles() local 208 verifyStoreData(channel, "BF2D0D5C0B5A909192B79F709599BF76"); in testGetAllProfiles() 214 int channel = mockLogicalChannelResponses( in testFSuffix() local 225 verifyStoreData(channel, "BF2D0D5C0B5A909192B79F709599BF76"); in testFSuffix() 230 int channel = mockLogicalChannelResponses("BF2D8184A08181E37F" in testGetProfile() local 271 verifyStoreData(channel, "BF2D1BA00C5A0A896700000000004523015C0B5A909192B79F709599BF76"); in testGetProfile() 276 int channel = mockLogicalChannelResponses("BF32038001009000"); in testDisableProfile() local 283 verifyStoreData(channel, "BF3211A00C5A0A896700000000004523018101FF"); in testDisableProfile() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | colorspace.cpp | 30 uint8 channel[4]; member 48 color.channel[kRed] = clamp(y + static_cast<int>(1.402 * v)); in convertYuvToRgba() 49 color.channel[kGreen] = clamp(y - static_cast<int>(0.344 * u + 0.714 * v)); in convertYuvToRgba() 50 color.channel[kBlue] = clamp(y + static_cast<int>(1.772 * u)); in convertYuvToRgba() 51 color.channel[kAlpha] = 0xFF; in convertYuvToRgba() 103 color_out.channel[kRed] = color_in.channel[kGreen]; in JNI_COLORSPACE_METHOD() 104 color_out.channel[kGreen] = color_in.channel[kBlue]; in JNI_COLORSPACE_METHOD() 105 color_out.channel[kBlue] = color_in.channel[kAlpha]; in JNI_COLORSPACE_METHOD() 106 color_out.channel[kAlpha] = color_in.channel[kRed]; in JNI_COLORSPACE_METHOD() 120 r = color_in.channel[kRed]; in JNI_COLORSPACE_METHOD() [all …]
|
/frameworks/av/media/libaudioclient/tests/ |
D | record_test_output_v1.0_ref_walleye.txt | 6 format(0x1), channel mask(0x10), channel count(1), sample rate(48000) 15 format(0x1), channel mask(0x10), channel count(1), sample rate(24000) 24 format(0x1), channel mask(0x10), channel count(1), sample rate(16000) 33 format(0x1), channel mask(0x10), channel count(1), sample rate(8000) 42 format(0x1), channel mask(0x10), channel count(1), sample rate(44100) 51 format(0x1), channel mask(0x10), channel count(1), sample rate(22050) 60 format(0x1), channel mask(0x10), channel count(1), sample rate(11025) 69 format(0x2), channel mask(0x10), channel count(1), sample rate(48000) 78 format(0x3), channel mask(0x10), channel count(1), sample rate(48000) 87 format(0x5), channel mask(0x10), channel count(1), sample rate(48000) [all …]
|
D | track_test_output_v1.0_ref_walleye.txt | 6 format(1), channel mask(3), channel count(2) 17 format(1), channel mask(3), channel count(2) 28 format(1), channel mask(3), channel count(2) 39 format(1), channel mask(3), channel count(2) 50 format(1), channel mask(3), channel count(2) 61 format(1), channel mask(3), channel count(2) 72 format(1), channel mask(3), channel count(2) 83 format(2), channel mask(3), channel count(2) 94 format(3), channel mask(3), channel count(2) 105 format(5), channel mask(3), channel count(2) [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordTest.java | 92 private NotificationChannel channel = field in NotificationRecordTest 138 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotification() 141 channel.setSound(null, null); in getNotification() 149 channel.setVibrationPattern(CUSTOM_CHANNEL_VIBRATION); in getNotification() 157 channel.setLightColor(Color.BLUE); in getNotification() 159 channel.enableLights(true); in getNotification() 161 channel.enableLights(false); in getNotification() 255 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in testSound_default_upgradeUsesChannel() 261 NotificationRecord record = new NotificationRecord(mMockContext, sbn, channel); in testSound_default_upgradeUsesChannel() 305 channel.enableVibration(true); in testVibration_custom_upgradeUsesChannel() [all …]
|
D | NotificationChannelTest.java | 51 NotificationChannel channel = in testWriteToParcel() local 54 channel.writeToParcel(parcel, 0); in testWriteToParcel() 57 assertEquals(channel, channel1); in testWriteToParcel() 62 NotificationChannel channel = new NotificationChannel("a", "ab", IMPORTANCE_DEFAULT); in testSystemBlockable() local 63 assertEquals(false, channel.isBlockableSystem()); in testSystemBlockable() 64 channel.setBlockableSystem(true); in testSystemBlockable() 65 assertEquals(true, channel.isBlockableSystem()); in testSystemBlockable() 70 NotificationChannel channel = new NotificationChannel("a", "ab", IMPORTANCE_DEFAULT); in testEmptyVibration_noException() local 71 channel.setVibrationPattern(new long[0]); in testEmptyVibration_noException() 76 channel.writeXml(serializer); in testEmptyVibration_noException() [all …]
|
D | PreferencesHelperTest.java | 242 for (NotificationChannel channel : channels) { in findChannel() 243 if (channel.getId().equals(id)) { in findChannel() 244 return channel; in findChannel() 458 NotificationChannel channel = in testBackupXml_backupCanonicalizedSoundUri() local 460 channel.setSound(SOUND_URI, mAudioAttributes); in testBackupXml_backupCanonicalizedSoundUri() 461 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel, true, false); in testBackupXml_backupCanonicalizedSoundUri() 464 UserHandle.USER_SYSTEM, channel.getId()); in testBackupXml_backupCanonicalizedSoundUri() 485 NotificationChannel channel = in testRestoreXml_withExistentCanonicalizedSoundUri() local 487 channel.setSound(SOUND_URI, mAudioAttributes); in testRestoreXml_withExistentCanonicalizedSoundUri() 488 mHelper.createNotificationChannel(PKG_N_MR1, UID_N_MR1, channel, true, false); in testRestoreXml_withExistentCanonicalizedSoundUri() [all …]
|
D | NotificationIntrusivenessExtractorTest.java | 43 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); in testNonIntrusive() local 51 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in testNonIntrusive() 58 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); in testIntrusive_fillScreen() local 69 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in testIntrusive_fillScreen() 76 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); in testOldNotificationsNotIntrusive() local 88 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); in testOldNotificationsNotIntrusive()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 99 void SoundPool::addToRestartList(SoundChannel* channel) in addToRestartList() argument 103 mRestart.push_back(channel); in addToRestartList() 108 void SoundPool::addToStopList(SoundChannel* channel) in addToStopList() argument 112 mStop.push_back(channel); in addToStopList() 132 SoundChannel* channel; in run() local 135 channel = *iter; in run() 138 if (channel != 0) { in run() 140 channel->stop(); in run() 147 SoundChannel* channel; in run() local 150 channel = *iter; in run() [all …]
|
/frameworks/native/libs/input/ |
D | IInputFlinger.cpp | 48 virtual void registerInputChannel(const sp<InputChannel>& channel) { in registerInputChannel() argument 51 channel->write(data); in registerInputChannel() 55 virtual void unregisterInputChannel(const sp<InputChannel>& channel) { in unregisterInputChannel() argument 58 channel->write(data); in unregisterInputChannel() 85 sp<InputChannel> channel = new InputChannel(); in onTransact() local 86 channel->read(data); in onTransact() 87 registerInputChannel(channel); in onTransact() 92 sp<InputChannel> channel = new InputChannel(); in onTransact() local 93 channel->read(data); in onTransact() 94 unregisterInputChannel(channel); in onTransact()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PreferencesHelper.java | 245 NotificationChannel channel = new NotificationChannel(id, in readXml() local 248 channel.populateFromXmlForRestore(parser, mContext); in readXml() 250 channel.populateFromXml(parser); in readXml() 252 channel.setImportanceLockedByCriticalDeviceFunction( in readXml() 254 r.channels.put(id, channel); in readXml() 381 NotificationChannel channel; in createDefaultChannelIfNeededLocked() local 382 channel = new NotificationChannel( in createDefaultChannelIfNeededLocked() 386 channel.setBypassDnd(r.priority == Notification.PRIORITY_MAX); in createDefaultChannelIfNeededLocked() 387 channel.setLockscreenVisibility(r.visibility); in createDefaultChannelIfNeededLocked() 389 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in createDefaultChannelIfNeededLocked() [all …]
|
/frameworks/av/media/libeffects/dynamicsproc/ |
D | EffectDynamicsProcessing.cpp | 384 int32_t channel) { in DP_getChannel() argument 388 dp_fx::DPChannel *pChannel = pContext->mPDynamics->getChannel(channel); in DP_getChannel() 389 ALOGE_IF(pChannel == NULL, "DPChannel NULL. invalid channel %d", channel); in DP_getChannel() 393 static dp_fx::DPEq* DP_getEq(DynamicsProcessingContext *pContext, int32_t channel, in DP_getEq() argument 395 dp_fx::DPChannel *pChannel = DP_getChannel(pContext, channel); in DP_getEq() 405 static dp_fx::DPEqBand* DP_getEqBand(DynamicsProcessingContext *pContext, int32_t channel, in DP_getEqBand() argument 407 dp_fx::DPEq *pEq = DP_getEq(pContext, channel, eqType); in DP_getEqBand() 416 static dp_fx::DPMbc* DP_getMbc(DynamicsProcessingContext *pContext, int32_t channel) { in DP_getMbc() argument 417 dp_fx::DPChannel * pChannel = DP_getChannel(pContext, channel); in DP_getMbc() 426 static dp_fx::DPMbcBand* DP_getMbcBand(DynamicsProcessingContext *pContext, int32_t channel, in DP_getMbcBand() argument [all …]
|
/frameworks/native/services/vr/bufferhubd/ |
D | buffer_hub.cpp | 65 for (const auto& channel : channels) { in DumpState() local 66 if (channel->channel_type() == BufferHubChannel::kProducerType) { in DumpState() 67 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); in DumpState() 100 if (channel->channel_type() == BufferHubChannel::kDetachedBufferType) { in DumpState() 101 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); in DumpState() 148 for (const auto& channel : channels) { in DumpState() local 149 if (channel->channel_type() == BufferHubChannel::kProducerQueueType) { in DumpState() 150 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); in DumpState() 181 for (const auto& channel : channels) { in DumpState() local 182 if (channel->channel_type() == BufferHubChannel::kConsumerQueueType) { in DumpState() [all …]
|
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | BidirectionalAsyncChannelServer.java | 50 AsyncChannel channel = mClients.get(msg.replyTo); in BidirectionalAsyncChannelServer() 53 if (channel != null) { in BidirectionalAsyncChannelServer() 55 channel.replyToMessage(msg, in BidirectionalAsyncChannelServer() 59 channel = new AsyncChannel(); in BidirectionalAsyncChannelServer() 60 mClients.put(msg.replyTo, channel); in BidirectionalAsyncChannelServer() 61 channel.connected(context, this, msg.replyTo); in BidirectionalAsyncChannelServer() 62 channel.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in BidirectionalAsyncChannelServer() 67 channel.disconnect(); in BidirectionalAsyncChannelServer()
|
/frameworks/wilhelm/src/itf/ |
D | IMIDIMuteSolo.cpp | 22 static SLresult IMIDIMuteSolo_SetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_SetChannelMute() argument 27 if (channel > 15) { in IMIDIMuteSolo_SetChannelMute() 31 SLuint16 mask = 1 << channel; in IMIDIMuteSolo_SetChannelMute() 45 static SLresult IMIDIMuteSolo_GetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_GetChannelMute() argument 50 if (channel > 15 || (NULL == pMute)) { in IMIDIMuteSolo_GetChannelMute() 57 *pMute = (mask >> channel) & 1; in IMIDIMuteSolo_GetChannelMute() 65 static SLresult IMIDIMuteSolo_SetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_SetChannelSolo() argument 70 if (channel > 15) { in IMIDIMuteSolo_SetChannelSolo() 74 SLuint16 mask = 1 << channel; in IMIDIMuteSolo_SetChannelSolo() 88 static SLresult IMIDIMuteSolo_GetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_GetChannelSolo() argument [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ChannelEditorDialogController.kt | 149 group.channels.asSequence().filterNot { channel -> in <lambda>() method 150 channel.isImportanceLockedByOEM in <lambda>() 151 || channel.importance == IMPORTANCE_NONE in <lambda>() 152 || channel.isImportanceLockedByCriticalDeviceFunction in <lambda>() 192 fun proposeEditForChannel(channel: NotificationChannel, edit: Int) { in <lambda>() 193 if (channel.importance == edit) { in <lambda>() 194 edits.remove(channel) in <lambda>() 196 edits[channel] = edit in <lambda>() 228 private fun setChannelImportance(channel: NotificationChannel, importance: Int) { in <lambda>() 230 channel.importance = importance in <lambda>() [all …]
|
D | ChannelEditorListView.kt | 98 for (channel in channels) { in <lambda>() constant 99 addChannelRow(channel, inflater) in <lambda>() 104 private fun addChannelRow(channel: NotificationChannel, inflater: LayoutInflater) { in <lambda>() 107 row.channel = channel in <lambda>() 143 var channel: NotificationChannel? = null variable 155 channel?.let { in onFinishInflate() 162 val nc = channel ?: return in updateViews() 180 val importance = channel?.importance ?: 0 in updateImportance()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/ |
D | ApduSender.java | 130 int channel = openChannelResponse.getChannel(); in send() 132 if (channel == IccOpenLogicalChannelResponse.INVALID_CHANNEL in send() 144 RequestBuilder builder = new RequestBuilder(channel, mSupportExtendedApdu); in send() 154 closeAndReturn(channel, null /* response */, requestException, resultCallback, in send() 181 getCompleteResponse(command.channel, response, null /* responseBuilder */, in sendCommand() 188 closeAndReturn(command.channel, null /* response */, in sendCommand() 202 closeAndReturn(command.channel, fullResponse.payload, in sendCommand() 220 int channel, in getCompleteResponse() argument 241 new ApduCommand(channel, 0 /* cls */, INS_GET_MORE_RESPONSE, 0 /* p1 */, in getCompleteResponse() 247 channel, response, resultBuilder, resultCallback, handler); in getCompleteResponse() [all …]
|
D | ApduCommand.java | 26 public final int channel; field in ApduCommand 47 ApduCommand(int channel, int cla, int ins, int p1, int p2, int p3, String cmdHex) { in ApduCommand() argument 48 this.channel = channel; in ApduCommand() 59 return "ApduCommand(channel=" + channel + ", cla=" + cla + ", ins=" + ins + ", p1=" + p1 in toString()
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | channel_manager.cpp | 16 auto channel = channels_.find(handle); in CloseHandle() local 17 if (channel == channels_.end()) { in CloseHandle() 20 channels_.erase(channel); in CloseHandle() 46 auto channel = channels_.find(handle); in GetChannelData() local 47 return channel != channels_.end() ? &channel->second : nullptr; in GetChannelData()
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | service.h | 205 int flags, const std::shared_ptr<Channel>& channel, int* channel_id); 212 Service* service, int flags, const std::shared_ptr<Channel>& channel, 233 std::shared_ptr<Channel>* channel) const; 240 std::shared_ptr<Channel>* channel) const; 248 std::shared_ptr<C>* channel) const { in CheckChannel() argument 251 CheckChannel(ref, channel ? &base_pointer : nullptr); in CheckChannel() 252 if (channel) in CheckChannel() 253 *channel = std::static_pointer_cast<C>(base_pointer); in CheckChannel() 259 std::shared_ptr<C>* channel) const { in CheckChannel() argument 262 CheckChannel(service, ref, channel ? &base_pointer : nullptr); in CheckChannel() [all …]
|
/frameworks/native/libs/vr/libpdx/ |
D | service.cpp | 16 return info.channel ? info.channel->shared_from_this() in GetFromMessageInfo() 373 int flags, const std::shared_ptr<Channel>& channel, int* channel_id) { in PushChannel() argument 376 return svc->PushChannel(this, flags, channel, channel_id); in PushChannel() 383 Service* service, int flags, const std::shared_ptr<Channel>& channel, in PushChannel() argument 386 return service->PushChannel(this, flags, channel, channel_id); in PushChannel() 390 std::shared_ptr<Channel>* channel) const { in CheckChannel() 393 return svc->CheckChannel(this, ref, channel); in CheckChannel() 400 std::shared_ptr<Channel>* channel) const { in CheckChannel() 402 return service->CheckChannel(this, ref, channel); in CheckChannel() 474 const std::shared_ptr<Channel>& channel) { in SetChannel() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AlertWindowNotification.java | 158 NotificationChannel channel = mNotificationManager.getNotificationChannel(mNotificationTag); in createNotificationChannel() local 159 if (channel != null) { in createNotificationChannel() 162 channel = new NotificationChannel(mNotificationTag, nameChannel, IMPORTANCE_MIN); in createNotificationChannel() 163 channel.enableLights(false); in createNotificationChannel() 164 channel.enableVibration(false); in createNotificationChannel() 165 channel.setBlockableSystem(true); in createNotificationChannel() 166 channel.setGroup(sChannelGroup.getId()); in createNotificationChannel() 167 channel.setBypassDnd(true); in createNotificationChannel() 168 mNotificationManager.createNotificationChannel(channel); in createNotificationChannel()
|
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/ |
D | WifiP2pManagerTest.java | 65 try (WifiP2pManager.Channel channel = new WifiP2pManager.Channel(mContextMock, in testChannelFinalize() argument 67 leakageDetectorRule.assertUnreleasedResourceCount(channel, 1); in testChannelFinalize() 77 WifiP2pManager.Channel channel = new WifiP2pManager.Channel(mContextMock, in testChannelClose() local 80 channel.close(); in testChannelClose() 83 leakageDetectorRule.assertUnreleasedResourceCount(channel, 0); in testChannelClose()
|