/development/vndk/tools/header-checker/header-abi-util/include/ |
D | header_abi_util.h | 34 std::set<std::string> CollectAllExportedHeaders( 35 const std::vector<std::string> &exported_header_dirs); 45 VersionScriptParser(const std::string &version_script, 46 const std::string &arch, 47 const std::string &api); 50 const std::set<std::string> &GetFunctions(); 52 const std::set<std::string> &GetGlobVars(); 54 const std::set<std::string> &GetFunctionRegexs(); 56 const std::set<std::string> &GetGlobVarRegexs(); 62 LineScope GetLineScope(std::string &line, LineScope scope); [all …]
|
/development/vndk/tools/header-checker/header-abi-util/src/ |
D | version_script_parser.cpp | 34 std::unordered_set<std::string> AllArches({"arm", "arm64", "x86", "x86_64", 37 static bool StringContains(const std::string &line, in StringContains() 38 const std::string &substring) { in StringContains() 39 return (line.find(substring) != std::string::npos); in StringContains() 42 static bool LineSatisfiesArch(const std::string &line, in LineSatisfiesArch() 43 const std::string arch) { in LineSatisfiesArch() 54 VersionScriptParser::VersionScriptParser(const std::string &version_script, in VersionScriptParser() 55 const std::string &arch, in VersionScriptParser() 56 const std::string &api) : in VersionScriptParser() 59 int VersionScriptParser::ApiStrToInt(const std::string &api) { in ApiStrToInt() [all …]
|
/development/vndk/tools/header-checker/header-abi-diff/src/ |
D | abi_diff.h | 35 HeaderAbiDiff(const std::string &lib_name, const std::string &arch, in HeaderAbiDiff() 36 const std::string &old_dump, const std::string &new_dump, in HeaderAbiDiff() 37 const std::string &compatibility_report, in HeaderAbiDiff() 38 const std::set<std::string> &ignored_symbols) in HeaderAbiDiff() 56 const std::set<std::string> &ignored_symbols); 59 static inline void AddToMap(std::map<std::string, const T *> *dst, 65 const std::map<std::string, const T *> &old_elements_map, 66 const std::map<std::string, const T *> &new_elements_map, 67 const std::set<std::string> &ignored_symbols); 72 const std::map<std::string, const T *> &old_elements_map, [all …]
|
D | header_abi_diff.cpp | 24 static llvm::cl::opt<std::string> compatibility_report( 28 static llvm::cl::opt<std::string> lib_name( 32 static llvm::cl::opt<std::string> arch( 36 static llvm::cl::opt<std::string> new_dump( 40 static llvm::cl::opt<std::string> old_dump( 44 static llvm::cl::opt<std::string> ignore_symbol_list( 61 static std::set<std::string> LoadIgnoredSymbols(std::string &symbol_list_path) { in LoadIgnoredSymbols() 63 std::set<std::string> ignored_symbols; in LoadIgnoredSymbols() 68 std::string line = ""; in LoadIgnoredSymbols() 78 std::set<std::string> ignored_symbols; in main() [all …]
|
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
D | ActionsPresets.java | 41 super(R.string.no_actions); in NoActionsPreset() 52 super(R.string.single_action); in SingleActionPreset() 59 context.getString(R.string.example_action), in apply() 61 R.string.example_action_clicked)) in apply() 68 super(R.string.long_title_action); in LongTitleActionPreset() 75 context.getString(R.string.example_action_long_title), in apply() 77 R.string.example_action_clicked)) in apply() 84 super(R.string.reply_action); in ReplyActionPreset() 91 .setLabel(context.getString(R.string.example_reply_label)) in apply() 95 context.getString(R.string.example_reply_action), in apply() [all …]
|
D | NotificationPresets.java | 77 context, R.string.example_notification_deleted)); in applyBasicOptions() 89 R.string.content_intent_clicked)); in applyBasicOptions() 99 super(R.string.basic_example, R.string.example_content_title, in BasicNotificationPreset() 100 R.string.example_content_text); in BasicNotificationPreset() 116 super(R.string.stylized_text_example, R.string.example_content_title, in StylizedTextNotificationPreset() 117 R.string.example_content_text); in StylizedTextNotificationPreset() 177 super(R.string.inbox_example, R.string.example_content_title, in InboxNotificationPreset() 178 R.string.example_content_text); in InboxNotificationPreset() 184 style.addLine(context.getString(R.string.inbox_style_example_line1)); in buildNotifications() 185 style.addLine(context.getString(R.string.inbox_style_example_line2)); in buildNotifications() [all …]
|
D | PriorityPresets.java | 27 R.string.default_priority, Notification.PRIORITY_DEFAULT); 30 new SimplePriorityPreset(R.string.min_priority, Notification.PRIORITY_MIN), 31 new SimplePriorityPreset(R.string.low_priority, Notification.PRIORITY_LOW), 33 new SimplePriorityPreset(R.string.high_priority, Notification.PRIORITY_HIGH), 34 new SimplePriorityPreset(R.string.max_priority, Notification.PRIORITY_MAX)
|
/development/samples/ApiDemos/src/com/example/android/apis/preference/ |
D | PreferencesFromCode.java | 49 inlinePrefCat.setTitle(R.string.inline_preferences); in populatePreferenceHierarchy() 55 checkboxPref.setTitle(R.string.title_checkbox_preference); in populatePreferenceHierarchy() 56 checkboxPref.setSummary(R.string.summary_checkbox_preference); in populatePreferenceHierarchy() 62 switchPref.setTitle(R.string.title_switch_preference); in populatePreferenceHierarchy() 63 switchPref.setSummary(R.string.summary_switch_preference); in populatePreferenceHierarchy() 68 dialogBasedPrefCat.setTitle(R.string.dialog_based_preferences); in populatePreferenceHierarchy() 73 editTextPref.setDialogTitle(R.string.dialog_title_edittext_preference); in populatePreferenceHierarchy() 75 editTextPref.setTitle(R.string.title_edittext_preference); in populatePreferenceHierarchy() 76 editTextPref.setSummary(R.string.summary_edittext_preference); in populatePreferenceHierarchy() 83 listPref.setDialogTitle(R.string.dialog_title_list_preference); in populatePreferenceHierarchy() [all …]
|
/development/vndk/tools/header-checker/header-abi-linker/src/ |
D | header_abi_linker.cpp | 40 static llvm::cl::list<std::string> dump_files( 44 static llvm::cl::opt<std::string> linked_dump( 48 static llvm::cl::list<std::string> exported_header_dirs( 52 static llvm::cl::opt<std::string> version_script( 56 static llvm::cl::opt<std::string> api( 60 static llvm::cl::opt<std::string> arch( 68 static llvm::cl::opt<std::string> so_file( 75 const std::vector<std::string> &dump_files, in HeaderAbiLinker() 76 const std::vector<std::string> &exported_header_dirs, in HeaderAbiLinker() 77 const std::string &version_script, in HeaderAbiLinker() [all …]
|
/development/vndk/tools/header-checker/header-abi-dumper/src/ |
D | ast_processing.h | 40 const std::string ¤t_file_name, 41 const std::set<std::string> &exported_headers, 64 const std::string current_file_name_; 65 const std::set<std::string> &exported_headers_; 72 HeaderASTConsumer(const std::string &file_name, 74 const std::string &out_dump_name, 75 const std::set<std::string> &exported_headers); 80 std::string file_name_; 82 std::string out_dump_name_; 83 std::set<std::string> exported_headers_;
|
D | frontend_action_factory.h | 25 std::string dump_name_; 26 const std::vector<std::string> &export_header_dirs_; 30 const std::string &dump_name, 31 const std::vector<std::string> &exported_header_dirs);
|
D | frontend_action.h | 33 std::string dump_name_; 34 const std::vector<std::string> &exported_header_dirs_; 38 const std::string &dump_name, 39 const std::vector<std::string> &export_header_dirs);
|
D | abi_wrappers.h | 37 static std::string GetDeclSourceFile(const clang::Decl *decl, 40 static std::string GetMangledNameDecl(const clang::NamedDecl *decl, 52 std::string QualTypeToString(const clang::QualType &sweet_qt) const; 54 std::string GetTagDeclQualifiedName(const clang::TagDecl *decl) const; 61 const clang::QualType type, const std::string &name, 62 const clang::AccessSpecifier &access, std::string key, 65 std::string GetTypeLinkageName(const clang::Type *typep) const; 87 const std::string &source_file) const; 120 const std::string &source_file) const; 141 const std::string &source_file) const; [all …]
|
/development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/ |
D | StorageProviderFragment.java | 52 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); in onPrepareOptionsMenu() 59 item.setTitle(mLoggedIn ? R.string.log_out : R.string.log_in); in onOptionsItemSelected() 80 Log.i(TAG, getString(mLoggedIn ? R.string.logged_in_info : R.string.logged_out_info)); in toggleLogin() 88 getActivity().getSharedPreferences(getString(R.string.app_name), in writeLoginValue() 90 sharedPreferences.edit().putBoolean(getString(R.string.key_logged_in), loggedIn).commit(); in writeLoginValue() 98 getActivity().getSharedPreferences(getString(R.string.app_name), in readLoginValue() 100 return sharedPreferences.getBoolean(getString(R.string.key_logged_in), false); in readLoginValue()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | AlertDialogSamples.java | 88 .setTitle(R.string.alert_dialog_two_buttons_title) in onCreateDialog() 89 .setPositiveButton(R.string.alert_dialog_ok, new DialogInterface.OnClickListener() { in onCreateDialog() 95 … .setNegativeButton(R.string.alert_dialog_cancel, new DialogInterface.OnClickListener() { in onCreateDialog() 105 .setTitle(R.string.alert_dialog_two_buttons_title) in onCreateDialog() 106 .setPositiveButton(R.string.alert_dialog_ok, new DialogInterface.OnClickListener() { in onCreateDialog() 110 … .setNegativeButton(R.string.alert_dialog_cancel, new DialogInterface.OnClickListener() { in onCreateDialog() 118 .setTitle(R.string.alert_dialog_two_buttons_title) in onCreateDialog() 119 .setPositiveButton(R.string.alert_dialog_ok, new DialogInterface.OnClickListener() { in onCreateDialog() 123 … .setNegativeButton(R.string.alert_dialog_cancel, new DialogInterface.OnClickListener() { in onCreateDialog() 130 .setTitle(R.string.alert_dialog_two_buttons_title) in onCreateDialog() [all …]
|
/development/vndk/tools/vtable-dumper/ |
D | elf_handling.h | 54 const std::string &, 55 const std::string &, 60 const std::string &getMangledName() const; 61 const std::string &getDemangledName() const; 63 std::string mMangledName; 64 std::string mDemangledName; 72 const std::string &, 73 const std::string &, 83 const std::string &getMangledName() const; 84 const std::string &getDemangledName() const; [all …]
|
/development/vndk/tools/header-checker/proto/ |
D | abi_dump.proto | 7 optional string name = 1; 22 optional string name = 2; 24 optional string linker_set_key = 4; 30 optional string mangled_function_name = 2; 31 optional string source_file = 3; 59 optional string name = 2; 60 optional string linker_set_key = 3; 81 optional string mangled_component_name = 2 [default = ""]; 96 optional string source_file = 4; 98 optional string mangled_record_name = 6; [all …]
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/ |
D | BatchStepSensorFragment.java | 267 .setDescription(getString(R.string.warning_nobatching)); in registerEventListener() 331 .setTitle(getString(R.string.counting_title, mSteps)) 332 .setDescription(getString(R.string.counting_description, 333 getString(R.string.sensor_detector), mMaxDelay, delayString)); 359 .setTitle(getString(R.string.counting_title, mSteps)) 360 .setDescription(getString(R.string.counting_description, 361 getString(R.string.sensor_counter), mMaxDelay, delayString)); 470 sensor = getString(R.string.sensor_counter); in showCountingCards() 472 sensor = getString(R.string.sensor_detector); in showCountingCards() 476 .setTitle(getString(R.string.counting_title, 0)) in showCountingCards() [all …]
|
/development/apps/Development/src/com/android/development/ |
D | ShowActivity.java | 88 mLaunch.setText(getText(R.string.launch_multiple)); in onCreate() 91 mLaunch.setText(getText(R.string.launch_singleTop)); in onCreate() 94 mLaunch.setText(getText(R.string.launch_singleTask)); in onCreate() 97 mLaunch.setText(getText(R.string.launch_singleInstance)); in onCreate() 100 mLaunch.setText(getText(R.string.launch_unknown)); in onCreate() 104 ? mActivityInfo.taskAffinity : getText(R.string.none)); in onCreate() 106 ? mActivityInfo.permission : getText(R.string.none)); in onCreate() 109 ? getText(R.string.yes) : getText(R.string.no)); in onCreate() 112 ? getText(R.string.yes) : getText(R.string.no)); in onCreate() 115 ? getText(R.string.yes) : getText(R.string.no)); in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | LinearLayout8.java | 60 menu.add(0, VERTICAL_ID, 0, R.string.linear_layout_8_vertical); in onCreateOptionsMenu() 61 menu.add(0, HORIZONTAL_ID, 0, R.string.linear_layout_8_horizontal); in onCreateOptionsMenu() 62 menu.add(0, TOP_ID, 0, R.string.linear_layout_8_top); in onCreateOptionsMenu() 63 menu.add(0, MIDDLE_ID, 0, R.string.linear_layout_8_middle); in onCreateOptionsMenu() 64 menu.add(0, BOTTOM_ID, 0, R.string.linear_layout_8_bottom); in onCreateOptionsMenu() 65 menu.add(0, LEFT_ID, 0, R.string.linear_layout_8_left); in onCreateOptionsMenu() 66 menu.add(0, CENTER_ID, 0, R.string.linear_layout_8_center); in onCreateOptionsMenu() 67 menu.add(0, RIGHT_ID, 0, R.string.linear_layout_8_right); in onCreateOptionsMenu()
|
/development/samples/training/basic/ActivityLifecycle/src/com/example/android/lifecycle/ |
D | ActivityB.java | 42 mActivityName = getString(R.string.activity_b_label); in onCreate() 45 mStatusTracker.setStatus(mActivityName, getString(R.string.on_create)); in onCreate() 52 mStatusTracker.setStatus(mActivityName, getString(R.string.on_start)); in onStart() 59 mStatusTracker.setStatus(mActivityName, getString(R.string.on_restart)); in onRestart() 66 mStatusTracker.setStatus(mActivityName, getString(R.string.on_resume)); in onResume() 73 mStatusTracker.setStatus(mActivityName, getString(R.string.on_pause)); in onPause() 80 mStatusTracker.setStatus(mActivityName, getString(R.string.on_stop)); in onStop() 86 mStatusTracker.setStatus(mActivityName, getString(R.string.on_destroy)); in onDestroy()
|
D | ActivityA.java | 42 mActivityName = getString(R.string.activity_a); in onCreate() 45 mStatusTracker.setStatus(mActivityName, getString(R.string.on_create)); in onCreate() 52 mStatusTracker.setStatus(mActivityName, getString(R.string.on_start)); in onStart() 59 mStatusTracker.setStatus(mActivityName, getString(R.string.on_restart)); in onRestart() 66 mStatusTracker.setStatus(mActivityName, getString(R.string.on_resume)); in onResume() 73 mStatusTracker.setStatus(mActivityName, getString(R.string.on_pause)); in onPause() 80 mStatusTracker.setStatus(mActivityName, getString(R.string.on_stop)); in onStop() 86 mStatusTracker.setStatus(mActivityName, getString(R.string.on_destroy)); in onDestroy()
|
D | ActivityC.java | 42 mActivityName = getString(R.string.activity_c_label); in onCreate() 45 mStatusTracker.setStatus(mActivityName, getString(R.string.on_create)); in onCreate() 52 mStatusTracker.setStatus(mActivityName, getString(R.string.on_start)); in onStart() 59 mStatusTracker.setStatus(mActivityName, getString(R.string.on_restart)); in onRestart() 66 mStatusTracker.setStatus(mActivityName, getString(R.string.on_resume)); in onResume() 73 mStatusTracker.setStatus(mActivityName, getString(R.string.on_pause)); in onPause() 80 mStatusTracker.setStatus(mActivityName, getString(R.string.on_stop)); in onStop() 86 mStatusTracker.setStatus(mActivityName, getString(R.string.on_destroy)); in onDestroy()
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
D | LunarLander.java | 68 menu.add(0, MENU_START, 0, R.string.menu_start); in onCreateOptionsMenu() 69 menu.add(0, MENU_STOP, 0, R.string.menu_stop); in onCreateOptionsMenu() 70 menu.add(0, MENU_PAUSE, 0, R.string.menu_pause); in onCreateOptionsMenu() 71 menu.add(0, MENU_RESUME, 0, R.string.menu_resume); in onCreateOptionsMenu() 72 menu.add(0, MENU_EASY, 0, R.string.menu_easy); in onCreateOptionsMenu() 73 menu.add(0, MENU_MEDIUM, 0, R.string.menu_medium); in onCreateOptionsMenu() 74 menu.add(0, MENU_HARD, 0, R.string.menu_hard); in onCreateOptionsMenu() 94 getText(R.string.message_stopped)); in onOptionsItemSelected()
|
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/ |
D | SampleGridPagerAdapter.java | 60 mRows.add(new Row(cardFragment(R.string.welcome_title, R.string.welcome_text))); in SampleGridPagerAdapter() 61 mRows.add(new Row(cardFragment(R.string.about_title, R.string.about_text))); in SampleGridPagerAdapter() 63 cardFragment(R.string.cards_title, R.string.cards_text), in SampleGridPagerAdapter() 64 cardFragment(R.string.expansion_title, R.string.expansion_text))); in SampleGridPagerAdapter() 66 cardFragment(R.string.backgrounds_title, R.string.backgrounds_text), in SampleGridPagerAdapter() 67 cardFragment(R.string.columns_title, R.string.columns_text))); in SampleGridPagerAdapter() 69 mRows.add(new Row(cardFragment(R.string.dismiss_title, R.string.dismiss_text))); in SampleGridPagerAdapter()
|