Home
last modified time | relevance | path

Searched refs:commit (Results 1 – 25 of 162) sorted by relevance

1234567

/development/tools/checkstyle/gitlint/
Dgit.py52 def modified_files(root, tracked_only=False, commit=None): argument
67 if commit:
68 return _modified_files_with_commit(root, commit)
89 def _modified_files_with_commit(root, commit): argument
93 commit]).decode('utf-8').split(os.linesep)
106 def modified_lines(filename, extra_data, commit=None): argument
123 if commit is None:
124 commit = '0' * 40
125 commit = commit.encode('utf-8')
129 ['git', 'blame', commit, '--porcelain', '--', filename]).split(
[all …]
/development/tools/checkstyle/
Dcheckstyle.py61 def RunCheckstyleOnACommit(commit, config_xml=CHECKSTYLE_STYLE): argument
75 if not commit:
77 commit = git.last_commit()
78 print 'Running Checkstyle on %s commit' % commit
79 commit_modified_files = _GetModifiedFiles(commit)
85 commit_modified_files.keys(), commit)
94 commit,
218 def _GetModifiedFiles(commit, out=sys.stdout): argument
225 modified_files = git.modified_files(root, True, commit)
231 def _GetTempFilesForCommit(file_names, commit): argument
[all …]
Dtests.py45 def mock_modified_files_good(root, tracked_only=False, commit=None): argument
46 if commit:
51 def mock_modified_files_uncommitted(root, tracked_only=False, commit=None): argument
52 if tracked_only and not commit:
54 if commit:
59 def mock_modified_files_untracked(root, tracked_only=False, commit=None): argument
62 if commit:
67 def mock_modified_files_non_java(root, tracked_only=False, commit=None): argument
68 if commit:
DREADME7 2. To check style of the lines modified in the latest commit:
23 the latest commit.
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DMusicPlayerActivity.java35 .commit(); in onCreate()
47 .commit(); in onMediaItemSelected()
52 .commit(); in onMediaItemSelected()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DMediaBrowserSupport.java38 .commit(); in onCreate()
50 .commit(); in onMediaItemSelected()
55 .commit(); in onMediaItemSelected()
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DMainActivity.java66 .commit(); in showSetupProfile()
72 .commit(); in showStatusProfile()
78 .commit(); in showMainFragment()
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DBrowseErrorActivity.java56 getFragmentManager().beginTransaction().add(R.id.main_frame, mErrorFragment).commit(); in testError()
59 getFragmentManager().beginTransaction().add(R.id.main_frame, mSpinnerFragment).commit(); in testError()
68 getFragmentManager().beginTransaction().remove(mSpinnerFragment).commit(); in testError()
DBrowseErrorSupportActivity.java58 …etSupportFragmentManager().beginTransaction().add(R.id.main_frame, mErrorSupportFragment).commit(); in testError()
61 …SupportFragmentManager().beginTransaction().add(R.id.main_frame, mSpinnerSupportFragment).commit(); in testError()
70 … getSupportFragmentManager().beginTransaction().remove(mSpinnerSupportFragment).commit(); in testError()
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/
DMainActivity.java46 .commit(); in showSetupProfile()
52 .commit(); in showMainFragment()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DCompatTabHoneycomb.java87 ft.commit(); in onTabReselected()
95 ft.commit(); in onTabSelected()
103 ft.commit(); in onTabUnselected()
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
DVideoExampleActivity.java36 ft1.commit(); in onCreate()
40 ft2.commit(); in onCreate()
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/
DMainActivity.java51 .add(R.id.fragment_container, firstFragment).commit(); in onCreate()
84 transaction.commit(); in onArticleSelected()
/development/samples/browseable/ActivityInstrumentation/src/com.example.android.activityinstrumentation/
DMainActivity.java101 mPrefs.edit().putInt(PREF_SPINNER_POS, position).commit(); in onCreate()
106 mPrefs.edit().remove(PREF_SPINNER_POS).commit(); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DFragmentStackFragment.java41 ft.add(R.id.simple_fragment, newFragment).commit(); in onCreate()
87 ft.commit(); in addFragmentToStack()
DFragmentMenuFragment.java65 ft.commit(); in onCreateView()
93 ft.commit(); in updateFragmentVisibility()
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DActionBarFragmentMenu.java73 ft.commit(); in onCreate()
106 ft.commit(); in updateFragmentVisibility()
118 ft.commit(); in updateFragmentVisibility()
176 ft.commit(); in onCreate()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DFragmentMenuFragmentSupport.java66 ft.commit(); in onCreateView()
94 ft.commit(); in updateFragmentVisibility()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
DMainActivity.java55 transaction.commit(); in onCreate()
68 fm.beginTransaction().add(mRetentionFragment, RETENTION_TAG).commit(); in onCreate()
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DCustomRestrictionsActivity.java41 new CustomRestrictionsFragment()).commit(); in onCreate()
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
DMainActivity.java31 .commit(); in onCreate()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCameraActivity.java31 .commit(); in onCreate()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCameraActivity.java34 .commit(); in onCreate()
/development/samples/browseable/CardView/src/com.example.android.cardview/
DCardViewActivity.java34 .commit(); in onCreate()
/development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
DCameraActivity.java31 .commit(); in onCreate()

1234567