diff --git a/clients/android/uploader/src/com/danga/camli/CamliActivity.java b/clients/android/uploader/src/com/danga/camli/CamliActivity.java index 635625475..6b7ea8f49 100644 --- a/clients/android/uploader/src/com/danga/camli/CamliActivity.java +++ b/clients/android/uploader/src/com/danga/camli/CamliActivity.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import android.app.Activity; diff --git a/clients/android/uploader/src/com/danga/camli/CamliFileObserver.java b/clients/android/uploader/src/com/danga/camli/CamliFileObserver.java index d2cbf3d07..4fc99d6af 100644 --- a/clients/android/uploader/src/com/danga/camli/CamliFileObserver.java +++ b/clients/android/uploader/src/com/danga/camli/CamliFileObserver.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import java.io.File; diff --git a/clients/android/uploader/src/com/danga/camli/DummyNullCallback.java b/clients/android/uploader/src/com/danga/camli/DummyNullCallback.java index 2a0bb83e8..78e02f5ef 100644 --- a/clients/android/uploader/src/com/danga/camli/DummyNullCallback.java +++ b/clients/android/uploader/src/com/danga/camli/DummyNullCallback.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import android.os.RemoteException; diff --git a/clients/android/uploader/src/com/danga/camli/HostPort.java b/clients/android/uploader/src/com/danga/camli/HostPort.java index f609e2556..960c3f3a0 100644 --- a/clients/android/uploader/src/com/danga/camli/HostPort.java +++ b/clients/android/uploader/src/com/danga/camli/HostPort.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; public class HostPort { diff --git a/clients/android/uploader/src/com/danga/camli/IStatusCallback.aidl b/clients/android/uploader/src/com/danga/camli/IStatusCallback.aidl index 9463cdba9..0722ab904 100644 --- a/clients/android/uploader/src/com/danga/camli/IStatusCallback.aidl +++ b/clients/android/uploader/src/com/danga/camli/IStatusCallback.aidl @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; oneway interface IStatusCallback { diff --git a/clients/android/uploader/src/com/danga/camli/IUploadService.aidl b/clients/android/uploader/src/com/danga/camli/IUploadService.aidl index 582c663c1..3efd079a6 100644 --- a/clients/android/uploader/src/com/danga/camli/IUploadService.aidl +++ b/clients/android/uploader/src/com/danga/camli/IUploadService.aidl @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import com.danga.camli.IStatusCallback; diff --git a/clients/android/uploader/src/com/danga/camli/OnAlarmReceiver.java b/clients/android/uploader/src/com/danga/camli/OnAlarmReceiver.java index 32fbe74f4..aa14b538d 100644 --- a/clients/android/uploader/src/com/danga/camli/OnAlarmReceiver.java +++ b/clients/android/uploader/src/com/danga/camli/OnAlarmReceiver.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import android.content.BroadcastReceiver; diff --git a/clients/android/uploader/src/com/danga/camli/OnBootReceiver.java b/clients/android/uploader/src/com/danga/camli/OnBootReceiver.java index 565c64a66..6b642681e 100644 --- a/clients/android/uploader/src/com/danga/camli/OnBootReceiver.java +++ b/clients/android/uploader/src/com/danga/camli/OnBootReceiver.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import android.app.AlarmManager; diff --git a/clients/android/uploader/src/com/danga/camli/Preferences.java b/clients/android/uploader/src/com/danga/camli/Preferences.java index 910cafa20..027b38010 100644 --- a/clients/android/uploader/src/com/danga/camli/Preferences.java +++ b/clients/android/uploader/src/com/danga/camli/Preferences.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import android.content.SharedPreferences; diff --git a/clients/android/uploader/src/com/danga/camli/QueuedFile.java b/clients/android/uploader/src/com/danga/camli/QueuedFile.java index 677f59c82..134fe834b 100644 --- a/clients/android/uploader/src/com/danga/camli/QueuedFile.java +++ b/clients/android/uploader/src/com/danga/camli/QueuedFile.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import android.net.Uri; diff --git a/clients/android/uploader/src/com/danga/camli/SettingsActivity.java b/clients/android/uploader/src/com/danga/camli/SettingsActivity.java index 774f2ebf4..42b47be2a 100644 --- a/clients/android/uploader/src/com/danga/camli/SettingsActivity.java +++ b/clients/android/uploader/src/com/danga/camli/SettingsActivity.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import android.content.ComponentName; diff --git a/clients/android/uploader/src/com/danga/camli/UploadApplication.java b/clients/android/uploader/src/com/danga/camli/UploadApplication.java index 4e84cd25d..06b700af3 100644 --- a/clients/android/uploader/src/com/danga/camli/UploadApplication.java +++ b/clients/android/uploader/src/com/danga/camli/UploadApplication.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import android.app.Application; diff --git a/clients/android/uploader/src/com/danga/camli/UploadService.java b/clients/android/uploader/src/com/danga/camli/UploadService.java index 9388bb721..e0cd00946 100644 --- a/clients/android/uploader/src/com/danga/camli/UploadService.java +++ b/clients/android/uploader/src/com/danga/camli/UploadService.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import java.io.File; diff --git a/clients/android/uploader/src/com/danga/camli/UploadThread.java b/clients/android/uploader/src/com/danga/camli/UploadThread.java index 38978ed90..92740e756 100644 --- a/clients/android/uploader/src/com/danga/camli/UploadThread.java +++ b/clients/android/uploader/src/com/danga/camli/UploadThread.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import java.io.BufferedOutputStream; diff --git a/clients/android/uploader/src/com/danga/camli/Util.java b/clients/android/uploader/src/com/danga/camli/Util.java index 3a1580307..94435aa8f 100644 --- a/clients/android/uploader/src/com/danga/camli/Util.java +++ b/clients/android/uploader/src/com/danga/camli/Util.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import java.io.BufferedInputStream; diff --git a/clients/android/uploader/src/com/danga/camli/WifiPowerReceiver.java b/clients/android/uploader/src/com/danga/camli/WifiPowerReceiver.java index 4566dea26..251349c0a 100644 --- a/clients/android/uploader/src/com/danga/camli/WifiPowerReceiver.java +++ b/clients/android/uploader/src/com/danga/camli/WifiPowerReceiver.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import android.content.BroadcastReceiver; diff --git a/clients/android/uploader/test/src/com/danga/camli/CamliActivityTest.java b/clients/android/uploader/test/src/com/danga/camli/CamliActivityTest.java index c0086f300..c50aa4925 100644 --- a/clients/android/uploader/test/src/com/danga/camli/CamliActivityTest.java +++ b/clients/android/uploader/test/src/com/danga/camli/CamliActivityTest.java @@ -1,3 +1,19 @@ +/* +Copyright 2011 Google Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package com.danga.camli; import android.test.ActivityInstrumentationTestCase2; diff --git a/misc/copyrightifity b/misc/copyrightifity index 3c3c266c9..a8a2bb2b2 100755 --- a/misc/copyrightifity +++ b/misc/copyrightifity @@ -37,7 +37,7 @@ if ($source =~ /Copyright \d\d\d\d/) { } my $newsource = $source; -if ($file =~ /\.go$/) { +if ($file =~ /\.(go|java|aidl)$/) { $header = "/*\n$header*/\n\n"; $newsource = $header . $source; } elsif ($file =~ /\.py$/) {