id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
TeleBot/TeleBot_2_28.txt | dler(useful for separating handlers into different files)
* **kwargs** – Optional keyword arguments(custom filters)
Returns :
None
register_middleware_handler ( _ callback _ , _ update_types = None _ )
#
Adds function-based middleware handler.
This function will register your decorator func... | |
TeleBot/TeleBot_2_50.txt | of the voice message in seconds
* **reply_markup** ( [ ` telebot.types.InlineKeyboardMarkup ` ](../types.html#telebot.types.InlineKeyboardMarkup "telebot.types.InlineKeyboardMarkup") or [ ` telebot.types.ReplyKeyboardMarkup ` ](../types.html#telebot.types.ReplyKeyboardMarkup "telebot.types.ReplyKeyboardMarkup") ... | |
TeleBot/TeleBot_methods_1_0.txt | _ class _ telebot. Handler ( _ callback _ , _ * args _ , _ ** kwargs
_ ) #
Bases: ` object `
Class for (next step|reply) handlers.
telebot. REPLY_MARKUP_TYPES #
telebot
Type :
Module
alias of ` Union ` [ [ ` InlineKeyboardMarkup `
](../types.html#telebot.types.InlineKeyboardMarku... | |
TeleBot/TeleBot_19_0.txt | _ class _ telebot.handler_backends. SkipHandler #
Bases: ` object `
Class for skipping handlers. Just return instance of this class in middleware
to skip handler. Update will go to post_process, but will skip execution of
handler.
| |
TeleBot/Types_of_API_44_0.txt | _ class _ telebot.types. ChatPermissions ( _ can_send_messages = None _
, _ can_send_media_messages = None _ , _ can_send_audios = None _ , _
can_send_documents = None _ , _ can_send_photos = None _ , _
can_send_videos = None _ , _ can_send_video_notes = None _ , _
can_send_voice_notes = None... | |
TeleBot/custom_filters_10_0.txt | _ class _ telebot.custom_filters. TextContainsFilter #
Bases: ` AdvancedCustomFilter `
Filter to check Text message. key: text
Example on using this filter: #
# Will respond if any message.text contains word 'account'
@bot.message_handler(text_contains=['account'])
# your function
... | |
TeleBot/Types_of_API_182_0.txt | _ class _ telebot.types. VoiceChatStarted ¶
Bases: ` VideoChatStarted `
Deprecated, use ` VideoChatStarted ` instead.
| |
TeleBot/Types_of_API_113_0.txt | _ class _ telebot.types. KeyboardButton ( _ text : str _ , _ request_contact : bool | None = None _ , _ request_location : bool | None = None _ , _ request_poll : KeyboardButtonPollType | None = None _ , _ web_app : WebAppInfo | None = None _ , _ request_user : KeyboardButtonRequest... | |
TeleBot/Types_of_API_34_0.txt | _ class _ telebot.types. ChatJoinRequest ( _ chat _ , _ from_user _ , _
user_chat_id _ , _ date _ , _ bio = None _ , _ invite_link = None _ ,
_ ** kwargs _ ) ¶
Bases: ` JsonDeserializable `
Represents a join request sent to a chat.
Telegram Documentation: [ https://core.telegram.org/bots/api... | |
TeleBot/Types_of_API_23_2.txt | or supergroups, the name of the group’s custom emoji sticker set. Custom emoji from this set can be used by all users and bots in the group. Returned only in getChat.
* **custom_emoji_sticker_set_name** – ` str `
* **linked_chat_id** ( ` int ` ) – Optional. Unique identifier for the linked chat, i.e. the discu... | |
TeleBot/TeleBot_methods_2_15.txt | bool ` ) – deprecated.
* **reply_markup** ( ` InlineKeyboardMarkup ` ) – A JSON-serialized object for an inline keyboard.
* **link_preview_options** ( ` LinkPreviewOptions ` ) – A JSON-serialized object for options used to automatically generate previews for links.
Returns :
On success, if edited m... | |
TeleBot/TeleBot_methods_2_54.txt | bot.
Parameters :
* **user_id** ( ` int ` ) – User’s identifier
* **state** ( ` int ` or ` str ` or ` telebot.types.State ` ) – new state. can be string, integer, or ` telebot.types.State `
* **chat_id** ( ` int ` ) – Chat’s identifier
Returns :
None
set_sticker_emoji_list ( _ stic... | |
TeleBot/Types_of_API_15_0.txt | _ class _ telebot.types. BotShortDescription ( _ short_description : str
_ , _ ** kwargs _ ) ¶
Bases: ` JsonDeserializable `
This object represents a bot short description.
Telegram documentation: [
https://core.telegram.org/bots/api#botshortdescription
](https://core.telegram.org/bots/api#botshortd... | |
TeleBot/Types_of_API_49_0.txt | _ class _ telebot.types. Dice ( _ value _ , _ emoji _ , _ ** kwargs _
) ¶
Bases: ` JsonSerializable ` , ` Dictionaryable ` , ` JsonDeserializable
`
This object represents an animated emoji that displays a random value.
Telegram Documentation: [ https://core.telegram.org/bots/api#dice
](https://co... | |
TeleBot/Types_of_API_143_0.txt | _ class _ telebot.types. Poll ( _ question _ , _ options _ , _ poll_id
= None _ , _ total_voter_count = None _ , _ is_closed = None _ , _
is_anonymous = None _ , _ type = None _ , _ allows_multiple_answers =
None _ , _ correct_option_id = None _ , _ explanation = None _ , _
explanation_entit... | |
TeleBot/Types_of_API_5_0.txt | _ class _ telebot.types. BotCommandScope ( _ type = 'default' _ , _
chat_id = None _ , _ user_id = None _ ) ¶
Bases: ` ABC ` , ` JsonSerializable `
This object represents the scope to which bot commands are applied. Currently,
the following 7 scopes are supported:
* ` BotCommandScopeDefault ... | |
TeleBot/TeleBot_methods_2_52.txt | thumbnail of a custom emoji sticker set. Returns
True on success.
Parameters :
* **name** ( ` str ` ) – Sticker set name
* **custom_emoji_id** ( ` str ` ) – Custom emoji identifier of a sticker from the sticker set; pass an empty string to drop the thumbnail and use the first sticker as the thumbnail. ... | |
TeleBot/Types_of_API_109_0.txt | _ class _ telebot.types. InputVenueMessageContent ( _ latitude _ , _
longitude _ , _ title _ , _ address _ , _ foursquare_id = None _ , _
foursquare_type = None _ , _ google_place_id = None _ , _
google_place_type = None _ ) ¶
Bases: ` Dictionaryable `
Represents the content of a venue me... | |
TeleBot/Types_of_API_35_0.txt | _ class _ telebot.types. ChatLocation ( _ location _ , _ address _ , _
** kwargs _ ) ¶
Bases: ` JsonSerializable ` , ` JsonDeserializable ` , ` Dictionaryable
`
Represents a location to which a chat is connected.
Telegram Documentation: [ https://core.telegram.org/bots/api#chatlocation
](https://... | |
TeleBot/Types_of_API_140_0.txt | _ class _ telebot.types. MessageReactionUpdated ( _ chat : Chat _ , _ message_id : int _ , _ date : int _ , _ old_reaction : List [ ReactionType ] _ , _ new_reaction : List [ ReactionType ] _ , _ user : User | None = None _ , _ actor_chat : Chat | None = None _ , _ ** kwargs _ )... | |
TeleBot/TeleBot_2_29.txt | andlers into different files)
* **kwargs** – Optional keyword arguments(custom filters)
Returns :
None
register_pre_checkout_query_handler ( _ callback : Callable _ , _ func : Callable _ , _ pass_bot : bool | None = False _ , _ ** kwargs _ ) #
Registers pre-checkout request handl... | |
TeleBot/Types_of_API_157_0.txt | _ class _ telebot.types. ShippingAddress ( _ country_code _ , _ state _
, _ city _ , _ street_line1 _ , _ street_line2 _ , _ post_code _ , _ **
kwargs _ ) ¶
Bases: ` JsonDeserializable `
This object represents a shipping address.
Telegram Documentation: [ https://core.telegram.org/bots/api#shippi... | |
TeleBot/TeleBot_methods_2_23.txt | _channel_post_text(bot_instance, update):
print(update.update_id)
Parameters :
**update_types** ( ` list ` of ` str ` ) – Optional list of update types
that can be passed into the middleware handler.
Returns :
function
my_chat_member_handler ( _ func = None _ , _ ** kwargs _ ) ... | |
TeleBot/TeleBot_2_3.txt | ation: [
Parameters :
* **shipping_query_id** ( ` str ` ) – Unique identifier for the query to be answered
* **ok** ( ` bool ` ) – Specify True if delivery to the specified address is possible and False if there are any problems (for example, if delivery to the specified address is not possible)
* ... | |
TeleBot/Types_of_API_47_0.txt | _ class _ telebot.types. ChosenInlineResult ( _ result_id _ , _ from_user
_ , _ query _ , _ location = None _ , _ inline_message_id = None _ , _
** kwargs _ ) ¶
Bases: ` JsonDeserializable `
Represents a result of an inline query that was chosen by the user and sent to
their chat partner.
Tele... | |
TeleBot/custom_filters_6_0.txt | _ class _ telebot.custom_filters. IsReplyFilter #
Bases: ` SimpleCustomFilter `
Check whether message is a reply.
Example on using this filter: #
@bot.message_handler(is_reply=True)
# your function
key _ : str _ _ = 'is_reply' _ #
| |
TeleBot/Types_of_API_171_0.txt | _ class _ telebot.types. Venue ( _ location _ , _ title _ , _ address _
, _ foursquare_id = None _ , _ foursquare_type = None _ , _
google_place_id = None _ , _ google_place_type = None _ , _ ** kwargs
_ ) ¶
Bases: ` JsonDeserializable `
This object represents a venue.
Telegram Documenta... | |
TeleBot/custom_filters_13_0.txt | _ class _ telebot.custom_filters. TextStartsFilter #
Bases: ` AdvancedCustomFilter `
Filter to check whether message starts with some text.
Example on using this filter: #
# Will work if message.text starts with 'sir'.
@bot.message_handler(text_startswith='sir')
# your function
... | |
TeleBot/TeleBot_10_0.txt | _ class _ telebot.custom_filters. SimpleCustomFilter #
Bases: ` ABC `
Simple Custom Filter base class. Create child class with check() method.
Accepts only message, returns bool value, that is compared with given in
handler.
Child classes should have .key property.
Example on creating a simple custom filt... | |
TeleBot/TeleBot_methods_2_34.txt | #telebot.types.InlineKeyboardMarkup "telebot.types.InlineKeyboardMarkup") or [ ` telebot.types.ReplyKeyboardMarkup ` ](../types.html#telebot.types.ReplyKeyboardMarkup "telebot.types.ReplyKeyboardMarkup") or [ ` telebot.types.ReplyKeyboardRemove ` ](../types.html#telebot.types.ReplyKeyboardRemove "telebot.types.ReplyK... | |
TeleBot/Types_of_API_166_0.txt | _ class _ telebot.types. Update ( _ update_id _ , _ message _ , _
edited_message _ , _ channel_post _ , _ edited_channel_post _ , _
inline_query _ , _ chosen_inline_result _ , _ callback_query _ , _
shipping_query _ , _ pre_checkout_query _ , _ poll _ , _ poll_answer _ , _
my_chat_member _ , _ chat_mem... | |
TeleBot/Types_of_API_62_0.txt | _ classmethod _ parse_photo ( _ photo_size_array _ ) ¶
Parse the photo array into a list of PhotoSize objects
| |
TeleBot/Types_of_API_111_0.txt | _ class _ telebot.types. JsonDeserializable ¶
Bases: ` object `
Subclasses of this class are guaranteed to be able to be created from a json-
style dict or json formatted string. All subclasses of this class must
override de_json.
| |
TeleBot/Types_of_API_135_0.txt | _ class _ telebot.types. MessageOriginChannel ( _ date : int _ , _ chat : Chat _ , _ message_id : int _ , _ author_signature : str | None = None _ ) ¶
Bases: ` MessageOrigin `
The message was originally sent to a channel chat.
Parameters :
* **chat** ( ` Chat ` ) – Channel ch... | |
TeleBot/Types_of_API_67_0.txt | _ class _ telebot.types. GiveawayCompleted ( _ winner_count : int _ , _ unclaimed_prize_count : int | None = None _ , _ giveaway_message : Message | None = None _ , _ ** kwargs _ ) ¶
Bases: ` JsonDeserializable `
This object represents a service message about the completion of a giveaw... | |
TeleBot/Types_of_API_125_0.txt | _ class _ telebot.types. MenuButtonDefault ( _ type = None _ , _ **
kwargs _ ) ¶
Bases: ` MenuButton `
Describes that no specific value for the menu button was set.
Telegram Documentation: [ https://core.telegram.org/bots/api#menubuttondefault
](https://core.telegram.org/bots/api#menubuttondefault)
... | |
TeleBot/TeleBot_methods_2_45.txt | d, in which the poll will be sent
* **reply_parameters** ( ` ReplyParameters ` ) – reply parameters.
Returns :
On success, the sent Message is returned.
Return type :
[ ` types.Message ` ](../types.html#telebot.types.Message
"telebot.types.Message")
send_sticker ( _ chat_id : int | str ... | |
TeleBot/Types_of_API_173_0.txt | _ class _ telebot.types. VideoChatEnded ( _ duration _ , _ ** kwargs _
) ¶
Bases: ` JsonDeserializable `
This object represents a service message about a video chat ended in the chat.
Telegram Documentation: [ https://core.telegram.org/bots/api#videochatended
](https://core.telegram.org/bots/api#vide... | |
TeleBot/Types_of_API_6_0.txt | _ class _ telebot.types. BotCommandScopeAllChatAdministrators ¶
Bases: ` BotCommandScope `
Represents the scope of bot commands, covering all group and supergroup chat
administrators.
Telegram Documentation: [
https://core.telegram.org/bots/api#botcommandscopeallchatadministrators
](https://core.telegram.... | |
TeleBot/Types_of_API_106_0.txt | _ class _ telebot.types. InputMediaVideo ( _ media _ , _ thumbnail =
None _ , _ caption = None _ , _ parse_mode = None _ , _
caption_entities = None _ , _ width = None _ , _ height = None _ , _
duration = None _ , _ supports_streaming = None _ , _ has_spoiler =
None _ ) ¶
Bases: `... | |
TeleBot/Types_of_API_76_0.txt | _ class _ telebot.types. InlineQueryResultBase ( _ type _ , _ id _ , _
title = None _ , _ caption = None _ , _ input_message_content = None
_ , _ reply_markup = None _ , _ caption_entities = None _ , _ parse_mode
= None _ ) ¶
Bases: ` ABC ` , ` Dictionaryable ` , ` JsonSerializable `
... | |
TeleBot/Types_of_API_131_0.txt | _ class _ telebot.types. MessageAutoDeleteTimerChanged ( _
message_auto_delete_time _ , _ ** kwargs _ ) ¶
Bases: ` JsonDeserializable `
This object represents a service message about a change in auto-delete timer
settings.
Telegram Documentation: [
https://core.telegram.org/bots/api#messageautodelete... | |
TeleBot/Types_of_API_164_0.txt | _ class _ telebot.types. SwitchInlineQueryChosenChat ( _ query = None _
, _ allow_user_chats = None _ , _ allow_bot_chats = None _ , _
allow_group_chats = None _ , _ allow_channel_chats = None _ , _ **
kwargs _ ) ¶
Bases: ` JsonDeserializable ` , ` Dictionaryable ` , ` JsonSerializable
... | |
TeleBot/Types_of_API_82_0.txt | _ class _ telebot.types. InlineQueryResultCachedPhoto ( _ id _ , _
photo_file_id _ , _ title = None _ , _ description = None _ , _ caption
= None _ , _ caption_entities = None _ , _ parse_mode = None _ , _
reply_markup = None _ , _ input_message_content = None _ ) ¶
Bases: ` InlineQue... | |
TeleBot/Types_of_API_37_0.txt | _ class _ telebot.types. ChatMemberAdministrator ( _ user _ , _ status _
, _ custom_title = None _ , _ is_anonymous = None _ , _ can_be_edited =
None _ , _ can_post_messages = None _ , _ can_edit_messages = None _ ,
_ can_delete_messages = None _ , _ can_restrict_members = None _ , _
can_promo... | |
TeleBot/TeleBot_2_14.txt | name)
* **message_id** ( ` int ` ) – Required if inline_message_id is not specified. Identifier of the sent message
* **inline_message_id** ( ` str ` ) – Required if chat_id and message_id are not specified. Identifier of the inline message
* **reply_markup** ( [ ` telebot.types.InlineKeyboardMarkup ` ](... | |
TeleBot/Types_of_API_77_0.txt | _ class _ telebot.types. InlineQueryResultCachedAudio ( _ id _ , _
audio_file_id _ , _ caption = None _ , _ caption_entities = None _ , _
parse_mode = None _ , _ reply_markup = None _ , _ input_message_content
= None _ ) ¶
Bases: ` InlineQueryResultCachedBase `
Represents a link to an MP3... | |
TeleBot/custom_filters_8_0.txt | _ class _ telebot.custom_filters. SimpleCustomFilter #
Bases: ` ABC `
Simple Custom Filter base class. Create child class with check() method.
Accepts only message, returns bool value, that is compared with given in
handler.
Child classes should have .key property.
Example on creating a simple custom filt... | |
TeleBot/Types_of_API_63_0.txt | _ class _ telebot.types. GameHighScore ( _ position _ , _ user _ , _
score _ , _ ** kwargs _ ) ¶
Bases: ` JsonDeserializable `
This object represents one row of the high scores table for a game.
Telegram Documentation: [ https://core.telegram.org/bots/api#gamehighscore
](https://core.telegram.org/b... | |
TeleBot/TeleBot_methods_2_5.txt |
* **func** ( ` function ` ) – Function executed as a filter
* **kwargs** – Optional keyword arguments(custom filters)
Returns :
None
clear_reply_handlers ( _ message : [ Message
](../types.html#telebot.types.Message "telebot.types.Message") _ ) → None #
Clears all callback functions re... | |
TeleBot/TeleBot_methods_2_31.txt | n type :
Optional[Any]
revoke_chat_invite_link ( _ chat_id : int | str _ , _ invite_link : str _ ) → [ ChatInviteLink ](../types.html#telebot.types.ChatInviteLink "telebot.types.ChatInviteLink") #
Use this method to revoke an invite link created by the bot. Note: If the
primary link is revo... | |
TeleBot/TeleBot_methods_2_9.txt | ns_masks : bool | None = None _ , _ sticker_type : str | None = None _ , _ mask_position : [ MaskPosition ](../types.html#telebot.types.MaskPosition "telebot.types.MaskPosition") | None = None _ , _ needs_repainting : bool | None = None _ , _ stickers : List [ [ InputSticker ](../types.... | |
TeleBot/Types_of_API_184_0.txt | _ class _ telebot.types. WebAppInfo ( _ url _ , _ ** kwargs _ ) ¶
Bases: ` JsonDeserializable ` , ` Dictionaryable `
Describes a Web App.
Telegram Documentation: [ https://core.telegram.org/bots/api#webappinfo
](https://core.telegram.org/bots/api#webappinfo)
Parameters :
**url** ( ` str `... | |
android_memory_battery/245258072pli1_45_0.txt | ga...@gmail.com<ga...@gmail.com> #27Oct 6, 2022 03:14PM
Me pasa lo mismo con este error: | |
android_memory_battery/245258072pli1_109_0.txt | du...@google.com<du...@google.com> #60Dec 1, 2022 08:36AM
Thank you all for providing the useful debugging information! | |
android_memory_battery/android_battery_1_7.txt | he device API level. Additionally, WorkManager does not require
Play services and provides several advanced features, such as chaining tasks
together or checking a task's status. To learn more, see [ WorkManager
](/arch/work) .
### Monitor network connectivity while the app is running
Apps that are running can still... | |
android_memory_battery/android_battery_1_1.txt | m/quality)
* [ Core value ](https://developer.android.com/quality/core-value)
* [ User experience ](https://developer.android.com/quality/user-experience)
* [ Technical quality ](https://developer.android.com/quality/technical)
* [ Privacy & security ](https://developer.android.com/quality/privacy-and-secur... | |
android_memory_battery/245258072pli1_105_0.txt | Galaxy S21 Ultra 5G
Galaxy S21+ 5G
Galaxy S22 Ultra
Galaxy S22
Galaxy A53 5G
Galaxy S21 5G | |
android_memory_battery/ActivityThreadjava1_133_0.txt | | try {
| // First create a thumbnail for the activity...
| // For now, don't create the thumbnail here; we are
| // doing that by doing a screen snapshot.
| info . setDescription ( r . activity . onCreateDescription ());
| } catch ( Exception e ) {
| if (! mInstrumentation . onException ( ... | |
android_memory_battery/ActivityThreadjava1_21_0.txt | |
| /** Update the current lifecycle state for internal bookkeeping. */
| public void setState ( @LifecycleState int newLifecycleState ) {
| mLifecycleState = newLifecycleState ;
| switch ( mLifecycleState ) {
| case ON_CREATE :
| paused = true ;
| stopped = true ;
| break ;
| case ON_... | |
android_memory_battery/ActivityThreadjava1_139_0.txt | | }
| }
| }
| try {
| r . activity . mCalled = false ;
| mInstrumentation . callActivityOnDestroy ( r . activity );
| if (! r . activity . mCalled ) {
| throw new SuperNotCalledException ( "Activity " \+
safeToComponentShortString ( r . intent )
| \+ " did not call through to ... | |
android_memory_battery/ActivityThreadjava_59_0.txt | ,
| StopInfo info , boolean keepShown , boolean saveState ) {
| if ( localLOGV ) Slog . v ( TAG , "Performing stop of " \+ r
);
| Bundle state = null ;
| if ( r != null ) {
| if (! keepShown && r . stopped ) {
| if ( r . activity . mFinished ) {
| // If we are finish... | |
android_memory_battery/ActivityThreadjava_62_0.txt | | }
| if ( r . activity . mDecor != null ) {
| if ( Config . LOGV ) Slog . v (
| TAG , "Handle window " \+ r \+ " visibility: " \+ show );
| updateVisibility ( r , show );
| }
| }
|
| private final void handleSleeping ( IBinder token , boolean
sleeping ) {
| ActivityC... | |
android_memory_battery/ActivityThreadjava1_56_0.txt | | public static final int UNSTABLE_PROVIDER_DIED = 142 ;
| public static final int REQUEST_ASSIST_CONTEXT_EXTRAS = 143 ;
| public static final int TRANSLUCENT_CONVERSION_COMPLETE = 144 ;
| @UnsupportedAppUsage
| public static final int INSTALL_PROVIDER = 145 ;
| public static final ... | |
android_memory_battery/245258072pli1_69_0.txt | Their commit for this is here, it references this core Android BroadcastQueue code, which in turn references (non-public?) bug reference b/28322359. | |
android_memory_battery/245258072pli1_52_0.txt | I found this issue in Piexl device: | |
android_memory_battery/245258072pli1_21_0.txt | Android bug report (to be captured after reproducing the issue) For steps to capture a bug report, please refer: https://developer.android.com/studio/debug/bug-report#bugreportdevice | |
android_memory_battery/ActivityThreadjava1_129_0.txt | |
| r . activity . mConfigChangeFlags |= configChanges ;
| if ( autoEnteringPip ) {
| // Set mIsInPictureInPictureMode earlier in case of auto-enter-pip, see
also
| // {@link Activity#enterPictureInPictureMode(PictureInPictureParams)}.
| r . activity . mIsInPictureInPictureMode = true ;
| }
| p... | |
android_memory_battery/ActivityThreadjava_84_0.txt | | }
|
| public final IContentProvider acquireProvider ( Context c , String
name ) {
| IContentProvider provider = getProvider ( c , name );
| if ( provider == null )
| return null ;
| IBinder jBinder = provider . asBinder ();
| synchronized ( mProviderMap ) {
| ProviderRefCoun... | |
android_memory_battery/ActivityThreadjava1_152_0.txt | |
| private static boolean isInDeskUiMode ( Configuration config ) {
| return ( config . uiMode & UI_MODE_TYPE_MASK ) == UI_MODE_TYPE_DESK
;
| }
|
| /**
| * Returns {@code true} if {@link
Activity#onConfigurationChanged(Configuration)} should be
| * dispatched.
| *
| * @param currentConfig The c... | |
android_memory_battery/ActivityThreadjava1_109_0.txt | | }
|
| private void schedulePauseWithUserLeavingHint ( ActivityClientRecord r
) {
| final ClientTransaction transaction = ClientTransaction . obtain (
mAppThread );
| final PauseActivityItem pauseActivityItem = PauseActivityItem .
obtain ( r . token ,
| r . activity . isFinishing (), ... | |
android_memory_battery/android_memory_2_1.txt | m/quality)
* [ Core value ](https://developer.android.com/quality/core-value)
* [ User experience ](https://developer.android.com/quality/user-experience)
* [ Technical quality ](https://developer.android.com/quality/technical)
* [ Privacy & security ](https://developer.android.com/quality/privacy-and-secur... | |
android_memory_battery/245258072pli1_18_0.txt | Please provide a sample project or apk to reproduce the issue. Also mention the steps to be followed for reproducing the issue with the given sample project or apk. | |
android_memory_battery/ActivityThreadjava_80_0.txt | CONNECTIVITY_SERVICE );
| IConnectivityManager service = IConnectivityManager . Stub .
asInterface ( b );
| try {
| ProxyProperties proxyProperties = service . getProxy ();
| Proxy . setHttpProxySystemProperty ( proxyProperties );
| } catch ( RemoteException e ) {}
|
| if ( data . ... | |
android_memory_battery/245258072pli1_125_0.txt | bo...@sipgate.de<bo...@sipgate.de> #82Jun 5, 2023 01:49AM
We also see these crashes all from Android 13 and all on Samsung devices:
Galaxy S22
Galaxy S22+
Galaxy A53 5G
Galaxy S22 Ultra
Galaxy S23 Ultra
Galaxy S21 Ultra 5G
Galaxy Z Fold4
du...@gmail.com<du...@gmail.com> #83Jul 5, 2023 12:16AM
We also see these crashes ... | |
android_memory_battery/android_memory_0_0.txt | [ 
](/)
*
[ Essentials ](https://developer.android.com/get-started)
* Modern Android
* Quickly bring your app to life with less code, using a modern d... | |
android_memory_battery/245258072pli1_2_0.txt | Our App use this library's | |
android_memory_battery/ActivityThreadjava1_60_0.txt | | scheduleGcIdler ();
| } finally {
| Trace . traceEnd ( Trace . TRACE_TAG_ACTIVITY_MANAGER );
| }
| break ;
| case DUMP_SERVICE :
| handleDumpService (( DumpComponentInfo ) msg . obj );
| break ;
| case DUMP_GFXINFO :
| handleDumpGfxInfo (( DumpComponentInfo ) msg . obj );
| br... | |
android_memory_battery/245258072pli1_139_0.txt |
du...@google.com
sk...@googlemail.com
AOSP ID
--
ReportedBy
Developer
Found In
--
Targeted To
--
Verified In
--
In Prod | |
android_memory_battery/245258072pli1_56_0.txt | android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(Unknown Source:0) | |
android_memory_battery/ActivityThreadjava_31_0.txt | |
| public static IPackageManager getPackageManager () {
| if ( sPackageManager != null ) {
| //Slog.v("PackageManager", "returning cur default = " + sPackageManager);
| return sPackageManager ;
| }
| IBinder b = ServiceManager . getService ( "package" );
| //Slog.v("PackageManager", "defaul... | |
android_memory_battery/ActivityThreadjava1_105_0.txt | | }
| }
|
| public void onNewActivityOptions ( IBinder token , ActivityOptions
options ) {
| ActivityClientRecord r = mActivities . get ( token );
| if ( r != null ) {
| r . activity . onNewActivityOptions ( options );
| }
| }
|
| public void handleInstallProvider ( ProviderIn... | |
android_memory_battery/ActivityThreadjava1_83_0.txt | | memInfo . nativePss , memInfo . nativeSwappablePss , memInfo .
nativeSharedDirty ,
| memInfo . nativePrivateDirty , memInfo . nativeSharedClean ,
| memInfo . nativePrivateClean , memInfo . hasSwappedOutPss ,
| memInfo . nativeSwappedOut , memInfo . nativeSwappedOutPss ,
| memInfo ... | |
android_memory_battery/245258072pli1_71_0.txt | ro...@bbc.co.uk<ro...@bbc.co.uk> #35Oct 17, 2022 02:13PM
Meanwhile, in the absence of a fix, I would also like to know if there are any known steps for reproducing this type of exception on demand, including by unrealistic contrived methods. This would at least allow us to test our ability to catch and ignore the type ... | |
android_memory_battery/ActivityThreadjava_14_0.txt | | public final void scheduleRelaunchActivity ( IBinder token ,
| List < ResultInfo > pendingResults , List < Intent >
pendingNewIntents ,
| int configChanges , boolean notResumed , Configuration config ) {
| requestRelaunchActivity ( token , pendingResults , pendingNewIntents
,
| confi... | |
android_memory_battery/ActivityThreadjava1_165_0.txt | | for ( int i = 0 ; i < N ; i ++) {
| callbacks . get ( i ). onTrimMemory ( level );
| }
| } finally {
| Trace . traceEnd ( Trace . TRACE_TAG_ACTIVITY_MANAGER );
| }
|
| WindowManagerGlobal . getInstance (). trimMemory ( level );
|
| if ( SystemProperties . getInt ( "d... | |
android_memory_battery/ActivityThreadjava_2_0.txt | [ android ](/?format=HTML) / [ platform ](/platform/) / [ frameworks
](/platform/frameworks/) / [ base ](/platform/frameworks/base/) / [
d630f105e8bc0021541aacb4dc6498a49048ecea
](/platform/frameworks/base/+/d630f105e8bc0021541aacb4dc6498a49048ecea) / [ .
](/platform/frameworks/base/+/d630f105e8bc0021541aacb4dc6498a490... | |
android_memory_battery/ActivityThreadjava1_90_0.txt | | // Note that there are 4 possible cached states currently, all of which are
| // JANK_IMPERCEPTIBLE from GC point of view.
| final int state = ActivityManager . isProcStateCached (
processState )
| ? VM_PROCESS_STATE_JANK_IMPERCEPTIBLE
| : VM_PROCESS_STATE_JANK_PERCEPTIBLE ;
| VMRuntime . getRuntim... | |
android_memory_battery/245258072pli1_54_0.txt | can't deliver broadcast | |
android_memory_battery/ActivityThreadjava1_71_0.txt | | @UnsupportedAppUsage
| public Instrumentation getInstrumentation ()
| {
| return mInstrumentation ;
| }
|
| public boolean isProfiling () {
| return mProfiler != null && mProfiler . profileFile != null
| && mProfiler . profileFd == null ;
| }
|
| public String getProfileFilePath () ... | |
android_memory_battery/ActivityThreadjava1_195_0.txt | Configuration globalConfig ) -> {
| synchronized ( mResourcesManager ) {
| // We need to apply this change to the resources immediately, because upon
returning
| // the view hierarchy will be informed about it.
| if ( mResourcesManager . applyConfigurationToResources ( globalConfig
,
| null /* compat... | |
android_memory_battery/android_battery_3_6.txt | png) YouTube ](//www.youtube.com/user/androiddevelopers)
Check out Android Developers on YouTube
* [  LinkedIn ](//www.linkedin.com/showcase/androiddev)
Connect with the Android Developers community on LinkedIn
* ### More Android
* [ Android ](//www.a... | |
android_memory_battery/245258072pli1_101_0.txt | Back-tracking from the part which puts the message on the queue, what you need to look for is a warning level logcat message with the tag BroadcastQueue, which says Can't deliver broadcast to {processName} ({processID}). Crashing it. | |
android_memory_battery/ActivityThreadjava1_190_0.txt | | }
|
| /**
| * Installs the provider.
| *
| * Providers that are local to the process or that come from the system
server
| * may be installed permanently which is indicated by setting
noReleaseNeeded to true.
| * Other remote providers are reference counted. The initial reference count
| * for all reference c... | |
android_memory_battery/ActivityThreadjava1_12_0.txt | | * to block until the network rules are updated for it.
| *
| * Value of {@link #INVALID_PROC_STATE_SEQ} indicates there is no need for
blocking.
| */
| @GuardedBy ( "mNetworkPolicyLock" )
| private long mNetworkBlockSeq = INVALID_PROC_STATE_SEQ ;
|
| @UnsupportedAppUsage
| private ContextImpl mSyste... | |
android_memory_battery/ActivityThreadjava1_166_0.txt | | final File codeCacheDir = deviceContext . getCodeCacheDir ();
| final File deviceCacheDir = deviceContext . getCacheDir ();
| if ( codeCacheDir != null && deviceCacheDir != null ) {
| try {
| int uid = Process . myUid ();
| String [] packages = getPackageManager (). getPackag... | |
android_memory_battery/ActivityThreadjava1_146_0.txt | | // Make sure to match the existing lifecycle state in the end of the
transaction.
| final ActivityLifecycleItem lifecycleRequest =
| TransactionExecutorHelper . getLifecycleRequestForCurrentState ( r );
| // Schedule the transaction.
| final ClientTransaction transaction = ClientTransaction . obtai... | |
android_memory_battery/ActivityThreadjava1_134_0.txt | | }
| }
| r . setState ( ON_STOP );
|
| if ( shouldSaveState && ! isPreP ) {
| callActivityOnSaveInstanceState ( r );
| }
| }
|
| private void updateVisibility ( ActivityClientRecord r , boolean
show ) {
| View v = r . activity . mDecor ;
| if ( v != null ) {
| if ( sho... | |
android_memory_battery/android_battery_5_6.txt | ndroid.com)
* [ Android for Enterprise ](//www.android.com/enterprise/)
* [ Security ](//www.android.com/security-center/)
* [ Source ](//source.android.com)
* [ News ](/news)
* [ Blog ](//android-developers.googleblog.com/)
* [ Podcasts ](/podcasts)
* ### Discover
* [ Gaming ](/games)
... | |
android_memory_battery/android_memory_2_8.txt | ng language aren't optimized for
use on mobile devices. For example, the generic ` [ HashMap
](/reference/java/util/HashMap) ` implementation can be memory inefficient
because it needs a separate entry object for every mapping.
The Android framework includes several optimized data containers, including `
[ SparseArray... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.