/developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
HeadsUpNotificationFragment.java | 36 public class HeadsUpNotificationFragment extends Fragment { 124 push.setClass(getActivity(), LNotificationActivity.class);
|
/developers/samples/android/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizReportActionService.java | 41 public class QuizReportActionService extends IntentService { 49 super(QuizReportActionService.class.getSimpleName());
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LocalSampleInstrumentation.java | 28 * class demonstrating instrumentation against one of this application's sample 31 public class LocalSampleInstrumentation extends Instrumentation { 32 public abstract static class ActivityRunnable implements Runnable { 57 intent.setClass(getTargetContext(), SaveRestoreState.class);
|
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/ |
HeadsUpNotificationFragment.java | 36 public class HeadsUpNotificationFragment extends Fragment { 124 push.setClass(getActivity(), LNotificationActivity.class);
|
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
QuizReportActionService.java | 41 public class QuizReportActionService extends IntentService { 49 super(QuizReportActionService.class.getSimpleName());
|
/external/libnl/lib/route/ |
class_obj.c | 2 * lib/route/class.c Queueing Classes 13 * @ingroup class 14 * @defgroup class_obj Class Object 22 #include <netlink/route/class.h> 23 #include <netlink/route/class-modules.h> 30 struct rtnl_class *class = (struct rtnl_class *) obj; local 33 tca_free_data((struct rtnl_tca *) class); 35 cops = rtnl_class_lookup_ops(class); 37 cops->co_free_data(class); 60 struct rtnl_class *class = (struct rtnl_class *) obj local 73 struct rtnl_class *class = (struct rtnl_class *) obj; local 96 struct rtnl_class *class = (struct rtnl_class *) obj; local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/ |
CustomRobolectricTestRunnerTest.java | 18 @RunWith(CustomRobolectricTestRunnerTest.CustomRobolectricTestRunner.class) 19 public class CustomRobolectricTestRunnerTest { 33 assertEquals(CustomApplication.class, Robolectric.application.getClass()); 39 assertEquals(RobolectricClassLoader.class.getName(), preparedTest.getClass().getClassLoader().getClass().getName()); 53 public static class CustomRobolectricTestRunner extends WithTestDefaultsRunner { 54 public CustomRobolectricTestRunner(Class<?> testClass) throws InitializationError { 75 public static class CustomApplication extends Application {
|
/frameworks/base/core/java/com/android/internal/app/ |
AlertActivity.java | 34 public abstract class AlertActivity extends Activity implements DialogInterface { 70 event.setClassName(Dialog.class.getName());
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
ImageLoaderTest.java | 32 @RunWith(RobolectricTestRunner.class) 33 public class ImageLoaderTest { 40 mRequestQueue = mock(RequestQueue.class); 41 mImageCache = mock(ImageLoader.ImageCache.class); 54 ImageLoader.ImageListener listener = mock(ImageLoader.ImageListener.class); 64 ImageLoader.ImageListener listener = mock(ImageLoader.ImageListener.class); 70 verify(listener, times(2)).onResponse(any(ImageLoader.ImageContainer.class), eq(true)); 72 verify(mRequestQueue, times(1)).add(any(Request.class)); 81 assertNotNull(ImageLoader.class.getConstructor(RequestQueue.class, [all...] |
ImageRequestTest.java | 36 @RunWith(RobolectricTestRunner.class) 37 public class ImageRequestTest { 166 assertNotNull(ImageRequest.class.getConstructor(String.class, Response.Listener.class, 167 int.class, int.class, Bitmap.Config.class, Response.ErrorListener.class)); 168 assertNotNull(ImageRequest.class.getConstructor(String.class, Response.Listener.class [all...] |
NetworkImageViewTest.java | 16 @RunWith(RobolectricTestRunner.class) 17 public class NetworkImageViewTest { 39 private class MockImageLoader extends ImageLoader { 60 assertNotNull(NetworkImageView.class.getConstructor(Context.class)); 61 assertNotNull(NetworkImageView.class.getConstructor(Context.class, AttributeSet.class)); 62 assertNotNull(NetworkImageView.class.getConstructor(Context.class, AttributeSet.class [all...] |
/libcore/luni/src/main/java/java/lang/ref/ |
ReferenceQueue.java | 27 public class ReferenceQueue<T> { 34 * Constructs a new instance of this class. 152 synchronized (ReferenceQueue.class) { 169 ReferenceQueue.class.notifyAll();
|
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
CameraTest.java | 34 public class CameraTest extends InstrumentationTestCase { 38 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 61 CameraActivity.class);
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
CameraTest.java | 34 public class CameraTest extends InstrumentationTestCase { 38 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 61 CameraActivity.class);
|
/packages/apps/Camera2/tests_camera/src/com/android/camera/functional/ |
CameraTest.java | 34 public class CameraTest extends InstrumentationTestCase { 38 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 61 CameraActivity.class);
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
CameraTest.java | 38 public class CameraTest extends InstrumentationTestCase { 44 intent.setClass(getInstrumentation().getTargetContext(), VideoCamera.class); 58 checkActivityLeak(Camera.class); 59 checkActivityLeak(VideoCamera.class); 62 private void checkActivityLeak(Class<?> cls) throws Exception {
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
EmlMessageLoader.java | 40 public class EmlMessageLoader extends MailAsyncTaskLoader<ConversationMessage> { 105 intent.setClass(getContext(), EmlTempFileDeletionService.class);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
SettingsFragment.java | 36 public final class SettingsFragment extends InputMethodSettingsFragment { 53 ApplicationUtils.getActivityTitleResId(getActivity(), SettingsActivity.class));
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/ |
LayoutBinderTest.java | 36 public class LayoutBinderTest { 52 assertEquals(value.getClass(), IdentifierExpr.class); 55 assertEquals(new JavaClass(String.class), id.getResolvedType()); 66 assertEquals(value.getClass(), StaticIdentifierExpr.class); 69 assertEquals(new JavaClass(String.class), id.getResolvedType()); 119 static class TestUser {
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
EmailServiceProxy.java | 35 * The EmailServiceProxy class provides a simple interface for the UI to call into the various 39 * Use the class like this: 40 * new EmailServiceProxy(context, class).loadAttachment(attachmentId, callback) 49 public class EmailServiceProxy extends ServiceProxy implements IEmailService { 76 // The first two constructors are used with local services that can be referenced by class 77 public EmailServiceProxy(Context _context, Class<?> _class) { 164 bundle.setClassLoader(Policy.class.getClassLoader()); 194 bundle.setClassLoader(HostAuth.class.getClassLoader());
|
/packages/apps/Email/provider_src/com/android/email/mail/ |
Store.java | 41 * Store is the legacy equivalent of the Account class 43 public abstract class Store { 58 static final HashMap<String, Class<? extends Store>> sStoreClasses = 59 new HashMap<String, Class<? extends Store>>(); 62 * Static named constructor. It should be overrode by extending class. 81 * @return an initialized store of the appropriate class 87 sStoreClasses.put(context.getString(R.string.protocol_pop3), Pop3Store.class); 88 sStoreClasses.put(context.getString(R.string.protocol_legacy_imap), ImapStore.class); 112 Class<? extends Store> klass = sStoreClasses.get(hostAuth.mProtocol); 114 klass = ServiceStore.class; [all...] |
/packages/apps/Gallery2/src/com/android/photos/ |
GalleryActivity.java | 36 public class GalleryActivity extends Activity implements MultiChoiceManager.Provider { 57 PhotoSetFragment.class, null); 59 AlbumSetFragment.class, null); 84 // Intent intent = new Intent(this, CameraActivity.class); 93 public static class TabsAdapter extends FragmentPagerAdapter implements 101 static final class TabInfo { 103 private final Class<?> clss; 106 TabInfo(Class<?> _class, Bundle _args) { 121 public void addTab(ActionBar.Tab tab, Class<?> clss, Bundle args) {
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 37 public class CameraStartUp extends InstrumentationTestCase { 50 intent.setClass(getInstrumentation().getTargetContext(), Camera.class); 72 intent.setClass(getInstrumentation().getTargetContext(), VideoCamera.class);
|
/sdk/files/ |
android.el | 14 (defvar android-jdb-activity-class-history () 36 (defcustom android-activity-class nil 37 "This is where your Android Activity class is stored." 106 (defun android-start-activity (package class) 107 "Start the activity PACKAGE/CLASS in the Android emulator. This expects the SDK tools directory to be in the current path." 111 (read-from-minibuffer "Activity Java class: " 112 (car android-jdb-activity-class-history) 115 'android-jdb-activity-class-history))) 116 (compile (format "adb shell am start -n %s/%s" package class))) 118 (defun android-debug-activity (package class) [all...] |
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
PowerUsageDetail.java | 67 public class PowerUsageDetail extends PowerUsageBase implements Button.OnClickListener { 279 caller.startPreferencePanelAsUser(PowerUsageDetail.class.getName(), args, 502 sa.startPreferencePanel(InstalledAppDetails.class.getName(), args, 510 sa.startPreferencePanel(DisplaySettings.class.getName(), null, 514 sa.startPreferencePanel(WifiSettings.class.getName(), null, 518 sa.startPreferencePanel(BluetoothSettings.class.getName(), null, 522 sa.startPreferencePanel(WirelessSettings.class.getName(), null, 529 sa.startPreferencePanel(LocationSettings.class.getName(), null,
|