Home
last modified time | relevance | path

Searched refs:card (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccCardController.java231 EuiccCard card = getEuiccCard(cardId); in getAllProfiles() local
232 if (card == null) { in getAllProfiles()
263 card.getAllProfiles(cardCb, mEuiccMainThreadHandler); in getAllProfiles()
280 EuiccCard card = getEuiccCard(cardId); in getProfile() local
281 if (card == null) { in getProfile()
311 card.getProfile(iccid, cardCb, mEuiccMainThreadHandler); in getProfile()
328 EuiccCard card = getEuiccCard(cardId); in disableProfile() local
329 if (card == null) { in disableProfile()
359 card.disableProfile(iccid, refresh, cardCb, mEuiccMainThreadHandler); in disableProfile()
376 EuiccCard card = getEuiccCard(cardId); in switchToProfile() local
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_UsbAlsaJackDetector.cpp55 static jboolean is_jack_connected(jint card, const char* suffix) { in is_jack_connected() argument
56 struct mixer* card_mixer = mixer_open(card); in is_jack_connected()
74 jint card) in android_server_UsbAlsaJackDetector_hasJackDetect() argument
76 struct mixer* card_mixer = mixer_open(card); in android_server_UsbAlsaJackDetector_hasJackDetect()
92 jint card) in android_server_UsbAlsaJackDetector_inputJackConnected() argument
94 return is_jack_connected(card, USB_IN_JACK_SUFFIX); in android_server_UsbAlsaJackDetector_inputJackConnected()
99 jint card) in android_server_UsbAlsaJackDetector_outputJackConnected() argument
101 return is_jack_connected(card, USB_OUT_JACK_SUFFIX); in android_server_UsbAlsaJackDetector_outputJackConnected()
106 jint card) { in android_server_UsbAlsaJackDetector_jackDetect() argument
114 struct mixer* m = mixer_open(card); in android_server_UsbAlsaJackDetector_jackDetect()
/frameworks/base/libs/hwui/tests/common/scenes/
DHwLayerAnimation.cpp29 sp<RenderNode> card; member in HwLayerAnimation
31 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
36 canvas.drawRenderNode(card.get()); in createContent()
40 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
41 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
42 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DOvalAnimation.cpp27 sp<RenderNode> card; member in OvalAnimation
30 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
36 canvas.drawRenderNode(card.get()); in createContent()
41 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
42 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
43 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DRoundRectClippingAnimation.cpp36 auto card = TestUtils::createNode( in createContent() local
43 canvas.drawRenderNode(card.get()); in createContent()
44 cards.push_back(card); in createContent()
53 for (auto& card : cards) { in doFrame() local
54 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
55 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
56 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DRectGridAnimation.cpp29 sp<RenderNode> card; member in RectGridAnimation
34 card = TestUtils::createNode(50, 50, 250, 250, [](RenderProperties& props, Canvas& canvas) { in createContent()
48 canvas.drawRenderNode(card.get()); in createContent()
54 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
55 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
56 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DTextAnimation.cpp27 sp<RenderNode> card; member in TextAnimation
30 card = TestUtils::createNode(0, 0, width, height, [](RenderProperties& props, in createContent()
47 canvas.drawRenderNode(card.get()); in createContent()
52 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
53 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
54 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DClippingAnimation.cpp29 sp<RenderNode> card; member in ClippingAnimation
32 card = TestUtils::createNode(0, 0, 200, 400, [](RenderProperties& props, Canvas& canvas) { in createContent()
57 canvas.drawRenderNode(card.get()); in createContent()
61 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
62 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
63 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DSaveLayerAnimation.cpp30 sp<RenderNode> card; member in SaveLayerAnimation
34 card = TestUtils::createNode(0, 0, 400, 800, [](RenderProperties& props, Canvas& canvas) { in createContent()
56 canvas.drawRenderNode(card.get()); in createContent()
60 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
61 card->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
62 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DJankyScene.cpp31 sp<RenderNode> card; member in JankyScene
34 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
38 canvas.drawRenderNode(card.get()); in createContent()
48 card->mutateStagingProperties().setLeftTop(curFrame, curFrame); in doFrame()
49 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DHwLayerSizeAnimation.cpp30 sp<RenderNode> card; member in HwLayerSizeAnimation
32 card = TestUtils::createNode(0, 0, 200, 200, [](RenderProperties& props, Canvas& canvas) { in createContent()
37 canvas.drawRenderNode(card.get()); in createContent()
43 card->mutateStagingProperties().setLeftTop(curFrame, curFrame); in doFrame()
44 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DMagnifierAnimation.cpp30 sp<RenderNode> card; member in MagnifierAnimation
39 card = TestUtils::createNode( in createContent()
48 canvas.drawRenderNode(card.get()); in createContent()
66 card->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
67 card->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DTvApp.cpp77 sp<RenderNode> card = createCard(x, y, dp(160), dp(160), isFirstCard); in createContent() local
79 canvas.drawRenderNode(card.get()); in createContent()
80 mCards.push_back(card); in createContent()
192 sp<RenderNode> card = mCards[ci]; in updateCard() local
193 card->setPropertyFieldsDirty(RenderNode::Y); in updateCard()
194 card->mutateStagingProperties().setTranslationY(curFrame % 150); in updateCard()
198 card->stagingProperties().getWidth(), card->stagingProperties().getHeight(), in updateCard()
199 card.get())); in updateCard()
230 card->setStagingDisplayList(cardcanvas->finishRecording()); in updateCard()
DShapeAnimation.cpp29 sp<RenderNode> card; member in ShapeAnimation
31 card = TestUtils::createNode( in createContent()
94 canvas.drawRenderNode(card.get()); in createContent()
98 card->mutateStagingProperties().setTranslationY(frameNr % 150); in doFrame()
99 card->setPropertyFieldsDirty(RenderNode::Y); in doFrame()
DRecentsAnimation.cpp48 sp<RenderNode> card = createCard(x, y, cardsize, cardsize, *thumb); in createContent() local
49 card->mutateStagingProperties().setElevation(i * dp(8)); in createContent()
50 renderer.drawRenderNode(card.get()); in createContent()
52 mCards.push_back(card); in createContent()
DPartialDamageAnimation.cpp41 sp<RenderNode> card = in createContent() local
46 canvas.drawRenderNode(card.get()); in createContent()
47 cards.push_back(card); in createContent()
DShadowShaderAnimation.cpp36 sp<RenderNode> card = in createContent() local
38 canvas.drawRenderNode(card.get()); in createContent()
39 cards.push_back(card); in createContent()
DShadowGridAnimation.cpp36 sp<RenderNode> card = createCard(x, y, dp(100), dp(100)); in createContent() local
37 canvas.drawRenderNode(card.get()); in createContent()
38 cards.push_back(card); in createContent()
DShadowGrid2Animation.cpp36 sp<RenderNode> card = createCard(x, y, dp(50), dp(50)); in createContent() local
37 canvas.drawRenderNode(card.get()); in createContent()
38 cards.push_back(card); in createContent()
DSimpleGradientAnimation.cpp34 sp<RenderNode> card = createCard(0, 0, width, height); in createContent() local
35 canvas.drawRenderNode(card.get()); in createContent()
36 cards.push_back(card); in createContent()
/frameworks/base/core/proto/android/telephony/
Denums.proto131 /** SIM card state: no SIM card is available in the device */
133 /** SIM card state: Locked: requires the user's SIM PIN to unlock */
135 /** SIM card state: Locked: requires the user's SIM PUK to unlock */
137 /** SIM card state: Locked: requires a network PIN to unlock */
139 /** SIM card state: Ready */
141 /** SIM card state: SIM Card is NOT READY */
143 /** SIM card state: SIM Card Error, permanently disabled */
145 /** SIM card state: SIM Card Error, present but faulty */
147 /** SIM card state: SIM Card restricted, present but not usable due to
152 * SIM card state: Loaded: SIM card applications have been loaded
[all …]
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaJackDetector.java25 private static native boolean nativeHasJackDetect(int card); in nativeHasJackDetect() argument
26 private native boolean nativeJackDetect(int card); in nativeJackDetect() argument
27 private native boolean nativeOutputJackConnected(int card); in nativeOutputJackConnected() argument
28 private native boolean nativeInputJackConnected(int card); in nativeInputJackConnected() argument
DUsbMidiDevice.java142 public static UsbMidiDevice create(Context context, Bundle properties, int card, int device) { in create() argument
144 int subDeviceCount = nativeGetSubdeviceCount(card, device); in create()
150 UsbMidiDevice midiDevice = new UsbMidiDevice(card, device, subDeviceCount); in create()
159 private UsbMidiDevice(int card, int device, int subdeviceCount) { in UsbMidiDevice() argument
160 mAlsaCard = card; in UsbMidiDevice()
357 private static native int nativeGetSubdeviceCount(int card, int device); in nativeGetSubdeviceCount() argument
358 private native FileDescriptor[] nativeOpen(int card, int device, int subdeviceCount); in nativeOpen() argument
/frameworks/base/core/java/com/android/internal/alsa/
DAlsaDevicesParser.java205 public int getDefaultDeviceNum(int card) { in getDefaultDeviceNum() argument
213 public boolean hasPlaybackDevices(int card) { in hasPlaybackDevices() argument
215 if (deviceRecord.mCardNum == card && in hasPlaybackDevices()
224 public boolean hasCaptureDevices(int card) { in hasCaptureDevices() argument
226 if (deviceRecord.mCardNum == card && in hasCaptureDevices()
235 public boolean hasMIDIDevices(int card) { in hasMIDIDevices() argument
237 if (deviceRecord.mCardNum == card && in hasMIDIDevices()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DSimSlotState.java45 UiccCard card = slot.getUiccCard(); in getCurrentState() local
46 if (card != null && card.getNumApplications() > 0) { in getCurrentState()

123