Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 3258) sorted by relevance

12345678910>>...131

/packages/services/Car/tools/emulator/
Ddiagjson.example7 "id": 0,
11 "id": 7,
15 "id": 13,
21 "id": 1,
25 "id": 8,
29 "id": 9,
33 "id": 0,
37 "id": 2,
41 "id": 42,
51 "id": 0,
[all …]
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql3 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,account_name TEXT NOT NULL,account_type TEXT NOT …
14 CREATE TABLE accounts (_id INTEGER PRIMARY KEY AUTOINCREMENT,account_name TEXT, account_type TEXT, …
15id INTEGER PRIMARY KEY AUTOINCREMENT,name_raw_contact_id INTEGER REFERENCES raw_contacts(_id),phot…
17id INTEGER PRIMARY KEY AUTOINCREMENT,account_id INTEGER REFERENCES accounts(_id),sourceid TEXT,bac…
18id INTEGER PRIMARY KEY AUTOINCREMENT, raw_contact_id INTEGER NOT NULL, res_package TEXT, icon TEXT…
19id INTEGER PRIMARY KEY AUTOINCREMENT, stream_item_id INTEGER NOT NULL, sort_index INTEGER, photo_f…
20 CREATE TABLE photo_files (_id INTEGER PRIMARY KEY AUTOINCREMENT, height INTEGER NOT NULL, width INT…
21 CREATE TABLE packages (_id INTEGER PRIMARY KEY AUTOINCREMENT,package TEXT NOT NULL);
22 CREATE TABLE mimetypes (_id INTEGER PRIMARY KEY AUTOINCREMENT,mimetype TEXT NOT NULL);
34id INTEGER PRIMARY KEY AUTOINCREMENT,package_id INTEGER REFERENCES package(_id),mimetype_id INTEGE…
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestMenu.java42 R.id.dir_menu_share, in create()
43 R.id.dir_menu_open, in create()
44 R.id.dir_menu_open_with, in create()
45 R.id.dir_menu_cut_to_clipboard, in create()
46 R.id.dir_menu_copy_to_clipboard, in create()
47 R.id.dir_menu_paste_from_clipboard, in create()
48 R.id.dir_menu_create_dir, in create()
49 R.id.dir_menu_select_all, in create()
50 R.id.dir_menu_deselect_all, in create()
51 R.id.dir_menu_rename, in create()
[all …]
DTestSupportLoaderManager.java43 public <D> Loader<D> initLoader(int id, Bundle args, in initLoader() argument
45 Loader<D> loader = mLoaders.get(id); in initLoader()
48 loader = callback.onCreateLoader(id, args); in initLoader()
49 mLoaders.put(id, loader); in initLoader()
51 loader.unregisterListener(mListeners.get(id)); in initLoader()
54 loader.registerListener(id, listener); in initLoader()
55 mListeners.put(id, listener); in initLoader()
61 public <D> Loader<D> restartLoader(int id, Bundle args, in restartLoader() argument
63 if (mLoaders.get(id) != null) { in restartLoader()
64 destroyLoader(id); in restartLoader()
[all …]
DTestLoaderManager.java40 public <D> Loader<D> initLoader(int id, Bundle args, in initLoader() argument
42 Loader<D> loader = mLoaders.get(id); in initLoader()
45 loader = callback.onCreateLoader(id, args); in initLoader()
46 mLoaders.put(id, loader); in initLoader()
48 loader.unregisterListener(mListeners.get(id)); in initLoader()
51 loader.registerListener(id, listener); in initLoader()
52 mListeners.put(id, listener); in initLoader()
58 public <D> Loader<D> restartLoader(int id, Bundle args, in restartLoader() argument
60 if (mLoaders.get(id) != null) { in restartLoader()
61 destroyLoader(id); in restartLoader()
[all …]
/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
DDialpadView.java80 private final int[] mButtonIds = new int[] {R.id.zero, R.id.one, R.id.two, R.id.three,
81 R.id.four, R.id.five, R.id.six, R.id.seven, R.id.eight, R.id.nine, R.id.star,
82 R.id.pound};
116 mDigits = (EditText) findViewById(R.id.digits); in onFinishInflate()
117 mDelete = (ImageButton) findViewById(R.id.deleteButton); in onFinishInflate()
118 mOverflowMenuButton = findViewById(R.id.dialpad_overflow); in onFinishInflate()
119 mRateContainer = (ViewGroup) findViewById(R.id.rate_container); in onFinishInflate()
120 mIldCountry = (TextView) mRateContainer.findViewById(R.id.ild_country); in onFinishInflate()
121 mIldRate = (TextView) mRateContainer.findViewById(R.id.ild_rate); in onFinishInflate()
165 numberView = (TextView) dialpadKey.findViewById(R.id.dialpad_key_number); in setupKeypad()
[all …]
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadView.java62 R.id.zero,
63 R.id.one,
64 R.id.two,
65 R.id.three,
66 R.id.four,
67 R.id.five,
68 R.id.six,
69 R.id.seven,
70 R.id.eight,
71 R.id.nine,
[all …]
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dlegacy_contacts.sql5 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account…
10 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER…
11 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES peopl…
15 … TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,pe…
16 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries IN…
17 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_ti…
18 CREATE TABLE faves (_id INTEGER PRIMARY KEY, ui_pos INTEGER, phone TEXT NOT NULL, nickname TEXT NOT…
24 …TE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id I…
30 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_t…
32id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,…
[all …]
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/
DAudioFragmentTest.java81 .getSupportFragmentManager().findFragmentById(R.id.bottom_card); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
86 onView(allOf(withId(R.id.card_view), isDescendantOfA(withId(R.id.bottom_card)))) in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
91 onView(allOf(withId(R.id.card_background), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
92 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
93 onView(allOf(withId(R.id.card_background_image), is(instanceOf(CrossfadeImageView.class)), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
94 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
95 onView(allOf(withId(R.id.media_layout), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
96 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
97 onView(allOf(withId(R.id.primary_text), withText(AUDIO_VIEW_TITLE), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
98 isDescendantOfA(withId(R.id.media_layout)), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar()
[all …]
/packages/providers/ContactsProvider/tests/assets/test1/
Dlegacy_contacts.sql6 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account…
12 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER…
14 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES peopl…
31 … TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,pe…
32 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries IN…
33 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_ti…
34 CREATE TABLE faves (_id INTEGER PRIMARY KEY, ui_pos INTEGER, phone TEXT NOT NULL, nickname TEXT NOT…
40 …TE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id I…
47 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_t…
51id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,…
[all …]
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dlegacy_contacts.sql5 CREATE TABLE _sync_state (_id INTEGER PRIMARY KEY,_sync_account TEXT,data TEXT,UNIQUE(_sync_account…
11 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER…
12 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES peopl…
18 … TABLE extensions (_id INTEGER PRIMARY KEY AUTOINCREMENT,name TEXT NOT NULL,value TEXT NOT NULL,pe…
19 CREATE TABLE fave_msg_status (_id INTEGER PRIMARY KEY, msg TEXT, next_retry INTEGER, num_retries IN…
21 CREATE TABLE fave_phone_changes (_id INTEGER PRIMARY KEY, old_phone TEXT, new_phone TEXT, change_ti…
22 CREATE TABLE faves (_id INTEGER PRIMARY KEY, ui_pos INTEGER, phone TEXT NOT NULL, nickname TEXT NOT…
28 …TE TABLE groupmembership (_id INTEGER PRIMARY KEY,person INTEGER REFERENCES people(_id),group_id I…
40 CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_t…
42id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,…
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/data/
DTimerDAO.kt67 val id = timerId.toInt() in getTimers() constant
68 val stateValue: Int = prefs.getInt(STATE + id, Timer.State.RESET.value) in getTimers()
74 val length: Long = prefs.getLong(LENGTH + id, Long.MIN_VALUE) in getTimers()
75 val totalLength: Long = prefs.getLong(TOTAL_LENGTH + id, Long.MIN_VALUE) in getTimers()
76 val lastStartTime: Long = prefs.getLong(LAST_START_TIME + id, Timer.UNUSED) in getTimers()
77 val lastWallClockTime: Long = prefs.getLong(LAST_WALL_CLOCK_TIME + id, Timer.UNUSED) in getTimers()
78 val remainingTime: Long = prefs.getLong(REMAINING_TIME + id, totalLength) in getTimers()
79 val label: String? = prefs.getString(LABEL + id, null) in getTimers()
80 val deleteAfterUse: Boolean = prefs.getBoolean(DELETE_AFTER_USE + id, false) in getTimers()
81 timers.add(Timer(id, it, length, totalLength, lastStartTime, in getTimers()
[all …]
/packages/apps/MusicFX/src/com/android/musicfx/
DActivityMusic.java137 { R.id.EQBand0TextView, R.id.EQBand0SeekBar },
138 { R.id.EQBand1TextView, R.id.EQBand1SeekBar },
139 { R.id.EQBand2TextView, R.id.EQBand2SeekBar },
140 { R.id.EQBand3TextView, R.id.EQBand3SeekBar },
141 { R.id.EQBand4TextView, R.id.EQBand4SeekBar },
142 { R.id.EQBand5TextView, R.id.EQBand5SeekBar },
143 { R.id.EQBand6TextView, R.id.EQBand6SeekBar },
144 { R.id.EQBand7TextView, R.id.EQBand7SeekBar },
145 { R.id.EQBand8TextView, R.id.EQBand8SeekBar },
146 { R.id.EQBand9TextView, R.id.EQBand9SeekBar },
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DConnectionServiceFixture.java227 String id, ConnectionRequest request, boolean isIncoming, boolean isUnknown, in createConnection() argument
229 Log.i(ConnectionServiceFixture.this, "createConnection --> " + id); in createConnection()
231 if (mConnectionById.containsKey(id)) { in createConnection()
232 throw new RuntimeException("Connection already exists: " + id); in createConnection()
234 mLatestConnectionId = id; in createConnection()
237 c.id = id; in createConnection()
246 mConnectionById.put(id, c); in createConnection()
248 id, request, isIncoming, isUnknown, null /*Session.Info*/); in createConnection()
252 public void createConnectionComplete(String id, Session.Info info) throws RemoteException { in createConnectionComplete() argument
253 Log.i(ConnectionServiceFixture.this, "createConnectionComplete: %s", id); in createConnectionComplete()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMockResources.java40 public boolean getBoolean(int id) { in getBoolean() argument
41 if (mBooleanValues.containsKey(id)) { in getBoolean()
42 return mBooleanValues.get(id); in getBoolean()
49 public int getInteger(int id) { in getInteger() argument
50 if (mIntegerValues.containsKey(id)) { in getInteger()
51 return mIntegerValues.get(id); in getInteger()
58 public String getString(int id) { in getString() argument
59 if (mStringValues.containsKey(id)) { in getString()
60 return mStringValues.get(id); in getString()
67 public CharSequence getText(int id) { in getText() argument
[all …]
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/
DHomeCardFragmentTest.java69 .getSupportFragmentManager().findFragmentById(R.id.top_card); in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView()
73 onView(allOf(withId(R.id.descriptive_text_layout), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView()
74 isDescendantOfA(withId(R.id.top_card)))).check( in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView()
76 onView(allOf(withId(R.id.primary_text), withText(DESCRIPTIVE_TEXT_TITLE), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView()
77 isDescendantOfA(withId(R.id.descriptive_text_layout)), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView()
78 isDescendantOfA(withId(R.id.top_card)))).check(matches(isDisplayed())); in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView()
79 onView(allOf(withId(R.id.secondary_text), withText(DESCRIPTIVE_TEXT_SUBTITLE), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView()
80 isDescendantOfA(withId(R.id.descriptive_text_layout)), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView()
81 isDescendantOfA(withId(R.id.top_card)))).check(matches(isDisplayed())); in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView()
82 onView(allOf(withId(R.id.tap_for_more_text), withText(DESCRIPTIVE_TEXT_FOOTER), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView()
[all …]
/packages/apps/Car/DebuggingRestrictionController/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/
DLoginTest.java94 onView(withId(R.id.username)).perform(typeText(INVALID_EMAIL), ViewActions.closeSoftKeyboard()); in invalidEmail()
95 onView(withId(R.id.username)) in invalidEmail()
97 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in invalidEmail()
103 onView(withId(R.id.username)).perform(typeText(TEST_EMAIL), ViewActions.closeSoftKeyboard()); in invalidPassword()
104 onView(withId(R.id.password)) in invalidPassword()
106 onView(withId(R.id.password)) in invalidPassword()
108 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in invalidPassword()
113 onView(withId(R.id.login)).check(matches(isDisplayed())); in initialButtonStates()
114 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in initialButtonStates()
115 onView(withId(R.id.next)).check(matches(isDisplayed())); in initialButtonStates()
[all …]
/packages/apps/CarrierConfig/src/com/android/carrierconfig/
DDefaultCarrierConfigService.java90 public PersistableBundle onLoadConfig(@Nullable CarrierIdentifier id) { in onLoadConfig() argument
102 return loadConfig(parser, id); in onLoadConfig()
110 PersistableBundle loadConfig(XmlPullParser parser, @Nullable CarrierIdentifier id) { in loadConfig() argument
115 if (id == null) { in loadConfig()
136 if (id.getCarrierId() != TelephonyManager.UNKNOWN_CARRIER_ID) { in loadConfig()
143 .getCarrierIdFromMccMnc(id.getMcc() + id.getMnc()); in loadConfig()
145 if (file.startsWith(CARRIER_ID_PREFIX + id.getSpecificCarrierId() + "_")) { in loadConfig()
149 } else if (file.startsWith(CARRIER_ID_PREFIX + id.getCarrierId() + "_")) { in loadConfig()
170 MCCMNC_PREFIX + id.getMcc() + id.getMnc() + ".xml"), "utf-8"); in loadConfig()
171 config = readConfigFromXml(parser, id, sku); in loadConfig()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMenuManager.java63 updateOpenWith(menu.findItem(R.id.action_menu_open_with), selection); in updateActionMenu()
64 updateDelete(menu.findItem(R.id.action_menu_delete), selection); in updateActionMenu()
65 updateShare(menu.findItem(R.id.action_menu_share), selection); in updateActionMenu()
66 updateRename(menu.findItem(R.id.action_menu_rename), selection); in updateActionMenu()
67 updateSelect(menu.findItem(R.id.action_menu_select), selection); in updateActionMenu()
68 updateSelectAll(menu.findItem(R.id.action_menu_select_all), selection); in updateActionMenu()
69 updateDeselectAll(menu.findItem(R.id.action_menu_deselect_all), selection); in updateActionMenu()
70 updateMoveTo(menu.findItem(R.id.action_menu_move_to), selection); in updateActionMenu()
71 updateCopyTo(menu.findItem(R.id.action_menu_copy_to), selection); in updateActionMenu()
72 updateCompress(menu.findItem(R.id.action_menu_compress), selection); in updateActionMenu()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
DTouchEventGenerator.java83 public TouchEventGenerator put(int id, int x, int y, long ms) { in put() argument
84 checkFingerExistence(id, false); in put()
86 mFingers.put(id, new Point(x, y)); in put()
93 action |= id << MotionEvent.ACTION_POINTER_INDEX_SHIFT; in put()
102 public TouchEventGenerator put(int id, int x, int y) { in put() argument
103 return put(id, x, y, TIME_INCREMENT_MS); in put()
111 public TouchEventGenerator position(int id, int x, int y) { in position() argument
112 checkFingerExistence(id, true); in position()
113 mFingers.get(id).set(x, y); in position()
141 public TouchEventGenerator move(int id, int x, int y, long ms) { in move() argument
[all …]
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeSaPayload.java982 public final int id; field in IkeSaPayload.Transform
986 protected Transform(int type, int id) { in Transform() argument
988 this.id = id; in Transform()
989 if (!isSupportedTransformId(id)) { in Transform()
991 "Unsupported " + getTransformTypeString() + " Algorithm ID: " + id); in Transform()
997 protected Transform(int type, int id, List<Attribute> attributeList) { in Transform() argument
999 this.id = id; in Transform()
1001 isSupportedTransformId(id) && !hasUnrecognizedAttribute(attributeList); in Transform()
1021 int id = Short.toUnsignedInt(inputBuffer.getShort()); in readFrom() local
1030 return new EncryptionTransform(id, attributeList); in readFrom()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DCarUiListItemTest.java94 mCarUiRecyclerView = mActivity.requireViewById(R.id.list); in setUp()
109 onView(withId(R.id.car_ui_list_item_title)).check(matches(isDisplayed())); in testItemVisibility_withTitle()
110 onView(withId(R.id.car_ui_list_item_body)).check(matches(not(isDisplayed()))); in testItemVisibility_withTitle()
111 onView(withId(R.id.car_ui_list_item_icon_container)).check(matches(not(isDisplayed()))); in testItemVisibility_withTitle()
112 onView(withId(R.id.car_ui_list_item_action_container)).check(matches(not(isDisplayed()))); in testItemVisibility_withTitle()
126 onView(withId(R.id.car_ui_list_item_body)).check(matches(isDisplayed())); in testItemVisibility_withBody()
127 onView(withId(R.id.car_ui_list_item_body)).check(matches(isEnabled())); in testItemVisibility_withBody()
128 onView(withId(R.id.car_ui_list_item_body)).check(matches(not(isActivated()))); in testItemVisibility_withBody()
129 onView(withId(R.id.car_ui_list_item_title)).check(matches(not(isDisplayed()))); in testItemVisibility_withBody()
130 onView(withId(R.id.car_ui_list_item_icon_container)).check(matches(not(isDisplayed()))); in testItemVisibility_withBody()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeCallback.java168 public void notifyCapabilitiesResponse(short id, WifiNanStatus status, in notifyCapabilitiesResponse() argument
171 Log.v(TAG, "notifyCapabilitiesResponse: id=" + id + ", status=" + statusString(status) in notifyCapabilitiesResponse()
182 mWifiAwareStateManager.onCapabilitiesUpdateResponse(id, frameworkCapabilities); in notifyCapabilitiesResponse()
190 public void notifyCapabilitiesResponse_1_5(short id, WifiNanStatus status, in notifyCapabilitiesResponse_1_5() argument
193 Log.v(TAG, "notifyCapabilitiesResponse_1_5: id=" + id + ", status=" in notifyCapabilitiesResponse_1_5()
207 mWifiAwareStateManager.onCapabilitiesUpdateResponse(id, frameworkCapabilities); in notifyCapabilitiesResponse_1_5()
241 public void notifyEnableResponse(short id, WifiNanStatus status) { in notifyEnableResponse() argument
242 if (mDbg) Log.v(TAG, "notifyEnableResponse: id=" + id + ", status=" + statusString(status)); in notifyEnableResponse()
245 Log.wtf(TAG, "notifyEnableResponse: id=" + id + ", already enabled!?"); in notifyEnableResponse()
250 mWifiAwareStateManager.onConfigSuccessResponse(id); in notifyEnableResponse()
[all …]
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/
DInCallButtonIdsExtension.java28 public static String toString(@InCallButtonIds int id) { in toString() argument
29 if (id == InCallButtonIds.BUTTON_AUDIO) { in toString()
31 } else if (id == InCallButtonIds.BUTTON_MUTE) { in toString()
33 } else if (id == InCallButtonIds.BUTTON_DIALPAD) { in toString()
35 } else if (id == InCallButtonIds.BUTTON_HOLD) { in toString()
37 } else if (id == InCallButtonIds.BUTTON_SWAP) { in toString()
39 } else if (id == InCallButtonIds.BUTTON_UPGRADE_TO_VIDEO) { in toString()
41 } else if (id == InCallButtonIds.BUTTON_DOWNGRADE_TO_AUDIO) { in toString()
43 } else if (id == InCallButtonIds.BUTTON_SWITCH_CAMERA) { in toString()
45 } else if (id == InCallButtonIds.BUTTON_ADD_CALL) { in toString()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DActionButtonsPreferenceTest.java85 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
87 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
89 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
91 assertThat(mRootView.findViewById(R.id.button4).getVisibility()) in onBindViewHolder_setTitle_shouldShowButtonByDefault()
104 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
106 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
108 assertThat(mRootView.findViewById(R.id.button3).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
110 assertThat(mRootView.findViewById(R.id.button4).getVisibility()) in onBindViewHolder_setIcon_shouldShowButtonByDefault()
118 assertThat(mRootView.findViewById(R.id.button1).getVisibility()) in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
120 assertThat(mRootView.findViewById(R.id.button2).getVisibility()) in onBindViewHolder_notSetTitleOrIcon_shouldNotShowButtonByDefault()
[all …]

12345678910>>...131