/libcore/jsr166-tests/src/test/java/jsr166/ |
JSR166TestCase.java | 184 throw new IllegalArgumentException( 222 Runnable checkForWedgedTest = new Runnable() { public void run() { 247 Thread thread = new Thread(checkForWedgedTest, "checkForWedgedTest"); 255 // .matcher(new String( 324 // junit.textui.TestRunner runner = new junit.textui.TestRunner(); 325 // runner.setPrinter(new PithyResultPrinter(System.out)); 337 // System.setSecurityManager(new SecurityManager()); 349 TestSuite suite = new TestSuite(); 354 suite.addTest(new TestSuite((Class<?>) suiteOrClass)); 356 throw new ClassCastException("not a test suite or class") [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapObexServer.java | 73 private static final byte[] PBAP_TARGET = new byte[] { 178 mVcardManager = new BluetoothPbapVcardManager(mContext); 324 HeaderSet reply = new HeaderSet(); 328 AppParamValue appParamValue = new AppParamValue(); 503 filter = new byte[] {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00} ; 545 appParamValue.searchValue = new String(appParam, i + 1, length-1); 547 appParamValue.searchValue = new String(appParam, i + 1, length); 598 StringBuilder result = new StringBuilder(); 743 byte[] misnum = new byte[1]; 744 ApplicationParameter ap = new ApplicationParameter() [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogProvider.java | 80 static final String[] CALL_LOG_SYNC_PROJECTION = new String[] { 93 static final String[] MINIMAL_PROJECTION = new String[] { Calls._ID }; 109 private static final UriMatcher sURIMatcher = new UriMatcher(UriMatcher.NO_MATCH); 123 sCallsProjectionMap = new HashMap<String, String>(); 137 sCallsProjectionMap.put(Calls.NEW, Calls.NEW); 185 mVoicemailPermissions = new VoicemailPermissions(context); 188 mBackgroundThread = new HandlerThread(getProviderName() + "Worker", 191 mBackgroundHandler = new Handler(mBackgroundThread.getLooper()) { 198 mReadAccessLatch = new CountDownLatch(1) [all...] |
/prebuilts/devtools/tools/lib/ |
asm-4.0.jar | |
/prebuilts/misc/common/swig/include/2.0.11/ |
swig.swg | 23 #define %new %warn "117:%new is deprecated. Use %newobject" 116 #define %newobject %feature("new") 117 #define %nonewobject %feature("new","0") 118 #define %clearnewobject %feature("new","") 317 %ignoreoperator(NEW) operator new; 319 %ignoreoperator(NEWARR) operator new[]; 350 /* Set up the typemap for handling new return strings */ 364 $1 = ($1_type) (new char[strlen((const char *)$input)+1]) [all...] |
/prebuilts/tools/common/asm-tools/ |
asm-3.3.1.jar | |
asm-4.0.jar | |
/prebuilts/tools/common/m2/repository/asm/asm/3.3/ |
asm-3.3.jar | |
/prebuilts/tools/common/m2/repository/asm/asm/3.3.1/ |
asm-3.3.1.jar | |
/prebuilts/tools/common/m2/repository/org/ow2/asm/asm/4.0/ |
asm-4.0.jar | |
/prebuilts/tools/common/offline-m2/org/ow2/asm/asm/4.0/ |
asm-4.0.jar | |
/external/guava/guava-tests/benchmark/com/google/common/util/concurrent/ |
ExecutionListBenchmark.java | 60 NEW { 62 return new ExecutionListWrapper() { 63 final ExecutionList list = new ExecutionList(); 80 return new ExecutionListWrapper() { 81 final ExecutionListCAS list = new ExecutionListCAS(); 98 return new ExecutionListWrapper() { 99 final NewExecutionListQueue list = new NewExecutionListQueue(); 116 return new ExecutionListWrapper() { 117 final NewExecutionListWithoutReverse list = new NewExecutionListWithoutReverse(); 134 return new ExecutionListWrapper() [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/ |
Frame.java | 69 * Constructs a new frame with the given size.
75 this.values = new Value[nLocals + nStack];
80 * Constructs a new frame that is identical to the given frame.
119 throw new IndexOutOfBoundsException("Trying to access an inexistant local variable");
128 * @param value the new value of this local variable.
135 throw new IndexOutOfBoundsException("Trying to access an inexistant local variable");
177 throw new IndexOutOfBoundsException("Cannot pop operand off an empty stack.");
190 throw new IndexOutOfBoundsException("Insufficient maximum stack size.");
279 throw new AnalyzerException("Illegal use of POP");
285 throw new AnalyzerException("Illegal use of POP2"); [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/util/ |
CheckMethodAdapter.java | 88 TYPE = new int[s.length()];
96 // int[] TYPE = new int[] {
284 // 3, //NEW
307 * Constructs a new {@link CheckMethodAdapter} object.
313 this.labels = new HashMap();
322 return new CheckAnnotationAdapter(mv.visitAnnotation(desc, visible));
327 return new CheckAnnotationAdapter(mv.visitAnnotationDefault(), false);
337 return new CheckAnnotationAdapter(mv.visitParameterAnnotation(parameter,
345 throw new IllegalArgumentException("Invalid attribute (must not be null)");
388 throw new IllegalArgumentException("Invalid frame type " + type); [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/tests/calllog/ |
FillCallLogTestActivity.java | 75 private static final Random RNG = new Random(); 76 private static final int[] CALL_TYPES = new int[] { 119 mAddButton.setOnClickListener(new View.OnClickListener(){ 126 throw new RuntimeException("Number too large. Max=100"); 160 mCustomCallTypeTextView.addTextChangedListener(new TextWatcher() { 200 new CallLogLoaderListener(count)); 227 ContentValues values = new ContentValues(); 256 ContentValues[] values = new ContentValues[count]; 258 values[i] = new ContentValues(); 264 new AsyncCallLogInserter(values).execute(new Void[0]) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallLogProviderTest.java | 54 private static final String[] VOICEMAIL_PROVIDER_SPECIFIC_COLUMNS = new String[] { 113 EvenMoreAsserts.assertThrows(IllegalArgumentException.class, new Runnable() { 129 ContentValues values = new ContentValues(); 178 CallerInfo ci = new CallerInfo(); 182 final ComponentName sComponentName = new ComponentName( 185 PhoneAccountHandle subscription = new PhoneAccountHandle( 194 ContentValues values = new ContentValues(); 252 String[] projection = new String[] {Calls._ID, Calls.TYPE}; 297 IllegalArgumentException.class, new Runnable() { 325 final ContentValues values = new ContentValues() [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
BluetoothPhoneServiceImpl.java | 91 public final IBluetoothHeadsetPhone.Stub mBinder = new IBluetoothHeadsetPhone.Stub() { 289 * headset with the new states. 292 public CallsManagerListener mCallsManagerListener = new CallsManagerListenerBase() { 331 // If a call is being put on hold because of a new connecting call, ignore the 376 Log.d(this, "Ignoring onIsConferenceChanged from child call with new parent"); 396 new BluetoothProfile.ServiceListener() { 400 setBluetoothHeadset(new BluetoothHeadsetProxy((BluetoothHeadset) proxy)); 416 public final BroadcastReceiver mBluetoothAdapterReceiver = new BroadcastReceiver() { 438 private Map<Call, Integer> mClccIndexMap = new HashMap<>(); 471 IntentFilter intentFilter = new IntentFilter(BluetoothAdapter.ACTION_STATE_CHANGED) [all...] |
/external/libpng/contrib/libtests/ |
pngimage.c | 174 * new low-order bits. 352 #define NEW(type) ((type *)malloc(sizeof (type))) 434 add = NEW(struct buffer_list); 569 /* Used to write a new image (the original info_ptr is used) */ [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
BluetoothPhoneServiceTest.java | 90 private final TelecomSystem.SyncRoot mLock = new TelecomSystem.SyncRoot() { 112 mBluetoothPhoneService = new BluetoothPhoneServiceImpl(mContext, mLock, mMockCallsManager, 238 ArrayList<Call> calls = new ArrayList<>(); 259 ArrayList<Call> calls = new ArrayList<>(); 271 when(confCall1.getGatewayInfo()).thenReturn(new GatewayInfo(null, null, 273 when(confCall2.getGatewayInfo()).thenReturn(new GatewayInfo(null, null, 280 when(parentCall.getChildCalls()).thenReturn(new LinkedList<Call>() {{ 306 ArrayList<Call> calls = new ArrayList<>(); 318 when(foregroundCall.getGatewayInfo()).thenReturn(new GatewayInfo(null, null, 320 when(heldCall.getGatewayInfo()).thenReturn(new GatewayInfo(null, null [all...] |
/prebuilts/sdk/current/support/v7/gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/prebuilts/tools/common/m2/repository/org/ow2/asm/asm/4.1/ |
asm-4.1.jar | |
/sdk/testapps/gridlayoutTest/v7-gridlayout/libs/ |
android-support-v7-gridlayout.jar | |
/external/valgrind/drd/tests/ |
tsan_unittest.cpp | 124 // Create a new test instead. 287 ar_[0] = new MyThread(f1); 288 ar_[1] = f2 ? new MyThread(f2) : NULL; 289 ar_[2] = f3 ? new MyThread(f3) : NULL; 290 ar_[3] = f4 ? new MyThread(f4) : NULL; 291 ar_[4] = f5 ? new MyThread(f5) : NULL; [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
RopperMachine.java | 55 new CstType(Type.internClassName("java/lang/reflect/Array")); 62 new CstMethodRef(ARRAY_REFLECT_TYPE, 63 new CstNat(new CstString("newInstance"), 64 new CstString("(Ljava/lang/Class;[I)" + 139 throw new NullPointerException("methods == null"); 143 throw new NullPointerException("ropper == null"); 147 throw new NullPointerException("advice == null"); 155 this.insns = new ArrayList<Insn>(25); 195 * Gets ready to start working on a new block. This will clear th [all...] |
/external/javassist/src/main/javassist/bytecode/ |
CodeIterator.java | 276 if (c == NEW) 599 Gap gap = new Gap(); 688 byte[] newcode = new byte[codeLength + gapLength]; 743 throw new BadBytecode("invalid opcode address"); 767 // throw new BadBytecode(opcode); 774 throw new BadBytecode(opcode); 812 throw new RuntimeException("fatal error?"); 823 byte[] newcode = new byte[codeLength + gapLength]; 889 throw new AlignmentException(); [all...] |